@aldiokta/protocgen 1.1.45 → 1.1.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +199 -0
  3. package/prisca/v1/account_assignment/account_assignment_pb.js +2720 -0
  4. package/prisca/v1/account_group/account_group_grpc_pb.js +200 -0
  5. package/prisca/v1/account_group/account_group_pb.js +2983 -0
  6. package/prisca/v1/bidding/bidding_grpc_pb.js +361 -0
  7. package/prisca/v1/bidding/bidding_pb.js +8694 -0
  8. package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +199 -0
  9. package/prisca/v1/chart_of_account/chart_of_account_pb.js +2953 -0
  10. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +611 -0
  11. package/prisca/v1/core/access_manager/access_manager_pb.js +11402 -0
  12. package/prisca/v1/core/auth/auth_grpc_pb.js +523 -0
  13. package/prisca/v1/core/auth/auth_pb.js +5833 -0
  14. package/prisca/v1/core/chat_messaging/chat_messaging_grpc_pb.js +111 -0
  15. package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +1726 -0
  16. package/prisca/v1/core/company/company_grpc_pb.js +178 -0
  17. package/prisca/v1/core/company/company_pb.js +3094 -0
  18. package/prisca/v1/core/currency/currency_grpc_pb.js +177 -0
  19. package/prisca/v1/core/currency/currency_pb.js +2516 -0
  20. package/prisca/v1/core/department_material/department_material_grpc_pb.js +144 -0
  21. package/prisca/v1/core/department_material/department_material_pb.js +2161 -0
  22. package/prisca/v1/core/employee/employee_grpc_pb.js +206 -0
  23. package/prisca/v1/core/employee/employee_pb.js +4329 -0
  24. package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +66 -0
  25. package/prisca/v1/core/file_upload/file_upload_pb.js +1136 -0
  26. package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +177 -0
  27. package/prisca/v1/core/incoterm/incoterm_pb.js +2898 -0
  28. package/prisca/v1/core/item_transaction/item_transaction_grpc_pb.js +1 -0
  29. package/prisca/v1/core/item_transaction/item_transaction_pb.js +6038 -0
  30. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +178 -0
  31. package/prisca/v1/core/job_grade/job_grade_pb.js +2651 -0
  32. package/prisca/v1/core/job_position/job_position_grpc_pb.js +181 -0
  33. package/prisca/v1/core/job_position/job_position_pb.js +3808 -0
  34. package/prisca/v1/core/job_title/job_title_grpc_pb.js +178 -0
  35. package/prisca/v1/core/job_title/job_title_pb.js +3004 -0
  36. package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +78 -0
  37. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +2503 -0
  38. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +222 -0
  39. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +3801 -0
  40. package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +177 -0
  41. package/prisca/v1/core/link_data_source/link_data_source_pb.js +2606 -0
  42. package/prisca/v1/core/location/location_grpc_pb.js +837 -0
  43. package/prisca/v1/core/location/location_pb.js +11262 -0
  44. package/prisca/v1/core/material/material_grpc_pb.js +182 -0
  45. package/prisca/v1/core/material/material_pb.js +4226 -0
  46. package/prisca/v1/core/material_group/material_group_grpc_pb.js +178 -0
  47. package/prisca/v1/core/material_group/material_group_pb.js +2822 -0
  48. package/prisca/v1/core/material_type/material_type_grpc_pb.js +182 -0
  49. package/prisca/v1/core/material_type/material_type_pb.js +3098 -0
  50. package/prisca/v1/core/messaging/email_template_grpc_pb.js +177 -0
  51. package/prisca/v1/core/messaging/email_template_pb.js +2658 -0
  52. package/prisca/v1/core/messaging/messaging_grpc_pb.js +56 -0
  53. package/prisca/v1/core/messaging/messaging_pb.js +890 -0
  54. package/prisca/v1/core/messaging/notification_grpc_pb.js +331 -0
  55. package/prisca/v1/core/messaging/notification_pb.js +4775 -0
  56. package/prisca/v1/core/number_range/number_range_grpc_pb.js +178 -0
  57. package/prisca/v1/core/number_range/number_range_pb.js +2972 -0
  58. package/prisca/v1/core/organization/organization_grpc_pb.js +180 -0
  59. package/prisca/v1/core/organization/organization_pb.js +3078 -0
  60. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +178 -0
  61. package/prisca/v1/core/organization_level/organization_level_pb.js +2591 -0
  62. package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +179 -0
  63. package/prisca/v1/core/price_condition/price_condition_pb.js +3175 -0
  64. package/prisca/v1/core/procurement/procurement_grpc_pb.js +146 -0
  65. package/prisca/v1/core/procurement/procurement_pb.js +1675 -0
  66. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +1 -0
  67. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +200 -0
  68. package/prisca/v1/core/report/report_grpc_pb.js +200 -0
  69. package/prisca/v1/core/report/report_pb.js +2816 -0
  70. package/prisca/v1/core/report/user_report_grpc_pb.js +179 -0
  71. package/prisca/v1/core/report/user_report_pb.js +2446 -0
  72. package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +177 -0
  73. package/prisca/v1/core/tax_code/tax_code_pb.js +2778 -0
  74. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +177 -0
  75. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +2506 -0
  76. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +652 -0
  77. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +11953 -0
  78. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +180 -0
  79. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +2874 -0
  80. package/prisca/v1/core/users/users_grpc_pb.js +79 -0
  81. package/prisca/v1/core/users/users_pb.js +1709 -0
  82. package/prisca/v1/core/work_location/work_location_grpc_pb.js +179 -0
  83. package/prisca/v1/core/work_location/work_location_pb.js +4018 -0
  84. package/prisca/v1/core/workflow/workflow_grpc_pb.js +203 -0
  85. package/prisca/v1/core/workflow/workflow_pb.js +7631 -0
  86. package/prisca/v1/core/workspace/workspace_grpc_pb.js +101 -0
  87. package/prisca/v1/core/workspace/workspace_pb.js +1381 -0
  88. package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +229 -0
  89. package/prisca/v1/delivery_order/delivery_order_pb.js +3647 -0
  90. package/prisca/v1/document_type/document_type_grpc_pb.js +200 -0
  91. package/prisca/v1/document_type/document_type_pb.js +3004 -0
  92. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +181 -0
  93. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +3322 -0
  94. package/prisca/v1/global/meta/meta_grpc_pb.js +1 -0
  95. package/prisca/v1/global/meta/meta_pb.js +1173 -0
  96. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +250 -0
  97. package/prisca/v1/good_receipt/good_receipt_pb.js +3945 -0
  98. package/prisca/v1/invoice/invoice_grpc_pb.js +273 -0
  99. package/prisca/v1/invoice/invoice_pb.js +5664 -0
  100. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +274 -0
  101. package/prisca/v1/purchase_order/purchase_order_pb.js +9839 -0
  102. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +611 -0
  103. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +10795 -0
  104. package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +178 -0
  105. package/prisca/v1/purchasing_group/purchasing_group_pb.js +2921 -0
  106. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +178 -0
  107. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +2418 -0
  108. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +179 -0
  109. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +2584 -0
  110. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +145 -0
  111. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +2537 -0
  112. package/prisca/v1/quotation/quotation_grpc_pb.js +240 -0
  113. package/prisca/v1/quotation/quotation_pb.js +4167 -0
  114. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +292 -0
  115. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +7042 -0
  116. package/prisca/v1/valuation/valuation_grpc_pb.js +366 -0
  117. package/prisca/v1/valuation/valuation_pb.js +7806 -0
  118. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +290 -0
  119. package/prisca/v1/vendor_domain/vendor_domain_pb.js +14714 -0
  120. package/prisca/v1/account_assignment/account_assignment.proto +0 -81
  121. package/prisca/v1/account_group/account_group.proto +0 -88
  122. package/prisca/v1/bidding/bidding.proto +0 -251
  123. package/prisca/v1/chart_of_account/chart_of_account.proto +0 -89
  124. package/prisca/v1/core/access_manager/access_manager.proto +0 -328
  125. package/prisca/v1/core/auth/auth.proto +0 -185
  126. package/prisca/v1/core/chat_messaging/chat_messaging.proto +0 -62
  127. package/prisca/v1/core/company/company.proto +0 -92
  128. package/prisca/v1/core/currency/currency.proto +0 -76
  129. package/prisca/v1/core/department_material/department_material.proto +0 -69
  130. package/prisca/v1/core/employee/employee.proto +0 -129
  131. package/prisca/v1/core/file_upload/file_upload.proto +0 -41
  132. package/prisca/v1/core/incoterm/incoterm.proto +0 -85
  133. package/prisca/v1/core/item_transaction/item_transaction.proto +0 -188
  134. package/prisca/v1/core/job_grade/job_grade.proto +0 -79
  135. package/prisca/v1/core/job_position/job_position.proto +0 -113
  136. package/prisca/v1/core/job_title/job_title.proto +0 -89
  137. package/prisca/v1/core/line_of_activity/line_of_activity.proto +0 -94
  138. package/prisca/v1/core/line_of_approval/line_of_approval.proto +0 -113
  139. package/prisca/v1/core/link_data_source/link_data_source.proto +0 -78
  140. package/prisca/v1/core/location/location.proto +0 -295
  141. package/prisca/v1/core/material/material.proto +0 -131
  142. package/prisca/v1/core/material_group/material_group.proto +0 -85
  143. package/prisca/v1/core/material_type/material_type.proto +0 -95
  144. package/prisca/v1/core/messaging/email_template.proto +0 -77
  145. package/prisca/v1/core/messaging/messaging.proto +0 -29
  146. package/prisca/v1/core/messaging/notification.proto +0 -144
  147. package/prisca/v1/core/number_range/number_range.proto +0 -89
  148. package/prisca/v1/core/organization/organization.proto +0 -94
  149. package/prisca/v1/core/organization_level/organization_level.proto +0 -77
  150. package/prisca/v1/core/price_condition/price_condition.proto +0 -97
  151. package/prisca/v1/core/procurement/procurement.proto +0 -54
  152. package/prisca/v1/core/recipient_roles/recipient_roles.proto +0 -10
  153. package/prisca/v1/core/report/report.proto +0 -90
  154. package/prisca/v1/core/report/user_report.proto +0 -74
  155. package/prisca/v1/core/tax_code/tax_code.proto +0 -82
  156. package/prisca/v1/core/term_of_payment/term_of_payment.proto +0 -74
  157. package/prisca/v1/core/transaction_builder/transaction_builder.proto +0 -366
  158. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +0 -89
  159. package/prisca/v1/core/users/users.proto +0 -55
  160. package/prisca/v1/core/work_location/work_location.proto +0 -122
  161. package/prisca/v1/core/workflow/workflow.proto +0 -220
  162. package/prisca/v1/core/workspace/workspace.proto +0 -48
  163. package/prisca/v1/delivery_order/delivery_order.proto +0 -116
  164. package/prisca/v1/document_type/document_type.proto +0 -89
  165. package/prisca/v1/general_ledger_account/general_ledger_account.proto +0 -100
  166. package/prisca/v1/global/meta/meta.proto +0 -57
  167. package/prisca/v1/good_receipt/good_receipt.proto +0 -118
  168. package/prisca/v1/invoice/invoice.proto +0 -170
  169. package/prisca/v1/purchase_order/purchase_order.proto +0 -292
  170. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +0 -327
  171. package/prisca/v1/purchasing_group/purchasing_group.proto +0 -89
  172. package/prisca/v1/purchasing_organization/purchasing_organization.proto +0 -77
  173. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +0 -81
  174. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +0 -80
  175. package/prisca/v1/quotation/quotation.proto +0 -135
  176. package/prisca/v1/request_for_quotation/request_for_quotation.proto +0 -203
  177. package/prisca/v1/valuation/valuation.proto +0 -223
  178. package/prisca/v1/vendor_domain/vendor_domain.proto +0 -485
