@aldiokta/protocgen 1.1.66 → 1.1.68
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.
- package/package.json +1 -1
- package/prisca/v1/audit_trail/audit_trail_grpc_pb.js +92 -0
- package/prisca/v1/audit_trail/audit_trail_pb.js +2107 -0
- package/prisca/v1/bidding/bidding_pb.js +61 -1
- package/prisca/v1/business_partner/business_partner_grpc_pb.js +334 -0
- package/prisca/v1/business_partner/business_partner_pb.js +5244 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +36 -0
- package/prisca/v1/core/auth/auth_pb.js +386 -0
- package/prisca/v1/core/bp_config/bp_config_grpc_pb.js +697 -0
- package/prisca/v1/core/bp_config/bp_config_pb.js +10812 -0
- package/prisca/v1/core/employee/employee_pb.js +61 -1
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +340 -10
- package/prisca/v1/core/job_title/job_title_pb.js +31 -1
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +73 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +2027 -0
- package/prisca/v1/core/material_sales/material_account_assignment_group_grpc_pb.js +183 -0
- package/prisca/v1/core/material_sales/material_account_assignment_group_pb.js +2658 -0
- package/prisca/v1/core/material_sales/material_division_grpc_pb.js +199 -0
- package/prisca/v1/core/material_sales/material_division_pb.js +2706 -0
- package/prisca/v1/core/material_sales/material_item_category_group_grpc_pb.js +183 -0
- package/prisca/v1/core/material_sales/material_item_category_group_pb.js +2658 -0
- package/prisca/v1/core/material_sales/material_plant_grpc_pb.js +193 -0
- package/prisca/v1/core/material_sales/material_plant_pb.js +2757 -0
- package/prisca/v1/core/material_sales/material_sales_eligibility_grpc_pb.js +62 -0
- package/prisca/v1/core/material_sales/material_sales_eligibility_pb.js +475 -0
- package/prisca/v1/core/material_sales/material_sales_org_grpc_pb.js +191 -0
- package/prisca/v1/core/material_sales/material_sales_org_pb.js +2937 -0
- package/prisca/v1/core/material_sales/material_tax_classification_grpc_pb.js +193 -0
- package/prisca/v1/core/material_sales/material_tax_classification_pb.js +2817 -0
- package/prisca/v1/core/material_sales/material_tax_classification_value_grpc_pb.js +194 -0
- package/prisca/v1/core/material_sales/material_tax_classification_value_pb.js +2868 -0
- package/prisca/v1/core/material_sales/material_withholding_tax_group_grpc_pb.js +188 -0
- package/prisca/v1/core/material_sales/material_withholding_tax_group_pb.js +2658 -0
- package/prisca/v1/core/sales_org/distribution_channel_grpc_pb.js +180 -0
- package/prisca/v1/core/sales_org/distribution_channel_pb.js +2658 -0
- package/prisca/v1/core/sales_org/sales_address_grpc_pb.js +1 -0
- package/prisca/v1/core/sales_org/sales_address_pb.js +380 -0
- package/prisca/v1/core/sales_org/sales_area_grpc_pb.js +157 -0
- package/prisca/v1/core/sales_org/sales_area_pb.js +2381 -0
- package/prisca/v1/core/sales_org/sales_division_grpc_pb.js +180 -0
- package/prisca/v1/core/sales_org/sales_division_pb.js +2658 -0
- package/prisca/v1/core/sales_org/sales_group_assignment_grpc_pb.js +151 -0
- package/prisca/v1/core/sales_org/sales_group_assignment_pb.js +2231 -0
- package/prisca/v1/core/sales_org/sales_group_grpc_pb.js +180 -0
- package/prisca/v1/core/sales_org/sales_group_pb.js +2658 -0
- package/prisca/v1/core/sales_org/sales_office_assignment_grpc_pb.js +151 -0
- package/prisca/v1/core/sales_org/sales_office_assignment_pb.js +2231 -0
- package/prisca/v1/core/sales_org/sales_office_grpc_pb.js +181 -0
- package/prisca/v1/core/sales_org/sales_office_pb.js +2762 -0
- package/prisca/v1/core/sales_org/sales_org_distribution_channel_grpc_pb.js +151 -0
- package/prisca/v1/core/sales_org/sales_org_distribution_channel_pb.js +2231 -0
- package/prisca/v1/core/sales_org/sales_org_division_grpc_pb.js +151 -0
- package/prisca/v1/core/sales_org/sales_org_division_pb.js +2231 -0
- package/prisca/v1/core/sales_org/sales_org_plant_grpc_pb.js +152 -0
- package/prisca/v1/core/sales_org/sales_org_plant_pb.js +2291 -0
- package/prisca/v1/core/sales_org/sales_organization_grpc_pb.js +181 -0
- package/prisca/v1/core/sales_org/sales_organization_pb.js +2822 -0
- package/prisca/v1/core/sales_org/shipping_point_grpc_pb.js +181 -0
- package/prisca/v1/core/sales_org/shipping_point_pb.js +2762 -0
- package/prisca/v1/core/sales_org/shipping_point_plant_grpc_pb.js +152 -0
- package/prisca/v1/core/sales_org/shipping_point_plant_pb.js +2231 -0
- package/prisca/v1/core/transaction_type/transaction_type_grpc_pb.js +147 -0
- package/prisca/v1/core/transaction_type/transaction_type_pb.js +2587 -0
- package/prisca/v1/customer/customer_grpc_pb.js +184 -0
- package/prisca/v1/customer/customer_pb.js +3498 -0
- package/prisca/v1/customer/customer_registration_grpc_pb.js +93 -0
- package/prisca/v1/customer/customer_registration_pb.js +1300 -0
- package/prisca/v1/customer/customer_sales_area_grpc_pb.js +256 -0
- package/prisca/v1/customer/customer_sales_area_pb.js +4681 -0
- package/prisca/v1/delivery_order/delivery_order_pb.js +61 -1
- package/prisca/v1/good_receipt/good_receipt_pb.js +31 -1
- package/prisca/v1/invoice/invoice_pb.js +62 -2
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +87 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +1015 -5
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +31 -1
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +152 -2
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +94 -15
|
@@ -0,0 +1,4681 @@
|
|
|
1
|
+
// source: prisca/v1/customer/customer_sales_area.proto
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview
|
|
4
|
+
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
13
|
+
|
|
14
|
+
var jspb = require('google-protobuf');
|
|
15
|
+
var goog = jspb;
|
|
16
|
+
var global = globalThis;
|
|
17
|
+
|
|
18
|
+
var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta_pb.js');
|
|
19
|
+
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
20
|
+
goog.exportSymbol('proto.BaseCustomerSalesAreaRequest', null, global);
|
|
21
|
+
goog.exportSymbol('proto.CreateCustomerSalesAreaRequest', null, global);
|
|
22
|
+
goog.exportSymbol('proto.CreateCustomerSalesAreaResponse', null, global);
|
|
23
|
+
goog.exportSymbol('proto.CustomerPartnerFunction', null, global);
|
|
24
|
+
goog.exportSymbol('proto.CustomerSalesArea', null, global);
|
|
25
|
+
goog.exportSymbol('proto.DeleteCustomerSalesAreaRequest', null, global);
|
|
26
|
+
goog.exportSymbol('proto.DeleteCustomerSalesAreaResponse', null, global);
|
|
27
|
+
goog.exportSymbol('proto.GetCustomerSalesAreaByIdRequest', null, global);
|
|
28
|
+
goog.exportSymbol('proto.GetCustomerSalesAreaByIdResponse', null, global);
|
|
29
|
+
goog.exportSymbol('proto.GetListCustomerPartnerFunctionRequest', null, global);
|
|
30
|
+
goog.exportSymbol('proto.GetListCustomerPartnerFunctionResponse', null, global);
|
|
31
|
+
goog.exportSymbol('proto.GetListCustomerSalesAreaRequest', null, global);
|
|
32
|
+
goog.exportSymbol('proto.GetListCustomerSalesAreaResponse', null, global);
|
|
33
|
+
goog.exportSymbol('proto.UpdateCustomerPartnerFunctionRequest', null, global);
|
|
34
|
+
goog.exportSymbol('proto.UpdateCustomerPartnerFunctionResponse', null, global);
|
|
35
|
+
goog.exportSymbol('proto.UpdateCustomerSalesAreaRequest', null, global);
|
|
36
|
+
goog.exportSymbol('proto.UpdateCustomerSalesAreaResponse', null, global);
|
|
37
|
+
/**
|
|
38
|
+
* Generated by JsPbCodeGenerator.
|
|
39
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
40
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
41
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
42
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
43
|
+
* valid.
|
|
44
|
+
* @extends {jspb.Message}
|
|
45
|
+
* @constructor
|
|
46
|
+
*/
|
|
47
|
+
proto.CustomerSalesArea = function(opt_data) {
|
|
48
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
49
|
+
};
|
|
50
|
+
goog.inherits(proto.CustomerSalesArea, jspb.Message);
|
|
51
|
+
if (goog.DEBUG && !COMPILED) {
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
* @override
|
|
55
|
+
*/
|
|
56
|
+
proto.CustomerSalesArea.displayName = 'proto.CustomerSalesArea';
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Generated by JsPbCodeGenerator.
|
|
60
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
61
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
62
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
63
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
64
|
+
* valid.
|
|
65
|
+
* @extends {jspb.Message}
|
|
66
|
+
* @constructor
|
|
67
|
+
*/
|
|
68
|
+
proto.BaseCustomerSalesAreaRequest = function(opt_data) {
|
|
69
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
70
|
+
};
|
|
71
|
+
goog.inherits(proto.BaseCustomerSalesAreaRequest, jspb.Message);
|
|
72
|
+
if (goog.DEBUG && !COMPILED) {
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
* @override
|
|
76
|
+
*/
|
|
77
|
+
proto.BaseCustomerSalesAreaRequest.displayName = 'proto.BaseCustomerSalesAreaRequest';
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Generated by JsPbCodeGenerator.
|
|
81
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
82
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
83
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
84
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
85
|
+
* valid.
|
|
86
|
+
* @extends {jspb.Message}
|
|
87
|
+
* @constructor
|
|
88
|
+
*/
|
|
89
|
+
proto.CustomerPartnerFunction = function(opt_data) {
|
|
90
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
91
|
+
};
|
|
92
|
+
goog.inherits(proto.CustomerPartnerFunction, jspb.Message);
|
|
93
|
+
if (goog.DEBUG && !COMPILED) {
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
* @override
|
|
97
|
+
*/
|
|
98
|
+
proto.CustomerPartnerFunction.displayName = 'proto.CustomerPartnerFunction';
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Generated by JsPbCodeGenerator.
|
|
102
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
103
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
104
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
105
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
106
|
+
* valid.
|
|
107
|
+
* @extends {jspb.Message}
|
|
108
|
+
* @constructor
|
|
109
|
+
*/
|
|
110
|
+
proto.GetCustomerSalesAreaByIdRequest = function(opt_data) {
|
|
111
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
112
|
+
};
|
|
113
|
+
goog.inherits(proto.GetCustomerSalesAreaByIdRequest, jspb.Message);
|
|
114
|
+
if (goog.DEBUG && !COMPILED) {
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
* @override
|
|
118
|
+
*/
|
|
119
|
+
proto.GetCustomerSalesAreaByIdRequest.displayName = 'proto.GetCustomerSalesAreaByIdRequest';
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Generated by JsPbCodeGenerator.
|
|
123
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
124
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
125
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
126
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
127
|
+
* valid.
|
|
128
|
+
* @extends {jspb.Message}
|
|
129
|
+
* @constructor
|
|
130
|
+
*/
|
|
131
|
+
proto.GetListCustomerSalesAreaRequest = function(opt_data) {
|
|
132
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
133
|
+
};
|
|
134
|
+
goog.inherits(proto.GetListCustomerSalesAreaRequest, jspb.Message);
|
|
135
|
+
if (goog.DEBUG && !COMPILED) {
|
|
136
|
+
/**
|
|
137
|
+
* @public
|
|
138
|
+
* @override
|
|
139
|
+
*/
|
|
140
|
+
proto.GetListCustomerSalesAreaRequest.displayName = 'proto.GetListCustomerSalesAreaRequest';
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Generated by JsPbCodeGenerator.
|
|
144
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
145
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
146
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
147
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
148
|
+
* valid.
|
|
149
|
+
* @extends {jspb.Message}
|
|
150
|
+
* @constructor
|
|
151
|
+
*/
|
|
152
|
+
proto.CreateCustomerSalesAreaRequest = function(opt_data) {
|
|
153
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
154
|
+
};
|
|
155
|
+
goog.inherits(proto.CreateCustomerSalesAreaRequest, jspb.Message);
|
|
156
|
+
if (goog.DEBUG && !COMPILED) {
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
* @override
|
|
160
|
+
*/
|
|
161
|
+
proto.CreateCustomerSalesAreaRequest.displayName = 'proto.CreateCustomerSalesAreaRequest';
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Generated by JsPbCodeGenerator.
|
|
165
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
166
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
167
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
168
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
169
|
+
* valid.
|
|
170
|
+
* @extends {jspb.Message}
|
|
171
|
+
* @constructor
|
|
172
|
+
*/
|
|
173
|
+
proto.UpdateCustomerSalesAreaRequest = function(opt_data) {
|
|
174
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
175
|
+
};
|
|
176
|
+
goog.inherits(proto.UpdateCustomerSalesAreaRequest, jspb.Message);
|
|
177
|
+
if (goog.DEBUG && !COMPILED) {
|
|
178
|
+
/**
|
|
179
|
+
* @public
|
|
180
|
+
* @override
|
|
181
|
+
*/
|
|
182
|
+
proto.UpdateCustomerSalesAreaRequest.displayName = 'proto.UpdateCustomerSalesAreaRequest';
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Generated by JsPbCodeGenerator.
|
|
186
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
187
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
188
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
189
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
190
|
+
* valid.
|
|
191
|
+
* @extends {jspb.Message}
|
|
192
|
+
* @constructor
|
|
193
|
+
*/
|
|
194
|
+
proto.DeleteCustomerSalesAreaRequest = function(opt_data) {
|
|
195
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteCustomerSalesAreaRequest.repeatedFields_, null);
|
|
196
|
+
};
|
|
197
|
+
goog.inherits(proto.DeleteCustomerSalesAreaRequest, jspb.Message);
|
|
198
|
+
if (goog.DEBUG && !COMPILED) {
|
|
199
|
+
/**
|
|
200
|
+
* @public
|
|
201
|
+
* @override
|
|
202
|
+
*/
|
|
203
|
+
proto.DeleteCustomerSalesAreaRequest.displayName = 'proto.DeleteCustomerSalesAreaRequest';
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Generated by JsPbCodeGenerator.
|
|
207
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
208
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
209
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
210
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
211
|
+
* valid.
|
|
212
|
+
* @extends {jspb.Message}
|
|
213
|
+
* @constructor
|
|
214
|
+
*/
|
|
215
|
+
proto.GetListCustomerPartnerFunctionRequest = function(opt_data) {
|
|
216
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
217
|
+
};
|
|
218
|
+
goog.inherits(proto.GetListCustomerPartnerFunctionRequest, jspb.Message);
|
|
219
|
+
if (goog.DEBUG && !COMPILED) {
|
|
220
|
+
/**
|
|
221
|
+
* @public
|
|
222
|
+
* @override
|
|
223
|
+
*/
|
|
224
|
+
proto.GetListCustomerPartnerFunctionRequest.displayName = 'proto.GetListCustomerPartnerFunctionRequest';
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* Generated by JsPbCodeGenerator.
|
|
228
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
229
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
230
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
231
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
232
|
+
* valid.
|
|
233
|
+
* @extends {jspb.Message}
|
|
234
|
+
* @constructor
|
|
235
|
+
*/
|
|
236
|
+
proto.UpdateCustomerPartnerFunctionRequest = function(opt_data) {
|
|
237
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
238
|
+
};
|
|
239
|
+
goog.inherits(proto.UpdateCustomerPartnerFunctionRequest, jspb.Message);
|
|
240
|
+
if (goog.DEBUG && !COMPILED) {
|
|
241
|
+
/**
|
|
242
|
+
* @public
|
|
243
|
+
* @override
|
|
244
|
+
*/
|
|
245
|
+
proto.UpdateCustomerPartnerFunctionRequest.displayName = 'proto.UpdateCustomerPartnerFunctionRequest';
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* Generated by JsPbCodeGenerator.
|
|
249
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
250
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
251
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
252
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
253
|
+
* valid.
|
|
254
|
+
* @extends {jspb.Message}
|
|
255
|
+
* @constructor
|
|
256
|
+
*/
|
|
257
|
+
proto.CreateCustomerSalesAreaResponse = function(opt_data) {
|
|
258
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.CreateCustomerSalesAreaResponse.repeatedFields_, null);
|
|
259
|
+
};
|
|
260
|
+
goog.inherits(proto.CreateCustomerSalesAreaResponse, jspb.Message);
|
|
261
|
+
if (goog.DEBUG && !COMPILED) {
|
|
262
|
+
/**
|
|
263
|
+
* @public
|
|
264
|
+
* @override
|
|
265
|
+
*/
|
|
266
|
+
proto.CreateCustomerSalesAreaResponse.displayName = 'proto.CreateCustomerSalesAreaResponse';
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Generated by JsPbCodeGenerator.
|
|
270
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
271
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
272
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
273
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
274
|
+
* valid.
|
|
275
|
+
* @extends {jspb.Message}
|
|
276
|
+
* @constructor
|
|
277
|
+
*/
|
|
278
|
+
proto.UpdateCustomerSalesAreaResponse = function(opt_data) {
|
|
279
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
280
|
+
};
|
|
281
|
+
goog.inherits(proto.UpdateCustomerSalesAreaResponse, jspb.Message);
|
|
282
|
+
if (goog.DEBUG && !COMPILED) {
|
|
283
|
+
/**
|
|
284
|
+
* @public
|
|
285
|
+
* @override
|
|
286
|
+
*/
|
|
287
|
+
proto.UpdateCustomerSalesAreaResponse.displayName = 'proto.UpdateCustomerSalesAreaResponse';
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* Generated by JsPbCodeGenerator.
|
|
291
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
292
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
293
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
294
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
295
|
+
* valid.
|
|
296
|
+
* @extends {jspb.Message}
|
|
297
|
+
* @constructor
|
|
298
|
+
*/
|
|
299
|
+
proto.GetCustomerSalesAreaByIdResponse = function(opt_data) {
|
|
300
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetCustomerSalesAreaByIdResponse.repeatedFields_, null);
|
|
301
|
+
};
|
|
302
|
+
goog.inherits(proto.GetCustomerSalesAreaByIdResponse, jspb.Message);
|
|
303
|
+
if (goog.DEBUG && !COMPILED) {
|
|
304
|
+
/**
|
|
305
|
+
* @public
|
|
306
|
+
* @override
|
|
307
|
+
*/
|
|
308
|
+
proto.GetCustomerSalesAreaByIdResponse.displayName = 'proto.GetCustomerSalesAreaByIdResponse';
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Generated by JsPbCodeGenerator.
|
|
312
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
313
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
314
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
315
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
316
|
+
* valid.
|
|
317
|
+
* @extends {jspb.Message}
|
|
318
|
+
* @constructor
|
|
319
|
+
*/
|
|
320
|
+
proto.GetListCustomerSalesAreaResponse = function(opt_data) {
|
|
321
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListCustomerSalesAreaResponse.repeatedFields_, null);
|
|
322
|
+
};
|
|
323
|
+
goog.inherits(proto.GetListCustomerSalesAreaResponse, jspb.Message);
|
|
324
|
+
if (goog.DEBUG && !COMPILED) {
|
|
325
|
+
/**
|
|
326
|
+
* @public
|
|
327
|
+
* @override
|
|
328
|
+
*/
|
|
329
|
+
proto.GetListCustomerSalesAreaResponse.displayName = 'proto.GetListCustomerSalesAreaResponse';
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* Generated by JsPbCodeGenerator.
|
|
333
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
334
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
335
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
336
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
337
|
+
* valid.
|
|
338
|
+
* @extends {jspb.Message}
|
|
339
|
+
* @constructor
|
|
340
|
+
*/
|
|
341
|
+
proto.DeleteCustomerSalesAreaResponse = function(opt_data) {
|
|
342
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteCustomerSalesAreaResponse.repeatedFields_, null);
|
|
343
|
+
};
|
|
344
|
+
goog.inherits(proto.DeleteCustomerSalesAreaResponse, jspb.Message);
|
|
345
|
+
if (goog.DEBUG && !COMPILED) {
|
|
346
|
+
/**
|
|
347
|
+
* @public
|
|
348
|
+
* @override
|
|
349
|
+
*/
|
|
350
|
+
proto.DeleteCustomerSalesAreaResponse.displayName = 'proto.DeleteCustomerSalesAreaResponse';
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* Generated by JsPbCodeGenerator.
|
|
354
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
355
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
356
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
357
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
358
|
+
* valid.
|
|
359
|
+
* @extends {jspb.Message}
|
|
360
|
+
* @constructor
|
|
361
|
+
*/
|
|
362
|
+
proto.GetListCustomerPartnerFunctionResponse = function(opt_data) {
|
|
363
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListCustomerPartnerFunctionResponse.repeatedFields_, null);
|
|
364
|
+
};
|
|
365
|
+
goog.inherits(proto.GetListCustomerPartnerFunctionResponse, jspb.Message);
|
|
366
|
+
if (goog.DEBUG && !COMPILED) {
|
|
367
|
+
/**
|
|
368
|
+
* @public
|
|
369
|
+
* @override
|
|
370
|
+
*/
|
|
371
|
+
proto.GetListCustomerPartnerFunctionResponse.displayName = 'proto.GetListCustomerPartnerFunctionResponse';
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* Generated by JsPbCodeGenerator.
|
|
375
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
376
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
377
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
378
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
379
|
+
* valid.
|
|
380
|
+
* @extends {jspb.Message}
|
|
381
|
+
* @constructor
|
|
382
|
+
*/
|
|
383
|
+
proto.UpdateCustomerPartnerFunctionResponse = function(opt_data) {
|
|
384
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
385
|
+
};
|
|
386
|
+
goog.inherits(proto.UpdateCustomerPartnerFunctionResponse, jspb.Message);
|
|
387
|
+
if (goog.DEBUG && !COMPILED) {
|
|
388
|
+
/**
|
|
389
|
+
* @public
|
|
390
|
+
* @override
|
|
391
|
+
*/
|
|
392
|
+
proto.UpdateCustomerPartnerFunctionResponse.displayName = 'proto.UpdateCustomerPartnerFunctionResponse';
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
398
|
+
/**
|
|
399
|
+
* Creates an object representation of this proto.
|
|
400
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
401
|
+
* Optional fields that are not set will be set to undefined.
|
|
402
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
403
|
+
* For the list of reserved names please see:
|
|
404
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
405
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
406
|
+
* JSPB instance for transitional soy proto support:
|
|
407
|
+
* http://goto/soy-param-migration
|
|
408
|
+
* @return {!Object}
|
|
409
|
+
*/
|
|
410
|
+
proto.CustomerSalesArea.prototype.toObject = function(opt_includeInstance) {
|
|
411
|
+
return proto.CustomerSalesArea.toObject(opt_includeInstance, this);
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* Static version of the {@see toObject} method.
|
|
417
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
418
|
+
* the JSPB instance for transitional soy proto support:
|
|
419
|
+
* http://goto/soy-param-migration
|
|
420
|
+
* @param {!proto.CustomerSalesArea} msg The msg instance to transform.
|
|
421
|
+
* @return {!Object}
|
|
422
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
423
|
+
*/
|
|
424
|
+
proto.CustomerSalesArea.toObject = function(includeInstance, msg) {
|
|
425
|
+
var f, obj = {
|
|
426
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
427
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
428
|
+
customerReferencesId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
429
|
+
salesAreaReferencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
430
|
+
termOfPaymentReferencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
431
|
+
incotermReferencesId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
432
|
+
incotermLocation: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
433
|
+
currencyReferencesId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
434
|
+
plantReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
435
|
+
customerGroup: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
436
|
+
shippingCondition: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
437
|
+
deliveryPriority: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
438
|
+
orderCombination: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
439
|
+
salesAreaLabel: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
440
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
441
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
442
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
443
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
444
|
+
updatedBy: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
445
|
+
};
|
|
446
|
+
|
|
447
|
+
if (includeInstance) {
|
|
448
|
+
obj.$jspbMessageInstance = msg;
|
|
449
|
+
}
|
|
450
|
+
return obj;
|
|
451
|
+
};
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* Deserializes binary data (in protobuf wire format).
|
|
457
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
458
|
+
* @return {!proto.CustomerSalesArea}
|
|
459
|
+
*/
|
|
460
|
+
proto.CustomerSalesArea.deserializeBinary = function(bytes) {
|
|
461
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
462
|
+
var msg = new proto.CustomerSalesArea;
|
|
463
|
+
return proto.CustomerSalesArea.deserializeBinaryFromReader(msg, reader);
|
|
464
|
+
};
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
469
|
+
* given reader into the given message object.
|
|
470
|
+
* @param {!proto.CustomerSalesArea} msg The message object to deserialize into.
|
|
471
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
472
|
+
* @return {!proto.CustomerSalesArea}
|
|
473
|
+
*/
|
|
474
|
+
proto.CustomerSalesArea.deserializeBinaryFromReader = function(msg, reader) {
|
|
475
|
+
while (reader.nextField()) {
|
|
476
|
+
if (reader.isEndGroup()) {
|
|
477
|
+
break;
|
|
478
|
+
}
|
|
479
|
+
var field = reader.getFieldNumber();
|
|
480
|
+
switch (field) {
|
|
481
|
+
case 1:
|
|
482
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
483
|
+
msg.setId(value);
|
|
484
|
+
break;
|
|
485
|
+
case 2:
|
|
486
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
487
|
+
msg.setReferencesId(value);
|
|
488
|
+
break;
|
|
489
|
+
case 3:
|
|
490
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
491
|
+
msg.setCustomerReferencesId(value);
|
|
492
|
+
break;
|
|
493
|
+
case 4:
|
|
494
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
495
|
+
msg.setSalesAreaReferencesId(value);
|
|
496
|
+
break;
|
|
497
|
+
case 5:
|
|
498
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
499
|
+
msg.setTermOfPaymentReferencesId(value);
|
|
500
|
+
break;
|
|
501
|
+
case 6:
|
|
502
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
503
|
+
msg.setIncotermReferencesId(value);
|
|
504
|
+
break;
|
|
505
|
+
case 7:
|
|
506
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
507
|
+
msg.setIncotermLocation(value);
|
|
508
|
+
break;
|
|
509
|
+
case 8:
|
|
510
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
511
|
+
msg.setCurrencyReferencesId(value);
|
|
512
|
+
break;
|
|
513
|
+
case 9:
|
|
514
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
515
|
+
msg.setPlantReferencesId(value);
|
|
516
|
+
break;
|
|
517
|
+
case 10:
|
|
518
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
519
|
+
msg.setCustomerGroup(value);
|
|
520
|
+
break;
|
|
521
|
+
case 11:
|
|
522
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
523
|
+
msg.setShippingCondition(value);
|
|
524
|
+
break;
|
|
525
|
+
case 12:
|
|
526
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
527
|
+
msg.setDeliveryPriority(value);
|
|
528
|
+
break;
|
|
529
|
+
case 13:
|
|
530
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
531
|
+
msg.setOrderCombination(value);
|
|
532
|
+
break;
|
|
533
|
+
case 14:
|
|
534
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
535
|
+
msg.setSalesAreaLabel(value);
|
|
536
|
+
break;
|
|
537
|
+
case 15:
|
|
538
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
539
|
+
msg.setCompaniesReferencesId(value);
|
|
540
|
+
break;
|
|
541
|
+
case 16:
|
|
542
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
543
|
+
msg.setCreatedAt(value);
|
|
544
|
+
break;
|
|
545
|
+
case 17:
|
|
546
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
547
|
+
msg.setUpdatedAt(value);
|
|
548
|
+
break;
|
|
549
|
+
case 18:
|
|
550
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
551
|
+
msg.setCreatedBy(value);
|
|
552
|
+
break;
|
|
553
|
+
case 19:
|
|
554
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
555
|
+
msg.setUpdatedBy(value);
|
|
556
|
+
break;
|
|
557
|
+
default:
|
|
558
|
+
reader.skipField();
|
|
559
|
+
break;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
return msg;
|
|
563
|
+
};
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
568
|
+
* @return {!Uint8Array}
|
|
569
|
+
*/
|
|
570
|
+
proto.CustomerSalesArea.prototype.serializeBinary = function() {
|
|
571
|
+
var writer = new jspb.BinaryWriter();
|
|
572
|
+
proto.CustomerSalesArea.serializeBinaryToWriter(this, writer);
|
|
573
|
+
return writer.getResultBuffer();
|
|
574
|
+
};
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
579
|
+
* format), writing to the given BinaryWriter.
|
|
580
|
+
* @param {!proto.CustomerSalesArea} message
|
|
581
|
+
* @param {!jspb.BinaryWriter} writer
|
|
582
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
583
|
+
*/
|
|
584
|
+
proto.CustomerSalesArea.serializeBinaryToWriter = function(message, writer) {
|
|
585
|
+
var f = undefined;
|
|
586
|
+
f = message.getId();
|
|
587
|
+
if (f !== 0) {
|
|
588
|
+
writer.writeInt64(
|
|
589
|
+
1,
|
|
590
|
+
f
|
|
591
|
+
);
|
|
592
|
+
}
|
|
593
|
+
f = message.getReferencesId();
|
|
594
|
+
if (f.length > 0) {
|
|
595
|
+
writer.writeString(
|
|
596
|
+
2,
|
|
597
|
+
f
|
|
598
|
+
);
|
|
599
|
+
}
|
|
600
|
+
f = message.getCustomerReferencesId();
|
|
601
|
+
if (f.length > 0) {
|
|
602
|
+
writer.writeString(
|
|
603
|
+
3,
|
|
604
|
+
f
|
|
605
|
+
);
|
|
606
|
+
}
|
|
607
|
+
f = message.getSalesAreaReferencesId();
|
|
608
|
+
if (f.length > 0) {
|
|
609
|
+
writer.writeString(
|
|
610
|
+
4,
|
|
611
|
+
f
|
|
612
|
+
);
|
|
613
|
+
}
|
|
614
|
+
f = message.getTermOfPaymentReferencesId();
|
|
615
|
+
if (f.length > 0) {
|
|
616
|
+
writer.writeString(
|
|
617
|
+
5,
|
|
618
|
+
f
|
|
619
|
+
);
|
|
620
|
+
}
|
|
621
|
+
f = message.getIncotermReferencesId();
|
|
622
|
+
if (f.length > 0) {
|
|
623
|
+
writer.writeString(
|
|
624
|
+
6,
|
|
625
|
+
f
|
|
626
|
+
);
|
|
627
|
+
}
|
|
628
|
+
f = message.getIncotermLocation();
|
|
629
|
+
if (f.length > 0) {
|
|
630
|
+
writer.writeString(
|
|
631
|
+
7,
|
|
632
|
+
f
|
|
633
|
+
);
|
|
634
|
+
}
|
|
635
|
+
f = message.getCurrencyReferencesId();
|
|
636
|
+
if (f.length > 0) {
|
|
637
|
+
writer.writeString(
|
|
638
|
+
8,
|
|
639
|
+
f
|
|
640
|
+
);
|
|
641
|
+
}
|
|
642
|
+
f = message.getPlantReferencesId();
|
|
643
|
+
if (f.length > 0) {
|
|
644
|
+
writer.writeString(
|
|
645
|
+
9,
|
|
646
|
+
f
|
|
647
|
+
);
|
|
648
|
+
}
|
|
649
|
+
f = message.getCustomerGroup();
|
|
650
|
+
if (f.length > 0) {
|
|
651
|
+
writer.writeString(
|
|
652
|
+
10,
|
|
653
|
+
f
|
|
654
|
+
);
|
|
655
|
+
}
|
|
656
|
+
f = message.getShippingCondition();
|
|
657
|
+
if (f.length > 0) {
|
|
658
|
+
writer.writeString(
|
|
659
|
+
11,
|
|
660
|
+
f
|
|
661
|
+
);
|
|
662
|
+
}
|
|
663
|
+
f = message.getDeliveryPriority();
|
|
664
|
+
if (f.length > 0) {
|
|
665
|
+
writer.writeString(
|
|
666
|
+
12,
|
|
667
|
+
f
|
|
668
|
+
);
|
|
669
|
+
}
|
|
670
|
+
f = message.getOrderCombination();
|
|
671
|
+
if (f) {
|
|
672
|
+
writer.writeBool(
|
|
673
|
+
13,
|
|
674
|
+
f
|
|
675
|
+
);
|
|
676
|
+
}
|
|
677
|
+
f = message.getSalesAreaLabel();
|
|
678
|
+
if (f.length > 0) {
|
|
679
|
+
writer.writeString(
|
|
680
|
+
14,
|
|
681
|
+
f
|
|
682
|
+
);
|
|
683
|
+
}
|
|
684
|
+
f = message.getCompaniesReferencesId();
|
|
685
|
+
if (f.length > 0) {
|
|
686
|
+
writer.writeString(
|
|
687
|
+
15,
|
|
688
|
+
f
|
|
689
|
+
);
|
|
690
|
+
}
|
|
691
|
+
f = message.getCreatedAt();
|
|
692
|
+
if (f.length > 0) {
|
|
693
|
+
writer.writeString(
|
|
694
|
+
16,
|
|
695
|
+
f
|
|
696
|
+
);
|
|
697
|
+
}
|
|
698
|
+
f = message.getUpdatedAt();
|
|
699
|
+
if (f.length > 0) {
|
|
700
|
+
writer.writeString(
|
|
701
|
+
17,
|
|
702
|
+
f
|
|
703
|
+
);
|
|
704
|
+
}
|
|
705
|
+
f = message.getCreatedBy();
|
|
706
|
+
if (f.length > 0) {
|
|
707
|
+
writer.writeString(
|
|
708
|
+
18,
|
|
709
|
+
f
|
|
710
|
+
);
|
|
711
|
+
}
|
|
712
|
+
f = message.getUpdatedBy();
|
|
713
|
+
if (f.length > 0) {
|
|
714
|
+
writer.writeString(
|
|
715
|
+
19,
|
|
716
|
+
f
|
|
717
|
+
);
|
|
718
|
+
}
|
|
719
|
+
};
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* optional int64 id = 1;
|
|
724
|
+
* @return {number}
|
|
725
|
+
*/
|
|
726
|
+
proto.CustomerSalesArea.prototype.getId = function() {
|
|
727
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
728
|
+
};
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* @param {number} value
|
|
733
|
+
* @return {!proto.CustomerSalesArea} returns this
|
|
734
|
+
*/
|
|
735
|
+
proto.CustomerSalesArea.prototype.setId = function(value) {
|
|
736
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
737
|
+
};
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* optional string references_id = 2;
|
|
742
|
+
* @return {string}
|
|
743
|
+
*/
|
|
744
|
+
proto.CustomerSalesArea.prototype.getReferencesId = function() {
|
|
745
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
746
|
+
};
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* @param {string} value
|
|
751
|
+
* @return {!proto.CustomerSalesArea} returns this
|
|
752
|
+
*/
|
|
753
|
+
proto.CustomerSalesArea.prototype.setReferencesId = function(value) {
|
|
754
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
755
|
+
};
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* optional string customer_references_id = 3;
|
|
760
|
+
* @return {string}
|
|
761
|
+
*/
|
|
762
|
+
proto.CustomerSalesArea.prototype.getCustomerReferencesId = function() {
|
|
763
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
764
|
+
};
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
/**
|
|
768
|
+
* @param {string} value
|
|
769
|
+
* @return {!proto.CustomerSalesArea} returns this
|
|
770
|
+
*/
|
|
771
|
+
proto.CustomerSalesArea.prototype.setCustomerReferencesId = function(value) {
|
|
772
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
773
|
+
};
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* optional string sales_area_references_id = 4;
|
|
778
|
+
* @return {string}
|
|
779
|
+
*/
|
|
780
|
+
proto.CustomerSalesArea.prototype.getSalesAreaReferencesId = function() {
|
|
781
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
782
|
+
};
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
/**
|
|
786
|
+
* @param {string} value
|
|
787
|
+
* @return {!proto.CustomerSalesArea} returns this
|
|
788
|
+
*/
|
|
789
|
+
proto.CustomerSalesArea.prototype.setSalesAreaReferencesId = function(value) {
|
|
790
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
791
|
+
};
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* optional string term_of_payment_references_id = 5;
|
|
796
|
+
* @return {string}
|
|
797
|
+
*/
|
|
798
|
+
proto.CustomerSalesArea.prototype.getTermOfPaymentReferencesId = function() {
|
|
799
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
800
|
+
};
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* @param {string} value
|
|
805
|
+
* @return {!proto.CustomerSalesArea} returns this
|
|
806
|
+
*/
|
|
807
|
+
proto.CustomerSalesArea.prototype.setTermOfPaymentReferencesId = function(value) {
|
|
808
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
809
|
+
};
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
/**
|
|
813
|
+
* optional string incoterm_references_id = 6;
|
|
814
|
+
* @return {string}
|
|
815
|
+
*/
|
|
816
|
+
proto.CustomerSalesArea.prototype.getIncotermReferencesId = function() {
|
|
817
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
818
|
+
};
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* @param {string} value
|
|
823
|
+
* @return {!proto.CustomerSalesArea} returns this
|
|
824
|
+
*/
|
|
825
|
+
proto.CustomerSalesArea.prototype.setIncotermReferencesId = function(value) {
|
|
826
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
827
|
+
};
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* optional string incoterm_location = 7;
|
|
832
|
+
* @return {string}
|
|
833
|
+
*/
|
|
834
|
+
proto.CustomerSalesArea.prototype.getIncotermLocation = function() {
|
|
835
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
836
|
+
};
|
|
837
|
+
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* @param {string} value
|
|
841
|
+
* @return {!proto.CustomerSalesArea} returns this
|
|
842
|
+
*/
|
|
843
|
+
proto.CustomerSalesArea.prototype.setIncotermLocation = function(value) {
|
|
844
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
845
|
+
};
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* optional string currency_references_id = 8;
|
|
850
|
+
* @return {string}
|
|
851
|
+
*/
|
|
852
|
+
proto.CustomerSalesArea.prototype.getCurrencyReferencesId = function() {
|
|
853
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
854
|
+
};
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* @param {string} value
|
|
859
|
+
* @return {!proto.CustomerSalesArea} returns this
|
|
860
|
+
*/
|
|
861
|
+
proto.CustomerSalesArea.prototype.setCurrencyReferencesId = function(value) {
|
|
862
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
863
|
+
};
|
|
864
|
+
|
|
865
|
+
|
|
866
|
+
/**
|
|
867
|
+
* optional string plant_references_id = 9;
|
|
868
|
+
* @return {string}
|
|
869
|
+
*/
|
|
870
|
+
proto.CustomerSalesArea.prototype.getPlantReferencesId = function() {
|
|
871
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
872
|
+
};
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* @param {string} value
|
|
877
|
+
* @return {!proto.CustomerSalesArea} returns this
|
|
878
|
+
*/
|
|
879
|
+
proto.CustomerSalesArea.prototype.setPlantReferencesId = function(value) {
|
|
880
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
881
|
+
};
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* optional string customer_group = 10;
|
|
886
|
+
* @return {string}
|
|
887
|
+
*/
|
|
888
|
+
proto.CustomerSalesArea.prototype.getCustomerGroup = function() {
|
|
889
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
890
|
+
};
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* @param {string} value
|
|
895
|
+
* @return {!proto.CustomerSalesArea} returns this
|
|
896
|
+
*/
|
|
897
|
+
proto.CustomerSalesArea.prototype.setCustomerGroup = function(value) {
|
|
898
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
899
|
+
};
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
/**
|
|
903
|
+
* optional string shipping_condition = 11;
|
|
904
|
+
* @return {string}
|
|
905
|
+
*/
|
|
906
|
+
proto.CustomerSalesArea.prototype.getShippingCondition = function() {
|
|
907
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
908
|
+
};
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* @param {string} value
|
|
913
|
+
* @return {!proto.CustomerSalesArea} returns this
|
|
914
|
+
*/
|
|
915
|
+
proto.CustomerSalesArea.prototype.setShippingCondition = function(value) {
|
|
916
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
917
|
+
};
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* optional string delivery_priority = 12;
|
|
922
|
+
* @return {string}
|
|
923
|
+
*/
|
|
924
|
+
proto.CustomerSalesArea.prototype.getDeliveryPriority = function() {
|
|
925
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
926
|
+
};
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* @param {string} value
|
|
931
|
+
* @return {!proto.CustomerSalesArea} returns this
|
|
932
|
+
*/
|
|
933
|
+
proto.CustomerSalesArea.prototype.setDeliveryPriority = function(value) {
|
|
934
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
935
|
+
};
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* optional bool order_combination = 13;
|
|
940
|
+
* @return {boolean}
|
|
941
|
+
*/
|
|
942
|
+
proto.CustomerSalesArea.prototype.getOrderCombination = function() {
|
|
943
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));
|
|
944
|
+
};
|
|
945
|
+
|
|
946
|
+
|
|
947
|
+
/**
|
|
948
|
+
* @param {boolean} value
|
|
949
|
+
* @return {!proto.CustomerSalesArea} returns this
|
|
950
|
+
*/
|
|
951
|
+
proto.CustomerSalesArea.prototype.setOrderCombination = function(value) {
|
|
952
|
+
return jspb.Message.setProto3BooleanField(this, 13, value);
|
|
953
|
+
};
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* optional string sales_area_label = 14;
|
|
958
|
+
* @return {string}
|
|
959
|
+
*/
|
|
960
|
+
proto.CustomerSalesArea.prototype.getSalesAreaLabel = function() {
|
|
961
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
962
|
+
};
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* @param {string} value
|
|
967
|
+
* @return {!proto.CustomerSalesArea} returns this
|
|
968
|
+
*/
|
|
969
|
+
proto.CustomerSalesArea.prototype.setSalesAreaLabel = function(value) {
|
|
970
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
971
|
+
};
|
|
972
|
+
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* optional string companies_references_id = 15;
|
|
976
|
+
* @return {string}
|
|
977
|
+
*/
|
|
978
|
+
proto.CustomerSalesArea.prototype.getCompaniesReferencesId = function() {
|
|
979
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
980
|
+
};
|
|
981
|
+
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* @param {string} value
|
|
985
|
+
* @return {!proto.CustomerSalesArea} returns this
|
|
986
|
+
*/
|
|
987
|
+
proto.CustomerSalesArea.prototype.setCompaniesReferencesId = function(value) {
|
|
988
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
989
|
+
};
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
/**
|
|
993
|
+
* optional string created_at = 16;
|
|
994
|
+
* @return {string}
|
|
995
|
+
*/
|
|
996
|
+
proto.CustomerSalesArea.prototype.getCreatedAt = function() {
|
|
997
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
998
|
+
};
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
* @param {string} value
|
|
1003
|
+
* @return {!proto.CustomerSalesArea} returns this
|
|
1004
|
+
*/
|
|
1005
|
+
proto.CustomerSalesArea.prototype.setCreatedAt = function(value) {
|
|
1006
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
1007
|
+
};
|
|
1008
|
+
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* optional string updated_at = 17;
|
|
1012
|
+
* @return {string}
|
|
1013
|
+
*/
|
|
1014
|
+
proto.CustomerSalesArea.prototype.getUpdatedAt = function() {
|
|
1015
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
1016
|
+
};
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* @param {string} value
|
|
1021
|
+
* @return {!proto.CustomerSalesArea} returns this
|
|
1022
|
+
*/
|
|
1023
|
+
proto.CustomerSalesArea.prototype.setUpdatedAt = function(value) {
|
|
1024
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
1025
|
+
};
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* optional string created_by = 18;
|
|
1030
|
+
* @return {string}
|
|
1031
|
+
*/
|
|
1032
|
+
proto.CustomerSalesArea.prototype.getCreatedBy = function() {
|
|
1033
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
1034
|
+
};
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
/**
|
|
1038
|
+
* @param {string} value
|
|
1039
|
+
* @return {!proto.CustomerSalesArea} returns this
|
|
1040
|
+
*/
|
|
1041
|
+
proto.CustomerSalesArea.prototype.setCreatedBy = function(value) {
|
|
1042
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
1043
|
+
};
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
/**
|
|
1047
|
+
* optional string updated_by = 19;
|
|
1048
|
+
* @return {string}
|
|
1049
|
+
*/
|
|
1050
|
+
proto.CustomerSalesArea.prototype.getUpdatedBy = function() {
|
|
1051
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
1052
|
+
};
|
|
1053
|
+
|
|
1054
|
+
|
|
1055
|
+
/**
|
|
1056
|
+
* @param {string} value
|
|
1057
|
+
* @return {!proto.CustomerSalesArea} returns this
|
|
1058
|
+
*/
|
|
1059
|
+
proto.CustomerSalesArea.prototype.setUpdatedBy = function(value) {
|
|
1060
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
1061
|
+
};
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
|
|
1067
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1068
|
+
/**
|
|
1069
|
+
* Creates an object representation of this proto.
|
|
1070
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1071
|
+
* Optional fields that are not set will be set to undefined.
|
|
1072
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1073
|
+
* For the list of reserved names please see:
|
|
1074
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1075
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1076
|
+
* JSPB instance for transitional soy proto support:
|
|
1077
|
+
* http://goto/soy-param-migration
|
|
1078
|
+
* @return {!Object}
|
|
1079
|
+
*/
|
|
1080
|
+
proto.BaseCustomerSalesAreaRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1081
|
+
return proto.BaseCustomerSalesAreaRequest.toObject(opt_includeInstance, this);
|
|
1082
|
+
};
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
/**
|
|
1086
|
+
* Static version of the {@see toObject} method.
|
|
1087
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1088
|
+
* the JSPB instance for transitional soy proto support:
|
|
1089
|
+
* http://goto/soy-param-migration
|
|
1090
|
+
* @param {!proto.BaseCustomerSalesAreaRequest} msg The msg instance to transform.
|
|
1091
|
+
* @return {!Object}
|
|
1092
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1093
|
+
*/
|
|
1094
|
+
proto.BaseCustomerSalesAreaRequest.toObject = function(includeInstance, msg) {
|
|
1095
|
+
var f, obj = {
|
|
1096
|
+
customerReferencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1097
|
+
salesAreaReferencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1098
|
+
termOfPaymentReferencesId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1099
|
+
incotermReferencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1100
|
+
incotermLocation: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1101
|
+
currencyReferencesId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1102
|
+
plantReferencesId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1103
|
+
customerGroup: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1104
|
+
shippingCondition: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1105
|
+
deliveryPriority: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
1106
|
+
orderCombination: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
|
|
1107
|
+
};
|
|
1108
|
+
|
|
1109
|
+
if (includeInstance) {
|
|
1110
|
+
obj.$jspbMessageInstance = msg;
|
|
1111
|
+
}
|
|
1112
|
+
return obj;
|
|
1113
|
+
};
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1119
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1120
|
+
* @return {!proto.BaseCustomerSalesAreaRequest}
|
|
1121
|
+
*/
|
|
1122
|
+
proto.BaseCustomerSalesAreaRequest.deserializeBinary = function(bytes) {
|
|
1123
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1124
|
+
var msg = new proto.BaseCustomerSalesAreaRequest;
|
|
1125
|
+
return proto.BaseCustomerSalesAreaRequest.deserializeBinaryFromReader(msg, reader);
|
|
1126
|
+
};
|
|
1127
|
+
|
|
1128
|
+
|
|
1129
|
+
/**
|
|
1130
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1131
|
+
* given reader into the given message object.
|
|
1132
|
+
* @param {!proto.BaseCustomerSalesAreaRequest} msg The message object to deserialize into.
|
|
1133
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1134
|
+
* @return {!proto.BaseCustomerSalesAreaRequest}
|
|
1135
|
+
*/
|
|
1136
|
+
proto.BaseCustomerSalesAreaRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1137
|
+
while (reader.nextField()) {
|
|
1138
|
+
if (reader.isEndGroup()) {
|
|
1139
|
+
break;
|
|
1140
|
+
}
|
|
1141
|
+
var field = reader.getFieldNumber();
|
|
1142
|
+
switch (field) {
|
|
1143
|
+
case 1:
|
|
1144
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1145
|
+
msg.setCustomerReferencesId(value);
|
|
1146
|
+
break;
|
|
1147
|
+
case 2:
|
|
1148
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1149
|
+
msg.setSalesAreaReferencesId(value);
|
|
1150
|
+
break;
|
|
1151
|
+
case 3:
|
|
1152
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1153
|
+
msg.setTermOfPaymentReferencesId(value);
|
|
1154
|
+
break;
|
|
1155
|
+
case 4:
|
|
1156
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1157
|
+
msg.setIncotermReferencesId(value);
|
|
1158
|
+
break;
|
|
1159
|
+
case 5:
|
|
1160
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1161
|
+
msg.setIncotermLocation(value);
|
|
1162
|
+
break;
|
|
1163
|
+
case 6:
|
|
1164
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1165
|
+
msg.setCurrencyReferencesId(value);
|
|
1166
|
+
break;
|
|
1167
|
+
case 7:
|
|
1168
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1169
|
+
msg.setPlantReferencesId(value);
|
|
1170
|
+
break;
|
|
1171
|
+
case 8:
|
|
1172
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1173
|
+
msg.setCustomerGroup(value);
|
|
1174
|
+
break;
|
|
1175
|
+
case 9:
|
|
1176
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1177
|
+
msg.setShippingCondition(value);
|
|
1178
|
+
break;
|
|
1179
|
+
case 10:
|
|
1180
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1181
|
+
msg.setDeliveryPriority(value);
|
|
1182
|
+
break;
|
|
1183
|
+
case 11:
|
|
1184
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1185
|
+
msg.setOrderCombination(value);
|
|
1186
|
+
break;
|
|
1187
|
+
default:
|
|
1188
|
+
reader.skipField();
|
|
1189
|
+
break;
|
|
1190
|
+
}
|
|
1191
|
+
}
|
|
1192
|
+
return msg;
|
|
1193
|
+
};
|
|
1194
|
+
|
|
1195
|
+
|
|
1196
|
+
/**
|
|
1197
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1198
|
+
* @return {!Uint8Array}
|
|
1199
|
+
*/
|
|
1200
|
+
proto.BaseCustomerSalesAreaRequest.prototype.serializeBinary = function() {
|
|
1201
|
+
var writer = new jspb.BinaryWriter();
|
|
1202
|
+
proto.BaseCustomerSalesAreaRequest.serializeBinaryToWriter(this, writer);
|
|
1203
|
+
return writer.getResultBuffer();
|
|
1204
|
+
};
|
|
1205
|
+
|
|
1206
|
+
|
|
1207
|
+
/**
|
|
1208
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1209
|
+
* format), writing to the given BinaryWriter.
|
|
1210
|
+
* @param {!proto.BaseCustomerSalesAreaRequest} message
|
|
1211
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1212
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1213
|
+
*/
|
|
1214
|
+
proto.BaseCustomerSalesAreaRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1215
|
+
var f = undefined;
|
|
1216
|
+
f = message.getCustomerReferencesId();
|
|
1217
|
+
if (f.length > 0) {
|
|
1218
|
+
writer.writeString(
|
|
1219
|
+
1,
|
|
1220
|
+
f
|
|
1221
|
+
);
|
|
1222
|
+
}
|
|
1223
|
+
f = message.getSalesAreaReferencesId();
|
|
1224
|
+
if (f.length > 0) {
|
|
1225
|
+
writer.writeString(
|
|
1226
|
+
2,
|
|
1227
|
+
f
|
|
1228
|
+
);
|
|
1229
|
+
}
|
|
1230
|
+
f = message.getTermOfPaymentReferencesId();
|
|
1231
|
+
if (f.length > 0) {
|
|
1232
|
+
writer.writeString(
|
|
1233
|
+
3,
|
|
1234
|
+
f
|
|
1235
|
+
);
|
|
1236
|
+
}
|
|
1237
|
+
f = message.getIncotermReferencesId();
|
|
1238
|
+
if (f.length > 0) {
|
|
1239
|
+
writer.writeString(
|
|
1240
|
+
4,
|
|
1241
|
+
f
|
|
1242
|
+
);
|
|
1243
|
+
}
|
|
1244
|
+
f = message.getIncotermLocation();
|
|
1245
|
+
if (f.length > 0) {
|
|
1246
|
+
writer.writeString(
|
|
1247
|
+
5,
|
|
1248
|
+
f
|
|
1249
|
+
);
|
|
1250
|
+
}
|
|
1251
|
+
f = message.getCurrencyReferencesId();
|
|
1252
|
+
if (f.length > 0) {
|
|
1253
|
+
writer.writeString(
|
|
1254
|
+
6,
|
|
1255
|
+
f
|
|
1256
|
+
);
|
|
1257
|
+
}
|
|
1258
|
+
f = message.getPlantReferencesId();
|
|
1259
|
+
if (f.length > 0) {
|
|
1260
|
+
writer.writeString(
|
|
1261
|
+
7,
|
|
1262
|
+
f
|
|
1263
|
+
);
|
|
1264
|
+
}
|
|
1265
|
+
f = message.getCustomerGroup();
|
|
1266
|
+
if (f.length > 0) {
|
|
1267
|
+
writer.writeString(
|
|
1268
|
+
8,
|
|
1269
|
+
f
|
|
1270
|
+
);
|
|
1271
|
+
}
|
|
1272
|
+
f = message.getShippingCondition();
|
|
1273
|
+
if (f.length > 0) {
|
|
1274
|
+
writer.writeString(
|
|
1275
|
+
9,
|
|
1276
|
+
f
|
|
1277
|
+
);
|
|
1278
|
+
}
|
|
1279
|
+
f = message.getDeliveryPriority();
|
|
1280
|
+
if (f.length > 0) {
|
|
1281
|
+
writer.writeString(
|
|
1282
|
+
10,
|
|
1283
|
+
f
|
|
1284
|
+
);
|
|
1285
|
+
}
|
|
1286
|
+
f = message.getOrderCombination();
|
|
1287
|
+
if (f) {
|
|
1288
|
+
writer.writeBool(
|
|
1289
|
+
11,
|
|
1290
|
+
f
|
|
1291
|
+
);
|
|
1292
|
+
}
|
|
1293
|
+
};
|
|
1294
|
+
|
|
1295
|
+
|
|
1296
|
+
/**
|
|
1297
|
+
* optional string customer_references_id = 1;
|
|
1298
|
+
* @return {string}
|
|
1299
|
+
*/
|
|
1300
|
+
proto.BaseCustomerSalesAreaRequest.prototype.getCustomerReferencesId = function() {
|
|
1301
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1302
|
+
};
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
/**
|
|
1306
|
+
* @param {string} value
|
|
1307
|
+
* @return {!proto.BaseCustomerSalesAreaRequest} returns this
|
|
1308
|
+
*/
|
|
1309
|
+
proto.BaseCustomerSalesAreaRequest.prototype.setCustomerReferencesId = function(value) {
|
|
1310
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1311
|
+
};
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* optional string sales_area_references_id = 2;
|
|
1316
|
+
* @return {string}
|
|
1317
|
+
*/
|
|
1318
|
+
proto.BaseCustomerSalesAreaRequest.prototype.getSalesAreaReferencesId = function() {
|
|
1319
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1320
|
+
};
|
|
1321
|
+
|
|
1322
|
+
|
|
1323
|
+
/**
|
|
1324
|
+
* @param {string} value
|
|
1325
|
+
* @return {!proto.BaseCustomerSalesAreaRequest} returns this
|
|
1326
|
+
*/
|
|
1327
|
+
proto.BaseCustomerSalesAreaRequest.prototype.setSalesAreaReferencesId = function(value) {
|
|
1328
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1329
|
+
};
|
|
1330
|
+
|
|
1331
|
+
|
|
1332
|
+
/**
|
|
1333
|
+
* optional string term_of_payment_references_id = 3;
|
|
1334
|
+
* @return {string}
|
|
1335
|
+
*/
|
|
1336
|
+
proto.BaseCustomerSalesAreaRequest.prototype.getTermOfPaymentReferencesId = function() {
|
|
1337
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1338
|
+
};
|
|
1339
|
+
|
|
1340
|
+
|
|
1341
|
+
/**
|
|
1342
|
+
* @param {string} value
|
|
1343
|
+
* @return {!proto.BaseCustomerSalesAreaRequest} returns this
|
|
1344
|
+
*/
|
|
1345
|
+
proto.BaseCustomerSalesAreaRequest.prototype.setTermOfPaymentReferencesId = function(value) {
|
|
1346
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1347
|
+
};
|
|
1348
|
+
|
|
1349
|
+
|
|
1350
|
+
/**
|
|
1351
|
+
* optional string incoterm_references_id = 4;
|
|
1352
|
+
* @return {string}
|
|
1353
|
+
*/
|
|
1354
|
+
proto.BaseCustomerSalesAreaRequest.prototype.getIncotermReferencesId = function() {
|
|
1355
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1356
|
+
};
|
|
1357
|
+
|
|
1358
|
+
|
|
1359
|
+
/**
|
|
1360
|
+
* @param {string} value
|
|
1361
|
+
* @return {!proto.BaseCustomerSalesAreaRequest} returns this
|
|
1362
|
+
*/
|
|
1363
|
+
proto.BaseCustomerSalesAreaRequest.prototype.setIncotermReferencesId = function(value) {
|
|
1364
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1365
|
+
};
|
|
1366
|
+
|
|
1367
|
+
|
|
1368
|
+
/**
|
|
1369
|
+
* optional string incoterm_location = 5;
|
|
1370
|
+
* @return {string}
|
|
1371
|
+
*/
|
|
1372
|
+
proto.BaseCustomerSalesAreaRequest.prototype.getIncotermLocation = function() {
|
|
1373
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1374
|
+
};
|
|
1375
|
+
|
|
1376
|
+
|
|
1377
|
+
/**
|
|
1378
|
+
* @param {string} value
|
|
1379
|
+
* @return {!proto.BaseCustomerSalesAreaRequest} returns this
|
|
1380
|
+
*/
|
|
1381
|
+
proto.BaseCustomerSalesAreaRequest.prototype.setIncotermLocation = function(value) {
|
|
1382
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1383
|
+
};
|
|
1384
|
+
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* optional string currency_references_id = 6;
|
|
1388
|
+
* @return {string}
|
|
1389
|
+
*/
|
|
1390
|
+
proto.BaseCustomerSalesAreaRequest.prototype.getCurrencyReferencesId = function() {
|
|
1391
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1392
|
+
};
|
|
1393
|
+
|
|
1394
|
+
|
|
1395
|
+
/**
|
|
1396
|
+
* @param {string} value
|
|
1397
|
+
* @return {!proto.BaseCustomerSalesAreaRequest} returns this
|
|
1398
|
+
*/
|
|
1399
|
+
proto.BaseCustomerSalesAreaRequest.prototype.setCurrencyReferencesId = function(value) {
|
|
1400
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1401
|
+
};
|
|
1402
|
+
|
|
1403
|
+
|
|
1404
|
+
/**
|
|
1405
|
+
* optional string plant_references_id = 7;
|
|
1406
|
+
* @return {string}
|
|
1407
|
+
*/
|
|
1408
|
+
proto.BaseCustomerSalesAreaRequest.prototype.getPlantReferencesId = function() {
|
|
1409
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1410
|
+
};
|
|
1411
|
+
|
|
1412
|
+
|
|
1413
|
+
/**
|
|
1414
|
+
* @param {string} value
|
|
1415
|
+
* @return {!proto.BaseCustomerSalesAreaRequest} returns this
|
|
1416
|
+
*/
|
|
1417
|
+
proto.BaseCustomerSalesAreaRequest.prototype.setPlantReferencesId = function(value) {
|
|
1418
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
1419
|
+
};
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
/**
|
|
1423
|
+
* optional string customer_group = 8;
|
|
1424
|
+
* @return {string}
|
|
1425
|
+
*/
|
|
1426
|
+
proto.BaseCustomerSalesAreaRequest.prototype.getCustomerGroup = function() {
|
|
1427
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1428
|
+
};
|
|
1429
|
+
|
|
1430
|
+
|
|
1431
|
+
/**
|
|
1432
|
+
* @param {string} value
|
|
1433
|
+
* @return {!proto.BaseCustomerSalesAreaRequest} returns this
|
|
1434
|
+
*/
|
|
1435
|
+
proto.BaseCustomerSalesAreaRequest.prototype.setCustomerGroup = function(value) {
|
|
1436
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1437
|
+
};
|
|
1438
|
+
|
|
1439
|
+
|
|
1440
|
+
/**
|
|
1441
|
+
* optional string shipping_condition = 9;
|
|
1442
|
+
* @return {string}
|
|
1443
|
+
*/
|
|
1444
|
+
proto.BaseCustomerSalesAreaRequest.prototype.getShippingCondition = function() {
|
|
1445
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
1446
|
+
};
|
|
1447
|
+
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* @param {string} value
|
|
1451
|
+
* @return {!proto.BaseCustomerSalesAreaRequest} returns this
|
|
1452
|
+
*/
|
|
1453
|
+
proto.BaseCustomerSalesAreaRequest.prototype.setShippingCondition = function(value) {
|
|
1454
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
1455
|
+
};
|
|
1456
|
+
|
|
1457
|
+
|
|
1458
|
+
/**
|
|
1459
|
+
* optional string delivery_priority = 10;
|
|
1460
|
+
* @return {string}
|
|
1461
|
+
*/
|
|
1462
|
+
proto.BaseCustomerSalesAreaRequest.prototype.getDeliveryPriority = function() {
|
|
1463
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
1464
|
+
};
|
|
1465
|
+
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
* @param {string} value
|
|
1469
|
+
* @return {!proto.BaseCustomerSalesAreaRequest} returns this
|
|
1470
|
+
*/
|
|
1471
|
+
proto.BaseCustomerSalesAreaRequest.prototype.setDeliveryPriority = function(value) {
|
|
1472
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
1473
|
+
};
|
|
1474
|
+
|
|
1475
|
+
|
|
1476
|
+
/**
|
|
1477
|
+
* optional bool order_combination = 11;
|
|
1478
|
+
* @return {boolean}
|
|
1479
|
+
*/
|
|
1480
|
+
proto.BaseCustomerSalesAreaRequest.prototype.getOrderCombination = function() {
|
|
1481
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
|
|
1482
|
+
};
|
|
1483
|
+
|
|
1484
|
+
|
|
1485
|
+
/**
|
|
1486
|
+
* @param {boolean} value
|
|
1487
|
+
* @return {!proto.BaseCustomerSalesAreaRequest} returns this
|
|
1488
|
+
*/
|
|
1489
|
+
proto.BaseCustomerSalesAreaRequest.prototype.setOrderCombination = function(value) {
|
|
1490
|
+
return jspb.Message.setProto3BooleanField(this, 11, value);
|
|
1491
|
+
};
|
|
1492
|
+
|
|
1493
|
+
|
|
1494
|
+
|
|
1495
|
+
|
|
1496
|
+
|
|
1497
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1498
|
+
/**
|
|
1499
|
+
* Creates an object representation of this proto.
|
|
1500
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1501
|
+
* Optional fields that are not set will be set to undefined.
|
|
1502
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1503
|
+
* For the list of reserved names please see:
|
|
1504
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1505
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1506
|
+
* JSPB instance for transitional soy proto support:
|
|
1507
|
+
* http://goto/soy-param-migration
|
|
1508
|
+
* @return {!Object}
|
|
1509
|
+
*/
|
|
1510
|
+
proto.CustomerPartnerFunction.prototype.toObject = function(opt_includeInstance) {
|
|
1511
|
+
return proto.CustomerPartnerFunction.toObject(opt_includeInstance, this);
|
|
1512
|
+
};
|
|
1513
|
+
|
|
1514
|
+
|
|
1515
|
+
/**
|
|
1516
|
+
* Static version of the {@see toObject} method.
|
|
1517
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1518
|
+
* the JSPB instance for transitional soy proto support:
|
|
1519
|
+
* http://goto/soy-param-migration
|
|
1520
|
+
* @param {!proto.CustomerPartnerFunction} msg The msg instance to transform.
|
|
1521
|
+
* @return {!Object}
|
|
1522
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1523
|
+
*/
|
|
1524
|
+
proto.CustomerPartnerFunction.toObject = function(includeInstance, msg) {
|
|
1525
|
+
var f, obj = {
|
|
1526
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1527
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1528
|
+
customerReferencesId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1529
|
+
salesAreaReferencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1530
|
+
pb_function: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1531
|
+
partnerCustomerReferencesId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1532
|
+
partnerCustomerName: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1533
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1534
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1535
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
1536
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
1537
|
+
updatedBy: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
1538
|
+
};
|
|
1539
|
+
|
|
1540
|
+
if (includeInstance) {
|
|
1541
|
+
obj.$jspbMessageInstance = msg;
|
|
1542
|
+
}
|
|
1543
|
+
return obj;
|
|
1544
|
+
};
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1547
|
+
|
|
1548
|
+
/**
|
|
1549
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1550
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1551
|
+
* @return {!proto.CustomerPartnerFunction}
|
|
1552
|
+
*/
|
|
1553
|
+
proto.CustomerPartnerFunction.deserializeBinary = function(bytes) {
|
|
1554
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1555
|
+
var msg = new proto.CustomerPartnerFunction;
|
|
1556
|
+
return proto.CustomerPartnerFunction.deserializeBinaryFromReader(msg, reader);
|
|
1557
|
+
};
|
|
1558
|
+
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1562
|
+
* given reader into the given message object.
|
|
1563
|
+
* @param {!proto.CustomerPartnerFunction} msg The message object to deserialize into.
|
|
1564
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1565
|
+
* @return {!proto.CustomerPartnerFunction}
|
|
1566
|
+
*/
|
|
1567
|
+
proto.CustomerPartnerFunction.deserializeBinaryFromReader = function(msg, reader) {
|
|
1568
|
+
while (reader.nextField()) {
|
|
1569
|
+
if (reader.isEndGroup()) {
|
|
1570
|
+
break;
|
|
1571
|
+
}
|
|
1572
|
+
var field = reader.getFieldNumber();
|
|
1573
|
+
switch (field) {
|
|
1574
|
+
case 1:
|
|
1575
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1576
|
+
msg.setId(value);
|
|
1577
|
+
break;
|
|
1578
|
+
case 2:
|
|
1579
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1580
|
+
msg.setReferencesId(value);
|
|
1581
|
+
break;
|
|
1582
|
+
case 3:
|
|
1583
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1584
|
+
msg.setCustomerReferencesId(value);
|
|
1585
|
+
break;
|
|
1586
|
+
case 4:
|
|
1587
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1588
|
+
msg.setSalesAreaReferencesId(value);
|
|
1589
|
+
break;
|
|
1590
|
+
case 5:
|
|
1591
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1592
|
+
msg.setFunction(value);
|
|
1593
|
+
break;
|
|
1594
|
+
case 6:
|
|
1595
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1596
|
+
msg.setPartnerCustomerReferencesId(value);
|
|
1597
|
+
break;
|
|
1598
|
+
case 7:
|
|
1599
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1600
|
+
msg.setPartnerCustomerName(value);
|
|
1601
|
+
break;
|
|
1602
|
+
case 8:
|
|
1603
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1604
|
+
msg.setCompaniesReferencesId(value);
|
|
1605
|
+
break;
|
|
1606
|
+
case 9:
|
|
1607
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1608
|
+
msg.setCreatedAt(value);
|
|
1609
|
+
break;
|
|
1610
|
+
case 10:
|
|
1611
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1612
|
+
msg.setUpdatedAt(value);
|
|
1613
|
+
break;
|
|
1614
|
+
case 11:
|
|
1615
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1616
|
+
msg.setCreatedBy(value);
|
|
1617
|
+
break;
|
|
1618
|
+
case 12:
|
|
1619
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1620
|
+
msg.setUpdatedBy(value);
|
|
1621
|
+
break;
|
|
1622
|
+
default:
|
|
1623
|
+
reader.skipField();
|
|
1624
|
+
break;
|
|
1625
|
+
}
|
|
1626
|
+
}
|
|
1627
|
+
return msg;
|
|
1628
|
+
};
|
|
1629
|
+
|
|
1630
|
+
|
|
1631
|
+
/**
|
|
1632
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1633
|
+
* @return {!Uint8Array}
|
|
1634
|
+
*/
|
|
1635
|
+
proto.CustomerPartnerFunction.prototype.serializeBinary = function() {
|
|
1636
|
+
var writer = new jspb.BinaryWriter();
|
|
1637
|
+
proto.CustomerPartnerFunction.serializeBinaryToWriter(this, writer);
|
|
1638
|
+
return writer.getResultBuffer();
|
|
1639
|
+
};
|
|
1640
|
+
|
|
1641
|
+
|
|
1642
|
+
/**
|
|
1643
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1644
|
+
* format), writing to the given BinaryWriter.
|
|
1645
|
+
* @param {!proto.CustomerPartnerFunction} message
|
|
1646
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1647
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1648
|
+
*/
|
|
1649
|
+
proto.CustomerPartnerFunction.serializeBinaryToWriter = function(message, writer) {
|
|
1650
|
+
var f = undefined;
|
|
1651
|
+
f = message.getId();
|
|
1652
|
+
if (f !== 0) {
|
|
1653
|
+
writer.writeInt64(
|
|
1654
|
+
1,
|
|
1655
|
+
f
|
|
1656
|
+
);
|
|
1657
|
+
}
|
|
1658
|
+
f = message.getReferencesId();
|
|
1659
|
+
if (f.length > 0) {
|
|
1660
|
+
writer.writeString(
|
|
1661
|
+
2,
|
|
1662
|
+
f
|
|
1663
|
+
);
|
|
1664
|
+
}
|
|
1665
|
+
f = message.getCustomerReferencesId();
|
|
1666
|
+
if (f.length > 0) {
|
|
1667
|
+
writer.writeString(
|
|
1668
|
+
3,
|
|
1669
|
+
f
|
|
1670
|
+
);
|
|
1671
|
+
}
|
|
1672
|
+
f = message.getSalesAreaReferencesId();
|
|
1673
|
+
if (f.length > 0) {
|
|
1674
|
+
writer.writeString(
|
|
1675
|
+
4,
|
|
1676
|
+
f
|
|
1677
|
+
);
|
|
1678
|
+
}
|
|
1679
|
+
f = message.getFunction();
|
|
1680
|
+
if (f.length > 0) {
|
|
1681
|
+
writer.writeString(
|
|
1682
|
+
5,
|
|
1683
|
+
f
|
|
1684
|
+
);
|
|
1685
|
+
}
|
|
1686
|
+
f = message.getPartnerCustomerReferencesId();
|
|
1687
|
+
if (f.length > 0) {
|
|
1688
|
+
writer.writeString(
|
|
1689
|
+
6,
|
|
1690
|
+
f
|
|
1691
|
+
);
|
|
1692
|
+
}
|
|
1693
|
+
f = message.getPartnerCustomerName();
|
|
1694
|
+
if (f.length > 0) {
|
|
1695
|
+
writer.writeString(
|
|
1696
|
+
7,
|
|
1697
|
+
f
|
|
1698
|
+
);
|
|
1699
|
+
}
|
|
1700
|
+
f = message.getCompaniesReferencesId();
|
|
1701
|
+
if (f.length > 0) {
|
|
1702
|
+
writer.writeString(
|
|
1703
|
+
8,
|
|
1704
|
+
f
|
|
1705
|
+
);
|
|
1706
|
+
}
|
|
1707
|
+
f = message.getCreatedAt();
|
|
1708
|
+
if (f.length > 0) {
|
|
1709
|
+
writer.writeString(
|
|
1710
|
+
9,
|
|
1711
|
+
f
|
|
1712
|
+
);
|
|
1713
|
+
}
|
|
1714
|
+
f = message.getUpdatedAt();
|
|
1715
|
+
if (f.length > 0) {
|
|
1716
|
+
writer.writeString(
|
|
1717
|
+
10,
|
|
1718
|
+
f
|
|
1719
|
+
);
|
|
1720
|
+
}
|
|
1721
|
+
f = message.getCreatedBy();
|
|
1722
|
+
if (f.length > 0) {
|
|
1723
|
+
writer.writeString(
|
|
1724
|
+
11,
|
|
1725
|
+
f
|
|
1726
|
+
);
|
|
1727
|
+
}
|
|
1728
|
+
f = message.getUpdatedBy();
|
|
1729
|
+
if (f.length > 0) {
|
|
1730
|
+
writer.writeString(
|
|
1731
|
+
12,
|
|
1732
|
+
f
|
|
1733
|
+
);
|
|
1734
|
+
}
|
|
1735
|
+
};
|
|
1736
|
+
|
|
1737
|
+
|
|
1738
|
+
/**
|
|
1739
|
+
* optional int64 id = 1;
|
|
1740
|
+
* @return {number}
|
|
1741
|
+
*/
|
|
1742
|
+
proto.CustomerPartnerFunction.prototype.getId = function() {
|
|
1743
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1744
|
+
};
|
|
1745
|
+
|
|
1746
|
+
|
|
1747
|
+
/**
|
|
1748
|
+
* @param {number} value
|
|
1749
|
+
* @return {!proto.CustomerPartnerFunction} returns this
|
|
1750
|
+
*/
|
|
1751
|
+
proto.CustomerPartnerFunction.prototype.setId = function(value) {
|
|
1752
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1753
|
+
};
|
|
1754
|
+
|
|
1755
|
+
|
|
1756
|
+
/**
|
|
1757
|
+
* optional string references_id = 2;
|
|
1758
|
+
* @return {string}
|
|
1759
|
+
*/
|
|
1760
|
+
proto.CustomerPartnerFunction.prototype.getReferencesId = function() {
|
|
1761
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1762
|
+
};
|
|
1763
|
+
|
|
1764
|
+
|
|
1765
|
+
/**
|
|
1766
|
+
* @param {string} value
|
|
1767
|
+
* @return {!proto.CustomerPartnerFunction} returns this
|
|
1768
|
+
*/
|
|
1769
|
+
proto.CustomerPartnerFunction.prototype.setReferencesId = function(value) {
|
|
1770
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1771
|
+
};
|
|
1772
|
+
|
|
1773
|
+
|
|
1774
|
+
/**
|
|
1775
|
+
* optional string customer_references_id = 3;
|
|
1776
|
+
* @return {string}
|
|
1777
|
+
*/
|
|
1778
|
+
proto.CustomerPartnerFunction.prototype.getCustomerReferencesId = function() {
|
|
1779
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1780
|
+
};
|
|
1781
|
+
|
|
1782
|
+
|
|
1783
|
+
/**
|
|
1784
|
+
* @param {string} value
|
|
1785
|
+
* @return {!proto.CustomerPartnerFunction} returns this
|
|
1786
|
+
*/
|
|
1787
|
+
proto.CustomerPartnerFunction.prototype.setCustomerReferencesId = function(value) {
|
|
1788
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1789
|
+
};
|
|
1790
|
+
|
|
1791
|
+
|
|
1792
|
+
/**
|
|
1793
|
+
* optional string sales_area_references_id = 4;
|
|
1794
|
+
* @return {string}
|
|
1795
|
+
*/
|
|
1796
|
+
proto.CustomerPartnerFunction.prototype.getSalesAreaReferencesId = function() {
|
|
1797
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1798
|
+
};
|
|
1799
|
+
|
|
1800
|
+
|
|
1801
|
+
/**
|
|
1802
|
+
* @param {string} value
|
|
1803
|
+
* @return {!proto.CustomerPartnerFunction} returns this
|
|
1804
|
+
*/
|
|
1805
|
+
proto.CustomerPartnerFunction.prototype.setSalesAreaReferencesId = function(value) {
|
|
1806
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1807
|
+
};
|
|
1808
|
+
|
|
1809
|
+
|
|
1810
|
+
/**
|
|
1811
|
+
* optional string function = 5;
|
|
1812
|
+
* @return {string}
|
|
1813
|
+
*/
|
|
1814
|
+
proto.CustomerPartnerFunction.prototype.getFunction = function() {
|
|
1815
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1816
|
+
};
|
|
1817
|
+
|
|
1818
|
+
|
|
1819
|
+
/**
|
|
1820
|
+
* @param {string} value
|
|
1821
|
+
* @return {!proto.CustomerPartnerFunction} returns this
|
|
1822
|
+
*/
|
|
1823
|
+
proto.CustomerPartnerFunction.prototype.setFunction = function(value) {
|
|
1824
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1825
|
+
};
|
|
1826
|
+
|
|
1827
|
+
|
|
1828
|
+
/**
|
|
1829
|
+
* optional string partner_customer_references_id = 6;
|
|
1830
|
+
* @return {string}
|
|
1831
|
+
*/
|
|
1832
|
+
proto.CustomerPartnerFunction.prototype.getPartnerCustomerReferencesId = function() {
|
|
1833
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1834
|
+
};
|
|
1835
|
+
|
|
1836
|
+
|
|
1837
|
+
/**
|
|
1838
|
+
* @param {string} value
|
|
1839
|
+
* @return {!proto.CustomerPartnerFunction} returns this
|
|
1840
|
+
*/
|
|
1841
|
+
proto.CustomerPartnerFunction.prototype.setPartnerCustomerReferencesId = function(value) {
|
|
1842
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1843
|
+
};
|
|
1844
|
+
|
|
1845
|
+
|
|
1846
|
+
/**
|
|
1847
|
+
* optional string partner_customer_name = 7;
|
|
1848
|
+
* @return {string}
|
|
1849
|
+
*/
|
|
1850
|
+
proto.CustomerPartnerFunction.prototype.getPartnerCustomerName = function() {
|
|
1851
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1852
|
+
};
|
|
1853
|
+
|
|
1854
|
+
|
|
1855
|
+
/**
|
|
1856
|
+
* @param {string} value
|
|
1857
|
+
* @return {!proto.CustomerPartnerFunction} returns this
|
|
1858
|
+
*/
|
|
1859
|
+
proto.CustomerPartnerFunction.prototype.setPartnerCustomerName = function(value) {
|
|
1860
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
1861
|
+
};
|
|
1862
|
+
|
|
1863
|
+
|
|
1864
|
+
/**
|
|
1865
|
+
* optional string companies_references_id = 8;
|
|
1866
|
+
* @return {string}
|
|
1867
|
+
*/
|
|
1868
|
+
proto.CustomerPartnerFunction.prototype.getCompaniesReferencesId = function() {
|
|
1869
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1870
|
+
};
|
|
1871
|
+
|
|
1872
|
+
|
|
1873
|
+
/**
|
|
1874
|
+
* @param {string} value
|
|
1875
|
+
* @return {!proto.CustomerPartnerFunction} returns this
|
|
1876
|
+
*/
|
|
1877
|
+
proto.CustomerPartnerFunction.prototype.setCompaniesReferencesId = function(value) {
|
|
1878
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1879
|
+
};
|
|
1880
|
+
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* optional string created_at = 9;
|
|
1884
|
+
* @return {string}
|
|
1885
|
+
*/
|
|
1886
|
+
proto.CustomerPartnerFunction.prototype.getCreatedAt = function() {
|
|
1887
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
1888
|
+
};
|
|
1889
|
+
|
|
1890
|
+
|
|
1891
|
+
/**
|
|
1892
|
+
* @param {string} value
|
|
1893
|
+
* @return {!proto.CustomerPartnerFunction} returns this
|
|
1894
|
+
*/
|
|
1895
|
+
proto.CustomerPartnerFunction.prototype.setCreatedAt = function(value) {
|
|
1896
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
1897
|
+
};
|
|
1898
|
+
|
|
1899
|
+
|
|
1900
|
+
/**
|
|
1901
|
+
* optional string updated_at = 10;
|
|
1902
|
+
* @return {string}
|
|
1903
|
+
*/
|
|
1904
|
+
proto.CustomerPartnerFunction.prototype.getUpdatedAt = function() {
|
|
1905
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
1906
|
+
};
|
|
1907
|
+
|
|
1908
|
+
|
|
1909
|
+
/**
|
|
1910
|
+
* @param {string} value
|
|
1911
|
+
* @return {!proto.CustomerPartnerFunction} returns this
|
|
1912
|
+
*/
|
|
1913
|
+
proto.CustomerPartnerFunction.prototype.setUpdatedAt = function(value) {
|
|
1914
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
1915
|
+
};
|
|
1916
|
+
|
|
1917
|
+
|
|
1918
|
+
/**
|
|
1919
|
+
* optional string created_by = 11;
|
|
1920
|
+
* @return {string}
|
|
1921
|
+
*/
|
|
1922
|
+
proto.CustomerPartnerFunction.prototype.getCreatedBy = function() {
|
|
1923
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
1924
|
+
};
|
|
1925
|
+
|
|
1926
|
+
|
|
1927
|
+
/**
|
|
1928
|
+
* @param {string} value
|
|
1929
|
+
* @return {!proto.CustomerPartnerFunction} returns this
|
|
1930
|
+
*/
|
|
1931
|
+
proto.CustomerPartnerFunction.prototype.setCreatedBy = function(value) {
|
|
1932
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
1933
|
+
};
|
|
1934
|
+
|
|
1935
|
+
|
|
1936
|
+
/**
|
|
1937
|
+
* optional string updated_by = 12;
|
|
1938
|
+
* @return {string}
|
|
1939
|
+
*/
|
|
1940
|
+
proto.CustomerPartnerFunction.prototype.getUpdatedBy = function() {
|
|
1941
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
1942
|
+
};
|
|
1943
|
+
|
|
1944
|
+
|
|
1945
|
+
/**
|
|
1946
|
+
* @param {string} value
|
|
1947
|
+
* @return {!proto.CustomerPartnerFunction} returns this
|
|
1948
|
+
*/
|
|
1949
|
+
proto.CustomerPartnerFunction.prototype.setUpdatedBy = function(value) {
|
|
1950
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
1951
|
+
};
|
|
1952
|
+
|
|
1953
|
+
|
|
1954
|
+
|
|
1955
|
+
|
|
1956
|
+
|
|
1957
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1958
|
+
/**
|
|
1959
|
+
* Creates an object representation of this proto.
|
|
1960
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1961
|
+
* Optional fields that are not set will be set to undefined.
|
|
1962
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1963
|
+
* For the list of reserved names please see:
|
|
1964
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1965
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1966
|
+
* JSPB instance for transitional soy proto support:
|
|
1967
|
+
* http://goto/soy-param-migration
|
|
1968
|
+
* @return {!Object}
|
|
1969
|
+
*/
|
|
1970
|
+
proto.GetCustomerSalesAreaByIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1971
|
+
return proto.GetCustomerSalesAreaByIdRequest.toObject(opt_includeInstance, this);
|
|
1972
|
+
};
|
|
1973
|
+
|
|
1974
|
+
|
|
1975
|
+
/**
|
|
1976
|
+
* Static version of the {@see toObject} method.
|
|
1977
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1978
|
+
* the JSPB instance for transitional soy proto support:
|
|
1979
|
+
* http://goto/soy-param-migration
|
|
1980
|
+
* @param {!proto.GetCustomerSalesAreaByIdRequest} msg The msg instance to transform.
|
|
1981
|
+
* @return {!Object}
|
|
1982
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1983
|
+
*/
|
|
1984
|
+
proto.GetCustomerSalesAreaByIdRequest.toObject = function(includeInstance, msg) {
|
|
1985
|
+
var f, obj = {
|
|
1986
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1987
|
+
};
|
|
1988
|
+
|
|
1989
|
+
if (includeInstance) {
|
|
1990
|
+
obj.$jspbMessageInstance = msg;
|
|
1991
|
+
}
|
|
1992
|
+
return obj;
|
|
1993
|
+
};
|
|
1994
|
+
}
|
|
1995
|
+
|
|
1996
|
+
|
|
1997
|
+
/**
|
|
1998
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1999
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2000
|
+
* @return {!proto.GetCustomerSalesAreaByIdRequest}
|
|
2001
|
+
*/
|
|
2002
|
+
proto.GetCustomerSalesAreaByIdRequest.deserializeBinary = function(bytes) {
|
|
2003
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2004
|
+
var msg = new proto.GetCustomerSalesAreaByIdRequest;
|
|
2005
|
+
return proto.GetCustomerSalesAreaByIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
2006
|
+
};
|
|
2007
|
+
|
|
2008
|
+
|
|
2009
|
+
/**
|
|
2010
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2011
|
+
* given reader into the given message object.
|
|
2012
|
+
* @param {!proto.GetCustomerSalesAreaByIdRequest} msg The message object to deserialize into.
|
|
2013
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2014
|
+
* @return {!proto.GetCustomerSalesAreaByIdRequest}
|
|
2015
|
+
*/
|
|
2016
|
+
proto.GetCustomerSalesAreaByIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2017
|
+
while (reader.nextField()) {
|
|
2018
|
+
if (reader.isEndGroup()) {
|
|
2019
|
+
break;
|
|
2020
|
+
}
|
|
2021
|
+
var field = reader.getFieldNumber();
|
|
2022
|
+
switch (field) {
|
|
2023
|
+
case 1:
|
|
2024
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2025
|
+
msg.setReferencesId(value);
|
|
2026
|
+
break;
|
|
2027
|
+
default:
|
|
2028
|
+
reader.skipField();
|
|
2029
|
+
break;
|
|
2030
|
+
}
|
|
2031
|
+
}
|
|
2032
|
+
return msg;
|
|
2033
|
+
};
|
|
2034
|
+
|
|
2035
|
+
|
|
2036
|
+
/**
|
|
2037
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2038
|
+
* @return {!Uint8Array}
|
|
2039
|
+
*/
|
|
2040
|
+
proto.GetCustomerSalesAreaByIdRequest.prototype.serializeBinary = function() {
|
|
2041
|
+
var writer = new jspb.BinaryWriter();
|
|
2042
|
+
proto.GetCustomerSalesAreaByIdRequest.serializeBinaryToWriter(this, writer);
|
|
2043
|
+
return writer.getResultBuffer();
|
|
2044
|
+
};
|
|
2045
|
+
|
|
2046
|
+
|
|
2047
|
+
/**
|
|
2048
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2049
|
+
* format), writing to the given BinaryWriter.
|
|
2050
|
+
* @param {!proto.GetCustomerSalesAreaByIdRequest} message
|
|
2051
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2052
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2053
|
+
*/
|
|
2054
|
+
proto.GetCustomerSalesAreaByIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2055
|
+
var f = undefined;
|
|
2056
|
+
f = message.getReferencesId();
|
|
2057
|
+
if (f.length > 0) {
|
|
2058
|
+
writer.writeString(
|
|
2059
|
+
1,
|
|
2060
|
+
f
|
|
2061
|
+
);
|
|
2062
|
+
}
|
|
2063
|
+
};
|
|
2064
|
+
|
|
2065
|
+
|
|
2066
|
+
/**
|
|
2067
|
+
* optional string references_id = 1;
|
|
2068
|
+
* @return {string}
|
|
2069
|
+
*/
|
|
2070
|
+
proto.GetCustomerSalesAreaByIdRequest.prototype.getReferencesId = function() {
|
|
2071
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2072
|
+
};
|
|
2073
|
+
|
|
2074
|
+
|
|
2075
|
+
/**
|
|
2076
|
+
* @param {string} value
|
|
2077
|
+
* @return {!proto.GetCustomerSalesAreaByIdRequest} returns this
|
|
2078
|
+
*/
|
|
2079
|
+
proto.GetCustomerSalesAreaByIdRequest.prototype.setReferencesId = function(value) {
|
|
2080
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2081
|
+
};
|
|
2082
|
+
|
|
2083
|
+
|
|
2084
|
+
|
|
2085
|
+
|
|
2086
|
+
|
|
2087
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2088
|
+
/**
|
|
2089
|
+
* Creates an object representation of this proto.
|
|
2090
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2091
|
+
* Optional fields that are not set will be set to undefined.
|
|
2092
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2093
|
+
* For the list of reserved names please see:
|
|
2094
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2095
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2096
|
+
* JSPB instance for transitional soy proto support:
|
|
2097
|
+
* http://goto/soy-param-migration
|
|
2098
|
+
* @return {!Object}
|
|
2099
|
+
*/
|
|
2100
|
+
proto.GetListCustomerSalesAreaRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2101
|
+
return proto.GetListCustomerSalesAreaRequest.toObject(opt_includeInstance, this);
|
|
2102
|
+
};
|
|
2103
|
+
|
|
2104
|
+
|
|
2105
|
+
/**
|
|
2106
|
+
* Static version of the {@see toObject} method.
|
|
2107
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2108
|
+
* the JSPB instance for transitional soy proto support:
|
|
2109
|
+
* http://goto/soy-param-migration
|
|
2110
|
+
* @param {!proto.GetListCustomerSalesAreaRequest} msg The msg instance to transform.
|
|
2111
|
+
* @return {!Object}
|
|
2112
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2113
|
+
*/
|
|
2114
|
+
proto.GetListCustomerSalesAreaRequest.toObject = function(includeInstance, msg) {
|
|
2115
|
+
var f, obj = {
|
|
2116
|
+
pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
|
|
2117
|
+
query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f),
|
|
2118
|
+
customerReferencesId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
2119
|
+
};
|
|
2120
|
+
|
|
2121
|
+
if (includeInstance) {
|
|
2122
|
+
obj.$jspbMessageInstance = msg;
|
|
2123
|
+
}
|
|
2124
|
+
return obj;
|
|
2125
|
+
};
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
|
|
2129
|
+
/**
|
|
2130
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2131
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2132
|
+
* @return {!proto.GetListCustomerSalesAreaRequest}
|
|
2133
|
+
*/
|
|
2134
|
+
proto.GetListCustomerSalesAreaRequest.deserializeBinary = function(bytes) {
|
|
2135
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2136
|
+
var msg = new proto.GetListCustomerSalesAreaRequest;
|
|
2137
|
+
return proto.GetListCustomerSalesAreaRequest.deserializeBinaryFromReader(msg, reader);
|
|
2138
|
+
};
|
|
2139
|
+
|
|
2140
|
+
|
|
2141
|
+
/**
|
|
2142
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2143
|
+
* given reader into the given message object.
|
|
2144
|
+
* @param {!proto.GetListCustomerSalesAreaRequest} msg The message object to deserialize into.
|
|
2145
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2146
|
+
* @return {!proto.GetListCustomerSalesAreaRequest}
|
|
2147
|
+
*/
|
|
2148
|
+
proto.GetListCustomerSalesAreaRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2149
|
+
while (reader.nextField()) {
|
|
2150
|
+
if (reader.isEndGroup()) {
|
|
2151
|
+
break;
|
|
2152
|
+
}
|
|
2153
|
+
var field = reader.getFieldNumber();
|
|
2154
|
+
switch (field) {
|
|
2155
|
+
case 1:
|
|
2156
|
+
var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
|
|
2157
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
|
|
2158
|
+
msg.setPagination(value);
|
|
2159
|
+
break;
|
|
2160
|
+
case 2:
|
|
2161
|
+
var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
|
|
2162
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
|
|
2163
|
+
msg.setQuery(value);
|
|
2164
|
+
break;
|
|
2165
|
+
case 3:
|
|
2166
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2167
|
+
msg.setCustomerReferencesId(value);
|
|
2168
|
+
break;
|
|
2169
|
+
default:
|
|
2170
|
+
reader.skipField();
|
|
2171
|
+
break;
|
|
2172
|
+
}
|
|
2173
|
+
}
|
|
2174
|
+
return msg;
|
|
2175
|
+
};
|
|
2176
|
+
|
|
2177
|
+
|
|
2178
|
+
/**
|
|
2179
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2180
|
+
* @return {!Uint8Array}
|
|
2181
|
+
*/
|
|
2182
|
+
proto.GetListCustomerSalesAreaRequest.prototype.serializeBinary = function() {
|
|
2183
|
+
var writer = new jspb.BinaryWriter();
|
|
2184
|
+
proto.GetListCustomerSalesAreaRequest.serializeBinaryToWriter(this, writer);
|
|
2185
|
+
return writer.getResultBuffer();
|
|
2186
|
+
};
|
|
2187
|
+
|
|
2188
|
+
|
|
2189
|
+
/**
|
|
2190
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2191
|
+
* format), writing to the given BinaryWriter.
|
|
2192
|
+
* @param {!proto.GetListCustomerSalesAreaRequest} message
|
|
2193
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2194
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2195
|
+
*/
|
|
2196
|
+
proto.GetListCustomerSalesAreaRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2197
|
+
var f = undefined;
|
|
2198
|
+
f = message.getPagination();
|
|
2199
|
+
if (f != null) {
|
|
2200
|
+
writer.writeMessage(
|
|
2201
|
+
1,
|
|
2202
|
+
f,
|
|
2203
|
+
prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
|
|
2204
|
+
);
|
|
2205
|
+
}
|
|
2206
|
+
f = message.getQuery();
|
|
2207
|
+
if (f != null) {
|
|
2208
|
+
writer.writeMessage(
|
|
2209
|
+
2,
|
|
2210
|
+
f,
|
|
2211
|
+
prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
|
|
2212
|
+
);
|
|
2213
|
+
}
|
|
2214
|
+
f = message.getCustomerReferencesId();
|
|
2215
|
+
if (f.length > 0) {
|
|
2216
|
+
writer.writeString(
|
|
2217
|
+
3,
|
|
2218
|
+
f
|
|
2219
|
+
);
|
|
2220
|
+
}
|
|
2221
|
+
};
|
|
2222
|
+
|
|
2223
|
+
|
|
2224
|
+
/**
|
|
2225
|
+
* optional prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
2226
|
+
* @return {?proto.prisca.v1.global.meta.PaginationRequest}
|
|
2227
|
+
*/
|
|
2228
|
+
proto.GetListCustomerSalesAreaRequest.prototype.getPagination = function() {
|
|
2229
|
+
return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
|
|
2230
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
|
|
2231
|
+
};
|
|
2232
|
+
|
|
2233
|
+
|
|
2234
|
+
/**
|
|
2235
|
+
* @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
|
|
2236
|
+
* @return {!proto.GetListCustomerSalesAreaRequest} returns this
|
|
2237
|
+
*/
|
|
2238
|
+
proto.GetListCustomerSalesAreaRequest.prototype.setPagination = function(value) {
|
|
2239
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2240
|
+
};
|
|
2241
|
+
|
|
2242
|
+
|
|
2243
|
+
/**
|
|
2244
|
+
* Clears the message field making it undefined.
|
|
2245
|
+
* @return {!proto.GetListCustomerSalesAreaRequest} returns this
|
|
2246
|
+
*/
|
|
2247
|
+
proto.GetListCustomerSalesAreaRequest.prototype.clearPagination = function() {
|
|
2248
|
+
return this.setPagination(undefined);
|
|
2249
|
+
};
|
|
2250
|
+
|
|
2251
|
+
|
|
2252
|
+
/**
|
|
2253
|
+
* Returns whether this field is set.
|
|
2254
|
+
* @return {boolean}
|
|
2255
|
+
*/
|
|
2256
|
+
proto.GetListCustomerSalesAreaRequest.prototype.hasPagination = function() {
|
|
2257
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2258
|
+
};
|
|
2259
|
+
|
|
2260
|
+
|
|
2261
|
+
/**
|
|
2262
|
+
* optional prisca.v1.global.meta.FilterRequest query = 2;
|
|
2263
|
+
* @return {?proto.prisca.v1.global.meta.FilterRequest}
|
|
2264
|
+
*/
|
|
2265
|
+
proto.GetListCustomerSalesAreaRequest.prototype.getQuery = function() {
|
|
2266
|
+
return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
|
|
2267
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
|
|
2268
|
+
};
|
|
2269
|
+
|
|
2270
|
+
|
|
2271
|
+
/**
|
|
2272
|
+
* @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
|
|
2273
|
+
* @return {!proto.GetListCustomerSalesAreaRequest} returns this
|
|
2274
|
+
*/
|
|
2275
|
+
proto.GetListCustomerSalesAreaRequest.prototype.setQuery = function(value) {
|
|
2276
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2277
|
+
};
|
|
2278
|
+
|
|
2279
|
+
|
|
2280
|
+
/**
|
|
2281
|
+
* Clears the message field making it undefined.
|
|
2282
|
+
* @return {!proto.GetListCustomerSalesAreaRequest} returns this
|
|
2283
|
+
*/
|
|
2284
|
+
proto.GetListCustomerSalesAreaRequest.prototype.clearQuery = function() {
|
|
2285
|
+
return this.setQuery(undefined);
|
|
2286
|
+
};
|
|
2287
|
+
|
|
2288
|
+
|
|
2289
|
+
/**
|
|
2290
|
+
* Returns whether this field is set.
|
|
2291
|
+
* @return {boolean}
|
|
2292
|
+
*/
|
|
2293
|
+
proto.GetListCustomerSalesAreaRequest.prototype.hasQuery = function() {
|
|
2294
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2295
|
+
};
|
|
2296
|
+
|
|
2297
|
+
|
|
2298
|
+
/**
|
|
2299
|
+
* optional string customer_references_id = 3;
|
|
2300
|
+
* @return {string}
|
|
2301
|
+
*/
|
|
2302
|
+
proto.GetListCustomerSalesAreaRequest.prototype.getCustomerReferencesId = function() {
|
|
2303
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2304
|
+
};
|
|
2305
|
+
|
|
2306
|
+
|
|
2307
|
+
/**
|
|
2308
|
+
* @param {string} value
|
|
2309
|
+
* @return {!proto.GetListCustomerSalesAreaRequest} returns this
|
|
2310
|
+
*/
|
|
2311
|
+
proto.GetListCustomerSalesAreaRequest.prototype.setCustomerReferencesId = function(value) {
|
|
2312
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2313
|
+
};
|
|
2314
|
+
|
|
2315
|
+
|
|
2316
|
+
|
|
2317
|
+
|
|
2318
|
+
|
|
2319
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2320
|
+
/**
|
|
2321
|
+
* Creates an object representation of this proto.
|
|
2322
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2323
|
+
* Optional fields that are not set will be set to undefined.
|
|
2324
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2325
|
+
* For the list of reserved names please see:
|
|
2326
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2327
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2328
|
+
* JSPB instance for transitional soy proto support:
|
|
2329
|
+
* http://goto/soy-param-migration
|
|
2330
|
+
* @return {!Object}
|
|
2331
|
+
*/
|
|
2332
|
+
proto.CreateCustomerSalesAreaRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2333
|
+
return proto.CreateCustomerSalesAreaRequest.toObject(opt_includeInstance, this);
|
|
2334
|
+
};
|
|
2335
|
+
|
|
2336
|
+
|
|
2337
|
+
/**
|
|
2338
|
+
* Static version of the {@see toObject} method.
|
|
2339
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2340
|
+
* the JSPB instance for transitional soy proto support:
|
|
2341
|
+
* http://goto/soy-param-migration
|
|
2342
|
+
* @param {!proto.CreateCustomerSalesAreaRequest} msg The msg instance to transform.
|
|
2343
|
+
* @return {!Object}
|
|
2344
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2345
|
+
*/
|
|
2346
|
+
proto.CreateCustomerSalesAreaRequest.toObject = function(includeInstance, msg) {
|
|
2347
|
+
var f, obj = {
|
|
2348
|
+
baseRequest: (f = msg.getBaseRequest()) && proto.BaseCustomerSalesAreaRequest.toObject(includeInstance, f)
|
|
2349
|
+
};
|
|
2350
|
+
|
|
2351
|
+
if (includeInstance) {
|
|
2352
|
+
obj.$jspbMessageInstance = msg;
|
|
2353
|
+
}
|
|
2354
|
+
return obj;
|
|
2355
|
+
};
|
|
2356
|
+
}
|
|
2357
|
+
|
|
2358
|
+
|
|
2359
|
+
/**
|
|
2360
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2361
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2362
|
+
* @return {!proto.CreateCustomerSalesAreaRequest}
|
|
2363
|
+
*/
|
|
2364
|
+
proto.CreateCustomerSalesAreaRequest.deserializeBinary = function(bytes) {
|
|
2365
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2366
|
+
var msg = new proto.CreateCustomerSalesAreaRequest;
|
|
2367
|
+
return proto.CreateCustomerSalesAreaRequest.deserializeBinaryFromReader(msg, reader);
|
|
2368
|
+
};
|
|
2369
|
+
|
|
2370
|
+
|
|
2371
|
+
/**
|
|
2372
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2373
|
+
* given reader into the given message object.
|
|
2374
|
+
* @param {!proto.CreateCustomerSalesAreaRequest} msg The message object to deserialize into.
|
|
2375
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2376
|
+
* @return {!proto.CreateCustomerSalesAreaRequest}
|
|
2377
|
+
*/
|
|
2378
|
+
proto.CreateCustomerSalesAreaRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2379
|
+
while (reader.nextField()) {
|
|
2380
|
+
if (reader.isEndGroup()) {
|
|
2381
|
+
break;
|
|
2382
|
+
}
|
|
2383
|
+
var field = reader.getFieldNumber();
|
|
2384
|
+
switch (field) {
|
|
2385
|
+
case 1:
|
|
2386
|
+
var value = new proto.BaseCustomerSalesAreaRequest;
|
|
2387
|
+
reader.readMessage(value,proto.BaseCustomerSalesAreaRequest.deserializeBinaryFromReader);
|
|
2388
|
+
msg.setBaseRequest(value);
|
|
2389
|
+
break;
|
|
2390
|
+
default:
|
|
2391
|
+
reader.skipField();
|
|
2392
|
+
break;
|
|
2393
|
+
}
|
|
2394
|
+
}
|
|
2395
|
+
return msg;
|
|
2396
|
+
};
|
|
2397
|
+
|
|
2398
|
+
|
|
2399
|
+
/**
|
|
2400
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2401
|
+
* @return {!Uint8Array}
|
|
2402
|
+
*/
|
|
2403
|
+
proto.CreateCustomerSalesAreaRequest.prototype.serializeBinary = function() {
|
|
2404
|
+
var writer = new jspb.BinaryWriter();
|
|
2405
|
+
proto.CreateCustomerSalesAreaRequest.serializeBinaryToWriter(this, writer);
|
|
2406
|
+
return writer.getResultBuffer();
|
|
2407
|
+
};
|
|
2408
|
+
|
|
2409
|
+
|
|
2410
|
+
/**
|
|
2411
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2412
|
+
* format), writing to the given BinaryWriter.
|
|
2413
|
+
* @param {!proto.CreateCustomerSalesAreaRequest} message
|
|
2414
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2415
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2416
|
+
*/
|
|
2417
|
+
proto.CreateCustomerSalesAreaRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2418
|
+
var f = undefined;
|
|
2419
|
+
f = message.getBaseRequest();
|
|
2420
|
+
if (f != null) {
|
|
2421
|
+
writer.writeMessage(
|
|
2422
|
+
1,
|
|
2423
|
+
f,
|
|
2424
|
+
proto.BaseCustomerSalesAreaRequest.serializeBinaryToWriter
|
|
2425
|
+
);
|
|
2426
|
+
}
|
|
2427
|
+
};
|
|
2428
|
+
|
|
2429
|
+
|
|
2430
|
+
/**
|
|
2431
|
+
* optional BaseCustomerSalesAreaRequest base_request = 1;
|
|
2432
|
+
* @return {?proto.BaseCustomerSalesAreaRequest}
|
|
2433
|
+
*/
|
|
2434
|
+
proto.CreateCustomerSalesAreaRequest.prototype.getBaseRequest = function() {
|
|
2435
|
+
return /** @type{?proto.BaseCustomerSalesAreaRequest} */ (
|
|
2436
|
+
jspb.Message.getWrapperField(this, proto.BaseCustomerSalesAreaRequest, 1));
|
|
2437
|
+
};
|
|
2438
|
+
|
|
2439
|
+
|
|
2440
|
+
/**
|
|
2441
|
+
* @param {?proto.BaseCustomerSalesAreaRequest|undefined} value
|
|
2442
|
+
* @return {!proto.CreateCustomerSalesAreaRequest} returns this
|
|
2443
|
+
*/
|
|
2444
|
+
proto.CreateCustomerSalesAreaRequest.prototype.setBaseRequest = function(value) {
|
|
2445
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2446
|
+
};
|
|
2447
|
+
|
|
2448
|
+
|
|
2449
|
+
/**
|
|
2450
|
+
* Clears the message field making it undefined.
|
|
2451
|
+
* @return {!proto.CreateCustomerSalesAreaRequest} returns this
|
|
2452
|
+
*/
|
|
2453
|
+
proto.CreateCustomerSalesAreaRequest.prototype.clearBaseRequest = function() {
|
|
2454
|
+
return this.setBaseRequest(undefined);
|
|
2455
|
+
};
|
|
2456
|
+
|
|
2457
|
+
|
|
2458
|
+
/**
|
|
2459
|
+
* Returns whether this field is set.
|
|
2460
|
+
* @return {boolean}
|
|
2461
|
+
*/
|
|
2462
|
+
proto.CreateCustomerSalesAreaRequest.prototype.hasBaseRequest = function() {
|
|
2463
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2464
|
+
};
|
|
2465
|
+
|
|
2466
|
+
|
|
2467
|
+
|
|
2468
|
+
|
|
2469
|
+
|
|
2470
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2471
|
+
/**
|
|
2472
|
+
* Creates an object representation of this proto.
|
|
2473
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2474
|
+
* Optional fields that are not set will be set to undefined.
|
|
2475
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2476
|
+
* For the list of reserved names please see:
|
|
2477
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2478
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2479
|
+
* JSPB instance for transitional soy proto support:
|
|
2480
|
+
* http://goto/soy-param-migration
|
|
2481
|
+
* @return {!Object}
|
|
2482
|
+
*/
|
|
2483
|
+
proto.UpdateCustomerSalesAreaRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2484
|
+
return proto.UpdateCustomerSalesAreaRequest.toObject(opt_includeInstance, this);
|
|
2485
|
+
};
|
|
2486
|
+
|
|
2487
|
+
|
|
2488
|
+
/**
|
|
2489
|
+
* Static version of the {@see toObject} method.
|
|
2490
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2491
|
+
* the JSPB instance for transitional soy proto support:
|
|
2492
|
+
* http://goto/soy-param-migration
|
|
2493
|
+
* @param {!proto.UpdateCustomerSalesAreaRequest} msg The msg instance to transform.
|
|
2494
|
+
* @return {!Object}
|
|
2495
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2496
|
+
*/
|
|
2497
|
+
proto.UpdateCustomerSalesAreaRequest.toObject = function(includeInstance, msg) {
|
|
2498
|
+
var f, obj = {
|
|
2499
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2500
|
+
baseRequest: (f = msg.getBaseRequest()) && proto.BaseCustomerSalesAreaRequest.toObject(includeInstance, f)
|
|
2501
|
+
};
|
|
2502
|
+
|
|
2503
|
+
if (includeInstance) {
|
|
2504
|
+
obj.$jspbMessageInstance = msg;
|
|
2505
|
+
}
|
|
2506
|
+
return obj;
|
|
2507
|
+
};
|
|
2508
|
+
}
|
|
2509
|
+
|
|
2510
|
+
|
|
2511
|
+
/**
|
|
2512
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2513
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2514
|
+
* @return {!proto.UpdateCustomerSalesAreaRequest}
|
|
2515
|
+
*/
|
|
2516
|
+
proto.UpdateCustomerSalesAreaRequest.deserializeBinary = function(bytes) {
|
|
2517
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2518
|
+
var msg = new proto.UpdateCustomerSalesAreaRequest;
|
|
2519
|
+
return proto.UpdateCustomerSalesAreaRequest.deserializeBinaryFromReader(msg, reader);
|
|
2520
|
+
};
|
|
2521
|
+
|
|
2522
|
+
|
|
2523
|
+
/**
|
|
2524
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2525
|
+
* given reader into the given message object.
|
|
2526
|
+
* @param {!proto.UpdateCustomerSalesAreaRequest} msg The message object to deserialize into.
|
|
2527
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2528
|
+
* @return {!proto.UpdateCustomerSalesAreaRequest}
|
|
2529
|
+
*/
|
|
2530
|
+
proto.UpdateCustomerSalesAreaRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2531
|
+
while (reader.nextField()) {
|
|
2532
|
+
if (reader.isEndGroup()) {
|
|
2533
|
+
break;
|
|
2534
|
+
}
|
|
2535
|
+
var field = reader.getFieldNumber();
|
|
2536
|
+
switch (field) {
|
|
2537
|
+
case 1:
|
|
2538
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2539
|
+
msg.setReferencesId(value);
|
|
2540
|
+
break;
|
|
2541
|
+
case 2:
|
|
2542
|
+
var value = new proto.BaseCustomerSalesAreaRequest;
|
|
2543
|
+
reader.readMessage(value,proto.BaseCustomerSalesAreaRequest.deserializeBinaryFromReader);
|
|
2544
|
+
msg.setBaseRequest(value);
|
|
2545
|
+
break;
|
|
2546
|
+
default:
|
|
2547
|
+
reader.skipField();
|
|
2548
|
+
break;
|
|
2549
|
+
}
|
|
2550
|
+
}
|
|
2551
|
+
return msg;
|
|
2552
|
+
};
|
|
2553
|
+
|
|
2554
|
+
|
|
2555
|
+
/**
|
|
2556
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2557
|
+
* @return {!Uint8Array}
|
|
2558
|
+
*/
|
|
2559
|
+
proto.UpdateCustomerSalesAreaRequest.prototype.serializeBinary = function() {
|
|
2560
|
+
var writer = new jspb.BinaryWriter();
|
|
2561
|
+
proto.UpdateCustomerSalesAreaRequest.serializeBinaryToWriter(this, writer);
|
|
2562
|
+
return writer.getResultBuffer();
|
|
2563
|
+
};
|
|
2564
|
+
|
|
2565
|
+
|
|
2566
|
+
/**
|
|
2567
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2568
|
+
* format), writing to the given BinaryWriter.
|
|
2569
|
+
* @param {!proto.UpdateCustomerSalesAreaRequest} message
|
|
2570
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2571
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2572
|
+
*/
|
|
2573
|
+
proto.UpdateCustomerSalesAreaRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2574
|
+
var f = undefined;
|
|
2575
|
+
f = message.getReferencesId();
|
|
2576
|
+
if (f.length > 0) {
|
|
2577
|
+
writer.writeString(
|
|
2578
|
+
1,
|
|
2579
|
+
f
|
|
2580
|
+
);
|
|
2581
|
+
}
|
|
2582
|
+
f = message.getBaseRequest();
|
|
2583
|
+
if (f != null) {
|
|
2584
|
+
writer.writeMessage(
|
|
2585
|
+
2,
|
|
2586
|
+
f,
|
|
2587
|
+
proto.BaseCustomerSalesAreaRequest.serializeBinaryToWriter
|
|
2588
|
+
);
|
|
2589
|
+
}
|
|
2590
|
+
};
|
|
2591
|
+
|
|
2592
|
+
|
|
2593
|
+
/**
|
|
2594
|
+
* optional string references_id = 1;
|
|
2595
|
+
* @return {string}
|
|
2596
|
+
*/
|
|
2597
|
+
proto.UpdateCustomerSalesAreaRequest.prototype.getReferencesId = function() {
|
|
2598
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2599
|
+
};
|
|
2600
|
+
|
|
2601
|
+
|
|
2602
|
+
/**
|
|
2603
|
+
* @param {string} value
|
|
2604
|
+
* @return {!proto.UpdateCustomerSalesAreaRequest} returns this
|
|
2605
|
+
*/
|
|
2606
|
+
proto.UpdateCustomerSalesAreaRequest.prototype.setReferencesId = function(value) {
|
|
2607
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2608
|
+
};
|
|
2609
|
+
|
|
2610
|
+
|
|
2611
|
+
/**
|
|
2612
|
+
* optional BaseCustomerSalesAreaRequest base_request = 2;
|
|
2613
|
+
* @return {?proto.BaseCustomerSalesAreaRequest}
|
|
2614
|
+
*/
|
|
2615
|
+
proto.UpdateCustomerSalesAreaRequest.prototype.getBaseRequest = function() {
|
|
2616
|
+
return /** @type{?proto.BaseCustomerSalesAreaRequest} */ (
|
|
2617
|
+
jspb.Message.getWrapperField(this, proto.BaseCustomerSalesAreaRequest, 2));
|
|
2618
|
+
};
|
|
2619
|
+
|
|
2620
|
+
|
|
2621
|
+
/**
|
|
2622
|
+
* @param {?proto.BaseCustomerSalesAreaRequest|undefined} value
|
|
2623
|
+
* @return {!proto.UpdateCustomerSalesAreaRequest} returns this
|
|
2624
|
+
*/
|
|
2625
|
+
proto.UpdateCustomerSalesAreaRequest.prototype.setBaseRequest = function(value) {
|
|
2626
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2627
|
+
};
|
|
2628
|
+
|
|
2629
|
+
|
|
2630
|
+
/**
|
|
2631
|
+
* Clears the message field making it undefined.
|
|
2632
|
+
* @return {!proto.UpdateCustomerSalesAreaRequest} returns this
|
|
2633
|
+
*/
|
|
2634
|
+
proto.UpdateCustomerSalesAreaRequest.prototype.clearBaseRequest = function() {
|
|
2635
|
+
return this.setBaseRequest(undefined);
|
|
2636
|
+
};
|
|
2637
|
+
|
|
2638
|
+
|
|
2639
|
+
/**
|
|
2640
|
+
* Returns whether this field is set.
|
|
2641
|
+
* @return {boolean}
|
|
2642
|
+
*/
|
|
2643
|
+
proto.UpdateCustomerSalesAreaRequest.prototype.hasBaseRequest = function() {
|
|
2644
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2645
|
+
};
|
|
2646
|
+
|
|
2647
|
+
|
|
2648
|
+
|
|
2649
|
+
/**
|
|
2650
|
+
* List of repeated fields within this message type.
|
|
2651
|
+
* @private {!Array<number>}
|
|
2652
|
+
* @const
|
|
2653
|
+
*/
|
|
2654
|
+
proto.DeleteCustomerSalesAreaRequest.repeatedFields_ = [1];
|
|
2655
|
+
|
|
2656
|
+
|
|
2657
|
+
|
|
2658
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2659
|
+
/**
|
|
2660
|
+
* Creates an object representation of this proto.
|
|
2661
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2662
|
+
* Optional fields that are not set will be set to undefined.
|
|
2663
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2664
|
+
* For the list of reserved names please see:
|
|
2665
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2666
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2667
|
+
* JSPB instance for transitional soy proto support:
|
|
2668
|
+
* http://goto/soy-param-migration
|
|
2669
|
+
* @return {!Object}
|
|
2670
|
+
*/
|
|
2671
|
+
proto.DeleteCustomerSalesAreaRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2672
|
+
return proto.DeleteCustomerSalesAreaRequest.toObject(opt_includeInstance, this);
|
|
2673
|
+
};
|
|
2674
|
+
|
|
2675
|
+
|
|
2676
|
+
/**
|
|
2677
|
+
* Static version of the {@see toObject} method.
|
|
2678
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2679
|
+
* the JSPB instance for transitional soy proto support:
|
|
2680
|
+
* http://goto/soy-param-migration
|
|
2681
|
+
* @param {!proto.DeleteCustomerSalesAreaRequest} msg The msg instance to transform.
|
|
2682
|
+
* @return {!Object}
|
|
2683
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2684
|
+
*/
|
|
2685
|
+
proto.DeleteCustomerSalesAreaRequest.toObject = function(includeInstance, msg) {
|
|
2686
|
+
var f, obj = {
|
|
2687
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
2688
|
+
};
|
|
2689
|
+
|
|
2690
|
+
if (includeInstance) {
|
|
2691
|
+
obj.$jspbMessageInstance = msg;
|
|
2692
|
+
}
|
|
2693
|
+
return obj;
|
|
2694
|
+
};
|
|
2695
|
+
}
|
|
2696
|
+
|
|
2697
|
+
|
|
2698
|
+
/**
|
|
2699
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2700
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2701
|
+
* @return {!proto.DeleteCustomerSalesAreaRequest}
|
|
2702
|
+
*/
|
|
2703
|
+
proto.DeleteCustomerSalesAreaRequest.deserializeBinary = function(bytes) {
|
|
2704
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2705
|
+
var msg = new proto.DeleteCustomerSalesAreaRequest;
|
|
2706
|
+
return proto.DeleteCustomerSalesAreaRequest.deserializeBinaryFromReader(msg, reader);
|
|
2707
|
+
};
|
|
2708
|
+
|
|
2709
|
+
|
|
2710
|
+
/**
|
|
2711
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2712
|
+
* given reader into the given message object.
|
|
2713
|
+
* @param {!proto.DeleteCustomerSalesAreaRequest} msg The message object to deserialize into.
|
|
2714
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2715
|
+
* @return {!proto.DeleteCustomerSalesAreaRequest}
|
|
2716
|
+
*/
|
|
2717
|
+
proto.DeleteCustomerSalesAreaRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2718
|
+
while (reader.nextField()) {
|
|
2719
|
+
if (reader.isEndGroup()) {
|
|
2720
|
+
break;
|
|
2721
|
+
}
|
|
2722
|
+
var field = reader.getFieldNumber();
|
|
2723
|
+
switch (field) {
|
|
2724
|
+
case 1:
|
|
2725
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2726
|
+
msg.addReferenceIds(value);
|
|
2727
|
+
break;
|
|
2728
|
+
default:
|
|
2729
|
+
reader.skipField();
|
|
2730
|
+
break;
|
|
2731
|
+
}
|
|
2732
|
+
}
|
|
2733
|
+
return msg;
|
|
2734
|
+
};
|
|
2735
|
+
|
|
2736
|
+
|
|
2737
|
+
/**
|
|
2738
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2739
|
+
* @return {!Uint8Array}
|
|
2740
|
+
*/
|
|
2741
|
+
proto.DeleteCustomerSalesAreaRequest.prototype.serializeBinary = function() {
|
|
2742
|
+
var writer = new jspb.BinaryWriter();
|
|
2743
|
+
proto.DeleteCustomerSalesAreaRequest.serializeBinaryToWriter(this, writer);
|
|
2744
|
+
return writer.getResultBuffer();
|
|
2745
|
+
};
|
|
2746
|
+
|
|
2747
|
+
|
|
2748
|
+
/**
|
|
2749
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2750
|
+
* format), writing to the given BinaryWriter.
|
|
2751
|
+
* @param {!proto.DeleteCustomerSalesAreaRequest} message
|
|
2752
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2753
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2754
|
+
*/
|
|
2755
|
+
proto.DeleteCustomerSalesAreaRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2756
|
+
var f = undefined;
|
|
2757
|
+
f = message.getReferenceIdsList();
|
|
2758
|
+
if (f.length > 0) {
|
|
2759
|
+
writer.writeRepeatedString(
|
|
2760
|
+
1,
|
|
2761
|
+
f
|
|
2762
|
+
);
|
|
2763
|
+
}
|
|
2764
|
+
};
|
|
2765
|
+
|
|
2766
|
+
|
|
2767
|
+
/**
|
|
2768
|
+
* repeated string reference_ids = 1;
|
|
2769
|
+
* @return {!Array<string>}
|
|
2770
|
+
*/
|
|
2771
|
+
proto.DeleteCustomerSalesAreaRequest.prototype.getReferenceIdsList = function() {
|
|
2772
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
2773
|
+
};
|
|
2774
|
+
|
|
2775
|
+
|
|
2776
|
+
/**
|
|
2777
|
+
* @param {!Array<string>} value
|
|
2778
|
+
* @return {!proto.DeleteCustomerSalesAreaRequest} returns this
|
|
2779
|
+
*/
|
|
2780
|
+
proto.DeleteCustomerSalesAreaRequest.prototype.setReferenceIdsList = function(value) {
|
|
2781
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
2782
|
+
};
|
|
2783
|
+
|
|
2784
|
+
|
|
2785
|
+
/**
|
|
2786
|
+
* @param {string} value
|
|
2787
|
+
* @param {number=} opt_index
|
|
2788
|
+
* @return {!proto.DeleteCustomerSalesAreaRequest} returns this
|
|
2789
|
+
*/
|
|
2790
|
+
proto.DeleteCustomerSalesAreaRequest.prototype.addReferenceIds = function(value, opt_index) {
|
|
2791
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
2792
|
+
};
|
|
2793
|
+
|
|
2794
|
+
|
|
2795
|
+
/**
|
|
2796
|
+
* Clears the list making it empty but non-null.
|
|
2797
|
+
* @return {!proto.DeleteCustomerSalesAreaRequest} returns this
|
|
2798
|
+
*/
|
|
2799
|
+
proto.DeleteCustomerSalesAreaRequest.prototype.clearReferenceIdsList = function() {
|
|
2800
|
+
return this.setReferenceIdsList([]);
|
|
2801
|
+
};
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
|
+
|
|
2805
|
+
|
|
2806
|
+
|
|
2807
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2808
|
+
/**
|
|
2809
|
+
* Creates an object representation of this proto.
|
|
2810
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2811
|
+
* Optional fields that are not set will be set to undefined.
|
|
2812
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2813
|
+
* For the list of reserved names please see:
|
|
2814
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2815
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2816
|
+
* JSPB instance for transitional soy proto support:
|
|
2817
|
+
* http://goto/soy-param-migration
|
|
2818
|
+
* @return {!Object}
|
|
2819
|
+
*/
|
|
2820
|
+
proto.GetListCustomerPartnerFunctionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2821
|
+
return proto.GetListCustomerPartnerFunctionRequest.toObject(opt_includeInstance, this);
|
|
2822
|
+
};
|
|
2823
|
+
|
|
2824
|
+
|
|
2825
|
+
/**
|
|
2826
|
+
* Static version of the {@see toObject} method.
|
|
2827
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2828
|
+
* the JSPB instance for transitional soy proto support:
|
|
2829
|
+
* http://goto/soy-param-migration
|
|
2830
|
+
* @param {!proto.GetListCustomerPartnerFunctionRequest} msg The msg instance to transform.
|
|
2831
|
+
* @return {!Object}
|
|
2832
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2833
|
+
*/
|
|
2834
|
+
proto.GetListCustomerPartnerFunctionRequest.toObject = function(includeInstance, msg) {
|
|
2835
|
+
var f, obj = {
|
|
2836
|
+
customerReferencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2837
|
+
salesAreaReferencesId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2838
|
+
};
|
|
2839
|
+
|
|
2840
|
+
if (includeInstance) {
|
|
2841
|
+
obj.$jspbMessageInstance = msg;
|
|
2842
|
+
}
|
|
2843
|
+
return obj;
|
|
2844
|
+
};
|
|
2845
|
+
}
|
|
2846
|
+
|
|
2847
|
+
|
|
2848
|
+
/**
|
|
2849
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2850
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2851
|
+
* @return {!proto.GetListCustomerPartnerFunctionRequest}
|
|
2852
|
+
*/
|
|
2853
|
+
proto.GetListCustomerPartnerFunctionRequest.deserializeBinary = function(bytes) {
|
|
2854
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2855
|
+
var msg = new proto.GetListCustomerPartnerFunctionRequest;
|
|
2856
|
+
return proto.GetListCustomerPartnerFunctionRequest.deserializeBinaryFromReader(msg, reader);
|
|
2857
|
+
};
|
|
2858
|
+
|
|
2859
|
+
|
|
2860
|
+
/**
|
|
2861
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2862
|
+
* given reader into the given message object.
|
|
2863
|
+
* @param {!proto.GetListCustomerPartnerFunctionRequest} msg The message object to deserialize into.
|
|
2864
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2865
|
+
* @return {!proto.GetListCustomerPartnerFunctionRequest}
|
|
2866
|
+
*/
|
|
2867
|
+
proto.GetListCustomerPartnerFunctionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2868
|
+
while (reader.nextField()) {
|
|
2869
|
+
if (reader.isEndGroup()) {
|
|
2870
|
+
break;
|
|
2871
|
+
}
|
|
2872
|
+
var field = reader.getFieldNumber();
|
|
2873
|
+
switch (field) {
|
|
2874
|
+
case 1:
|
|
2875
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2876
|
+
msg.setCustomerReferencesId(value);
|
|
2877
|
+
break;
|
|
2878
|
+
case 2:
|
|
2879
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2880
|
+
msg.setSalesAreaReferencesId(value);
|
|
2881
|
+
break;
|
|
2882
|
+
default:
|
|
2883
|
+
reader.skipField();
|
|
2884
|
+
break;
|
|
2885
|
+
}
|
|
2886
|
+
}
|
|
2887
|
+
return msg;
|
|
2888
|
+
};
|
|
2889
|
+
|
|
2890
|
+
|
|
2891
|
+
/**
|
|
2892
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2893
|
+
* @return {!Uint8Array}
|
|
2894
|
+
*/
|
|
2895
|
+
proto.GetListCustomerPartnerFunctionRequest.prototype.serializeBinary = function() {
|
|
2896
|
+
var writer = new jspb.BinaryWriter();
|
|
2897
|
+
proto.GetListCustomerPartnerFunctionRequest.serializeBinaryToWriter(this, writer);
|
|
2898
|
+
return writer.getResultBuffer();
|
|
2899
|
+
};
|
|
2900
|
+
|
|
2901
|
+
|
|
2902
|
+
/**
|
|
2903
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2904
|
+
* format), writing to the given BinaryWriter.
|
|
2905
|
+
* @param {!proto.GetListCustomerPartnerFunctionRequest} message
|
|
2906
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2907
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2908
|
+
*/
|
|
2909
|
+
proto.GetListCustomerPartnerFunctionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2910
|
+
var f = undefined;
|
|
2911
|
+
f = message.getCustomerReferencesId();
|
|
2912
|
+
if (f.length > 0) {
|
|
2913
|
+
writer.writeString(
|
|
2914
|
+
1,
|
|
2915
|
+
f
|
|
2916
|
+
);
|
|
2917
|
+
}
|
|
2918
|
+
f = message.getSalesAreaReferencesId();
|
|
2919
|
+
if (f.length > 0) {
|
|
2920
|
+
writer.writeString(
|
|
2921
|
+
2,
|
|
2922
|
+
f
|
|
2923
|
+
);
|
|
2924
|
+
}
|
|
2925
|
+
};
|
|
2926
|
+
|
|
2927
|
+
|
|
2928
|
+
/**
|
|
2929
|
+
* optional string customer_references_id = 1;
|
|
2930
|
+
* @return {string}
|
|
2931
|
+
*/
|
|
2932
|
+
proto.GetListCustomerPartnerFunctionRequest.prototype.getCustomerReferencesId = function() {
|
|
2933
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2934
|
+
};
|
|
2935
|
+
|
|
2936
|
+
|
|
2937
|
+
/**
|
|
2938
|
+
* @param {string} value
|
|
2939
|
+
* @return {!proto.GetListCustomerPartnerFunctionRequest} returns this
|
|
2940
|
+
*/
|
|
2941
|
+
proto.GetListCustomerPartnerFunctionRequest.prototype.setCustomerReferencesId = function(value) {
|
|
2942
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2943
|
+
};
|
|
2944
|
+
|
|
2945
|
+
|
|
2946
|
+
/**
|
|
2947
|
+
* optional string sales_area_references_id = 2;
|
|
2948
|
+
* @return {string}
|
|
2949
|
+
*/
|
|
2950
|
+
proto.GetListCustomerPartnerFunctionRequest.prototype.getSalesAreaReferencesId = function() {
|
|
2951
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2952
|
+
};
|
|
2953
|
+
|
|
2954
|
+
|
|
2955
|
+
/**
|
|
2956
|
+
* @param {string} value
|
|
2957
|
+
* @return {!proto.GetListCustomerPartnerFunctionRequest} returns this
|
|
2958
|
+
*/
|
|
2959
|
+
proto.GetListCustomerPartnerFunctionRequest.prototype.setSalesAreaReferencesId = function(value) {
|
|
2960
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2961
|
+
};
|
|
2962
|
+
|
|
2963
|
+
|
|
2964
|
+
|
|
2965
|
+
|
|
2966
|
+
|
|
2967
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2968
|
+
/**
|
|
2969
|
+
* Creates an object representation of this proto.
|
|
2970
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2971
|
+
* Optional fields that are not set will be set to undefined.
|
|
2972
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2973
|
+
* For the list of reserved names please see:
|
|
2974
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2975
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2976
|
+
* JSPB instance for transitional soy proto support:
|
|
2977
|
+
* http://goto/soy-param-migration
|
|
2978
|
+
* @return {!Object}
|
|
2979
|
+
*/
|
|
2980
|
+
proto.UpdateCustomerPartnerFunctionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2981
|
+
return proto.UpdateCustomerPartnerFunctionRequest.toObject(opt_includeInstance, this);
|
|
2982
|
+
};
|
|
2983
|
+
|
|
2984
|
+
|
|
2985
|
+
/**
|
|
2986
|
+
* Static version of the {@see toObject} method.
|
|
2987
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2988
|
+
* the JSPB instance for transitional soy proto support:
|
|
2989
|
+
* http://goto/soy-param-migration
|
|
2990
|
+
* @param {!proto.UpdateCustomerPartnerFunctionRequest} msg The msg instance to transform.
|
|
2991
|
+
* @return {!Object}
|
|
2992
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2993
|
+
*/
|
|
2994
|
+
proto.UpdateCustomerPartnerFunctionRequest.toObject = function(includeInstance, msg) {
|
|
2995
|
+
var f, obj = {
|
|
2996
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2997
|
+
partnerCustomerReferencesId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2998
|
+
};
|
|
2999
|
+
|
|
3000
|
+
if (includeInstance) {
|
|
3001
|
+
obj.$jspbMessageInstance = msg;
|
|
3002
|
+
}
|
|
3003
|
+
return obj;
|
|
3004
|
+
};
|
|
3005
|
+
}
|
|
3006
|
+
|
|
3007
|
+
|
|
3008
|
+
/**
|
|
3009
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3010
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3011
|
+
* @return {!proto.UpdateCustomerPartnerFunctionRequest}
|
|
3012
|
+
*/
|
|
3013
|
+
proto.UpdateCustomerPartnerFunctionRequest.deserializeBinary = function(bytes) {
|
|
3014
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3015
|
+
var msg = new proto.UpdateCustomerPartnerFunctionRequest;
|
|
3016
|
+
return proto.UpdateCustomerPartnerFunctionRequest.deserializeBinaryFromReader(msg, reader);
|
|
3017
|
+
};
|
|
3018
|
+
|
|
3019
|
+
|
|
3020
|
+
/**
|
|
3021
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3022
|
+
* given reader into the given message object.
|
|
3023
|
+
* @param {!proto.UpdateCustomerPartnerFunctionRequest} msg The message object to deserialize into.
|
|
3024
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3025
|
+
* @return {!proto.UpdateCustomerPartnerFunctionRequest}
|
|
3026
|
+
*/
|
|
3027
|
+
proto.UpdateCustomerPartnerFunctionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3028
|
+
while (reader.nextField()) {
|
|
3029
|
+
if (reader.isEndGroup()) {
|
|
3030
|
+
break;
|
|
3031
|
+
}
|
|
3032
|
+
var field = reader.getFieldNumber();
|
|
3033
|
+
switch (field) {
|
|
3034
|
+
case 1:
|
|
3035
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3036
|
+
msg.setReferencesId(value);
|
|
3037
|
+
break;
|
|
3038
|
+
case 2:
|
|
3039
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3040
|
+
msg.setPartnerCustomerReferencesId(value);
|
|
3041
|
+
break;
|
|
3042
|
+
default:
|
|
3043
|
+
reader.skipField();
|
|
3044
|
+
break;
|
|
3045
|
+
}
|
|
3046
|
+
}
|
|
3047
|
+
return msg;
|
|
3048
|
+
};
|
|
3049
|
+
|
|
3050
|
+
|
|
3051
|
+
/**
|
|
3052
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3053
|
+
* @return {!Uint8Array}
|
|
3054
|
+
*/
|
|
3055
|
+
proto.UpdateCustomerPartnerFunctionRequest.prototype.serializeBinary = function() {
|
|
3056
|
+
var writer = new jspb.BinaryWriter();
|
|
3057
|
+
proto.UpdateCustomerPartnerFunctionRequest.serializeBinaryToWriter(this, writer);
|
|
3058
|
+
return writer.getResultBuffer();
|
|
3059
|
+
};
|
|
3060
|
+
|
|
3061
|
+
|
|
3062
|
+
/**
|
|
3063
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3064
|
+
* format), writing to the given BinaryWriter.
|
|
3065
|
+
* @param {!proto.UpdateCustomerPartnerFunctionRequest} message
|
|
3066
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3067
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3068
|
+
*/
|
|
3069
|
+
proto.UpdateCustomerPartnerFunctionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3070
|
+
var f = undefined;
|
|
3071
|
+
f = message.getReferencesId();
|
|
3072
|
+
if (f.length > 0) {
|
|
3073
|
+
writer.writeString(
|
|
3074
|
+
1,
|
|
3075
|
+
f
|
|
3076
|
+
);
|
|
3077
|
+
}
|
|
3078
|
+
f = message.getPartnerCustomerReferencesId();
|
|
3079
|
+
if (f.length > 0) {
|
|
3080
|
+
writer.writeString(
|
|
3081
|
+
2,
|
|
3082
|
+
f
|
|
3083
|
+
);
|
|
3084
|
+
}
|
|
3085
|
+
};
|
|
3086
|
+
|
|
3087
|
+
|
|
3088
|
+
/**
|
|
3089
|
+
* optional string references_id = 1;
|
|
3090
|
+
* @return {string}
|
|
3091
|
+
*/
|
|
3092
|
+
proto.UpdateCustomerPartnerFunctionRequest.prototype.getReferencesId = function() {
|
|
3093
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3094
|
+
};
|
|
3095
|
+
|
|
3096
|
+
|
|
3097
|
+
/**
|
|
3098
|
+
* @param {string} value
|
|
3099
|
+
* @return {!proto.UpdateCustomerPartnerFunctionRequest} returns this
|
|
3100
|
+
*/
|
|
3101
|
+
proto.UpdateCustomerPartnerFunctionRequest.prototype.setReferencesId = function(value) {
|
|
3102
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3103
|
+
};
|
|
3104
|
+
|
|
3105
|
+
|
|
3106
|
+
/**
|
|
3107
|
+
* optional string partner_customer_references_id = 2;
|
|
3108
|
+
* @return {string}
|
|
3109
|
+
*/
|
|
3110
|
+
proto.UpdateCustomerPartnerFunctionRequest.prototype.getPartnerCustomerReferencesId = function() {
|
|
3111
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3112
|
+
};
|
|
3113
|
+
|
|
3114
|
+
|
|
3115
|
+
/**
|
|
3116
|
+
* @param {string} value
|
|
3117
|
+
* @return {!proto.UpdateCustomerPartnerFunctionRequest} returns this
|
|
3118
|
+
*/
|
|
3119
|
+
proto.UpdateCustomerPartnerFunctionRequest.prototype.setPartnerCustomerReferencesId = function(value) {
|
|
3120
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3121
|
+
};
|
|
3122
|
+
|
|
3123
|
+
|
|
3124
|
+
|
|
3125
|
+
/**
|
|
3126
|
+
* List of repeated fields within this message type.
|
|
3127
|
+
* @private {!Array<number>}
|
|
3128
|
+
* @const
|
|
3129
|
+
*/
|
|
3130
|
+
proto.CreateCustomerSalesAreaResponse.repeatedFields_ = [2];
|
|
3131
|
+
|
|
3132
|
+
|
|
3133
|
+
|
|
3134
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3135
|
+
/**
|
|
3136
|
+
* Creates an object representation of this proto.
|
|
3137
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3138
|
+
* Optional fields that are not set will be set to undefined.
|
|
3139
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3140
|
+
* For the list of reserved names please see:
|
|
3141
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3142
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3143
|
+
* JSPB instance for transitional soy proto support:
|
|
3144
|
+
* http://goto/soy-param-migration
|
|
3145
|
+
* @return {!Object}
|
|
3146
|
+
*/
|
|
3147
|
+
proto.CreateCustomerSalesAreaResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3148
|
+
return proto.CreateCustomerSalesAreaResponse.toObject(opt_includeInstance, this);
|
|
3149
|
+
};
|
|
3150
|
+
|
|
3151
|
+
|
|
3152
|
+
/**
|
|
3153
|
+
* Static version of the {@see toObject} method.
|
|
3154
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3155
|
+
* the JSPB instance for transitional soy proto support:
|
|
3156
|
+
* http://goto/soy-param-migration
|
|
3157
|
+
* @param {!proto.CreateCustomerSalesAreaResponse} msg The msg instance to transform.
|
|
3158
|
+
* @return {!Object}
|
|
3159
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3160
|
+
*/
|
|
3161
|
+
proto.CreateCustomerSalesAreaResponse.toObject = function(includeInstance, msg) {
|
|
3162
|
+
var f, obj = {
|
|
3163
|
+
customerSalesArea: (f = msg.getCustomerSalesArea()) && proto.CustomerSalesArea.toObject(includeInstance, f),
|
|
3164
|
+
partnerFunctionsList: jspb.Message.toObjectList(msg.getPartnerFunctionsList(),
|
|
3165
|
+
proto.CustomerPartnerFunction.toObject, includeInstance),
|
|
3166
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3167
|
+
};
|
|
3168
|
+
|
|
3169
|
+
if (includeInstance) {
|
|
3170
|
+
obj.$jspbMessageInstance = msg;
|
|
3171
|
+
}
|
|
3172
|
+
return obj;
|
|
3173
|
+
};
|
|
3174
|
+
}
|
|
3175
|
+
|
|
3176
|
+
|
|
3177
|
+
/**
|
|
3178
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3179
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3180
|
+
* @return {!proto.CreateCustomerSalesAreaResponse}
|
|
3181
|
+
*/
|
|
3182
|
+
proto.CreateCustomerSalesAreaResponse.deserializeBinary = function(bytes) {
|
|
3183
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3184
|
+
var msg = new proto.CreateCustomerSalesAreaResponse;
|
|
3185
|
+
return proto.CreateCustomerSalesAreaResponse.deserializeBinaryFromReader(msg, reader);
|
|
3186
|
+
};
|
|
3187
|
+
|
|
3188
|
+
|
|
3189
|
+
/**
|
|
3190
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3191
|
+
* given reader into the given message object.
|
|
3192
|
+
* @param {!proto.CreateCustomerSalesAreaResponse} msg The message object to deserialize into.
|
|
3193
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3194
|
+
* @return {!proto.CreateCustomerSalesAreaResponse}
|
|
3195
|
+
*/
|
|
3196
|
+
proto.CreateCustomerSalesAreaResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3197
|
+
while (reader.nextField()) {
|
|
3198
|
+
if (reader.isEndGroup()) {
|
|
3199
|
+
break;
|
|
3200
|
+
}
|
|
3201
|
+
var field = reader.getFieldNumber();
|
|
3202
|
+
switch (field) {
|
|
3203
|
+
case 1:
|
|
3204
|
+
var value = new proto.CustomerSalesArea;
|
|
3205
|
+
reader.readMessage(value,proto.CustomerSalesArea.deserializeBinaryFromReader);
|
|
3206
|
+
msg.setCustomerSalesArea(value);
|
|
3207
|
+
break;
|
|
3208
|
+
case 2:
|
|
3209
|
+
var value = new proto.CustomerPartnerFunction;
|
|
3210
|
+
reader.readMessage(value,proto.CustomerPartnerFunction.deserializeBinaryFromReader);
|
|
3211
|
+
msg.addPartnerFunctions(value);
|
|
3212
|
+
break;
|
|
3213
|
+
case 3:
|
|
3214
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
3215
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
3216
|
+
msg.setMeta(value);
|
|
3217
|
+
break;
|
|
3218
|
+
default:
|
|
3219
|
+
reader.skipField();
|
|
3220
|
+
break;
|
|
3221
|
+
}
|
|
3222
|
+
}
|
|
3223
|
+
return msg;
|
|
3224
|
+
};
|
|
3225
|
+
|
|
3226
|
+
|
|
3227
|
+
/**
|
|
3228
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3229
|
+
* @return {!Uint8Array}
|
|
3230
|
+
*/
|
|
3231
|
+
proto.CreateCustomerSalesAreaResponse.prototype.serializeBinary = function() {
|
|
3232
|
+
var writer = new jspb.BinaryWriter();
|
|
3233
|
+
proto.CreateCustomerSalesAreaResponse.serializeBinaryToWriter(this, writer);
|
|
3234
|
+
return writer.getResultBuffer();
|
|
3235
|
+
};
|
|
3236
|
+
|
|
3237
|
+
|
|
3238
|
+
/**
|
|
3239
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3240
|
+
* format), writing to the given BinaryWriter.
|
|
3241
|
+
* @param {!proto.CreateCustomerSalesAreaResponse} message
|
|
3242
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3243
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3244
|
+
*/
|
|
3245
|
+
proto.CreateCustomerSalesAreaResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3246
|
+
var f = undefined;
|
|
3247
|
+
f = message.getCustomerSalesArea();
|
|
3248
|
+
if (f != null) {
|
|
3249
|
+
writer.writeMessage(
|
|
3250
|
+
1,
|
|
3251
|
+
f,
|
|
3252
|
+
proto.CustomerSalesArea.serializeBinaryToWriter
|
|
3253
|
+
);
|
|
3254
|
+
}
|
|
3255
|
+
f = message.getPartnerFunctionsList();
|
|
3256
|
+
if (f.length > 0) {
|
|
3257
|
+
writer.writeRepeatedMessage(
|
|
3258
|
+
2,
|
|
3259
|
+
f,
|
|
3260
|
+
proto.CustomerPartnerFunction.serializeBinaryToWriter
|
|
3261
|
+
);
|
|
3262
|
+
}
|
|
3263
|
+
f = message.getMeta();
|
|
3264
|
+
if (f != null) {
|
|
3265
|
+
writer.writeMessage(
|
|
3266
|
+
3,
|
|
3267
|
+
f,
|
|
3268
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
3269
|
+
);
|
|
3270
|
+
}
|
|
3271
|
+
};
|
|
3272
|
+
|
|
3273
|
+
|
|
3274
|
+
/**
|
|
3275
|
+
* optional CustomerSalesArea customer_sales_area = 1;
|
|
3276
|
+
* @return {?proto.CustomerSalesArea}
|
|
3277
|
+
*/
|
|
3278
|
+
proto.CreateCustomerSalesAreaResponse.prototype.getCustomerSalesArea = function() {
|
|
3279
|
+
return /** @type{?proto.CustomerSalesArea} */ (
|
|
3280
|
+
jspb.Message.getWrapperField(this, proto.CustomerSalesArea, 1));
|
|
3281
|
+
};
|
|
3282
|
+
|
|
3283
|
+
|
|
3284
|
+
/**
|
|
3285
|
+
* @param {?proto.CustomerSalesArea|undefined} value
|
|
3286
|
+
* @return {!proto.CreateCustomerSalesAreaResponse} returns this
|
|
3287
|
+
*/
|
|
3288
|
+
proto.CreateCustomerSalesAreaResponse.prototype.setCustomerSalesArea = function(value) {
|
|
3289
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
3290
|
+
};
|
|
3291
|
+
|
|
3292
|
+
|
|
3293
|
+
/**
|
|
3294
|
+
* Clears the message field making it undefined.
|
|
3295
|
+
* @return {!proto.CreateCustomerSalesAreaResponse} returns this
|
|
3296
|
+
*/
|
|
3297
|
+
proto.CreateCustomerSalesAreaResponse.prototype.clearCustomerSalesArea = function() {
|
|
3298
|
+
return this.setCustomerSalesArea(undefined);
|
|
3299
|
+
};
|
|
3300
|
+
|
|
3301
|
+
|
|
3302
|
+
/**
|
|
3303
|
+
* Returns whether this field is set.
|
|
3304
|
+
* @return {boolean}
|
|
3305
|
+
*/
|
|
3306
|
+
proto.CreateCustomerSalesAreaResponse.prototype.hasCustomerSalesArea = function() {
|
|
3307
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3308
|
+
};
|
|
3309
|
+
|
|
3310
|
+
|
|
3311
|
+
/**
|
|
3312
|
+
* repeated CustomerPartnerFunction partner_functions = 2;
|
|
3313
|
+
* @return {!Array<!proto.CustomerPartnerFunction>}
|
|
3314
|
+
*/
|
|
3315
|
+
proto.CreateCustomerSalesAreaResponse.prototype.getPartnerFunctionsList = function() {
|
|
3316
|
+
return /** @type{!Array<!proto.CustomerPartnerFunction>} */ (
|
|
3317
|
+
jspb.Message.getRepeatedWrapperField(this, proto.CustomerPartnerFunction, 2));
|
|
3318
|
+
};
|
|
3319
|
+
|
|
3320
|
+
|
|
3321
|
+
/**
|
|
3322
|
+
* @param {!Array<!proto.CustomerPartnerFunction>} value
|
|
3323
|
+
* @return {!proto.CreateCustomerSalesAreaResponse} returns this
|
|
3324
|
+
*/
|
|
3325
|
+
proto.CreateCustomerSalesAreaResponse.prototype.setPartnerFunctionsList = function(value) {
|
|
3326
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
3327
|
+
};
|
|
3328
|
+
|
|
3329
|
+
|
|
3330
|
+
/**
|
|
3331
|
+
* @param {!proto.CustomerPartnerFunction=} opt_value
|
|
3332
|
+
* @param {number=} opt_index
|
|
3333
|
+
* @return {!proto.CustomerPartnerFunction}
|
|
3334
|
+
*/
|
|
3335
|
+
proto.CreateCustomerSalesAreaResponse.prototype.addPartnerFunctions = function(opt_value, opt_index) {
|
|
3336
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.CustomerPartnerFunction, opt_index);
|
|
3337
|
+
};
|
|
3338
|
+
|
|
3339
|
+
|
|
3340
|
+
/**
|
|
3341
|
+
* Clears the list making it empty but non-null.
|
|
3342
|
+
* @return {!proto.CreateCustomerSalesAreaResponse} returns this
|
|
3343
|
+
*/
|
|
3344
|
+
proto.CreateCustomerSalesAreaResponse.prototype.clearPartnerFunctionsList = function() {
|
|
3345
|
+
return this.setPartnerFunctionsList([]);
|
|
3346
|
+
};
|
|
3347
|
+
|
|
3348
|
+
|
|
3349
|
+
/**
|
|
3350
|
+
* optional prisca.v1.global.meta.Meta meta = 3;
|
|
3351
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
3352
|
+
*/
|
|
3353
|
+
proto.CreateCustomerSalesAreaResponse.prototype.getMeta = function() {
|
|
3354
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
3355
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 3));
|
|
3356
|
+
};
|
|
3357
|
+
|
|
3358
|
+
|
|
3359
|
+
/**
|
|
3360
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
3361
|
+
* @return {!proto.CreateCustomerSalesAreaResponse} returns this
|
|
3362
|
+
*/
|
|
3363
|
+
proto.CreateCustomerSalesAreaResponse.prototype.setMeta = function(value) {
|
|
3364
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
3365
|
+
};
|
|
3366
|
+
|
|
3367
|
+
|
|
3368
|
+
/**
|
|
3369
|
+
* Clears the message field making it undefined.
|
|
3370
|
+
* @return {!proto.CreateCustomerSalesAreaResponse} returns this
|
|
3371
|
+
*/
|
|
3372
|
+
proto.CreateCustomerSalesAreaResponse.prototype.clearMeta = function() {
|
|
3373
|
+
return this.setMeta(undefined);
|
|
3374
|
+
};
|
|
3375
|
+
|
|
3376
|
+
|
|
3377
|
+
/**
|
|
3378
|
+
* Returns whether this field is set.
|
|
3379
|
+
* @return {boolean}
|
|
3380
|
+
*/
|
|
3381
|
+
proto.CreateCustomerSalesAreaResponse.prototype.hasMeta = function() {
|
|
3382
|
+
return jspb.Message.getField(this, 3) != null;
|
|
3383
|
+
};
|
|
3384
|
+
|
|
3385
|
+
|
|
3386
|
+
|
|
3387
|
+
|
|
3388
|
+
|
|
3389
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3390
|
+
/**
|
|
3391
|
+
* Creates an object representation of this proto.
|
|
3392
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3393
|
+
* Optional fields that are not set will be set to undefined.
|
|
3394
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3395
|
+
* For the list of reserved names please see:
|
|
3396
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3397
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3398
|
+
* JSPB instance for transitional soy proto support:
|
|
3399
|
+
* http://goto/soy-param-migration
|
|
3400
|
+
* @return {!Object}
|
|
3401
|
+
*/
|
|
3402
|
+
proto.UpdateCustomerSalesAreaResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3403
|
+
return proto.UpdateCustomerSalesAreaResponse.toObject(opt_includeInstance, this);
|
|
3404
|
+
};
|
|
3405
|
+
|
|
3406
|
+
|
|
3407
|
+
/**
|
|
3408
|
+
* Static version of the {@see toObject} method.
|
|
3409
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3410
|
+
* the JSPB instance for transitional soy proto support:
|
|
3411
|
+
* http://goto/soy-param-migration
|
|
3412
|
+
* @param {!proto.UpdateCustomerSalesAreaResponse} msg The msg instance to transform.
|
|
3413
|
+
* @return {!Object}
|
|
3414
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3415
|
+
*/
|
|
3416
|
+
proto.UpdateCustomerSalesAreaResponse.toObject = function(includeInstance, msg) {
|
|
3417
|
+
var f, obj = {
|
|
3418
|
+
customerSalesArea: (f = msg.getCustomerSalesArea()) && proto.CustomerSalesArea.toObject(includeInstance, f),
|
|
3419
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3420
|
+
};
|
|
3421
|
+
|
|
3422
|
+
if (includeInstance) {
|
|
3423
|
+
obj.$jspbMessageInstance = msg;
|
|
3424
|
+
}
|
|
3425
|
+
return obj;
|
|
3426
|
+
};
|
|
3427
|
+
}
|
|
3428
|
+
|
|
3429
|
+
|
|
3430
|
+
/**
|
|
3431
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3432
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3433
|
+
* @return {!proto.UpdateCustomerSalesAreaResponse}
|
|
3434
|
+
*/
|
|
3435
|
+
proto.UpdateCustomerSalesAreaResponse.deserializeBinary = function(bytes) {
|
|
3436
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3437
|
+
var msg = new proto.UpdateCustomerSalesAreaResponse;
|
|
3438
|
+
return proto.UpdateCustomerSalesAreaResponse.deserializeBinaryFromReader(msg, reader);
|
|
3439
|
+
};
|
|
3440
|
+
|
|
3441
|
+
|
|
3442
|
+
/**
|
|
3443
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3444
|
+
* given reader into the given message object.
|
|
3445
|
+
* @param {!proto.UpdateCustomerSalesAreaResponse} msg The message object to deserialize into.
|
|
3446
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3447
|
+
* @return {!proto.UpdateCustomerSalesAreaResponse}
|
|
3448
|
+
*/
|
|
3449
|
+
proto.UpdateCustomerSalesAreaResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3450
|
+
while (reader.nextField()) {
|
|
3451
|
+
if (reader.isEndGroup()) {
|
|
3452
|
+
break;
|
|
3453
|
+
}
|
|
3454
|
+
var field = reader.getFieldNumber();
|
|
3455
|
+
switch (field) {
|
|
3456
|
+
case 1:
|
|
3457
|
+
var value = new proto.CustomerSalesArea;
|
|
3458
|
+
reader.readMessage(value,proto.CustomerSalesArea.deserializeBinaryFromReader);
|
|
3459
|
+
msg.setCustomerSalesArea(value);
|
|
3460
|
+
break;
|
|
3461
|
+
case 2:
|
|
3462
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
3463
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
3464
|
+
msg.setMeta(value);
|
|
3465
|
+
break;
|
|
3466
|
+
default:
|
|
3467
|
+
reader.skipField();
|
|
3468
|
+
break;
|
|
3469
|
+
}
|
|
3470
|
+
}
|
|
3471
|
+
return msg;
|
|
3472
|
+
};
|
|
3473
|
+
|
|
3474
|
+
|
|
3475
|
+
/**
|
|
3476
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3477
|
+
* @return {!Uint8Array}
|
|
3478
|
+
*/
|
|
3479
|
+
proto.UpdateCustomerSalesAreaResponse.prototype.serializeBinary = function() {
|
|
3480
|
+
var writer = new jspb.BinaryWriter();
|
|
3481
|
+
proto.UpdateCustomerSalesAreaResponse.serializeBinaryToWriter(this, writer);
|
|
3482
|
+
return writer.getResultBuffer();
|
|
3483
|
+
};
|
|
3484
|
+
|
|
3485
|
+
|
|
3486
|
+
/**
|
|
3487
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3488
|
+
* format), writing to the given BinaryWriter.
|
|
3489
|
+
* @param {!proto.UpdateCustomerSalesAreaResponse} message
|
|
3490
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3491
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3492
|
+
*/
|
|
3493
|
+
proto.UpdateCustomerSalesAreaResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3494
|
+
var f = undefined;
|
|
3495
|
+
f = message.getCustomerSalesArea();
|
|
3496
|
+
if (f != null) {
|
|
3497
|
+
writer.writeMessage(
|
|
3498
|
+
1,
|
|
3499
|
+
f,
|
|
3500
|
+
proto.CustomerSalesArea.serializeBinaryToWriter
|
|
3501
|
+
);
|
|
3502
|
+
}
|
|
3503
|
+
f = message.getMeta();
|
|
3504
|
+
if (f != null) {
|
|
3505
|
+
writer.writeMessage(
|
|
3506
|
+
2,
|
|
3507
|
+
f,
|
|
3508
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
3509
|
+
);
|
|
3510
|
+
}
|
|
3511
|
+
};
|
|
3512
|
+
|
|
3513
|
+
|
|
3514
|
+
/**
|
|
3515
|
+
* optional CustomerSalesArea customer_sales_area = 1;
|
|
3516
|
+
* @return {?proto.CustomerSalesArea}
|
|
3517
|
+
*/
|
|
3518
|
+
proto.UpdateCustomerSalesAreaResponse.prototype.getCustomerSalesArea = function() {
|
|
3519
|
+
return /** @type{?proto.CustomerSalesArea} */ (
|
|
3520
|
+
jspb.Message.getWrapperField(this, proto.CustomerSalesArea, 1));
|
|
3521
|
+
};
|
|
3522
|
+
|
|
3523
|
+
|
|
3524
|
+
/**
|
|
3525
|
+
* @param {?proto.CustomerSalesArea|undefined} value
|
|
3526
|
+
* @return {!proto.UpdateCustomerSalesAreaResponse} returns this
|
|
3527
|
+
*/
|
|
3528
|
+
proto.UpdateCustomerSalesAreaResponse.prototype.setCustomerSalesArea = function(value) {
|
|
3529
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
3530
|
+
};
|
|
3531
|
+
|
|
3532
|
+
|
|
3533
|
+
/**
|
|
3534
|
+
* Clears the message field making it undefined.
|
|
3535
|
+
* @return {!proto.UpdateCustomerSalesAreaResponse} returns this
|
|
3536
|
+
*/
|
|
3537
|
+
proto.UpdateCustomerSalesAreaResponse.prototype.clearCustomerSalesArea = function() {
|
|
3538
|
+
return this.setCustomerSalesArea(undefined);
|
|
3539
|
+
};
|
|
3540
|
+
|
|
3541
|
+
|
|
3542
|
+
/**
|
|
3543
|
+
* Returns whether this field is set.
|
|
3544
|
+
* @return {boolean}
|
|
3545
|
+
*/
|
|
3546
|
+
proto.UpdateCustomerSalesAreaResponse.prototype.hasCustomerSalesArea = function() {
|
|
3547
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3548
|
+
};
|
|
3549
|
+
|
|
3550
|
+
|
|
3551
|
+
/**
|
|
3552
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
3553
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
3554
|
+
*/
|
|
3555
|
+
proto.UpdateCustomerSalesAreaResponse.prototype.getMeta = function() {
|
|
3556
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
3557
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
3558
|
+
};
|
|
3559
|
+
|
|
3560
|
+
|
|
3561
|
+
/**
|
|
3562
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
3563
|
+
* @return {!proto.UpdateCustomerSalesAreaResponse} returns this
|
|
3564
|
+
*/
|
|
3565
|
+
proto.UpdateCustomerSalesAreaResponse.prototype.setMeta = function(value) {
|
|
3566
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
3567
|
+
};
|
|
3568
|
+
|
|
3569
|
+
|
|
3570
|
+
/**
|
|
3571
|
+
* Clears the message field making it undefined.
|
|
3572
|
+
* @return {!proto.UpdateCustomerSalesAreaResponse} returns this
|
|
3573
|
+
*/
|
|
3574
|
+
proto.UpdateCustomerSalesAreaResponse.prototype.clearMeta = function() {
|
|
3575
|
+
return this.setMeta(undefined);
|
|
3576
|
+
};
|
|
3577
|
+
|
|
3578
|
+
|
|
3579
|
+
/**
|
|
3580
|
+
* Returns whether this field is set.
|
|
3581
|
+
* @return {boolean}
|
|
3582
|
+
*/
|
|
3583
|
+
proto.UpdateCustomerSalesAreaResponse.prototype.hasMeta = function() {
|
|
3584
|
+
return jspb.Message.getField(this, 2) != null;
|
|
3585
|
+
};
|
|
3586
|
+
|
|
3587
|
+
|
|
3588
|
+
|
|
3589
|
+
/**
|
|
3590
|
+
* List of repeated fields within this message type.
|
|
3591
|
+
* @private {!Array<number>}
|
|
3592
|
+
* @const
|
|
3593
|
+
*/
|
|
3594
|
+
proto.GetCustomerSalesAreaByIdResponse.repeatedFields_ = [2];
|
|
3595
|
+
|
|
3596
|
+
|
|
3597
|
+
|
|
3598
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3599
|
+
/**
|
|
3600
|
+
* Creates an object representation of this proto.
|
|
3601
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3602
|
+
* Optional fields that are not set will be set to undefined.
|
|
3603
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3604
|
+
* For the list of reserved names please see:
|
|
3605
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3606
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3607
|
+
* JSPB instance for transitional soy proto support:
|
|
3608
|
+
* http://goto/soy-param-migration
|
|
3609
|
+
* @return {!Object}
|
|
3610
|
+
*/
|
|
3611
|
+
proto.GetCustomerSalesAreaByIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3612
|
+
return proto.GetCustomerSalesAreaByIdResponse.toObject(opt_includeInstance, this);
|
|
3613
|
+
};
|
|
3614
|
+
|
|
3615
|
+
|
|
3616
|
+
/**
|
|
3617
|
+
* Static version of the {@see toObject} method.
|
|
3618
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3619
|
+
* the JSPB instance for transitional soy proto support:
|
|
3620
|
+
* http://goto/soy-param-migration
|
|
3621
|
+
* @param {!proto.GetCustomerSalesAreaByIdResponse} msg The msg instance to transform.
|
|
3622
|
+
* @return {!Object}
|
|
3623
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3624
|
+
*/
|
|
3625
|
+
proto.GetCustomerSalesAreaByIdResponse.toObject = function(includeInstance, msg) {
|
|
3626
|
+
var f, obj = {
|
|
3627
|
+
customerSalesArea: (f = msg.getCustomerSalesArea()) && proto.CustomerSalesArea.toObject(includeInstance, f),
|
|
3628
|
+
partnerFunctionsList: jspb.Message.toObjectList(msg.getPartnerFunctionsList(),
|
|
3629
|
+
proto.CustomerPartnerFunction.toObject, includeInstance),
|
|
3630
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3631
|
+
};
|
|
3632
|
+
|
|
3633
|
+
if (includeInstance) {
|
|
3634
|
+
obj.$jspbMessageInstance = msg;
|
|
3635
|
+
}
|
|
3636
|
+
return obj;
|
|
3637
|
+
};
|
|
3638
|
+
}
|
|
3639
|
+
|
|
3640
|
+
|
|
3641
|
+
/**
|
|
3642
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3643
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3644
|
+
* @return {!proto.GetCustomerSalesAreaByIdResponse}
|
|
3645
|
+
*/
|
|
3646
|
+
proto.GetCustomerSalesAreaByIdResponse.deserializeBinary = function(bytes) {
|
|
3647
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3648
|
+
var msg = new proto.GetCustomerSalesAreaByIdResponse;
|
|
3649
|
+
return proto.GetCustomerSalesAreaByIdResponse.deserializeBinaryFromReader(msg, reader);
|
|
3650
|
+
};
|
|
3651
|
+
|
|
3652
|
+
|
|
3653
|
+
/**
|
|
3654
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3655
|
+
* given reader into the given message object.
|
|
3656
|
+
* @param {!proto.GetCustomerSalesAreaByIdResponse} msg The message object to deserialize into.
|
|
3657
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3658
|
+
* @return {!proto.GetCustomerSalesAreaByIdResponse}
|
|
3659
|
+
*/
|
|
3660
|
+
proto.GetCustomerSalesAreaByIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3661
|
+
while (reader.nextField()) {
|
|
3662
|
+
if (reader.isEndGroup()) {
|
|
3663
|
+
break;
|
|
3664
|
+
}
|
|
3665
|
+
var field = reader.getFieldNumber();
|
|
3666
|
+
switch (field) {
|
|
3667
|
+
case 1:
|
|
3668
|
+
var value = new proto.CustomerSalesArea;
|
|
3669
|
+
reader.readMessage(value,proto.CustomerSalesArea.deserializeBinaryFromReader);
|
|
3670
|
+
msg.setCustomerSalesArea(value);
|
|
3671
|
+
break;
|
|
3672
|
+
case 2:
|
|
3673
|
+
var value = new proto.CustomerPartnerFunction;
|
|
3674
|
+
reader.readMessage(value,proto.CustomerPartnerFunction.deserializeBinaryFromReader);
|
|
3675
|
+
msg.addPartnerFunctions(value);
|
|
3676
|
+
break;
|
|
3677
|
+
case 3:
|
|
3678
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
3679
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
3680
|
+
msg.setMeta(value);
|
|
3681
|
+
break;
|
|
3682
|
+
default:
|
|
3683
|
+
reader.skipField();
|
|
3684
|
+
break;
|
|
3685
|
+
}
|
|
3686
|
+
}
|
|
3687
|
+
return msg;
|
|
3688
|
+
};
|
|
3689
|
+
|
|
3690
|
+
|
|
3691
|
+
/**
|
|
3692
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3693
|
+
* @return {!Uint8Array}
|
|
3694
|
+
*/
|
|
3695
|
+
proto.GetCustomerSalesAreaByIdResponse.prototype.serializeBinary = function() {
|
|
3696
|
+
var writer = new jspb.BinaryWriter();
|
|
3697
|
+
proto.GetCustomerSalesAreaByIdResponse.serializeBinaryToWriter(this, writer);
|
|
3698
|
+
return writer.getResultBuffer();
|
|
3699
|
+
};
|
|
3700
|
+
|
|
3701
|
+
|
|
3702
|
+
/**
|
|
3703
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3704
|
+
* format), writing to the given BinaryWriter.
|
|
3705
|
+
* @param {!proto.GetCustomerSalesAreaByIdResponse} message
|
|
3706
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3707
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3708
|
+
*/
|
|
3709
|
+
proto.GetCustomerSalesAreaByIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3710
|
+
var f = undefined;
|
|
3711
|
+
f = message.getCustomerSalesArea();
|
|
3712
|
+
if (f != null) {
|
|
3713
|
+
writer.writeMessage(
|
|
3714
|
+
1,
|
|
3715
|
+
f,
|
|
3716
|
+
proto.CustomerSalesArea.serializeBinaryToWriter
|
|
3717
|
+
);
|
|
3718
|
+
}
|
|
3719
|
+
f = message.getPartnerFunctionsList();
|
|
3720
|
+
if (f.length > 0) {
|
|
3721
|
+
writer.writeRepeatedMessage(
|
|
3722
|
+
2,
|
|
3723
|
+
f,
|
|
3724
|
+
proto.CustomerPartnerFunction.serializeBinaryToWriter
|
|
3725
|
+
);
|
|
3726
|
+
}
|
|
3727
|
+
f = message.getMeta();
|
|
3728
|
+
if (f != null) {
|
|
3729
|
+
writer.writeMessage(
|
|
3730
|
+
3,
|
|
3731
|
+
f,
|
|
3732
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
3733
|
+
);
|
|
3734
|
+
}
|
|
3735
|
+
};
|
|
3736
|
+
|
|
3737
|
+
|
|
3738
|
+
/**
|
|
3739
|
+
* optional CustomerSalesArea customer_sales_area = 1;
|
|
3740
|
+
* @return {?proto.CustomerSalesArea}
|
|
3741
|
+
*/
|
|
3742
|
+
proto.GetCustomerSalesAreaByIdResponse.prototype.getCustomerSalesArea = function() {
|
|
3743
|
+
return /** @type{?proto.CustomerSalesArea} */ (
|
|
3744
|
+
jspb.Message.getWrapperField(this, proto.CustomerSalesArea, 1));
|
|
3745
|
+
};
|
|
3746
|
+
|
|
3747
|
+
|
|
3748
|
+
/**
|
|
3749
|
+
* @param {?proto.CustomerSalesArea|undefined} value
|
|
3750
|
+
* @return {!proto.GetCustomerSalesAreaByIdResponse} returns this
|
|
3751
|
+
*/
|
|
3752
|
+
proto.GetCustomerSalesAreaByIdResponse.prototype.setCustomerSalesArea = function(value) {
|
|
3753
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
3754
|
+
};
|
|
3755
|
+
|
|
3756
|
+
|
|
3757
|
+
/**
|
|
3758
|
+
* Clears the message field making it undefined.
|
|
3759
|
+
* @return {!proto.GetCustomerSalesAreaByIdResponse} returns this
|
|
3760
|
+
*/
|
|
3761
|
+
proto.GetCustomerSalesAreaByIdResponse.prototype.clearCustomerSalesArea = function() {
|
|
3762
|
+
return this.setCustomerSalesArea(undefined);
|
|
3763
|
+
};
|
|
3764
|
+
|
|
3765
|
+
|
|
3766
|
+
/**
|
|
3767
|
+
* Returns whether this field is set.
|
|
3768
|
+
* @return {boolean}
|
|
3769
|
+
*/
|
|
3770
|
+
proto.GetCustomerSalesAreaByIdResponse.prototype.hasCustomerSalesArea = function() {
|
|
3771
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3772
|
+
};
|
|
3773
|
+
|
|
3774
|
+
|
|
3775
|
+
/**
|
|
3776
|
+
* repeated CustomerPartnerFunction partner_functions = 2;
|
|
3777
|
+
* @return {!Array<!proto.CustomerPartnerFunction>}
|
|
3778
|
+
*/
|
|
3779
|
+
proto.GetCustomerSalesAreaByIdResponse.prototype.getPartnerFunctionsList = function() {
|
|
3780
|
+
return /** @type{!Array<!proto.CustomerPartnerFunction>} */ (
|
|
3781
|
+
jspb.Message.getRepeatedWrapperField(this, proto.CustomerPartnerFunction, 2));
|
|
3782
|
+
};
|
|
3783
|
+
|
|
3784
|
+
|
|
3785
|
+
/**
|
|
3786
|
+
* @param {!Array<!proto.CustomerPartnerFunction>} value
|
|
3787
|
+
* @return {!proto.GetCustomerSalesAreaByIdResponse} returns this
|
|
3788
|
+
*/
|
|
3789
|
+
proto.GetCustomerSalesAreaByIdResponse.prototype.setPartnerFunctionsList = function(value) {
|
|
3790
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
3791
|
+
};
|
|
3792
|
+
|
|
3793
|
+
|
|
3794
|
+
/**
|
|
3795
|
+
* @param {!proto.CustomerPartnerFunction=} opt_value
|
|
3796
|
+
* @param {number=} opt_index
|
|
3797
|
+
* @return {!proto.CustomerPartnerFunction}
|
|
3798
|
+
*/
|
|
3799
|
+
proto.GetCustomerSalesAreaByIdResponse.prototype.addPartnerFunctions = function(opt_value, opt_index) {
|
|
3800
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.CustomerPartnerFunction, opt_index);
|
|
3801
|
+
};
|
|
3802
|
+
|
|
3803
|
+
|
|
3804
|
+
/**
|
|
3805
|
+
* Clears the list making it empty but non-null.
|
|
3806
|
+
* @return {!proto.GetCustomerSalesAreaByIdResponse} returns this
|
|
3807
|
+
*/
|
|
3808
|
+
proto.GetCustomerSalesAreaByIdResponse.prototype.clearPartnerFunctionsList = function() {
|
|
3809
|
+
return this.setPartnerFunctionsList([]);
|
|
3810
|
+
};
|
|
3811
|
+
|
|
3812
|
+
|
|
3813
|
+
/**
|
|
3814
|
+
* optional prisca.v1.global.meta.Meta meta = 3;
|
|
3815
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
3816
|
+
*/
|
|
3817
|
+
proto.GetCustomerSalesAreaByIdResponse.prototype.getMeta = function() {
|
|
3818
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
3819
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 3));
|
|
3820
|
+
};
|
|
3821
|
+
|
|
3822
|
+
|
|
3823
|
+
/**
|
|
3824
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
3825
|
+
* @return {!proto.GetCustomerSalesAreaByIdResponse} returns this
|
|
3826
|
+
*/
|
|
3827
|
+
proto.GetCustomerSalesAreaByIdResponse.prototype.setMeta = function(value) {
|
|
3828
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
3829
|
+
};
|
|
3830
|
+
|
|
3831
|
+
|
|
3832
|
+
/**
|
|
3833
|
+
* Clears the message field making it undefined.
|
|
3834
|
+
* @return {!proto.GetCustomerSalesAreaByIdResponse} returns this
|
|
3835
|
+
*/
|
|
3836
|
+
proto.GetCustomerSalesAreaByIdResponse.prototype.clearMeta = function() {
|
|
3837
|
+
return this.setMeta(undefined);
|
|
3838
|
+
};
|
|
3839
|
+
|
|
3840
|
+
|
|
3841
|
+
/**
|
|
3842
|
+
* Returns whether this field is set.
|
|
3843
|
+
* @return {boolean}
|
|
3844
|
+
*/
|
|
3845
|
+
proto.GetCustomerSalesAreaByIdResponse.prototype.hasMeta = function() {
|
|
3846
|
+
return jspb.Message.getField(this, 3) != null;
|
|
3847
|
+
};
|
|
3848
|
+
|
|
3849
|
+
|
|
3850
|
+
|
|
3851
|
+
/**
|
|
3852
|
+
* List of repeated fields within this message type.
|
|
3853
|
+
* @private {!Array<number>}
|
|
3854
|
+
* @const
|
|
3855
|
+
*/
|
|
3856
|
+
proto.GetListCustomerSalesAreaResponse.repeatedFields_ = [1];
|
|
3857
|
+
|
|
3858
|
+
|
|
3859
|
+
|
|
3860
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3861
|
+
/**
|
|
3862
|
+
* Creates an object representation of this proto.
|
|
3863
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3864
|
+
* Optional fields that are not set will be set to undefined.
|
|
3865
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3866
|
+
* For the list of reserved names please see:
|
|
3867
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3868
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3869
|
+
* JSPB instance for transitional soy proto support:
|
|
3870
|
+
* http://goto/soy-param-migration
|
|
3871
|
+
* @return {!Object}
|
|
3872
|
+
*/
|
|
3873
|
+
proto.GetListCustomerSalesAreaResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3874
|
+
return proto.GetListCustomerSalesAreaResponse.toObject(opt_includeInstance, this);
|
|
3875
|
+
};
|
|
3876
|
+
|
|
3877
|
+
|
|
3878
|
+
/**
|
|
3879
|
+
* Static version of the {@see toObject} method.
|
|
3880
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3881
|
+
* the JSPB instance for transitional soy proto support:
|
|
3882
|
+
* http://goto/soy-param-migration
|
|
3883
|
+
* @param {!proto.GetListCustomerSalesAreaResponse} msg The msg instance to transform.
|
|
3884
|
+
* @return {!Object}
|
|
3885
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3886
|
+
*/
|
|
3887
|
+
proto.GetListCustomerSalesAreaResponse.toObject = function(includeInstance, msg) {
|
|
3888
|
+
var f, obj = {
|
|
3889
|
+
customerSalesAreasList: jspb.Message.toObjectList(msg.getCustomerSalesAreasList(),
|
|
3890
|
+
proto.CustomerSalesArea.toObject, includeInstance),
|
|
3891
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3892
|
+
};
|
|
3893
|
+
|
|
3894
|
+
if (includeInstance) {
|
|
3895
|
+
obj.$jspbMessageInstance = msg;
|
|
3896
|
+
}
|
|
3897
|
+
return obj;
|
|
3898
|
+
};
|
|
3899
|
+
}
|
|
3900
|
+
|
|
3901
|
+
|
|
3902
|
+
/**
|
|
3903
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3904
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3905
|
+
* @return {!proto.GetListCustomerSalesAreaResponse}
|
|
3906
|
+
*/
|
|
3907
|
+
proto.GetListCustomerSalesAreaResponse.deserializeBinary = function(bytes) {
|
|
3908
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3909
|
+
var msg = new proto.GetListCustomerSalesAreaResponse;
|
|
3910
|
+
return proto.GetListCustomerSalesAreaResponse.deserializeBinaryFromReader(msg, reader);
|
|
3911
|
+
};
|
|
3912
|
+
|
|
3913
|
+
|
|
3914
|
+
/**
|
|
3915
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3916
|
+
* given reader into the given message object.
|
|
3917
|
+
* @param {!proto.GetListCustomerSalesAreaResponse} msg The message object to deserialize into.
|
|
3918
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3919
|
+
* @return {!proto.GetListCustomerSalesAreaResponse}
|
|
3920
|
+
*/
|
|
3921
|
+
proto.GetListCustomerSalesAreaResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3922
|
+
while (reader.nextField()) {
|
|
3923
|
+
if (reader.isEndGroup()) {
|
|
3924
|
+
break;
|
|
3925
|
+
}
|
|
3926
|
+
var field = reader.getFieldNumber();
|
|
3927
|
+
switch (field) {
|
|
3928
|
+
case 1:
|
|
3929
|
+
var value = new proto.CustomerSalesArea;
|
|
3930
|
+
reader.readMessage(value,proto.CustomerSalesArea.deserializeBinaryFromReader);
|
|
3931
|
+
msg.addCustomerSalesAreas(value);
|
|
3932
|
+
break;
|
|
3933
|
+
case 2:
|
|
3934
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
3935
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
3936
|
+
msg.setMeta(value);
|
|
3937
|
+
break;
|
|
3938
|
+
default:
|
|
3939
|
+
reader.skipField();
|
|
3940
|
+
break;
|
|
3941
|
+
}
|
|
3942
|
+
}
|
|
3943
|
+
return msg;
|
|
3944
|
+
};
|
|
3945
|
+
|
|
3946
|
+
|
|
3947
|
+
/**
|
|
3948
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3949
|
+
* @return {!Uint8Array}
|
|
3950
|
+
*/
|
|
3951
|
+
proto.GetListCustomerSalesAreaResponse.prototype.serializeBinary = function() {
|
|
3952
|
+
var writer = new jspb.BinaryWriter();
|
|
3953
|
+
proto.GetListCustomerSalesAreaResponse.serializeBinaryToWriter(this, writer);
|
|
3954
|
+
return writer.getResultBuffer();
|
|
3955
|
+
};
|
|
3956
|
+
|
|
3957
|
+
|
|
3958
|
+
/**
|
|
3959
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3960
|
+
* format), writing to the given BinaryWriter.
|
|
3961
|
+
* @param {!proto.GetListCustomerSalesAreaResponse} message
|
|
3962
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3963
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3964
|
+
*/
|
|
3965
|
+
proto.GetListCustomerSalesAreaResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3966
|
+
var f = undefined;
|
|
3967
|
+
f = message.getCustomerSalesAreasList();
|
|
3968
|
+
if (f.length > 0) {
|
|
3969
|
+
writer.writeRepeatedMessage(
|
|
3970
|
+
1,
|
|
3971
|
+
f,
|
|
3972
|
+
proto.CustomerSalesArea.serializeBinaryToWriter
|
|
3973
|
+
);
|
|
3974
|
+
}
|
|
3975
|
+
f = message.getMeta();
|
|
3976
|
+
if (f != null) {
|
|
3977
|
+
writer.writeMessage(
|
|
3978
|
+
2,
|
|
3979
|
+
f,
|
|
3980
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
3981
|
+
);
|
|
3982
|
+
}
|
|
3983
|
+
};
|
|
3984
|
+
|
|
3985
|
+
|
|
3986
|
+
/**
|
|
3987
|
+
* repeated CustomerSalesArea customer_sales_areas = 1;
|
|
3988
|
+
* @return {!Array<!proto.CustomerSalesArea>}
|
|
3989
|
+
*/
|
|
3990
|
+
proto.GetListCustomerSalesAreaResponse.prototype.getCustomerSalesAreasList = function() {
|
|
3991
|
+
return /** @type{!Array<!proto.CustomerSalesArea>} */ (
|
|
3992
|
+
jspb.Message.getRepeatedWrapperField(this, proto.CustomerSalesArea, 1));
|
|
3993
|
+
};
|
|
3994
|
+
|
|
3995
|
+
|
|
3996
|
+
/**
|
|
3997
|
+
* @param {!Array<!proto.CustomerSalesArea>} value
|
|
3998
|
+
* @return {!proto.GetListCustomerSalesAreaResponse} returns this
|
|
3999
|
+
*/
|
|
4000
|
+
proto.GetListCustomerSalesAreaResponse.prototype.setCustomerSalesAreasList = function(value) {
|
|
4001
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
4002
|
+
};
|
|
4003
|
+
|
|
4004
|
+
|
|
4005
|
+
/**
|
|
4006
|
+
* @param {!proto.CustomerSalesArea=} opt_value
|
|
4007
|
+
* @param {number=} opt_index
|
|
4008
|
+
* @return {!proto.CustomerSalesArea}
|
|
4009
|
+
*/
|
|
4010
|
+
proto.GetListCustomerSalesAreaResponse.prototype.addCustomerSalesAreas = function(opt_value, opt_index) {
|
|
4011
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.CustomerSalesArea, opt_index);
|
|
4012
|
+
};
|
|
4013
|
+
|
|
4014
|
+
|
|
4015
|
+
/**
|
|
4016
|
+
* Clears the list making it empty but non-null.
|
|
4017
|
+
* @return {!proto.GetListCustomerSalesAreaResponse} returns this
|
|
4018
|
+
*/
|
|
4019
|
+
proto.GetListCustomerSalesAreaResponse.prototype.clearCustomerSalesAreasList = function() {
|
|
4020
|
+
return this.setCustomerSalesAreasList([]);
|
|
4021
|
+
};
|
|
4022
|
+
|
|
4023
|
+
|
|
4024
|
+
/**
|
|
4025
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
4026
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
4027
|
+
*/
|
|
4028
|
+
proto.GetListCustomerSalesAreaResponse.prototype.getMeta = function() {
|
|
4029
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
4030
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
4031
|
+
};
|
|
4032
|
+
|
|
4033
|
+
|
|
4034
|
+
/**
|
|
4035
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
4036
|
+
* @return {!proto.GetListCustomerSalesAreaResponse} returns this
|
|
4037
|
+
*/
|
|
4038
|
+
proto.GetListCustomerSalesAreaResponse.prototype.setMeta = function(value) {
|
|
4039
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
4040
|
+
};
|
|
4041
|
+
|
|
4042
|
+
|
|
4043
|
+
/**
|
|
4044
|
+
* Clears the message field making it undefined.
|
|
4045
|
+
* @return {!proto.GetListCustomerSalesAreaResponse} returns this
|
|
4046
|
+
*/
|
|
4047
|
+
proto.GetListCustomerSalesAreaResponse.prototype.clearMeta = function() {
|
|
4048
|
+
return this.setMeta(undefined);
|
|
4049
|
+
};
|
|
4050
|
+
|
|
4051
|
+
|
|
4052
|
+
/**
|
|
4053
|
+
* Returns whether this field is set.
|
|
4054
|
+
* @return {boolean}
|
|
4055
|
+
*/
|
|
4056
|
+
proto.GetListCustomerSalesAreaResponse.prototype.hasMeta = function() {
|
|
4057
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4058
|
+
};
|
|
4059
|
+
|
|
4060
|
+
|
|
4061
|
+
|
|
4062
|
+
/**
|
|
4063
|
+
* List of repeated fields within this message type.
|
|
4064
|
+
* @private {!Array<number>}
|
|
4065
|
+
* @const
|
|
4066
|
+
*/
|
|
4067
|
+
proto.DeleteCustomerSalesAreaResponse.repeatedFields_ = [1];
|
|
4068
|
+
|
|
4069
|
+
|
|
4070
|
+
|
|
4071
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4072
|
+
/**
|
|
4073
|
+
* Creates an object representation of this proto.
|
|
4074
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4075
|
+
* Optional fields that are not set will be set to undefined.
|
|
4076
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4077
|
+
* For the list of reserved names please see:
|
|
4078
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4079
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4080
|
+
* JSPB instance for transitional soy proto support:
|
|
4081
|
+
* http://goto/soy-param-migration
|
|
4082
|
+
* @return {!Object}
|
|
4083
|
+
*/
|
|
4084
|
+
proto.DeleteCustomerSalesAreaResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4085
|
+
return proto.DeleteCustomerSalesAreaResponse.toObject(opt_includeInstance, this);
|
|
4086
|
+
};
|
|
4087
|
+
|
|
4088
|
+
|
|
4089
|
+
/**
|
|
4090
|
+
* Static version of the {@see toObject} method.
|
|
4091
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4092
|
+
* the JSPB instance for transitional soy proto support:
|
|
4093
|
+
* http://goto/soy-param-migration
|
|
4094
|
+
* @param {!proto.DeleteCustomerSalesAreaResponse} msg The msg instance to transform.
|
|
4095
|
+
* @return {!Object}
|
|
4096
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4097
|
+
*/
|
|
4098
|
+
proto.DeleteCustomerSalesAreaResponse.toObject = function(includeInstance, msg) {
|
|
4099
|
+
var f, obj = {
|
|
4100
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
4101
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
4102
|
+
};
|
|
4103
|
+
|
|
4104
|
+
if (includeInstance) {
|
|
4105
|
+
obj.$jspbMessageInstance = msg;
|
|
4106
|
+
}
|
|
4107
|
+
return obj;
|
|
4108
|
+
};
|
|
4109
|
+
}
|
|
4110
|
+
|
|
4111
|
+
|
|
4112
|
+
/**
|
|
4113
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4114
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4115
|
+
* @return {!proto.DeleteCustomerSalesAreaResponse}
|
|
4116
|
+
*/
|
|
4117
|
+
proto.DeleteCustomerSalesAreaResponse.deserializeBinary = function(bytes) {
|
|
4118
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4119
|
+
var msg = new proto.DeleteCustomerSalesAreaResponse;
|
|
4120
|
+
return proto.DeleteCustomerSalesAreaResponse.deserializeBinaryFromReader(msg, reader);
|
|
4121
|
+
};
|
|
4122
|
+
|
|
4123
|
+
|
|
4124
|
+
/**
|
|
4125
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4126
|
+
* given reader into the given message object.
|
|
4127
|
+
* @param {!proto.DeleteCustomerSalesAreaResponse} msg The message object to deserialize into.
|
|
4128
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4129
|
+
* @return {!proto.DeleteCustomerSalesAreaResponse}
|
|
4130
|
+
*/
|
|
4131
|
+
proto.DeleteCustomerSalesAreaResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4132
|
+
while (reader.nextField()) {
|
|
4133
|
+
if (reader.isEndGroup()) {
|
|
4134
|
+
break;
|
|
4135
|
+
}
|
|
4136
|
+
var field = reader.getFieldNumber();
|
|
4137
|
+
switch (field) {
|
|
4138
|
+
case 1:
|
|
4139
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4140
|
+
msg.addReferenceIds(value);
|
|
4141
|
+
break;
|
|
4142
|
+
case 2:
|
|
4143
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
4144
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
4145
|
+
msg.setMeta(value);
|
|
4146
|
+
break;
|
|
4147
|
+
default:
|
|
4148
|
+
reader.skipField();
|
|
4149
|
+
break;
|
|
4150
|
+
}
|
|
4151
|
+
}
|
|
4152
|
+
return msg;
|
|
4153
|
+
};
|
|
4154
|
+
|
|
4155
|
+
|
|
4156
|
+
/**
|
|
4157
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4158
|
+
* @return {!Uint8Array}
|
|
4159
|
+
*/
|
|
4160
|
+
proto.DeleteCustomerSalesAreaResponse.prototype.serializeBinary = function() {
|
|
4161
|
+
var writer = new jspb.BinaryWriter();
|
|
4162
|
+
proto.DeleteCustomerSalesAreaResponse.serializeBinaryToWriter(this, writer);
|
|
4163
|
+
return writer.getResultBuffer();
|
|
4164
|
+
};
|
|
4165
|
+
|
|
4166
|
+
|
|
4167
|
+
/**
|
|
4168
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4169
|
+
* format), writing to the given BinaryWriter.
|
|
4170
|
+
* @param {!proto.DeleteCustomerSalesAreaResponse} message
|
|
4171
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4172
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4173
|
+
*/
|
|
4174
|
+
proto.DeleteCustomerSalesAreaResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4175
|
+
var f = undefined;
|
|
4176
|
+
f = message.getReferenceIdsList();
|
|
4177
|
+
if (f.length > 0) {
|
|
4178
|
+
writer.writeRepeatedString(
|
|
4179
|
+
1,
|
|
4180
|
+
f
|
|
4181
|
+
);
|
|
4182
|
+
}
|
|
4183
|
+
f = message.getMeta();
|
|
4184
|
+
if (f != null) {
|
|
4185
|
+
writer.writeMessage(
|
|
4186
|
+
2,
|
|
4187
|
+
f,
|
|
4188
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
4189
|
+
);
|
|
4190
|
+
}
|
|
4191
|
+
};
|
|
4192
|
+
|
|
4193
|
+
|
|
4194
|
+
/**
|
|
4195
|
+
* repeated string reference_ids = 1;
|
|
4196
|
+
* @return {!Array<string>}
|
|
4197
|
+
*/
|
|
4198
|
+
proto.DeleteCustomerSalesAreaResponse.prototype.getReferenceIdsList = function() {
|
|
4199
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
4200
|
+
};
|
|
4201
|
+
|
|
4202
|
+
|
|
4203
|
+
/**
|
|
4204
|
+
* @param {!Array<string>} value
|
|
4205
|
+
* @return {!proto.DeleteCustomerSalesAreaResponse} returns this
|
|
4206
|
+
*/
|
|
4207
|
+
proto.DeleteCustomerSalesAreaResponse.prototype.setReferenceIdsList = function(value) {
|
|
4208
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
4209
|
+
};
|
|
4210
|
+
|
|
4211
|
+
|
|
4212
|
+
/**
|
|
4213
|
+
* @param {string} value
|
|
4214
|
+
* @param {number=} opt_index
|
|
4215
|
+
* @return {!proto.DeleteCustomerSalesAreaResponse} returns this
|
|
4216
|
+
*/
|
|
4217
|
+
proto.DeleteCustomerSalesAreaResponse.prototype.addReferenceIds = function(value, opt_index) {
|
|
4218
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
4219
|
+
};
|
|
4220
|
+
|
|
4221
|
+
|
|
4222
|
+
/**
|
|
4223
|
+
* Clears the list making it empty but non-null.
|
|
4224
|
+
* @return {!proto.DeleteCustomerSalesAreaResponse} returns this
|
|
4225
|
+
*/
|
|
4226
|
+
proto.DeleteCustomerSalesAreaResponse.prototype.clearReferenceIdsList = function() {
|
|
4227
|
+
return this.setReferenceIdsList([]);
|
|
4228
|
+
};
|
|
4229
|
+
|
|
4230
|
+
|
|
4231
|
+
/**
|
|
4232
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
4233
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
4234
|
+
*/
|
|
4235
|
+
proto.DeleteCustomerSalesAreaResponse.prototype.getMeta = function() {
|
|
4236
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
4237
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
4238
|
+
};
|
|
4239
|
+
|
|
4240
|
+
|
|
4241
|
+
/**
|
|
4242
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
4243
|
+
* @return {!proto.DeleteCustomerSalesAreaResponse} returns this
|
|
4244
|
+
*/
|
|
4245
|
+
proto.DeleteCustomerSalesAreaResponse.prototype.setMeta = function(value) {
|
|
4246
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
4247
|
+
};
|
|
4248
|
+
|
|
4249
|
+
|
|
4250
|
+
/**
|
|
4251
|
+
* Clears the message field making it undefined.
|
|
4252
|
+
* @return {!proto.DeleteCustomerSalesAreaResponse} returns this
|
|
4253
|
+
*/
|
|
4254
|
+
proto.DeleteCustomerSalesAreaResponse.prototype.clearMeta = function() {
|
|
4255
|
+
return this.setMeta(undefined);
|
|
4256
|
+
};
|
|
4257
|
+
|
|
4258
|
+
|
|
4259
|
+
/**
|
|
4260
|
+
* Returns whether this field is set.
|
|
4261
|
+
* @return {boolean}
|
|
4262
|
+
*/
|
|
4263
|
+
proto.DeleteCustomerSalesAreaResponse.prototype.hasMeta = function() {
|
|
4264
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4265
|
+
};
|
|
4266
|
+
|
|
4267
|
+
|
|
4268
|
+
|
|
4269
|
+
/**
|
|
4270
|
+
* List of repeated fields within this message type.
|
|
4271
|
+
* @private {!Array<number>}
|
|
4272
|
+
* @const
|
|
4273
|
+
*/
|
|
4274
|
+
proto.GetListCustomerPartnerFunctionResponse.repeatedFields_ = [1];
|
|
4275
|
+
|
|
4276
|
+
|
|
4277
|
+
|
|
4278
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4279
|
+
/**
|
|
4280
|
+
* Creates an object representation of this proto.
|
|
4281
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4282
|
+
* Optional fields that are not set will be set to undefined.
|
|
4283
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4284
|
+
* For the list of reserved names please see:
|
|
4285
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4286
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4287
|
+
* JSPB instance for transitional soy proto support:
|
|
4288
|
+
* http://goto/soy-param-migration
|
|
4289
|
+
* @return {!Object}
|
|
4290
|
+
*/
|
|
4291
|
+
proto.GetListCustomerPartnerFunctionResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4292
|
+
return proto.GetListCustomerPartnerFunctionResponse.toObject(opt_includeInstance, this);
|
|
4293
|
+
};
|
|
4294
|
+
|
|
4295
|
+
|
|
4296
|
+
/**
|
|
4297
|
+
* Static version of the {@see toObject} method.
|
|
4298
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4299
|
+
* the JSPB instance for transitional soy proto support:
|
|
4300
|
+
* http://goto/soy-param-migration
|
|
4301
|
+
* @param {!proto.GetListCustomerPartnerFunctionResponse} msg The msg instance to transform.
|
|
4302
|
+
* @return {!Object}
|
|
4303
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4304
|
+
*/
|
|
4305
|
+
proto.GetListCustomerPartnerFunctionResponse.toObject = function(includeInstance, msg) {
|
|
4306
|
+
var f, obj = {
|
|
4307
|
+
partnerFunctionsList: jspb.Message.toObjectList(msg.getPartnerFunctionsList(),
|
|
4308
|
+
proto.CustomerPartnerFunction.toObject, includeInstance),
|
|
4309
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
4310
|
+
};
|
|
4311
|
+
|
|
4312
|
+
if (includeInstance) {
|
|
4313
|
+
obj.$jspbMessageInstance = msg;
|
|
4314
|
+
}
|
|
4315
|
+
return obj;
|
|
4316
|
+
};
|
|
4317
|
+
}
|
|
4318
|
+
|
|
4319
|
+
|
|
4320
|
+
/**
|
|
4321
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4322
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4323
|
+
* @return {!proto.GetListCustomerPartnerFunctionResponse}
|
|
4324
|
+
*/
|
|
4325
|
+
proto.GetListCustomerPartnerFunctionResponse.deserializeBinary = function(bytes) {
|
|
4326
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4327
|
+
var msg = new proto.GetListCustomerPartnerFunctionResponse;
|
|
4328
|
+
return proto.GetListCustomerPartnerFunctionResponse.deserializeBinaryFromReader(msg, reader);
|
|
4329
|
+
};
|
|
4330
|
+
|
|
4331
|
+
|
|
4332
|
+
/**
|
|
4333
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4334
|
+
* given reader into the given message object.
|
|
4335
|
+
* @param {!proto.GetListCustomerPartnerFunctionResponse} msg The message object to deserialize into.
|
|
4336
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4337
|
+
* @return {!proto.GetListCustomerPartnerFunctionResponse}
|
|
4338
|
+
*/
|
|
4339
|
+
proto.GetListCustomerPartnerFunctionResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4340
|
+
while (reader.nextField()) {
|
|
4341
|
+
if (reader.isEndGroup()) {
|
|
4342
|
+
break;
|
|
4343
|
+
}
|
|
4344
|
+
var field = reader.getFieldNumber();
|
|
4345
|
+
switch (field) {
|
|
4346
|
+
case 1:
|
|
4347
|
+
var value = new proto.CustomerPartnerFunction;
|
|
4348
|
+
reader.readMessage(value,proto.CustomerPartnerFunction.deserializeBinaryFromReader);
|
|
4349
|
+
msg.addPartnerFunctions(value);
|
|
4350
|
+
break;
|
|
4351
|
+
case 2:
|
|
4352
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
4353
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
4354
|
+
msg.setMeta(value);
|
|
4355
|
+
break;
|
|
4356
|
+
default:
|
|
4357
|
+
reader.skipField();
|
|
4358
|
+
break;
|
|
4359
|
+
}
|
|
4360
|
+
}
|
|
4361
|
+
return msg;
|
|
4362
|
+
};
|
|
4363
|
+
|
|
4364
|
+
|
|
4365
|
+
/**
|
|
4366
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4367
|
+
* @return {!Uint8Array}
|
|
4368
|
+
*/
|
|
4369
|
+
proto.GetListCustomerPartnerFunctionResponse.prototype.serializeBinary = function() {
|
|
4370
|
+
var writer = new jspb.BinaryWriter();
|
|
4371
|
+
proto.GetListCustomerPartnerFunctionResponse.serializeBinaryToWriter(this, writer);
|
|
4372
|
+
return writer.getResultBuffer();
|
|
4373
|
+
};
|
|
4374
|
+
|
|
4375
|
+
|
|
4376
|
+
/**
|
|
4377
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4378
|
+
* format), writing to the given BinaryWriter.
|
|
4379
|
+
* @param {!proto.GetListCustomerPartnerFunctionResponse} message
|
|
4380
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4381
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4382
|
+
*/
|
|
4383
|
+
proto.GetListCustomerPartnerFunctionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4384
|
+
var f = undefined;
|
|
4385
|
+
f = message.getPartnerFunctionsList();
|
|
4386
|
+
if (f.length > 0) {
|
|
4387
|
+
writer.writeRepeatedMessage(
|
|
4388
|
+
1,
|
|
4389
|
+
f,
|
|
4390
|
+
proto.CustomerPartnerFunction.serializeBinaryToWriter
|
|
4391
|
+
);
|
|
4392
|
+
}
|
|
4393
|
+
f = message.getMeta();
|
|
4394
|
+
if (f != null) {
|
|
4395
|
+
writer.writeMessage(
|
|
4396
|
+
2,
|
|
4397
|
+
f,
|
|
4398
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
4399
|
+
);
|
|
4400
|
+
}
|
|
4401
|
+
};
|
|
4402
|
+
|
|
4403
|
+
|
|
4404
|
+
/**
|
|
4405
|
+
* repeated CustomerPartnerFunction partner_functions = 1;
|
|
4406
|
+
* @return {!Array<!proto.CustomerPartnerFunction>}
|
|
4407
|
+
*/
|
|
4408
|
+
proto.GetListCustomerPartnerFunctionResponse.prototype.getPartnerFunctionsList = function() {
|
|
4409
|
+
return /** @type{!Array<!proto.CustomerPartnerFunction>} */ (
|
|
4410
|
+
jspb.Message.getRepeatedWrapperField(this, proto.CustomerPartnerFunction, 1));
|
|
4411
|
+
};
|
|
4412
|
+
|
|
4413
|
+
|
|
4414
|
+
/**
|
|
4415
|
+
* @param {!Array<!proto.CustomerPartnerFunction>} value
|
|
4416
|
+
* @return {!proto.GetListCustomerPartnerFunctionResponse} returns this
|
|
4417
|
+
*/
|
|
4418
|
+
proto.GetListCustomerPartnerFunctionResponse.prototype.setPartnerFunctionsList = function(value) {
|
|
4419
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
4420
|
+
};
|
|
4421
|
+
|
|
4422
|
+
|
|
4423
|
+
/**
|
|
4424
|
+
* @param {!proto.CustomerPartnerFunction=} opt_value
|
|
4425
|
+
* @param {number=} opt_index
|
|
4426
|
+
* @return {!proto.CustomerPartnerFunction}
|
|
4427
|
+
*/
|
|
4428
|
+
proto.GetListCustomerPartnerFunctionResponse.prototype.addPartnerFunctions = function(opt_value, opt_index) {
|
|
4429
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.CustomerPartnerFunction, opt_index);
|
|
4430
|
+
};
|
|
4431
|
+
|
|
4432
|
+
|
|
4433
|
+
/**
|
|
4434
|
+
* Clears the list making it empty but non-null.
|
|
4435
|
+
* @return {!proto.GetListCustomerPartnerFunctionResponse} returns this
|
|
4436
|
+
*/
|
|
4437
|
+
proto.GetListCustomerPartnerFunctionResponse.prototype.clearPartnerFunctionsList = function() {
|
|
4438
|
+
return this.setPartnerFunctionsList([]);
|
|
4439
|
+
};
|
|
4440
|
+
|
|
4441
|
+
|
|
4442
|
+
/**
|
|
4443
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
4444
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
4445
|
+
*/
|
|
4446
|
+
proto.GetListCustomerPartnerFunctionResponse.prototype.getMeta = function() {
|
|
4447
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
4448
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
4449
|
+
};
|
|
4450
|
+
|
|
4451
|
+
|
|
4452
|
+
/**
|
|
4453
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
4454
|
+
* @return {!proto.GetListCustomerPartnerFunctionResponse} returns this
|
|
4455
|
+
*/
|
|
4456
|
+
proto.GetListCustomerPartnerFunctionResponse.prototype.setMeta = function(value) {
|
|
4457
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
4458
|
+
};
|
|
4459
|
+
|
|
4460
|
+
|
|
4461
|
+
/**
|
|
4462
|
+
* Clears the message field making it undefined.
|
|
4463
|
+
* @return {!proto.GetListCustomerPartnerFunctionResponse} returns this
|
|
4464
|
+
*/
|
|
4465
|
+
proto.GetListCustomerPartnerFunctionResponse.prototype.clearMeta = function() {
|
|
4466
|
+
return this.setMeta(undefined);
|
|
4467
|
+
};
|
|
4468
|
+
|
|
4469
|
+
|
|
4470
|
+
/**
|
|
4471
|
+
* Returns whether this field is set.
|
|
4472
|
+
* @return {boolean}
|
|
4473
|
+
*/
|
|
4474
|
+
proto.GetListCustomerPartnerFunctionResponse.prototype.hasMeta = function() {
|
|
4475
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4476
|
+
};
|
|
4477
|
+
|
|
4478
|
+
|
|
4479
|
+
|
|
4480
|
+
|
|
4481
|
+
|
|
4482
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4483
|
+
/**
|
|
4484
|
+
* Creates an object representation of this proto.
|
|
4485
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4486
|
+
* Optional fields that are not set will be set to undefined.
|
|
4487
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4488
|
+
* For the list of reserved names please see:
|
|
4489
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4490
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4491
|
+
* JSPB instance for transitional soy proto support:
|
|
4492
|
+
* http://goto/soy-param-migration
|
|
4493
|
+
* @return {!Object}
|
|
4494
|
+
*/
|
|
4495
|
+
proto.UpdateCustomerPartnerFunctionResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4496
|
+
return proto.UpdateCustomerPartnerFunctionResponse.toObject(opt_includeInstance, this);
|
|
4497
|
+
};
|
|
4498
|
+
|
|
4499
|
+
|
|
4500
|
+
/**
|
|
4501
|
+
* Static version of the {@see toObject} method.
|
|
4502
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4503
|
+
* the JSPB instance for transitional soy proto support:
|
|
4504
|
+
* http://goto/soy-param-migration
|
|
4505
|
+
* @param {!proto.UpdateCustomerPartnerFunctionResponse} msg The msg instance to transform.
|
|
4506
|
+
* @return {!Object}
|
|
4507
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4508
|
+
*/
|
|
4509
|
+
proto.UpdateCustomerPartnerFunctionResponse.toObject = function(includeInstance, msg) {
|
|
4510
|
+
var f, obj = {
|
|
4511
|
+
partnerFunction: (f = msg.getPartnerFunction()) && proto.CustomerPartnerFunction.toObject(includeInstance, f),
|
|
4512
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
4513
|
+
};
|
|
4514
|
+
|
|
4515
|
+
if (includeInstance) {
|
|
4516
|
+
obj.$jspbMessageInstance = msg;
|
|
4517
|
+
}
|
|
4518
|
+
return obj;
|
|
4519
|
+
};
|
|
4520
|
+
}
|
|
4521
|
+
|
|
4522
|
+
|
|
4523
|
+
/**
|
|
4524
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4525
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4526
|
+
* @return {!proto.UpdateCustomerPartnerFunctionResponse}
|
|
4527
|
+
*/
|
|
4528
|
+
proto.UpdateCustomerPartnerFunctionResponse.deserializeBinary = function(bytes) {
|
|
4529
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4530
|
+
var msg = new proto.UpdateCustomerPartnerFunctionResponse;
|
|
4531
|
+
return proto.UpdateCustomerPartnerFunctionResponse.deserializeBinaryFromReader(msg, reader);
|
|
4532
|
+
};
|
|
4533
|
+
|
|
4534
|
+
|
|
4535
|
+
/**
|
|
4536
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4537
|
+
* given reader into the given message object.
|
|
4538
|
+
* @param {!proto.UpdateCustomerPartnerFunctionResponse} msg The message object to deserialize into.
|
|
4539
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4540
|
+
* @return {!proto.UpdateCustomerPartnerFunctionResponse}
|
|
4541
|
+
*/
|
|
4542
|
+
proto.UpdateCustomerPartnerFunctionResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4543
|
+
while (reader.nextField()) {
|
|
4544
|
+
if (reader.isEndGroup()) {
|
|
4545
|
+
break;
|
|
4546
|
+
}
|
|
4547
|
+
var field = reader.getFieldNumber();
|
|
4548
|
+
switch (field) {
|
|
4549
|
+
case 1:
|
|
4550
|
+
var value = new proto.CustomerPartnerFunction;
|
|
4551
|
+
reader.readMessage(value,proto.CustomerPartnerFunction.deserializeBinaryFromReader);
|
|
4552
|
+
msg.setPartnerFunction(value);
|
|
4553
|
+
break;
|
|
4554
|
+
case 2:
|
|
4555
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
4556
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
4557
|
+
msg.setMeta(value);
|
|
4558
|
+
break;
|
|
4559
|
+
default:
|
|
4560
|
+
reader.skipField();
|
|
4561
|
+
break;
|
|
4562
|
+
}
|
|
4563
|
+
}
|
|
4564
|
+
return msg;
|
|
4565
|
+
};
|
|
4566
|
+
|
|
4567
|
+
|
|
4568
|
+
/**
|
|
4569
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4570
|
+
* @return {!Uint8Array}
|
|
4571
|
+
*/
|
|
4572
|
+
proto.UpdateCustomerPartnerFunctionResponse.prototype.serializeBinary = function() {
|
|
4573
|
+
var writer = new jspb.BinaryWriter();
|
|
4574
|
+
proto.UpdateCustomerPartnerFunctionResponse.serializeBinaryToWriter(this, writer);
|
|
4575
|
+
return writer.getResultBuffer();
|
|
4576
|
+
};
|
|
4577
|
+
|
|
4578
|
+
|
|
4579
|
+
/**
|
|
4580
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4581
|
+
* format), writing to the given BinaryWriter.
|
|
4582
|
+
* @param {!proto.UpdateCustomerPartnerFunctionResponse} message
|
|
4583
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4584
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4585
|
+
*/
|
|
4586
|
+
proto.UpdateCustomerPartnerFunctionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4587
|
+
var f = undefined;
|
|
4588
|
+
f = message.getPartnerFunction();
|
|
4589
|
+
if (f != null) {
|
|
4590
|
+
writer.writeMessage(
|
|
4591
|
+
1,
|
|
4592
|
+
f,
|
|
4593
|
+
proto.CustomerPartnerFunction.serializeBinaryToWriter
|
|
4594
|
+
);
|
|
4595
|
+
}
|
|
4596
|
+
f = message.getMeta();
|
|
4597
|
+
if (f != null) {
|
|
4598
|
+
writer.writeMessage(
|
|
4599
|
+
2,
|
|
4600
|
+
f,
|
|
4601
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
4602
|
+
);
|
|
4603
|
+
}
|
|
4604
|
+
};
|
|
4605
|
+
|
|
4606
|
+
|
|
4607
|
+
/**
|
|
4608
|
+
* optional CustomerPartnerFunction partner_function = 1;
|
|
4609
|
+
* @return {?proto.CustomerPartnerFunction}
|
|
4610
|
+
*/
|
|
4611
|
+
proto.UpdateCustomerPartnerFunctionResponse.prototype.getPartnerFunction = function() {
|
|
4612
|
+
return /** @type{?proto.CustomerPartnerFunction} */ (
|
|
4613
|
+
jspb.Message.getWrapperField(this, proto.CustomerPartnerFunction, 1));
|
|
4614
|
+
};
|
|
4615
|
+
|
|
4616
|
+
|
|
4617
|
+
/**
|
|
4618
|
+
* @param {?proto.CustomerPartnerFunction|undefined} value
|
|
4619
|
+
* @return {!proto.UpdateCustomerPartnerFunctionResponse} returns this
|
|
4620
|
+
*/
|
|
4621
|
+
proto.UpdateCustomerPartnerFunctionResponse.prototype.setPartnerFunction = function(value) {
|
|
4622
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
4623
|
+
};
|
|
4624
|
+
|
|
4625
|
+
|
|
4626
|
+
/**
|
|
4627
|
+
* Clears the message field making it undefined.
|
|
4628
|
+
* @return {!proto.UpdateCustomerPartnerFunctionResponse} returns this
|
|
4629
|
+
*/
|
|
4630
|
+
proto.UpdateCustomerPartnerFunctionResponse.prototype.clearPartnerFunction = function() {
|
|
4631
|
+
return this.setPartnerFunction(undefined);
|
|
4632
|
+
};
|
|
4633
|
+
|
|
4634
|
+
|
|
4635
|
+
/**
|
|
4636
|
+
* Returns whether this field is set.
|
|
4637
|
+
* @return {boolean}
|
|
4638
|
+
*/
|
|
4639
|
+
proto.UpdateCustomerPartnerFunctionResponse.prototype.hasPartnerFunction = function() {
|
|
4640
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4641
|
+
};
|
|
4642
|
+
|
|
4643
|
+
|
|
4644
|
+
/**
|
|
4645
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
4646
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
4647
|
+
*/
|
|
4648
|
+
proto.UpdateCustomerPartnerFunctionResponse.prototype.getMeta = function() {
|
|
4649
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
4650
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
4651
|
+
};
|
|
4652
|
+
|
|
4653
|
+
|
|
4654
|
+
/**
|
|
4655
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
4656
|
+
* @return {!proto.UpdateCustomerPartnerFunctionResponse} returns this
|
|
4657
|
+
*/
|
|
4658
|
+
proto.UpdateCustomerPartnerFunctionResponse.prototype.setMeta = function(value) {
|
|
4659
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
4660
|
+
};
|
|
4661
|
+
|
|
4662
|
+
|
|
4663
|
+
/**
|
|
4664
|
+
* Clears the message field making it undefined.
|
|
4665
|
+
* @return {!proto.UpdateCustomerPartnerFunctionResponse} returns this
|
|
4666
|
+
*/
|
|
4667
|
+
proto.UpdateCustomerPartnerFunctionResponse.prototype.clearMeta = function() {
|
|
4668
|
+
return this.setMeta(undefined);
|
|
4669
|
+
};
|
|
4670
|
+
|
|
4671
|
+
|
|
4672
|
+
/**
|
|
4673
|
+
* Returns whether this field is set.
|
|
4674
|
+
* @return {boolean}
|
|
4675
|
+
*/
|
|
4676
|
+
proto.UpdateCustomerPartnerFunctionResponse.prototype.hasMeta = function() {
|
|
4677
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4678
|
+
};
|
|
4679
|
+
|
|
4680
|
+
|
|
4681
|
+
goog.object.extend(exports, proto);
|