@aldiokta/protocgen 1.1.22 → 1.1.23

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