@@ -0,0 +1,2606 @@
1
+ // source: prisca/v1/core/link_data_source/link_data_source.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global = globalThis;
17
+
18
+ var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
19
+ goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
20
+ goog.exportSymbol('proto.BaseLinkDataSourceReq', null, global);
21
+ goog.exportSymbol('proto.CreateLinkDataSourceReq', null, global);
22
+ goog.exportSymbol('proto.CreateLinkDataSourceRes', null, global);
23
+ goog.exportSymbol('proto.DeleteLinkDataSourceReq', null, global);
24
+ goog.exportSymbol('proto.DeleteLinkDataSourceRes', null, global);
25
+ goog.exportSymbol('proto.GetIdLinkDataSourceReq', null, global);
26
+ goog.exportSymbol('proto.GetIdLinkDataSourceRes', null, global);
27
+ goog.exportSymbol('proto.GetListLinkDataSourceReq', null, global);
28
+ goog.exportSymbol('proto.GetListLinkDataSourceRes', null, global);
29
+ goog.exportSymbol('proto.LinkDataSource', null, global);
30
+ goog.exportSymbol('proto.UpdateLinkDataSourceReq', null, global);
31
+ goog.exportSymbol('proto.UpdateLinkDataSourceRes', null, global);
32
+ /**
33
+ * Generated by JsPbCodeGenerator.
34
+ * @param {Array=} opt_data Optional initial data array, typically from a
35
+ * server response, or constructed directly in Javascript. The array is used
36
+ * in place and becomes part of the constructed object. It is not cloned.
37
+ * If no data is provided, the constructed object will be empty, but still
38
+ * valid.
39
+ * @extends {jspb.Message}
40
+ * @constructor
41
+ */
42
+ proto.LinkDataSource = function(opt_data) {
43
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
44
+ };
45
+ goog.inherits(proto.LinkDataSource, jspb.Message);
46
+ if (goog.DEBUG && !COMPILED) {
47
+ /**
48
+ * @public
49
+ * @override
50
+ */
51
+ proto.LinkDataSource.displayName = 'proto.LinkDataSource';
52
+ }
53
+ /**
54
+ * Generated by JsPbCodeGenerator.
55
+ * @param {Array=} opt_data Optional initial data array, typically from a
56
+ * server response, or constructed directly in Javascript. The array is used
57
+ * in place and becomes part of the constructed object. It is not cloned.
58
+ * If no data is provided, the constructed object will be empty, but still
59
+ * valid.
60
+ * @extends {jspb.Message}
61
+ * @constructor
62
+ */
63
+ proto.BaseLinkDataSourceReq = function(opt_data) {
64
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
65
+ };
66
+ goog.inherits(proto.BaseLinkDataSourceReq, jspb.Message);
67
+ if (goog.DEBUG && !COMPILED) {
68
+ /**
69
+ * @public
70
+ * @override
71
+ */
72
+ proto.BaseLinkDataSourceReq.displayName = 'proto.BaseLinkDataSourceReq';
73
+ }
74
+ /**
75
+ * Generated by JsPbCodeGenerator.
76
+ * @param {Array=} opt_data Optional initial data array, typically from a
77
+ * server response, or constructed directly in Javascript. The array is used
78
+ * in place and becomes part of the constructed object. It is not cloned.
79
+ * If no data is provided, the constructed object will be empty, but still
80
+ * valid.
81
+ * @extends {jspb.Message}
82
+ * @constructor
83
+ */
84
+ proto.CreateLinkDataSourceReq = function(opt_data) {
85
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
86
+ };
87
+ goog.inherits(proto.CreateLinkDataSourceReq, jspb.Message);
88
+ if (goog.DEBUG && !COMPILED) {
89
+ /**
90
+ * @public
91
+ * @override
92
+ */
93
+ proto.CreateLinkDataSourceReq.displayName = 'proto.CreateLinkDataSourceReq';
94
+ }
95
+ /**
96
+ * Generated by JsPbCodeGenerator.
97
+ * @param {Array=} opt_data Optional initial data array, typically from a
98
+ * server response, or constructed directly in Javascript. The array is used
99
+ * in place and becomes part of the constructed object. It is not cloned.
100
+ * If no data is provided, the constructed object will be empty, but still
101
+ * valid.
102
+ * @extends {jspb.Message}
103
+ * @constructor
104
+ */
105
+ proto.UpdateLinkDataSourceReq = function(opt_data) {
106
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
107
+ };
108
+ goog.inherits(proto.UpdateLinkDataSourceReq, jspb.Message);
109
+ if (goog.DEBUG && !COMPILED) {
110
+ /**
111
+ * @public
112
+ * @override
113
+ */
114
+ proto.UpdateLinkDataSourceReq.displayName = 'proto.UpdateLinkDataSourceReq';
115
+ }
116
+ /**
117
+ * Generated by JsPbCodeGenerator.
118
+ * @param {Array=} opt_data Optional initial data array, typically from a
119
+ * server response, or constructed directly in Javascript. The array is used
120
+ * in place and becomes part of the constructed object. It is not cloned.
121
+ * If no data is provided, the constructed object will be empty, but still
122
+ * valid.
123
+ * @extends {jspb.Message}
124
+ * @constructor
125
+ */
126
+ proto.GetIdLinkDataSourceReq = function(opt_data) {
127
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
128
+ };
129
+ goog.inherits(proto.GetIdLinkDataSourceReq, jspb.Message);
130
+ if (goog.DEBUG && !COMPILED) {
131
+ /**
132
+ * @public
133
+ * @override
134
+ */
135
+ proto.GetIdLinkDataSourceReq.displayName = 'proto.GetIdLinkDataSourceReq';
136
+ }
137
+ /**
138
+ * Generated by JsPbCodeGenerator.
139
+ * @param {Array=} opt_data Optional initial data array, typically from a
140
+ * server response, or constructed directly in Javascript. The array is used
141
+ * in place and becomes part of the constructed object. It is not cloned.
142
+ * If no data is provided, the constructed object will be empty, but still
143
+ * valid.
144
+ * @extends {jspb.Message}
145
+ * @constructor
146
+ */
147
+ proto.DeleteLinkDataSourceReq = function(opt_data) {
148
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
149
+ };
150
+ goog.inherits(proto.DeleteLinkDataSourceReq, jspb.Message);
151
+ if (goog.DEBUG && !COMPILED) {
152
+ /**
153
+ * @public
154
+ * @override
155
+ */
156
+ proto.DeleteLinkDataSourceReq.displayName = 'proto.DeleteLinkDataSourceReq';
157
+ }
158
+ /**
159
+ * Generated by JsPbCodeGenerator.
160
+ * @param {Array=} opt_data Optional initial data array, typically from a
161
+ * server response, or constructed directly in Javascript. The array is used
162
+ * in place and becomes part of the constructed object. It is not cloned.
163
+ * If no data is provided, the constructed object will be empty, but still
164
+ * valid.
165
+ * @extends {jspb.Message}
166
+ * @constructor
167
+ */
168
+ proto.GetListLinkDataSourceReq = function(opt_data) {
169
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
170
+ };
171
+ goog.inherits(proto.GetListLinkDataSourceReq, jspb.Message);
172
+ if (goog.DEBUG && !COMPILED) {
173
+ /**
174
+ * @public
175
+ * @override
176
+ */
177
+ proto.GetListLinkDataSourceReq.displayName = 'proto.GetListLinkDataSourceReq';
178
+ }
179
+ /**
180
+ * Generated by JsPbCodeGenerator.
181
+ * @param {Array=} opt_data Optional initial data array, typically from a
182
+ * server response, or constructed directly in Javascript. The array is used
183
+ * in place and becomes part of the constructed object. It is not cloned.
184
+ * If no data is provided, the constructed object will be empty, but still
185
+ * valid.
186
+ * @extends {jspb.Message}
187
+ * @constructor
188
+ */
189
+ proto.CreateLinkDataSourceRes = function(opt_data) {
190
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
191
+ };
192
+ goog.inherits(proto.CreateLinkDataSourceRes, jspb.Message);
193
+ if (goog.DEBUG && !COMPILED) {
194
+ /**
195
+ * @public
196
+ * @override
197
+ */
198
+ proto.CreateLinkDataSourceRes.displayName = 'proto.CreateLinkDataSourceRes';
199
+ }
200
+ /**
201
+ * Generated by JsPbCodeGenerator.
202
+ * @param {Array=} opt_data Optional initial data array, typically from a
203
+ * server response, or constructed directly in Javascript. The array is used
204
+ * in place and becomes part of the constructed object. It is not cloned.
205
+ * If no data is provided, the constructed object will be empty, but still
206
+ * valid.
207
+ * @extends {jspb.Message}
208
+ * @constructor
209
+ */
210
+ proto.UpdateLinkDataSourceRes = function(opt_data) {
211
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
212
+ };
213
+ goog.inherits(proto.UpdateLinkDataSourceRes, jspb.Message);
214
+ if (goog.DEBUG && !COMPILED) {
215
+ /**
216
+ * @public
217
+ * @override
218
+ */
219
+ proto.UpdateLinkDataSourceRes.displayName = 'proto.UpdateLinkDataSourceRes';
220
+ }
221
+ /**
222
+ * Generated by JsPbCodeGenerator.
223
+ * @param {Array=} opt_data Optional initial data array, typically from a
224
+ * server response, or constructed directly in Javascript. The array is used
225
+ * in place and becomes part of the constructed object. It is not cloned.
226
+ * If no data is provided, the constructed object will be empty, but still
227
+ * valid.
228
+ * @extends {jspb.Message}
229
+ * @constructor
230
+ */
231
+ proto.GetIdLinkDataSourceRes = function(opt_data) {
232
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
233
+ };
234
+ goog.inherits(proto.GetIdLinkDataSourceRes, jspb.Message);
235
+ if (goog.DEBUG && !COMPILED) {
236
+ /**
237
+ * @public
238
+ * @override
239
+ */
240
+ proto.GetIdLinkDataSourceRes.displayName = 'proto.GetIdLinkDataSourceRes';
241
+ }
242
+ /**
243
+ * Generated by JsPbCodeGenerator.
244
+ * @param {Array=} opt_data Optional initial data array, typically from a
245
+ * server response, or constructed directly in Javascript. The array is used
246
+ * in place and becomes part of the constructed object. It is not cloned.
247
+ * If no data is provided, the constructed object will be empty, but still
248
+ * valid.
249
+ * @extends {jspb.Message}
250
+ * @constructor
251
+ */
252
+ proto.DeleteLinkDataSourceRes = function(opt_data) {
253
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
254
+ };
255
+ goog.inherits(proto.DeleteLinkDataSourceRes, jspb.Message);
256
+ if (goog.DEBUG && !COMPILED) {
257
+ /**
258
+ * @public
259
+ * @override
260
+ */
261
+ proto.DeleteLinkDataSourceRes.displayName = 'proto.DeleteLinkDataSourceRes';
262
+ }
263
+ /**
264
+ * Generated by JsPbCodeGenerator.
265
+ * @param {Array=} opt_data Optional initial data array, typically from a
266
+ * server response, or constructed directly in Javascript. The array is used
267
+ * in place and becomes part of the constructed object. It is not cloned.
268
+ * If no data is provided, the constructed object will be empty, but still
269
+ * valid.
270
+ * @extends {jspb.Message}
271
+ * @constructor
272
+ */
273
+ proto.GetListLinkDataSourceRes = function(opt_data) {
274
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListLinkDataSourceRes.repeatedFields_, null);
275
+ };
276
+ goog.inherits(proto.GetListLinkDataSourceRes, jspb.Message);
277
+ if (goog.DEBUG && !COMPILED) {
278
+ /**
279
+ * @public
280
+ * @override
281
+ */
282
+ proto.GetListLinkDataSourceRes.displayName = 'proto.GetListLinkDataSourceRes';
283
+ }
284
+
285
+
286
+
287
+ if (jspb.Message.GENERATE_TO_OBJECT) {
288
+ /**
289
+ * Creates an object representation of this proto.
290
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
291
+ * Optional fields that are not set will be set to undefined.
292
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
293
+ * For the list of reserved names please see:
294
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
295
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
296
+ * JSPB instance for transitional soy proto support:
297
+ * http://goto/soy-param-migration
298
+ * @return {!Object}
299
+ */
300
+ proto.LinkDataSource.prototype.toObject = function(opt_includeInstance) {
301
+ return proto.LinkDataSource.toObject(opt_includeInstance, this);
302
+ };
303
+
304
+
305
+ /**
306
+ * Static version of the {@see toObject} method.
307
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
308
+ * the JSPB instance for transitional soy proto support:
309
+ * http://goto/soy-param-migration
310
+ * @param {!proto.LinkDataSource} msg The msg instance to transform.
311
+ * @return {!Object}
312
+ * @suppress {unusedLocalVariables} f is only used for nested messages
313
+ */
314
+ proto.LinkDataSource.toObject = function(includeInstance, msg) {
315
+ var f, obj = {
316
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
317
+ url: jspb.Message.getFieldWithDefault(msg, 2, ""),
318
+ name: jspb.Message.getFieldWithDefault(msg, 3, ""),
319
+ key: jspb.Message.getFieldWithDefault(msg, 4, ""),
320
+ authType: jspb.Message.getFieldWithDefault(msg, 5, ""),
321
+ referencesId: jspb.Message.getFieldWithDefault(msg, 6, ""),
322
+ createdAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
323
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 8, "")
324
+ };
325
+
326
+ if (includeInstance) {
327
+ obj.$jspbMessageInstance = msg;
328
+ }
329
+ return obj;
330
+ };
331
+ }
332
+
333
+
334
+ /**
335
+ * Deserializes binary data (in protobuf wire format).
336
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
337
+ * @return {!proto.LinkDataSource}
338
+ */
339
+ proto.LinkDataSource.deserializeBinary = function(bytes) {
340
+ var reader = new jspb.BinaryReader(bytes);
341
+ var msg = new proto.LinkDataSource;
342
+ return proto.LinkDataSource.deserializeBinaryFromReader(msg, reader);
343
+ };
344
+
345
+
346
+ /**
347
+ * Deserializes binary data (in protobuf wire format) from the
348
+ * given reader into the given message object.
349
+ * @param {!proto.LinkDataSource} msg The message object to deserialize into.
350
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
351
+ * @return {!proto.LinkDataSource}
352
+ */
353
+ proto.LinkDataSource.deserializeBinaryFromReader = function(msg, reader) {
354
+ while (reader.nextField()) {
355
+ if (reader.isEndGroup()) {
356
+ break;
357
+ }
358
+ var field = reader.getFieldNumber();
359
+ switch (field) {
360
+ case 1:
361
+ var value = /** @type {number} */ (reader.readInt64());
362
+ msg.setId(value);
363
+ break;
364
+ case 2:
365
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
366
+ msg.setUrl(value);
367
+ break;
368
+ case 3:
369
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
370
+ msg.setName(value);
371
+ break;
372
+ case 4:
373
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
374
+ msg.setKey(value);
375
+ break;
376
+ case 5:
377
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
378
+ msg.setAuthType(value);
379
+ break;
380
+ case 6:
381
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
382
+ msg.setReferencesId(value);
383
+ break;
384
+ case 7:
385
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
386
+ msg.setCreatedAt(value);
387
+ break;
388
+ case 8:
389
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
390
+ msg.setUpdatedAt(value);
391
+ break;
392
+ default:
393
+ reader.skipField();
394
+ break;
395
+ }
396
+ }
397
+ return msg;
398
+ };
399
+
400
+
401
+ /**
402
+ * Serializes the message to binary data (in protobuf wire format).
403
+ * @return {!Uint8Array}
404
+ */
405
+ proto.LinkDataSource.prototype.serializeBinary = function() {
406
+ var writer = new jspb.BinaryWriter();
407
+ proto.LinkDataSource.serializeBinaryToWriter(this, writer);
408
+ return writer.getResultBuffer();
409
+ };
410
+
411
+
412
+ /**
413
+ * Serializes the given message to binary data (in protobuf wire
414
+ * format), writing to the given BinaryWriter.
415
+ * @param {!proto.LinkDataSource} message
416
+ * @param {!jspb.BinaryWriter} writer
417
+ * @suppress {unusedLocalVariables} f is only used for nested messages
418
+ */
419
+ proto.LinkDataSource.serializeBinaryToWriter = function(message, writer) {
420
+ var f = undefined;
421
+ f = message.getId();
422
+ if (f !== 0) {
423
+ writer.writeInt64(
424
+ 1,
425
+ f
426
+ );
427
+ }
428
+ f = message.getUrl();
429
+ if (f.length > 0) {
430
+ writer.writeString(
431
+ 2,
432
+ f
433
+ );
434
+ }
435
+ f = message.getName();
436
+ if (f.length > 0) {
437
+ writer.writeString(
438
+ 3,
439
+ f
440
+ );
441
+ }
442
+ f = message.getKey();
443
+ if (f.length > 0) {
444
+ writer.writeString(
445
+ 4,
446
+ f
447
+ );
448
+ }
449
+ f = message.getAuthType();
450
+ if (f.length > 0) {
451
+ writer.writeString(
452
+ 5,
453
+ f
454
+ );
455
+ }
456
+ f = message.getReferencesId();
457
+ if (f.length > 0) {
458
+ writer.writeString(
459
+ 6,
460
+ f
461
+ );
462
+ }
463
+ f = message.getCreatedAt();
464
+ if (f.length > 0) {
465
+ writer.writeString(
466
+ 7,
467
+ f
468
+ );
469
+ }
470
+ f = message.getUpdatedAt();
471
+ if (f.length > 0) {
472
+ writer.writeString(
473
+ 8,
474
+ f
475
+ );
476
+ }
477
+ };
478
+
479
+
480
+ /**
481
+ * optional int64 id = 1;
482
+ * @return {number}
483
+ */
484
+ proto.LinkDataSource.prototype.getId = function() {
485
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
486
+ };
487
+
488
+
489
+ /**
490
+ * @param {number} value
491
+ * @return {!proto.LinkDataSource} returns this
492
+ */
493
+ proto.LinkDataSource.prototype.setId = function(value) {
494
+ return jspb.Message.setProto3IntField(this, 1, value);
495
+ };
496
+
497
+
498
+ /**
499
+ * optional string url = 2;
500
+ * @return {string}
501
+ */
502
+ proto.LinkDataSource.prototype.getUrl = function() {
503
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
504
+ };
505
+
506
+
507
+ /**
508
+ * @param {string} value
509
+ * @return {!proto.LinkDataSource} returns this
510
+ */
511
+ proto.LinkDataSource.prototype.setUrl = function(value) {
512
+ return jspb.Message.setProto3StringField(this, 2, value);
513
+ };
514
+
515
+
516
+ /**
517
+ * optional string name = 3;
518
+ * @return {string}
519
+ */
520
+ proto.LinkDataSource.prototype.getName = function() {
521
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
522
+ };
523
+
524
+
525
+ /**
526
+ * @param {string} value
527
+ * @return {!proto.LinkDataSource} returns this
528
+ */
529
+ proto.LinkDataSource.prototype.setName = function(value) {
530
+ return jspb.Message.setProto3StringField(this, 3, value);
531
+ };
532
+
533
+
534
+ /**
535
+ * optional string key = 4;
536
+ * @return {string}
537
+ */
538
+ proto.LinkDataSource.prototype.getKey = function() {
539
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
540
+ };
541
+
542
+
543
+ /**
544
+ * @param {string} value
545
+ * @return {!proto.LinkDataSource} returns this
546
+ */
547
+ proto.LinkDataSource.prototype.setKey = function(value) {
548
+ return jspb.Message.setProto3StringField(this, 4, value);
549
+ };
550
+
551
+
552
+ /**
553
+ * optional string auth_type = 5;
554
+ * @return {string}
555
+ */
556
+ proto.LinkDataSource.prototype.getAuthType = function() {
557
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
558
+ };
559
+
560
+
561
+ /**
562
+ * @param {string} value
563
+ * @return {!proto.LinkDataSource} returns this
564
+ */
565
+ proto.LinkDataSource.prototype.setAuthType = function(value) {
566
+ return jspb.Message.setProto3StringField(this, 5, value);
567
+ };
568
+
569
+
570
+ /**
571
+ * optional string references_id = 6;
572
+ * @return {string}
573
+ */
574
+ proto.LinkDataSource.prototype.getReferencesId = function() {
575
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
576
+ };
577
+
578
+
579
+ /**
580
+ * @param {string} value
581
+ * @return {!proto.LinkDataSource} returns this
582
+ */
583
+ proto.LinkDataSource.prototype.setReferencesId = function(value) {
584
+ return jspb.Message.setProto3StringField(this, 6, value);
585
+ };
586
+
587
+
588
+ /**
589
+ * optional string created_at = 7;
590
+ * @return {string}
591
+ */
592
+ proto.LinkDataSource.prototype.getCreatedAt = function() {
593
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
594
+ };
595
+
596
+
597
+ /**
598
+ * @param {string} value
599
+ * @return {!proto.LinkDataSource} returns this
600
+ */
601
+ proto.LinkDataSource.prototype.setCreatedAt = function(value) {
602
+ return jspb.Message.setProto3StringField(this, 7, value);
603
+ };
604
+
605
+
606
+ /**
607
+ * optional string updated_at = 8;
608
+ * @return {string}
609
+ */
610
+ proto.LinkDataSource.prototype.getUpdatedAt = function() {
611
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
612
+ };
613
+
614
+
615
+ /**
616
+ * @param {string} value
617
+ * @return {!proto.LinkDataSource} returns this
618
+ */
619
+ proto.LinkDataSource.prototype.setUpdatedAt = function(value) {
620
+ return jspb.Message.setProto3StringField(this, 8, value);
621
+ };
622
+
623
+
624
+
625
+
626
+
627
+ if (jspb.Message.GENERATE_TO_OBJECT) {
628
+ /**
629
+ * Creates an object representation of this proto.
630
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
631
+ * Optional fields that are not set will be set to undefined.
632
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
633
+ * For the list of reserved names please see:
634
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
635
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
636
+ * JSPB instance for transitional soy proto support:
637
+ * http://goto/soy-param-migration
638
+ * @return {!Object}
639
+ */
640
+ proto.BaseLinkDataSourceReq.prototype.toObject = function(opt_includeInstance) {
641
+ return proto.BaseLinkDataSourceReq.toObject(opt_includeInstance, this);
642
+ };
643
+
644
+
645
+ /**
646
+ * Static version of the {@see toObject} method.
647
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
648
+ * the JSPB instance for transitional soy proto support:
649
+ * http://goto/soy-param-migration
650
+ * @param {!proto.BaseLinkDataSourceReq} msg The msg instance to transform.
651
+ * @return {!Object}
652
+ * @suppress {unusedLocalVariables} f is only used for nested messages
653
+ */
654
+ proto.BaseLinkDataSourceReq.toObject = function(includeInstance, msg) {
655
+ var f, obj = {
656
+ url: jspb.Message.getFieldWithDefault(msg, 1, ""),
657
+ key: jspb.Message.getFieldWithDefault(msg, 2, ""),
658
+ authKey: jspb.Message.getFieldWithDefault(msg, 3, "")
659
+ };
660
+
661
+ if (includeInstance) {
662
+ obj.$jspbMessageInstance = msg;
663
+ }
664
+ return obj;
665
+ };
666
+ }
667
+
668
+
669
+ /**
670
+ * Deserializes binary data (in protobuf wire format).
671
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
672
+ * @return {!proto.BaseLinkDataSourceReq}
673
+ */
674
+ proto.BaseLinkDataSourceReq.deserializeBinary = function(bytes) {
675
+ var reader = new jspb.BinaryReader(bytes);
676
+ var msg = new proto.BaseLinkDataSourceReq;
677
+ return proto.BaseLinkDataSourceReq.deserializeBinaryFromReader(msg, reader);
678
+ };
679
+
680
+
681
+ /**
682
+ * Deserializes binary data (in protobuf wire format) from the
683
+ * given reader into the given message object.
684
+ * @param {!proto.BaseLinkDataSourceReq} msg The message object to deserialize into.
685
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
686
+ * @return {!proto.BaseLinkDataSourceReq}
687
+ */
688
+ proto.BaseLinkDataSourceReq.deserializeBinaryFromReader = function(msg, reader) {
689
+ while (reader.nextField()) {
690
+ if (reader.isEndGroup()) {
691
+ break;
692
+ }
693
+ var field = reader.getFieldNumber();
694
+ switch (field) {
695
+ case 1:
696
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
697
+ msg.setUrl(value);
698
+ break;
699
+ case 2:
700
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
701
+ msg.setKey(value);
702
+ break;
703
+ case 3:
704
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
705
+ msg.setAuthKey(value);
706
+ break;
707
+ default:
708
+ reader.skipField();
709
+ break;
710
+ }
711
+ }
712
+ return msg;
713
+ };
714
+
715
+
716
+ /**
717
+ * Serializes the message to binary data (in protobuf wire format).
718
+ * @return {!Uint8Array}
719
+ */
720
+ proto.BaseLinkDataSourceReq.prototype.serializeBinary = function() {
721
+ var writer = new jspb.BinaryWriter();
722
+ proto.BaseLinkDataSourceReq.serializeBinaryToWriter(this, writer);
723
+ return writer.getResultBuffer();
724
+ };
725
+
726
+
727
+ /**
728
+ * Serializes the given message to binary data (in protobuf wire
729
+ * format), writing to the given BinaryWriter.
730
+ * @param {!proto.BaseLinkDataSourceReq} message
731
+ * @param {!jspb.BinaryWriter} writer
732
+ * @suppress {unusedLocalVariables} f is only used for nested messages
733
+ */
734
+ proto.BaseLinkDataSourceReq.serializeBinaryToWriter = function(message, writer) {
735
+ var f = undefined;
736
+ f = message.getUrl();
737
+ if (f.length > 0) {
738
+ writer.writeString(
739
+ 1,
740
+ f
741
+ );
742
+ }
743
+ f = message.getKey();
744
+ if (f.length > 0) {
745
+ writer.writeString(
746
+ 2,
747
+ f
748
+ );
749
+ }
750
+ f = message.getAuthKey();
751
+ if (f.length > 0) {
752
+ writer.writeString(
753
+ 3,
754
+ f
755
+ );
756
+ }
757
+ };
758
+
759
+
760
+ /**
761
+ * optional string url = 1;
762
+ * @return {string}
763
+ */
764
+ proto.BaseLinkDataSourceReq.prototype.getUrl = function() {
765
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
766
+ };
767
+
768
+
769
+ /**
770
+ * @param {string} value
771
+ * @return {!proto.BaseLinkDataSourceReq} returns this
772
+ */
773
+ proto.BaseLinkDataSourceReq.prototype.setUrl = function(value) {
774
+ return jspb.Message.setProto3StringField(this, 1, value);
775
+ };
776
+
777
+
778
+ /**
779
+ * optional string key = 2;
780
+ * @return {string}
781
+ */
782
+ proto.BaseLinkDataSourceReq.prototype.getKey = function() {
783
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
784
+ };
785
+
786
+
787
+ /**
788
+ * @param {string} value
789
+ * @return {!proto.BaseLinkDataSourceReq} returns this
790
+ */
791
+ proto.BaseLinkDataSourceReq.prototype.setKey = function(value) {
792
+ return jspb.Message.setProto3StringField(this, 2, value);
793
+ };
794
+
795
+
796
+ /**
797
+ * optional string auth_key = 3;
798
+ * @return {string}
799
+ */
800
+ proto.BaseLinkDataSourceReq.prototype.getAuthKey = function() {
801
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
802
+ };
803
+
804
+
805
+ /**
806
+ * @param {string} value
807
+ * @return {!proto.BaseLinkDataSourceReq} returns this
808
+ */
809
+ proto.BaseLinkDataSourceReq.prototype.setAuthKey = function(value) {
810
+ return jspb.Message.setProto3StringField(this, 3, value);
811
+ };
812
+
813
+
814
+
815
+
816
+
817
+ if (jspb.Message.GENERATE_TO_OBJECT) {
818
+ /**
819
+ * Creates an object representation of this proto.
820
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
821
+ * Optional fields that are not set will be set to undefined.
822
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
823
+ * For the list of reserved names please see:
824
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
825
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
826
+ * JSPB instance for transitional soy proto support:
827
+ * http://goto/soy-param-migration
828
+ * @return {!Object}
829
+ */
830
+ proto.CreateLinkDataSourceReq.prototype.toObject = function(opt_includeInstance) {
831
+ return proto.CreateLinkDataSourceReq.toObject(opt_includeInstance, this);
832
+ };
833
+
834
+
835
+ /**
836
+ * Static version of the {@see toObject} method.
837
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
838
+ * the JSPB instance for transitional soy proto support:
839
+ * http://goto/soy-param-migration
840
+ * @param {!proto.CreateLinkDataSourceReq} msg The msg instance to transform.
841
+ * @return {!Object}
842
+ * @suppress {unusedLocalVariables} f is only used for nested messages
843
+ */
844
+ proto.CreateLinkDataSourceReq.toObject = function(includeInstance, msg) {
845
+ var f, obj = {
846
+ baseLinkDataSource: (f = msg.getBaseLinkDataSource()) && proto.BaseLinkDataSourceReq.toObject(includeInstance, f)
847
+ };
848
+
849
+ if (includeInstance) {
850
+ obj.$jspbMessageInstance = msg;
851
+ }
852
+ return obj;
853
+ };
854
+ }
855
+
856
+
857
+ /**
858
+ * Deserializes binary data (in protobuf wire format).
859
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
860
+ * @return {!proto.CreateLinkDataSourceReq}
861
+ */
862
+ proto.CreateLinkDataSourceReq.deserializeBinary = function(bytes) {
863
+ var reader = new jspb.BinaryReader(bytes);
864
+ var msg = new proto.CreateLinkDataSourceReq;
865
+ return proto.CreateLinkDataSourceReq.deserializeBinaryFromReader(msg, reader);
866
+ };
867
+
868
+
869
+ /**
870
+ * Deserializes binary data (in protobuf wire format) from the
871
+ * given reader into the given message object.
872
+ * @param {!proto.CreateLinkDataSourceReq} msg The message object to deserialize into.
873
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
874
+ * @return {!proto.CreateLinkDataSourceReq}
875
+ */
876
+ proto.CreateLinkDataSourceReq.deserializeBinaryFromReader = function(msg, reader) {
877
+ while (reader.nextField()) {
878
+ if (reader.isEndGroup()) {
879
+ break;
880
+ }
881
+ var field = reader.getFieldNumber();
882
+ switch (field) {
883
+ case 1:
884
+ var value = new proto.BaseLinkDataSourceReq;
885
+ reader.readMessage(value,proto.BaseLinkDataSourceReq.deserializeBinaryFromReader);
886
+ msg.setBaseLinkDataSource(value);
887
+ break;
888
+ default:
889
+ reader.skipField();
890
+ break;
891
+ }
892
+ }
893
+ return msg;
894
+ };
895
+
896
+
897
+ /**
898
+ * Serializes the message to binary data (in protobuf wire format).
899
+ * @return {!Uint8Array}
900
+ */
901
+ proto.CreateLinkDataSourceReq.prototype.serializeBinary = function() {
902
+ var writer = new jspb.BinaryWriter();
903
+ proto.CreateLinkDataSourceReq.serializeBinaryToWriter(this, writer);
904
+ return writer.getResultBuffer();
905
+ };
906
+
907
+
908
+ /**
909
+ * Serializes the given message to binary data (in protobuf wire
910
+ * format), writing to the given BinaryWriter.
911
+ * @param {!proto.CreateLinkDataSourceReq} message
912
+ * @param {!jspb.BinaryWriter} writer
913
+ * @suppress {unusedLocalVariables} f is only used for nested messages
914
+ */
915
+ proto.CreateLinkDataSourceReq.serializeBinaryToWriter = function(message, writer) {
916
+ var f = undefined;
917
+ f = message.getBaseLinkDataSource();
918
+ if (f != null) {
919
+ writer.writeMessage(
920
+ 1,
921
+ f,
922
+ proto.BaseLinkDataSourceReq.serializeBinaryToWriter
923
+ );
924
+ }
925
+ };
926
+
927
+
928
+ /**
929
+ * optional BaseLinkDataSourceReq base_link_data_source = 1;
930
+ * @return {?proto.BaseLinkDataSourceReq}
931
+ */
932
+ proto.CreateLinkDataSourceReq.prototype.getBaseLinkDataSource = function() {
933
+ return /** @type{?proto.BaseLinkDataSourceReq} */ (
934
+ jspb.Message.getWrapperField(this, proto.BaseLinkDataSourceReq, 1));
935
+ };
936
+
937
+
938
+ /**
939
+ * @param {?proto.BaseLinkDataSourceReq|undefined} value
940
+ * @return {!proto.CreateLinkDataSourceReq} returns this
941
+ */
942
+ proto.CreateLinkDataSourceReq.prototype.setBaseLinkDataSource = function(value) {
943
+ return jspb.Message.setWrapperField(this, 1, value);
944
+ };
945
+
946
+
947
+ /**
948
+ * Clears the message field making it undefined.
949
+ * @return {!proto.CreateLinkDataSourceReq} returns this
950
+ */
951
+ proto.CreateLinkDataSourceReq.prototype.clearBaseLinkDataSource = function() {
952
+ return this.setBaseLinkDataSource(undefined);
953
+ };
954
+
955
+
956
+ /**
957
+ * Returns whether this field is set.
958
+ * @return {boolean}
959
+ */
960
+ proto.CreateLinkDataSourceReq.prototype.hasBaseLinkDataSource = function() {
961
+ return jspb.Message.getField(this, 1) != null;
962
+ };
963
+
964
+
965
+
966
+
967
+
968
+ if (jspb.Message.GENERATE_TO_OBJECT) {
969
+ /**
970
+ * Creates an object representation of this proto.
971
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
972
+ * Optional fields that are not set will be set to undefined.
973
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
974
+ * For the list of reserved names please see:
975
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
976
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
977
+ * JSPB instance for transitional soy proto support:
978
+ * http://goto/soy-param-migration
979
+ * @return {!Object}
980
+ */
981
+ proto.UpdateLinkDataSourceReq.prototype.toObject = function(opt_includeInstance) {
982
+ return proto.UpdateLinkDataSourceReq.toObject(opt_includeInstance, this);
983
+ };
984
+
985
+
986
+ /**
987
+ * Static version of the {@see toObject} method.
988
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
989
+ * the JSPB instance for transitional soy proto support:
990
+ * http://goto/soy-param-migration
991
+ * @param {!proto.UpdateLinkDataSourceReq} msg The msg instance to transform.
992
+ * @return {!Object}
993
+ * @suppress {unusedLocalVariables} f is only used for nested messages
994
+ */
995
+ proto.UpdateLinkDataSourceReq.toObject = function(includeInstance, msg) {
996
+ var f, obj = {
997
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
998
+ baseLinkDataSource: (f = msg.getBaseLinkDataSource()) && proto.BaseLinkDataSourceReq.toObject(includeInstance, f)
999
+ };
1000
+
1001
+ if (includeInstance) {
1002
+ obj.$jspbMessageInstance = msg;
1003
+ }
1004
+ return obj;
1005
+ };
1006
+ }
1007
+
1008
+
1009
+ /**
1010
+ * Deserializes binary data (in protobuf wire format).
1011
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1012
+ * @return {!proto.UpdateLinkDataSourceReq}
1013
+ */
1014
+ proto.UpdateLinkDataSourceReq.deserializeBinary = function(bytes) {
1015
+ var reader = new jspb.BinaryReader(bytes);
1016
+ var msg = new proto.UpdateLinkDataSourceReq;
1017
+ return proto.UpdateLinkDataSourceReq.deserializeBinaryFromReader(msg, reader);
1018
+ };
1019
+
1020
+
1021
+ /**
1022
+ * Deserializes binary data (in protobuf wire format) from the
1023
+ * given reader into the given message object.
1024
+ * @param {!proto.UpdateLinkDataSourceReq} msg The message object to deserialize into.
1025
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1026
+ * @return {!proto.UpdateLinkDataSourceReq}
1027
+ */
1028
+ proto.UpdateLinkDataSourceReq.deserializeBinaryFromReader = function(msg, reader) {
1029
+ while (reader.nextField()) {
1030
+ if (reader.isEndGroup()) {
1031
+ break;
1032
+ }
1033
+ var field = reader.getFieldNumber();
1034
+ switch (field) {
1035
+ case 1:
1036
+ var value = /** @type {number} */ (reader.readInt64());
1037
+ msg.setId(value);
1038
+ break;
1039
+ case 2:
1040
+ var value = new proto.BaseLinkDataSourceReq;
1041
+ reader.readMessage(value,proto.BaseLinkDataSourceReq.deserializeBinaryFromReader);
1042
+ msg.setBaseLinkDataSource(value);
1043
+ break;
1044
+ default:
1045
+ reader.skipField();
1046
+ break;
1047
+ }
1048
+ }
1049
+ return msg;
1050
+ };
1051
+
1052
+
1053
+ /**
1054
+ * Serializes the message to binary data (in protobuf wire format).
1055
+ * @return {!Uint8Array}
1056
+ */
1057
+ proto.UpdateLinkDataSourceReq.prototype.serializeBinary = function() {
1058
+ var writer = new jspb.BinaryWriter();
1059
+ proto.UpdateLinkDataSourceReq.serializeBinaryToWriter(this, writer);
1060
+ return writer.getResultBuffer();
1061
+ };
1062
+
1063
+
1064
+ /**
1065
+ * Serializes the given message to binary data (in protobuf wire
1066
+ * format), writing to the given BinaryWriter.
1067
+ * @param {!proto.UpdateLinkDataSourceReq} message
1068
+ * @param {!jspb.BinaryWriter} writer
1069
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1070
+ */
1071
+ proto.UpdateLinkDataSourceReq.serializeBinaryToWriter = function(message, writer) {
1072
+ var f = undefined;
1073
+ f = message.getId();
1074
+ if (f !== 0) {
1075
+ writer.writeInt64(
1076
+ 1,
1077
+ f
1078
+ );
1079
+ }
1080
+ f = message.getBaseLinkDataSource();
1081
+ if (f != null) {
1082
+ writer.writeMessage(
1083
+ 2,
1084
+ f,
1085
+ proto.BaseLinkDataSourceReq.serializeBinaryToWriter
1086
+ );
1087
+ }
1088
+ };
1089
+
1090
+
1091
+ /**
1092
+ * optional int64 id = 1;
1093
+ * @return {number}
1094
+ */
1095
+ proto.UpdateLinkDataSourceReq.prototype.getId = function() {
1096
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1097
+ };
1098
+
1099
+
1100
+ /**
1101
+ * @param {number} value
1102
+ * @return {!proto.UpdateLinkDataSourceReq} returns this
1103
+ */
1104
+ proto.UpdateLinkDataSourceReq.prototype.setId = function(value) {
1105
+ return jspb.Message.setProto3IntField(this, 1, value);
1106
+ };
1107
+
1108
+
1109
+ /**
1110
+ * optional BaseLinkDataSourceReq base_link_data_source = 2;
1111
+ * @return {?proto.BaseLinkDataSourceReq}
1112
+ */
1113
+ proto.UpdateLinkDataSourceReq.prototype.getBaseLinkDataSource = function() {
1114
+ return /** @type{?proto.BaseLinkDataSourceReq} */ (
1115
+ jspb.Message.getWrapperField(this, proto.BaseLinkDataSourceReq, 2));
1116
+ };
1117
+
1118
+
1119
+ /**
1120
+ * @param {?proto.BaseLinkDataSourceReq|undefined} value
1121
+ * @return {!proto.UpdateLinkDataSourceReq} returns this
1122
+ */
1123
+ proto.UpdateLinkDataSourceReq.prototype.setBaseLinkDataSource = function(value) {
1124
+ return jspb.Message.setWrapperField(this, 2, value);
1125
+ };
1126
+
1127
+
1128
+ /**
1129
+ * Clears the message field making it undefined.
1130
+ * @return {!proto.UpdateLinkDataSourceReq} returns this
1131
+ */
1132
+ proto.UpdateLinkDataSourceReq.prototype.clearBaseLinkDataSource = function() {
1133
+ return this.setBaseLinkDataSource(undefined);
1134
+ };
1135
+
1136
+
1137
+ /**
1138
+ * Returns whether this field is set.
1139
+ * @return {boolean}
1140
+ */
1141
+ proto.UpdateLinkDataSourceReq.prototype.hasBaseLinkDataSource = function() {
1142
+ return jspb.Message.getField(this, 2) != null;
1143
+ };
1144
+
1145
+
1146
+
1147
+
1148
+
1149
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1150
+ /**
1151
+ * Creates an object representation of this proto.
1152
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1153
+ * Optional fields that are not set will be set to undefined.
1154
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1155
+ * For the list of reserved names please see:
1156
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1157
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1158
+ * JSPB instance for transitional soy proto support:
1159
+ * http://goto/soy-param-migration
1160
+ * @return {!Object}
1161
+ */
1162
+ proto.GetIdLinkDataSourceReq.prototype.toObject = function(opt_includeInstance) {
1163
+ return proto.GetIdLinkDataSourceReq.toObject(opt_includeInstance, this);
1164
+ };
1165
+
1166
+
1167
+ /**
1168
+ * Static version of the {@see toObject} method.
1169
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1170
+ * the JSPB instance for transitional soy proto support:
1171
+ * http://goto/soy-param-migration
1172
+ * @param {!proto.GetIdLinkDataSourceReq} msg The msg instance to transform.
1173
+ * @return {!Object}
1174
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1175
+ */
1176
+ proto.GetIdLinkDataSourceReq.toObject = function(includeInstance, msg) {
1177
+ var f, obj = {
1178
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
1179
+ };
1180
+
1181
+ if (includeInstance) {
1182
+ obj.$jspbMessageInstance = msg;
1183
+ }
1184
+ return obj;
1185
+ };
1186
+ }
1187
+
1188
+
1189
+ /**
1190
+ * Deserializes binary data (in protobuf wire format).
1191
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1192
+ * @return {!proto.GetIdLinkDataSourceReq}
1193
+ */
1194
+ proto.GetIdLinkDataSourceReq.deserializeBinary = function(bytes) {
1195
+ var reader = new jspb.BinaryReader(bytes);
1196
+ var msg = new proto.GetIdLinkDataSourceReq;
1197
+ return proto.GetIdLinkDataSourceReq.deserializeBinaryFromReader(msg, reader);
1198
+ };
1199
+
1200
+
1201
+ /**
1202
+ * Deserializes binary data (in protobuf wire format) from the
1203
+ * given reader into the given message object.
1204
+ * @param {!proto.GetIdLinkDataSourceReq} msg The message object to deserialize into.
1205
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1206
+ * @return {!proto.GetIdLinkDataSourceReq}
1207
+ */
1208
+ proto.GetIdLinkDataSourceReq.deserializeBinaryFromReader = function(msg, reader) {
1209
+ while (reader.nextField()) {
1210
+ if (reader.isEndGroup()) {
1211
+ break;
1212
+ }
1213
+ var field = reader.getFieldNumber();
1214
+ switch (field) {
1215
+ case 1:
1216
+ var value = /** @type {number} */ (reader.readInt64());
1217
+ msg.setId(value);
1218
+ break;
1219
+ default:
1220
+ reader.skipField();
1221
+ break;
1222
+ }
1223
+ }
1224
+ return msg;
1225
+ };
1226
+
1227
+
1228
+ /**
1229
+ * Serializes the message to binary data (in protobuf wire format).
1230
+ * @return {!Uint8Array}
1231
+ */
1232
+ proto.GetIdLinkDataSourceReq.prototype.serializeBinary = function() {
1233
+ var writer = new jspb.BinaryWriter();
1234
+ proto.GetIdLinkDataSourceReq.serializeBinaryToWriter(this, writer);
1235
+ return writer.getResultBuffer();
1236
+ };
1237
+
1238
+
1239
+ /**
1240
+ * Serializes the given message to binary data (in protobuf wire
1241
+ * format), writing to the given BinaryWriter.
1242
+ * @param {!proto.GetIdLinkDataSourceReq} message
1243
+ * @param {!jspb.BinaryWriter} writer
1244
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1245
+ */
1246
+ proto.GetIdLinkDataSourceReq.serializeBinaryToWriter = function(message, writer) {
1247
+ var f = undefined;
1248
+ f = message.getId();
1249
+ if (f !== 0) {
1250
+ writer.writeInt64(
1251
+ 1,
1252
+ f
1253
+ );
1254
+ }
1255
+ };
1256
+
1257
+
1258
+ /**
1259
+ * optional int64 id = 1;
1260
+ * @return {number}
1261
+ */
1262
+ proto.GetIdLinkDataSourceReq.prototype.getId = function() {
1263
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1264
+ };
1265
+
1266
+
1267
+ /**
1268
+ * @param {number} value
1269
+ * @return {!proto.GetIdLinkDataSourceReq} returns this
1270
+ */
1271
+ proto.GetIdLinkDataSourceReq.prototype.setId = function(value) {
1272
+ return jspb.Message.setProto3IntField(this, 1, value);
1273
+ };
1274
+
1275
+
1276
+
1277
+
1278
+
1279
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1280
+ /**
1281
+ * Creates an object representation of this proto.
1282
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1283
+ * Optional fields that are not set will be set to undefined.
1284
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1285
+ * For the list of reserved names please see:
1286
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1287
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1288
+ * JSPB instance for transitional soy proto support:
1289
+ * http://goto/soy-param-migration
1290
+ * @return {!Object}
1291
+ */
1292
+ proto.DeleteLinkDataSourceReq.prototype.toObject = function(opt_includeInstance) {
1293
+ return proto.DeleteLinkDataSourceReq.toObject(opt_includeInstance, this);
1294
+ };
1295
+
1296
+
1297
+ /**
1298
+ * Static version of the {@see toObject} method.
1299
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1300
+ * the JSPB instance for transitional soy proto support:
1301
+ * http://goto/soy-param-migration
1302
+ * @param {!proto.DeleteLinkDataSourceReq} msg The msg instance to transform.
1303
+ * @return {!Object}
1304
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1305
+ */
1306
+ proto.DeleteLinkDataSourceReq.toObject = function(includeInstance, msg) {
1307
+ var f, obj = {
1308
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
1309
+ };
1310
+
1311
+ if (includeInstance) {
1312
+ obj.$jspbMessageInstance = msg;
1313
+ }
1314
+ return obj;
1315
+ };
1316
+ }
1317
+
1318
+
1319
+ /**
1320
+ * Deserializes binary data (in protobuf wire format).
1321
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1322
+ * @return {!proto.DeleteLinkDataSourceReq}
1323
+ */
1324
+ proto.DeleteLinkDataSourceReq.deserializeBinary = function(bytes) {
1325
+ var reader = new jspb.BinaryReader(bytes);
1326
+ var msg = new proto.DeleteLinkDataSourceReq;
1327
+ return proto.DeleteLinkDataSourceReq.deserializeBinaryFromReader(msg, reader);
1328
+ };
1329
+
1330
+
1331
+ /**
1332
+ * Deserializes binary data (in protobuf wire format) from the
1333
+ * given reader into the given message object.
1334
+ * @param {!proto.DeleteLinkDataSourceReq} msg The message object to deserialize into.
1335
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1336
+ * @return {!proto.DeleteLinkDataSourceReq}
1337
+ */
1338
+ proto.DeleteLinkDataSourceReq.deserializeBinaryFromReader = function(msg, reader) {
1339
+ while (reader.nextField()) {
1340
+ if (reader.isEndGroup()) {
1341
+ break;
1342
+ }
1343
+ var field = reader.getFieldNumber();
1344
+ switch (field) {
1345
+ case 1:
1346
+ var value = /** @type {number} */ (reader.readInt64());
1347
+ msg.setId(value);
1348
+ break;
1349
+ default:
1350
+ reader.skipField();
1351
+ break;
1352
+ }
1353
+ }
1354
+ return msg;
1355
+ };
1356
+
1357
+
1358
+ /**
1359
+ * Serializes the message to binary data (in protobuf wire format).
1360
+ * @return {!Uint8Array}
1361
+ */
1362
+ proto.DeleteLinkDataSourceReq.prototype.serializeBinary = function() {
1363
+ var writer = new jspb.BinaryWriter();
1364
+ proto.DeleteLinkDataSourceReq.serializeBinaryToWriter(this, writer);
1365
+ return writer.getResultBuffer();
1366
+ };
1367
+
1368
+
1369
+ /**
1370
+ * Serializes the given message to binary data (in protobuf wire
1371
+ * format), writing to the given BinaryWriter.
1372
+ * @param {!proto.DeleteLinkDataSourceReq} message
1373
+ * @param {!jspb.BinaryWriter} writer
1374
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1375
+ */
1376
+ proto.DeleteLinkDataSourceReq.serializeBinaryToWriter = function(message, writer) {
1377
+ var f = undefined;
1378
+ f = message.getId();
1379
+ if (f !== 0) {
1380
+ writer.writeInt64(
1381
+ 1,
1382
+ f
1383
+ );
1384
+ }
1385
+ };
1386
+
1387
+
1388
+ /**
1389
+ * optional int64 id = 1;
1390
+ * @return {number}
1391
+ */
1392
+ proto.DeleteLinkDataSourceReq.prototype.getId = function() {
1393
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1394
+ };
1395
+
1396
+
1397
+ /**
1398
+ * @param {number} value
1399
+ * @return {!proto.DeleteLinkDataSourceReq} returns this
1400
+ */
1401
+ proto.DeleteLinkDataSourceReq.prototype.setId = function(value) {
1402
+ return jspb.Message.setProto3IntField(this, 1, value);
1403
+ };
1404
+
1405
+
1406
+
1407
+
1408
+
1409
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1410
+ /**
1411
+ * Creates an object representation of this proto.
1412
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1413
+ * Optional fields that are not set will be set to undefined.
1414
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1415
+ * For the list of reserved names please see:
1416
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1417
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1418
+ * JSPB instance for transitional soy proto support:
1419
+ * http://goto/soy-param-migration
1420
+ * @return {!Object}
1421
+ */
1422
+ proto.GetListLinkDataSourceReq.prototype.toObject = function(opt_includeInstance) {
1423
+ return proto.GetListLinkDataSourceReq.toObject(opt_includeInstance, this);
1424
+ };
1425
+
1426
+
1427
+ /**
1428
+ * Static version of the {@see toObject} method.
1429
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1430
+ * the JSPB instance for transitional soy proto support:
1431
+ * http://goto/soy-param-migration
1432
+ * @param {!proto.GetListLinkDataSourceReq} msg The msg instance to transform.
1433
+ * @return {!Object}
1434
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1435
+ */
1436
+ proto.GetListLinkDataSourceReq.toObject = function(includeInstance, msg) {
1437
+ var f, obj = {
1438
+ pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
1439
+ query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
1440
+ };
1441
+
1442
+ if (includeInstance) {
1443
+ obj.$jspbMessageInstance = msg;
1444
+ }
1445
+ return obj;
1446
+ };
1447
+ }
1448
+
1449
+
1450
+ /**
1451
+ * Deserializes binary data (in protobuf wire format).
1452
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1453
+ * @return {!proto.GetListLinkDataSourceReq}
1454
+ */
1455
+ proto.GetListLinkDataSourceReq.deserializeBinary = function(bytes) {
1456
+ var reader = new jspb.BinaryReader(bytes);
1457
+ var msg = new proto.GetListLinkDataSourceReq;
1458
+ return proto.GetListLinkDataSourceReq.deserializeBinaryFromReader(msg, reader);
1459
+ };
1460
+
1461
+
1462
+ /**
1463
+ * Deserializes binary data (in protobuf wire format) from the
1464
+ * given reader into the given message object.
1465
+ * @param {!proto.GetListLinkDataSourceReq} msg The message object to deserialize into.
1466
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1467
+ * @return {!proto.GetListLinkDataSourceReq}
1468
+ */
1469
+ proto.GetListLinkDataSourceReq.deserializeBinaryFromReader = function(msg, reader) {
1470
+ while (reader.nextField()) {
1471
+ if (reader.isEndGroup()) {
1472
+ break;
1473
+ }
1474
+ var field = reader.getFieldNumber();
1475
+ switch (field) {
1476
+ case 1:
1477
+ var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
1478
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
1479
+ msg.setPagination(value);
1480
+ break;
1481
+ case 2:
1482
+ var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
1483
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
1484
+ msg.setQuery(value);
1485
+ break;
1486
+ default:
1487
+ reader.skipField();
1488
+ break;
1489
+ }
1490
+ }
1491
+ return msg;
1492
+ };
1493
+
1494
+
1495
+ /**
1496
+ * Serializes the message to binary data (in protobuf wire format).
1497
+ * @return {!Uint8Array}
1498
+ */
1499
+ proto.GetListLinkDataSourceReq.prototype.serializeBinary = function() {
1500
+ var writer = new jspb.BinaryWriter();
1501
+ proto.GetListLinkDataSourceReq.serializeBinaryToWriter(this, writer);
1502
+ return writer.getResultBuffer();
1503
+ };
1504
+
1505
+
1506
+ /**
1507
+ * Serializes the given message to binary data (in protobuf wire
1508
+ * format), writing to the given BinaryWriter.
1509
+ * @param {!proto.GetListLinkDataSourceReq} message
1510
+ * @param {!jspb.BinaryWriter} writer
1511
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1512
+ */
1513
+ proto.GetListLinkDataSourceReq.serializeBinaryToWriter = function(message, writer) {
1514
+ var f = undefined;
1515
+ f = message.getPagination();
1516
+ if (f != null) {
1517
+ writer.writeMessage(
1518
+ 1,
1519
+ f,
1520
+ prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
1521
+ );
1522
+ }
1523
+ f = message.getQuery();
1524
+ if (f != null) {
1525
+ writer.writeMessage(
1526
+ 2,
1527
+ f,
1528
+ prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
1529
+ );
1530
+ }
1531
+ };
1532
+
1533
+
1534
+ /**
1535
+ * optional prisca.v1.global.meta.PaginationRequest pagination = 1;
1536
+ * @return {?proto.prisca.v1.global.meta.PaginationRequest}
1537
+ */
1538
+ proto.GetListLinkDataSourceReq.prototype.getPagination = function() {
1539
+ return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
1540
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
1541
+ };
1542
+
1543
+
1544
+ /**
1545
+ * @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
1546
+ * @return {!proto.GetListLinkDataSourceReq} returns this
1547
+ */
1548
+ proto.GetListLinkDataSourceReq.prototype.setPagination = function(value) {
1549
+ return jspb.Message.setWrapperField(this, 1, value);
1550
+ };
1551
+
1552
+
1553
+ /**
1554
+ * Clears the message field making it undefined.
1555
+ * @return {!proto.GetListLinkDataSourceReq} returns this
1556
+ */
1557
+ proto.GetListLinkDataSourceReq.prototype.clearPagination = function() {
1558
+ return this.setPagination(undefined);
1559
+ };
1560
+
1561
+
1562
+ /**
1563
+ * Returns whether this field is set.
1564
+ * @return {boolean}
1565
+ */
1566
+ proto.GetListLinkDataSourceReq.prototype.hasPagination = function() {
1567
+ return jspb.Message.getField(this, 1) != null;
1568
+ };
1569
+
1570
+
1571
+ /**
1572
+ * optional prisca.v1.global.meta.FilterRequest query = 2;
1573
+ * @return {?proto.prisca.v1.global.meta.FilterRequest}
1574
+ */
1575
+ proto.GetListLinkDataSourceReq.prototype.getQuery = function() {
1576
+ return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
1577
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
1578
+ };
1579
+
1580
+
1581
+ /**
1582
+ * @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
1583
+ * @return {!proto.GetListLinkDataSourceReq} returns this
1584
+ */
1585
+ proto.GetListLinkDataSourceReq.prototype.setQuery = function(value) {
1586
+ return jspb.Message.setWrapperField(this, 2, value);
1587
+ };
1588
+
1589
+
1590
+ /**
1591
+ * Clears the message field making it undefined.
1592
+ * @return {!proto.GetListLinkDataSourceReq} returns this
1593
+ */
1594
+ proto.GetListLinkDataSourceReq.prototype.clearQuery = function() {
1595
+ return this.setQuery(undefined);
1596
+ };
1597
+
1598
+
1599
+ /**
1600
+ * Returns whether this field is set.
1601
+ * @return {boolean}
1602
+ */
1603
+ proto.GetListLinkDataSourceReq.prototype.hasQuery = function() {
1604
+ return jspb.Message.getField(this, 2) != null;
1605
+ };
1606
+
1607
+
1608
+
1609
+
1610
+
1611
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1612
+ /**
1613
+ * Creates an object representation of this proto.
1614
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1615
+ * Optional fields that are not set will be set to undefined.
1616
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1617
+ * For the list of reserved names please see:
1618
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1619
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1620
+ * JSPB instance for transitional soy proto support:
1621
+ * http://goto/soy-param-migration
1622
+ * @return {!Object}
1623
+ */
1624
+ proto.CreateLinkDataSourceRes.prototype.toObject = function(opt_includeInstance) {
1625
+ return proto.CreateLinkDataSourceRes.toObject(opt_includeInstance, this);
1626
+ };
1627
+
1628
+
1629
+ /**
1630
+ * Static version of the {@see toObject} method.
1631
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1632
+ * the JSPB instance for transitional soy proto support:
1633
+ * http://goto/soy-param-migration
1634
+ * @param {!proto.CreateLinkDataSourceRes} msg The msg instance to transform.
1635
+ * @return {!Object}
1636
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1637
+ */
1638
+ proto.CreateLinkDataSourceRes.toObject = function(includeInstance, msg) {
1639
+ var f, obj = {
1640
+ linkDataSource: (f = msg.getLinkDataSource()) && proto.LinkDataSource.toObject(includeInstance, f),
1641
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1642
+ };
1643
+
1644
+ if (includeInstance) {
1645
+ obj.$jspbMessageInstance = msg;
1646
+ }
1647
+ return obj;
1648
+ };
1649
+ }
1650
+
1651
+
1652
+ /**
1653
+ * Deserializes binary data (in protobuf wire format).
1654
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1655
+ * @return {!proto.CreateLinkDataSourceRes}
1656
+ */
1657
+ proto.CreateLinkDataSourceRes.deserializeBinary = function(bytes) {
1658
+ var reader = new jspb.BinaryReader(bytes);
1659
+ var msg = new proto.CreateLinkDataSourceRes;
1660
+ return proto.CreateLinkDataSourceRes.deserializeBinaryFromReader(msg, reader);
1661
+ };
1662
+
1663
+
1664
+ /**
1665
+ * Deserializes binary data (in protobuf wire format) from the
1666
+ * given reader into the given message object.
1667
+ * @param {!proto.CreateLinkDataSourceRes} msg The message object to deserialize into.
1668
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1669
+ * @return {!proto.CreateLinkDataSourceRes}
1670
+ */
1671
+ proto.CreateLinkDataSourceRes.deserializeBinaryFromReader = function(msg, reader) {
1672
+ while (reader.nextField()) {
1673
+ if (reader.isEndGroup()) {
1674
+ break;
1675
+ }
1676
+ var field = reader.getFieldNumber();
1677
+ switch (field) {
1678
+ case 1:
1679
+ var value = new proto.LinkDataSource;
1680
+ reader.readMessage(value,proto.LinkDataSource.deserializeBinaryFromReader);
1681
+ msg.setLinkDataSource(value);
1682
+ break;
1683
+ case 2:
1684
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
1685
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1686
+ msg.setMeta(value);
1687
+ break;
1688
+ default:
1689
+ reader.skipField();
1690
+ break;
1691
+ }
1692
+ }
1693
+ return msg;
1694
+ };
1695
+
1696
+
1697
+ /**
1698
+ * Serializes the message to binary data (in protobuf wire format).
1699
+ * @return {!Uint8Array}
1700
+ */
1701
+ proto.CreateLinkDataSourceRes.prototype.serializeBinary = function() {
1702
+ var writer = new jspb.BinaryWriter();
1703
+ proto.CreateLinkDataSourceRes.serializeBinaryToWriter(this, writer);
1704
+ return writer.getResultBuffer();
1705
+ };
1706
+
1707
+
1708
+ /**
1709
+ * Serializes the given message to binary data (in protobuf wire
1710
+ * format), writing to the given BinaryWriter.
1711
+ * @param {!proto.CreateLinkDataSourceRes} message
1712
+ * @param {!jspb.BinaryWriter} writer
1713
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1714
+ */
1715
+ proto.CreateLinkDataSourceRes.serializeBinaryToWriter = function(message, writer) {
1716
+ var f = undefined;
1717
+ f = message.getLinkDataSource();
1718
+ if (f != null) {
1719
+ writer.writeMessage(
1720
+ 1,
1721
+ f,
1722
+ proto.LinkDataSource.serializeBinaryToWriter
1723
+ );
1724
+ }
1725
+ f = message.getMeta();
1726
+ if (f != null) {
1727
+ writer.writeMessage(
1728
+ 2,
1729
+ f,
1730
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
1731
+ );
1732
+ }
1733
+ };
1734
+
1735
+
1736
+ /**
1737
+ * optional LinkDataSource link_data_source = 1;
1738
+ * @return {?proto.LinkDataSource}
1739
+ */
1740
+ proto.CreateLinkDataSourceRes.prototype.getLinkDataSource = function() {
1741
+ return /** @type{?proto.LinkDataSource} */ (
1742
+ jspb.Message.getWrapperField(this, proto.LinkDataSource, 1));
1743
+ };
1744
+
1745
+
1746
+ /**
1747
+ * @param {?proto.LinkDataSource|undefined} value
1748
+ * @return {!proto.CreateLinkDataSourceRes} returns this
1749
+ */
1750
+ proto.CreateLinkDataSourceRes.prototype.setLinkDataSource = function(value) {
1751
+ return jspb.Message.setWrapperField(this, 1, value);
1752
+ };
1753
+
1754
+
1755
+ /**
1756
+ * Clears the message field making it undefined.
1757
+ * @return {!proto.CreateLinkDataSourceRes} returns this
1758
+ */
1759
+ proto.CreateLinkDataSourceRes.prototype.clearLinkDataSource = function() {
1760
+ return this.setLinkDataSource(undefined);
1761
+ };
1762
+
1763
+
1764
+ /**
1765
+ * Returns whether this field is set.
1766
+ * @return {boolean}
1767
+ */
1768
+ proto.CreateLinkDataSourceRes.prototype.hasLinkDataSource = function() {
1769
+ return jspb.Message.getField(this, 1) != null;
1770
+ };
1771
+
1772
+
1773
+ /**
1774
+ * optional prisca.v1.global.meta.Meta meta = 2;
1775
+ * @return {?proto.prisca.v1.global.meta.Meta}
1776
+ */
1777
+ proto.CreateLinkDataSourceRes.prototype.getMeta = function() {
1778
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
1779
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
1780
+ };
1781
+
1782
+
1783
+ /**
1784
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
1785
+ * @return {!proto.CreateLinkDataSourceRes} returns this
1786
+ */
1787
+ proto.CreateLinkDataSourceRes.prototype.setMeta = function(value) {
1788
+ return jspb.Message.setWrapperField(this, 2, value);
1789
+ };
1790
+
1791
+
1792
+ /**
1793
+ * Clears the message field making it undefined.
1794
+ * @return {!proto.CreateLinkDataSourceRes} returns this
1795
+ */
1796
+ proto.CreateLinkDataSourceRes.prototype.clearMeta = function() {
1797
+ return this.setMeta(undefined);
1798
+ };
1799
+
1800
+
1801
+ /**
1802
+ * Returns whether this field is set.
1803
+ * @return {boolean}
1804
+ */
1805
+ proto.CreateLinkDataSourceRes.prototype.hasMeta = function() {
1806
+ return jspb.Message.getField(this, 2) != null;
1807
+ };
1808
+
1809
+
1810
+
1811
+
1812
+
1813
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1814
+ /**
1815
+ * Creates an object representation of this proto.
1816
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1817
+ * Optional fields that are not set will be set to undefined.
1818
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1819
+ * For the list of reserved names please see:
1820
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1821
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1822
+ * JSPB instance for transitional soy proto support:
1823
+ * http://goto/soy-param-migration
1824
+ * @return {!Object}
1825
+ */
1826
+ proto.UpdateLinkDataSourceRes.prototype.toObject = function(opt_includeInstance) {
1827
+ return proto.UpdateLinkDataSourceRes.toObject(opt_includeInstance, this);
1828
+ };
1829
+
1830
+
1831
+ /**
1832
+ * Static version of the {@see toObject} method.
1833
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1834
+ * the JSPB instance for transitional soy proto support:
1835
+ * http://goto/soy-param-migration
1836
+ * @param {!proto.UpdateLinkDataSourceRes} msg The msg instance to transform.
1837
+ * @return {!Object}
1838
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1839
+ */
1840
+ proto.UpdateLinkDataSourceRes.toObject = function(includeInstance, msg) {
1841
+ var f, obj = {
1842
+ linkDataSource: (f = msg.getLinkDataSource()) && proto.LinkDataSource.toObject(includeInstance, f),
1843
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1844
+ };
1845
+
1846
+ if (includeInstance) {
1847
+ obj.$jspbMessageInstance = msg;
1848
+ }
1849
+ return obj;
1850
+ };
1851
+ }
1852
+
1853
+
1854
+ /**
1855
+ * Deserializes binary data (in protobuf wire format).
1856
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1857
+ * @return {!proto.UpdateLinkDataSourceRes}
1858
+ */
1859
+ proto.UpdateLinkDataSourceRes.deserializeBinary = function(bytes) {
1860
+ var reader = new jspb.BinaryReader(bytes);
1861
+ var msg = new proto.UpdateLinkDataSourceRes;
1862
+ return proto.UpdateLinkDataSourceRes.deserializeBinaryFromReader(msg, reader);
1863
+ };
1864
+
1865
+
1866
+ /**
1867
+ * Deserializes binary data (in protobuf wire format) from the
1868
+ * given reader into the given message object.
1869
+ * @param {!proto.UpdateLinkDataSourceRes} msg The message object to deserialize into.
1870
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1871
+ * @return {!proto.UpdateLinkDataSourceRes}
1872
+ */
1873
+ proto.UpdateLinkDataSourceRes.deserializeBinaryFromReader = function(msg, reader) {
1874
+ while (reader.nextField()) {
1875
+ if (reader.isEndGroup()) {
1876
+ break;
1877
+ }
1878
+ var field = reader.getFieldNumber();
1879
+ switch (field) {
1880
+ case 1:
1881
+ var value = new proto.LinkDataSource;
1882
+ reader.readMessage(value,proto.LinkDataSource.deserializeBinaryFromReader);
1883
+ msg.setLinkDataSource(value);
1884
+ break;
1885
+ case 2:
1886
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
1887
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1888
+ msg.setMeta(value);
1889
+ break;
1890
+ default:
1891
+ reader.skipField();
1892
+ break;
1893
+ }
1894
+ }
1895
+ return msg;
1896
+ };
1897
+
1898
+
1899
+ /**
1900
+ * Serializes the message to binary data (in protobuf wire format).
1901
+ * @return {!Uint8Array}
1902
+ */
1903
+ proto.UpdateLinkDataSourceRes.prototype.serializeBinary = function() {
1904
+ var writer = new jspb.BinaryWriter();
1905
+ proto.UpdateLinkDataSourceRes.serializeBinaryToWriter(this, writer);
1906
+ return writer.getResultBuffer();
1907
+ };
1908
+
1909
+
1910
+ /**
1911
+ * Serializes the given message to binary data (in protobuf wire
1912
+ * format), writing to the given BinaryWriter.
1913
+ * @param {!proto.UpdateLinkDataSourceRes} message
1914
+ * @param {!jspb.BinaryWriter} writer
1915
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1916
+ */
1917
+ proto.UpdateLinkDataSourceRes.serializeBinaryToWriter = function(message, writer) {
1918
+ var f = undefined;
1919
+ f = message.getLinkDataSource();
1920
+ if (f != null) {
1921
+ writer.writeMessage(
1922
+ 1,
1923
+ f,
1924
+ proto.LinkDataSource.serializeBinaryToWriter
1925
+ );
1926
+ }
1927
+ f = message.getMeta();
1928
+ if (f != null) {
1929
+ writer.writeMessage(
1930
+ 2,
1931
+ f,
1932
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
1933
+ );
1934
+ }
1935
+ };
1936
+
1937
+
1938
+ /**
1939
+ * optional LinkDataSource link_data_source = 1;
1940
+ * @return {?proto.LinkDataSource}
1941
+ */
1942
+ proto.UpdateLinkDataSourceRes.prototype.getLinkDataSource = function() {
1943
+ return /** @type{?proto.LinkDataSource} */ (
1944
+ jspb.Message.getWrapperField(this, proto.LinkDataSource, 1));
1945
+ };
1946
+
1947
+
1948
+ /**
1949
+ * @param {?proto.LinkDataSource|undefined} value
1950
+ * @return {!proto.UpdateLinkDataSourceRes} returns this
1951
+ */
1952
+ proto.UpdateLinkDataSourceRes.prototype.setLinkDataSource = function(value) {
1953
+ return jspb.Message.setWrapperField(this, 1, value);
1954
+ };
1955
+
1956
+
1957
+ /**
1958
+ * Clears the message field making it undefined.
1959
+ * @return {!proto.UpdateLinkDataSourceRes} returns this
1960
+ */
1961
+ proto.UpdateLinkDataSourceRes.prototype.clearLinkDataSource = function() {
1962
+ return this.setLinkDataSource(undefined);
1963
+ };
1964
+
1965
+
1966
+ /**
1967
+ * Returns whether this field is set.
1968
+ * @return {boolean}
1969
+ */
1970
+ proto.UpdateLinkDataSourceRes.prototype.hasLinkDataSource = function() {
1971
+ return jspb.Message.getField(this, 1) != null;
1972
+ };
1973
+
1974
+
1975
+ /**
1976
+ * optional prisca.v1.global.meta.Meta meta = 2;
1977
+ * @return {?proto.prisca.v1.global.meta.Meta}
1978
+ */
1979
+ proto.UpdateLinkDataSourceRes.prototype.getMeta = function() {
1980
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
1981
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
1982
+ };
1983
+
1984
+
1985
+ /**
1986
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
1987
+ * @return {!proto.UpdateLinkDataSourceRes} returns this
1988
+ */
1989
+ proto.UpdateLinkDataSourceRes.prototype.setMeta = function(value) {
1990
+ return jspb.Message.setWrapperField(this, 2, value);
1991
+ };
1992
+
1993
+
1994
+ /**
1995
+ * Clears the message field making it undefined.
1996
+ * @return {!proto.UpdateLinkDataSourceRes} returns this
1997
+ */
1998
+ proto.UpdateLinkDataSourceRes.prototype.clearMeta = function() {
1999
+ return this.setMeta(undefined);
2000
+ };
2001
+
2002
+
2003
+ /**
2004
+ * Returns whether this field is set.
2005
+ * @return {boolean}
2006
+ */
2007
+ proto.UpdateLinkDataSourceRes.prototype.hasMeta = function() {
2008
+ return jspb.Message.getField(this, 2) != null;
2009
+ };
2010
+
2011
+
2012
+
2013
+
2014
+
2015
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2016
+ /**
2017
+ * Creates an object representation of this proto.
2018
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2019
+ * Optional fields that are not set will be set to undefined.
2020
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2021
+ * For the list of reserved names please see:
2022
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2023
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2024
+ * JSPB instance for transitional soy proto support:
2025
+ * http://goto/soy-param-migration
2026
+ * @return {!Object}
2027
+ */
2028
+ proto.GetIdLinkDataSourceRes.prototype.toObject = function(opt_includeInstance) {
2029
+ return proto.GetIdLinkDataSourceRes.toObject(opt_includeInstance, this);
2030
+ };
2031
+
2032
+
2033
+ /**
2034
+ * Static version of the {@see toObject} method.
2035
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2036
+ * the JSPB instance for transitional soy proto support:
2037
+ * http://goto/soy-param-migration
2038
+ * @param {!proto.GetIdLinkDataSourceRes} msg The msg instance to transform.
2039
+ * @return {!Object}
2040
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2041
+ */
2042
+ proto.GetIdLinkDataSourceRes.toObject = function(includeInstance, msg) {
2043
+ var f, obj = {
2044
+ linkDataSource: (f = msg.getLinkDataSource()) && proto.LinkDataSource.toObject(includeInstance, f),
2045
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2046
+ };
2047
+
2048
+ if (includeInstance) {
2049
+ obj.$jspbMessageInstance = msg;
2050
+ }
2051
+ return obj;
2052
+ };
2053
+ }
2054
+
2055
+
2056
+ /**
2057
+ * Deserializes binary data (in protobuf wire format).
2058
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2059
+ * @return {!proto.GetIdLinkDataSourceRes}
2060
+ */
2061
+ proto.GetIdLinkDataSourceRes.deserializeBinary = function(bytes) {
2062
+ var reader = new jspb.BinaryReader(bytes);
2063
+ var msg = new proto.GetIdLinkDataSourceRes;
2064
+ return proto.GetIdLinkDataSourceRes.deserializeBinaryFromReader(msg, reader);
2065
+ };
2066
+
2067
+
2068
+ /**
2069
+ * Deserializes binary data (in protobuf wire format) from the
2070
+ * given reader into the given message object.
2071
+ * @param {!proto.GetIdLinkDataSourceRes} msg The message object to deserialize into.
2072
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2073
+ * @return {!proto.GetIdLinkDataSourceRes}
2074
+ */
2075
+ proto.GetIdLinkDataSourceRes.deserializeBinaryFromReader = function(msg, reader) {
2076
+ while (reader.nextField()) {
2077
+ if (reader.isEndGroup()) {
2078
+ break;
2079
+ }
2080
+ var field = reader.getFieldNumber();
2081
+ switch (field) {
2082
+ case 1:
2083
+ var value = new proto.LinkDataSource;
2084
+ reader.readMessage(value,proto.LinkDataSource.deserializeBinaryFromReader);
2085
+ msg.setLinkDataSource(value);
2086
+ break;
2087
+ case 2:
2088
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2089
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2090
+ msg.setMeta(value);
2091
+ break;
2092
+ default:
2093
+ reader.skipField();
2094
+ break;
2095
+ }
2096
+ }
2097
+ return msg;
2098
+ };
2099
+
2100
+
2101
+ /**
2102
+ * Serializes the message to binary data (in protobuf wire format).
2103
+ * @return {!Uint8Array}
2104
+ */
2105
+ proto.GetIdLinkDataSourceRes.prototype.serializeBinary = function() {
2106
+ var writer = new jspb.BinaryWriter();
2107
+ proto.GetIdLinkDataSourceRes.serializeBinaryToWriter(this, writer);
2108
+ return writer.getResultBuffer();
2109
+ };
2110
+
2111
+
2112
+ /**
2113
+ * Serializes the given message to binary data (in protobuf wire
2114
+ * format), writing to the given BinaryWriter.
2115
+ * @param {!proto.GetIdLinkDataSourceRes} message
2116
+ * @param {!jspb.BinaryWriter} writer
2117
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2118
+ */
2119
+ proto.GetIdLinkDataSourceRes.serializeBinaryToWriter = function(message, writer) {
2120
+ var f = undefined;
2121
+ f = message.getLinkDataSource();
2122
+ if (f != null) {
2123
+ writer.writeMessage(
2124
+ 1,
2125
+ f,
2126
+ proto.LinkDataSource.serializeBinaryToWriter
2127
+ );
2128
+ }
2129
+ f = message.getMeta();
2130
+ if (f != null) {
2131
+ writer.writeMessage(
2132
+ 2,
2133
+ f,
2134
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2135
+ );
2136
+ }
2137
+ };
2138
+
2139
+
2140
+ /**
2141
+ * optional LinkDataSource link_data_source = 1;
2142
+ * @return {?proto.LinkDataSource}
2143
+ */
2144
+ proto.GetIdLinkDataSourceRes.prototype.getLinkDataSource = function() {
2145
+ return /** @type{?proto.LinkDataSource} */ (
2146
+ jspb.Message.getWrapperField(this, proto.LinkDataSource, 1));
2147
+ };
2148
+
2149
+
2150
+ /**
2151
+ * @param {?proto.LinkDataSource|undefined} value
2152
+ * @return {!proto.GetIdLinkDataSourceRes} returns this
2153
+ */
2154
+ proto.GetIdLinkDataSourceRes.prototype.setLinkDataSource = function(value) {
2155
+ return jspb.Message.setWrapperField(this, 1, value);
2156
+ };
2157
+
2158
+
2159
+ /**
2160
+ * Clears the message field making it undefined.
2161
+ * @return {!proto.GetIdLinkDataSourceRes} returns this
2162
+ */
2163
+ proto.GetIdLinkDataSourceRes.prototype.clearLinkDataSource = function() {
2164
+ return this.setLinkDataSource(undefined);
2165
+ };
2166
+
2167
+
2168
+ /**
2169
+ * Returns whether this field is set.
2170
+ * @return {boolean}
2171
+ */
2172
+ proto.GetIdLinkDataSourceRes.prototype.hasLinkDataSource = function() {
2173
+ return jspb.Message.getField(this, 1) != null;
2174
+ };
2175
+
2176
+
2177
+ /**
2178
+ * optional prisca.v1.global.meta.Meta meta = 2;
2179
+ * @return {?proto.prisca.v1.global.meta.Meta}
2180
+ */
2181
+ proto.GetIdLinkDataSourceRes.prototype.getMeta = function() {
2182
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2183
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2184
+ };
2185
+
2186
+
2187
+ /**
2188
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2189
+ * @return {!proto.GetIdLinkDataSourceRes} returns this
2190
+ */
2191
+ proto.GetIdLinkDataSourceRes.prototype.setMeta = function(value) {
2192
+ return jspb.Message.setWrapperField(this, 2, value);
2193
+ };
2194
+
2195
+
2196
+ /**
2197
+ * Clears the message field making it undefined.
2198
+ * @return {!proto.GetIdLinkDataSourceRes} returns this
2199
+ */
2200
+ proto.GetIdLinkDataSourceRes.prototype.clearMeta = function() {
2201
+ return this.setMeta(undefined);
2202
+ };
2203
+
2204
+
2205
+ /**
2206
+ * Returns whether this field is set.
2207
+ * @return {boolean}
2208
+ */
2209
+ proto.GetIdLinkDataSourceRes.prototype.hasMeta = function() {
2210
+ return jspb.Message.getField(this, 2) != null;
2211
+ };
2212
+
2213
+
2214
+
2215
+
2216
+
2217
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2218
+ /**
2219
+ * Creates an object representation of this proto.
2220
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2221
+ * Optional fields that are not set will be set to undefined.
2222
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2223
+ * For the list of reserved names please see:
2224
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2225
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2226
+ * JSPB instance for transitional soy proto support:
2227
+ * http://goto/soy-param-migration
2228
+ * @return {!Object}
2229
+ */
2230
+ proto.DeleteLinkDataSourceRes.prototype.toObject = function(opt_includeInstance) {
2231
+ return proto.DeleteLinkDataSourceRes.toObject(opt_includeInstance, this);
2232
+ };
2233
+
2234
+
2235
+ /**
2236
+ * Static version of the {@see toObject} method.
2237
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2238
+ * the JSPB instance for transitional soy proto support:
2239
+ * http://goto/soy-param-migration
2240
+ * @param {!proto.DeleteLinkDataSourceRes} msg The msg instance to transform.
2241
+ * @return {!Object}
2242
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2243
+ */
2244
+ proto.DeleteLinkDataSourceRes.toObject = function(includeInstance, msg) {
2245
+ var f, obj = {
2246
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
2247
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2248
+ };
2249
+
2250
+ if (includeInstance) {
2251
+ obj.$jspbMessageInstance = msg;
2252
+ }
2253
+ return obj;
2254
+ };
2255
+ }
2256
+
2257
+
2258
+ /**
2259
+ * Deserializes binary data (in protobuf wire format).
2260
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2261
+ * @return {!proto.DeleteLinkDataSourceRes}
2262
+ */
2263
+ proto.DeleteLinkDataSourceRes.deserializeBinary = function(bytes) {
2264
+ var reader = new jspb.BinaryReader(bytes);
2265
+ var msg = new proto.DeleteLinkDataSourceRes;
2266
+ return proto.DeleteLinkDataSourceRes.deserializeBinaryFromReader(msg, reader);
2267
+ };
2268
+
2269
+
2270
+ /**
2271
+ * Deserializes binary data (in protobuf wire format) from the
2272
+ * given reader into the given message object.
2273
+ * @param {!proto.DeleteLinkDataSourceRes} msg The message object to deserialize into.
2274
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2275
+ * @return {!proto.DeleteLinkDataSourceRes}
2276
+ */
2277
+ proto.DeleteLinkDataSourceRes.deserializeBinaryFromReader = function(msg, reader) {
2278
+ while (reader.nextField()) {
2279
+ if (reader.isEndGroup()) {
2280
+ break;
2281
+ }
2282
+ var field = reader.getFieldNumber();
2283
+ switch (field) {
2284
+ case 1:
2285
+ var value = /** @type {number} */ (reader.readInt64());
2286
+ msg.setId(value);
2287
+ break;
2288
+ case 2:
2289
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2290
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2291
+ msg.setMeta(value);
2292
+ break;
2293
+ default:
2294
+ reader.skipField();
2295
+ break;
2296
+ }
2297
+ }
2298
+ return msg;
2299
+ };
2300
+
2301
+
2302
+ /**
2303
+ * Serializes the message to binary data (in protobuf wire format).
2304
+ * @return {!Uint8Array}
2305
+ */
2306
+ proto.DeleteLinkDataSourceRes.prototype.serializeBinary = function() {
2307
+ var writer = new jspb.BinaryWriter();
2308
+ proto.DeleteLinkDataSourceRes.serializeBinaryToWriter(this, writer);
2309
+ return writer.getResultBuffer();
2310
+ };
2311
+
2312
+
2313
+ /**
2314
+ * Serializes the given message to binary data (in protobuf wire
2315
+ * format), writing to the given BinaryWriter.
2316
+ * @param {!proto.DeleteLinkDataSourceRes} message
2317
+ * @param {!jspb.BinaryWriter} writer
2318
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2319
+ */
2320
+ proto.DeleteLinkDataSourceRes.serializeBinaryToWriter = function(message, writer) {
2321
+ var f = undefined;
2322
+ f = message.getId();
2323
+ if (f !== 0) {
2324
+ writer.writeInt64(
2325
+ 1,
2326
+ f
2327
+ );
2328
+ }
2329
+ f = message.getMeta();
2330
+ if (f != null) {
2331
+ writer.writeMessage(
2332
+ 2,
2333
+ f,
2334
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2335
+ );
2336
+ }
2337
+ };
2338
+
2339
+
2340
+ /**
2341
+ * optional int64 id = 1;
2342
+ * @return {number}
2343
+ */
2344
+ proto.DeleteLinkDataSourceRes.prototype.getId = function() {
2345
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2346
+ };
2347
+
2348
+
2349
+ /**
2350
+ * @param {number} value
2351
+ * @return {!proto.DeleteLinkDataSourceRes} returns this
2352
+ */
2353
+ proto.DeleteLinkDataSourceRes.prototype.setId = function(value) {
2354
+ return jspb.Message.setProto3IntField(this, 1, value);
2355
+ };
2356
+
2357
+
2358
+ /**
2359
+ * optional prisca.v1.global.meta.Meta meta = 2;
2360
+ * @return {?proto.prisca.v1.global.meta.Meta}
2361
+ */
2362
+ proto.DeleteLinkDataSourceRes.prototype.getMeta = function() {
2363
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2364
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2365
+ };
2366
+
2367
+
2368
+ /**
2369
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2370
+ * @return {!proto.DeleteLinkDataSourceRes} returns this
2371
+ */
2372
+ proto.DeleteLinkDataSourceRes.prototype.setMeta = function(value) {
2373
+ return jspb.Message.setWrapperField(this, 2, value);
2374
+ };
2375
+
2376
+
2377
+ /**
2378
+ * Clears the message field making it undefined.
2379
+ * @return {!proto.DeleteLinkDataSourceRes} returns this
2380
+ */
2381
+ proto.DeleteLinkDataSourceRes.prototype.clearMeta = function() {
2382
+ return this.setMeta(undefined);
2383
+ };
2384
+
2385
+
2386
+ /**
2387
+ * Returns whether this field is set.
2388
+ * @return {boolean}
2389
+ */
2390
+ proto.DeleteLinkDataSourceRes.prototype.hasMeta = function() {
2391
+ return jspb.Message.getField(this, 2) != null;
2392
+ };
2393
+
2394
+
2395
+
2396
+ /**
2397
+ * List of repeated fields within this message type.
2398
+ * @private {!Array<number>}
2399
+ * @const
2400
+ */
2401
+ proto.GetListLinkDataSourceRes.repeatedFields_ = [1];
2402
+
2403
+
2404
+
2405
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2406
+ /**
2407
+ * Creates an object representation of this proto.
2408
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2409
+ * Optional fields that are not set will be set to undefined.
2410
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2411
+ * For the list of reserved names please see:
2412
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2413
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2414
+ * JSPB instance for transitional soy proto support:
2415
+ * http://goto/soy-param-migration
2416
+ * @return {!Object}
2417
+ */
2418
+ proto.GetListLinkDataSourceRes.prototype.toObject = function(opt_includeInstance) {
2419
+ return proto.GetListLinkDataSourceRes.toObject(opt_includeInstance, this);
2420
+ };
2421
+
2422
+
2423
+ /**
2424
+ * Static version of the {@see toObject} method.
2425
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2426
+ * the JSPB instance for transitional soy proto support:
2427
+ * http://goto/soy-param-migration
2428
+ * @param {!proto.GetListLinkDataSourceRes} msg The msg instance to transform.
2429
+ * @return {!Object}
2430
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2431
+ */
2432
+ proto.GetListLinkDataSourceRes.toObject = function(includeInstance, msg) {
2433
+ var f, obj = {
2434
+ linkDataSourceList: jspb.Message.toObjectList(msg.getLinkDataSourceList(),
2435
+ proto.LinkDataSource.toObject, includeInstance),
2436
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2437
+ };
2438
+
2439
+ if (includeInstance) {
2440
+ obj.$jspbMessageInstance = msg;
2441
+ }
2442
+ return obj;
2443
+ };
2444
+ }
2445
+
2446
+
2447
+ /**
2448
+ * Deserializes binary data (in protobuf wire format).
2449
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2450
+ * @return {!proto.GetListLinkDataSourceRes}
2451
+ */
2452
+ proto.GetListLinkDataSourceRes.deserializeBinary = function(bytes) {
2453
+ var reader = new jspb.BinaryReader(bytes);
2454
+ var msg = new proto.GetListLinkDataSourceRes;
2455
+ return proto.GetListLinkDataSourceRes.deserializeBinaryFromReader(msg, reader);
2456
+ };
2457
+
2458
+
2459
+ /**
2460
+ * Deserializes binary data (in protobuf wire format) from the
2461
+ * given reader into the given message object.
2462
+ * @param {!proto.GetListLinkDataSourceRes} msg The message object to deserialize into.
2463
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2464
+ * @return {!proto.GetListLinkDataSourceRes}
2465
+ */
2466
+ proto.GetListLinkDataSourceRes.deserializeBinaryFromReader = function(msg, reader) {
2467
+ while (reader.nextField()) {
2468
+ if (reader.isEndGroup()) {
2469
+ break;
2470
+ }
2471
+ var field = reader.getFieldNumber();
2472
+ switch (field) {
2473
+ case 1:
2474
+ var value = new proto.LinkDataSource;
2475
+ reader.readMessage(value,proto.LinkDataSource.deserializeBinaryFromReader);
2476
+ msg.addLinkDataSource(value);
2477
+ break;
2478
+ case 2:
2479
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2480
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2481
+ msg.setMeta(value);
2482
+ break;
2483
+ default:
2484
+ reader.skipField();
2485
+ break;
2486
+ }
2487
+ }
2488
+ return msg;
2489
+ };
2490
+
2491
+
2492
+ /**
2493
+ * Serializes the message to binary data (in protobuf wire format).
2494
+ * @return {!Uint8Array}
2495
+ */
2496
+ proto.GetListLinkDataSourceRes.prototype.serializeBinary = function() {
2497
+ var writer = new jspb.BinaryWriter();
2498
+ proto.GetListLinkDataSourceRes.serializeBinaryToWriter(this, writer);
2499
+ return writer.getResultBuffer();
2500
+ };
2501
+
2502
+
2503
+ /**
2504
+ * Serializes the given message to binary data (in protobuf wire
2505
+ * format), writing to the given BinaryWriter.
2506
+ * @param {!proto.GetListLinkDataSourceRes} message
2507
+ * @param {!jspb.BinaryWriter} writer
2508
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2509
+ */
2510
+ proto.GetListLinkDataSourceRes.serializeBinaryToWriter = function(message, writer) {
2511
+ var f = undefined;
2512
+ f = message.getLinkDataSourceList();
2513
+ if (f.length > 0) {
2514
+ writer.writeRepeatedMessage(
2515
+ 1,
2516
+ f,
2517
+ proto.LinkDataSource.serializeBinaryToWriter
2518
+ );
2519
+ }
2520
+ f = message.getMeta();
2521
+ if (f != null) {
2522
+ writer.writeMessage(
2523
+ 2,
2524
+ f,
2525
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2526
+ );
2527
+ }
2528
+ };
2529
+
2530
+
2531
+ /**
2532
+ * repeated LinkDataSource link_data_source = 1;
2533
+ * @return {!Array<!proto.LinkDataSource>}
2534
+ */
2535
+ proto.GetListLinkDataSourceRes.prototype.getLinkDataSourceList = function() {
2536
+ return /** @type{!Array<!proto.LinkDataSource>} */ (
2537
+ jspb.Message.getRepeatedWrapperField(this, proto.LinkDataSource, 1));
2538
+ };
2539
+
2540
+
2541
+ /**
2542
+ * @param {!Array<!proto.LinkDataSource>} value
2543
+ * @return {!proto.GetListLinkDataSourceRes} returns this
2544
+ */
2545
+ proto.GetListLinkDataSourceRes.prototype.setLinkDataSourceList = function(value) {
2546
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
2547
+ };
2548
+
2549
+
2550
+ /**
2551
+ * @param {!proto.LinkDataSource=} opt_value
2552
+ * @param {number=} opt_index
2553
+ * @return {!proto.LinkDataSource}
2554
+ */
2555
+ proto.GetListLinkDataSourceRes.prototype.addLinkDataSource = function(opt_value, opt_index) {
2556
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.LinkDataSource, opt_index);
2557
+ };
2558
+
2559
+
2560
+ /**
2561
+ * Clears the list making it empty but non-null.
2562
+ * @return {!proto.GetListLinkDataSourceRes} returns this
2563
+ */
2564
+ proto.GetListLinkDataSourceRes.prototype.clearLinkDataSourceList = function() {
2565
+ return this.setLinkDataSourceList([]);
2566
+ };
2567
+
2568
+
2569
+ /**
2570
+ * optional prisca.v1.global.meta.Meta meta = 2;
2571
+ * @return {?proto.prisca.v1.global.meta.Meta}
2572
+ */
2573
+ proto.GetListLinkDataSourceRes.prototype.getMeta = function() {
2574
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2575
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2576
+ };
2577
+
2578
+
2579
+ /**
2580
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2581
+ * @return {!proto.GetListLinkDataSourceRes} returns this
2582
+ */
2583
+ proto.GetListLinkDataSourceRes.prototype.setMeta = function(value) {
2584
+ return jspb.Message.setWrapperField(this, 2, value);
2585
+ };
2586
+
2587
+
2588
+ /**
2589
+ * Clears the message field making it undefined.
2590
+ * @return {!proto.GetListLinkDataSourceRes} returns this
2591
+ */
2592
+ proto.GetListLinkDataSourceRes.prototype.clearMeta = function() {
2593
+ return this.setMeta(undefined);
2594
+ };
2595
+
2596
+
2597
+ /**
2598
+ * Returns whether this field is set.
2599
+ * @return {boolean}
2600
+ */
2601
+ proto.GetListLinkDataSourceRes.prototype.hasMeta = function() {
2602
+ return jspb.Message.getField(this, 2) != null;
2603
+ };
2604
+
2605
+
2606
+ goog.object.extend(exports, proto);