@aldiokta/protocgen 1.1.9 → 1.1.19
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/account_assignment/account_assignment.proto +79 -0
- package/prisca/v1/account_group/account_group.proto +86 -0
- package/prisca/v1/bidding/bidding.proto +159 -0
- package/prisca/v1/chart_of_account/chart_of_account.proto +87 -0
- package/prisca/v1/core/access_manager/access_manager.proto +281 -0
- package/prisca/v1/core/auth/auth.proto +150 -0
- package/prisca/v1/core/chat_messaging/chat_messaging.proto +55 -0
- package/prisca/v1/core/company/company.proto +92 -0
- package/prisca/v1/core/currency/currency.proto +76 -0
- package/prisca/v1/core/department_material/department_material.proto +69 -0
- package/prisca/v1/core/employee/employee.proto +129 -0
- package/prisca/v1/core/file_upload/file_upload.proto +31 -0
- package/prisca/v1/core/incoterm/incoterm.proto +76 -0
- package/prisca/v1/core/item_transaction/item_transaction.proto +120 -0
- package/prisca/v1/core/job_grade/job_grade.proto +79 -0
- package/prisca/v1/core/job_position/job_position.proto +113 -0
- package/prisca/v1/core/job_title/job_title.proto +89 -0
- package/prisca/v1/core/line_of_activity/line_of_activity.proto +42 -0
- package/prisca/v1/core/line_of_approval/line_of_approval.proto +94 -0
- package/prisca/v1/core/link_data_source/link_data_source.proto +78 -0
- package/prisca/v1/core/location/location.proto +289 -0
- package/prisca/v1/core/material/material.proto +131 -0
- package/prisca/v1/core/material_group/material_group.proto +85 -0
- package/prisca/v1/core/material_type/material_type.proto +86 -0
- package/prisca/v1/core/messaging/email_template.proto +75 -0
- package/prisca/v1/core/messaging/messaging.proto +29 -0
- package/prisca/v1/core/number_range/number_range.proto +89 -0
- package/prisca/v1/core/organization/organization.proto +94 -0
- package/prisca/v1/core/organization_level/organization_level.proto +77 -0
- package/prisca/v1/core/price_condition/price_condition.proto +83 -0
- package/prisca/v1/core/procurement/procurement.proto +54 -0
- package/prisca/v1/core/recipient_roles/recipient_roles.proto +10 -0
- package/prisca/v1/core/report/report.proto +90 -0
- package/prisca/v1/core/report/user_report.proto +74 -0
- package/prisca/v1/core/tax_code/tax_code.proto +77 -0
- package/prisca/v1/core/term_of_payment/term_of_payment.proto +64 -0
- package/prisca/v1/core/transaction_builder/transaction_builder.proto +325 -0
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +88 -0
- package/prisca/v1/core/users/users.proto +45 -0
- package/prisca/v1/core/work_location/work_location.proto +122 -0
- package/prisca/v1/core/workflow/workflow.proto +216 -0
- package/prisca/v1/document_type/document_type.proto +80 -0
- package/prisca/v1/general_ledger_account/general_ledger_account.proto +98 -0
- package/prisca/v1/global/meta/meta.proto +57 -0
- package/prisca/v1/purchase_order/purchase_order.proto +155 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +304 -0
- package/prisca/v1/purchasing_group/purchasing_group.proto +87 -0
- package/prisca/v1/purchasing_organization/purchasing_organization.proto +68 -0
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +70 -0
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +80 -0
- package/prisca/v1/quotation/quotation.proto +82 -0
- package/prisca/v1/request_for_quotation/request_for_quotation.proto +166 -0
- package/prisca/v1/vendor_domain/vendor_domain.proto +225 -0
- package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +0 -199
- package/prisca/v1/account_assignment/account_assignment_pb.js +0 -2674
- package/prisca/v1/account_group/account_group_grpc_pb.js +0 -200
- package/prisca/v1/account_group/account_group_pb.js +0 -2937
- package/prisca/v1/bidding/bidding_grpc_pb.js +0 -174
- package/prisca/v1/bidding/bidding_pb.js +0 -3793
- package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +0 -199
- package/prisca/v1/chart_of_account/chart_of_account_pb.js +0 -2907
- package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +0 -544
- package/prisca/v1/core/access_manager/access_manager_pb.js +0 -9383
- package/prisca/v1/core/auth/auth_grpc_pb.js +0 -423
- package/prisca/v1/core/auth/auth_pb.js +0 -4497
- package/prisca/v1/core/chat_messaging/chat_messaging_grpc_pb.js +0 -111
- package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +0 -1531
- package/prisca/v1/core/company/company_grpc_pb.js +0 -178
- package/prisca/v1/core/company/company_pb.js +0 -3048
- package/prisca/v1/core/currency/currency_grpc_pb.js +0 -177
- package/prisca/v1/core/currency/currency_pb.js +0 -2522
- package/prisca/v1/core/department_material/department_material_grpc_pb.js +0 -144
- package/prisca/v1/core/department_material/department_material_pb.js +0 -2167
- package/prisca/v1/core/employee/employee_grpc_pb.js +0 -206
- package/prisca/v1/core/employee/employee_pb.js +0 -4283
- package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +0 -44
- package/prisca/v1/core/file_upload/file_upload_pb.js +0 -872
- package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +0 -144
- package/prisca/v1/core/incoterm/incoterm_pb.js +0 -2497
- package/prisca/v1/core/item_transaction/item_transaction_grpc_pb.js +0 -1
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +0 -3880
- package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +0 -178
- package/prisca/v1/core/job_grade/job_grade_pb.js +0 -2605
- package/prisca/v1/core/job_position/job_position_grpc_pb.js +0 -181
- package/prisca/v1/core/job_position/job_position_pb.js +0 -3762
- package/prisca/v1/core/job_title/job_title_grpc_pb.js +0 -178
- package/prisca/v1/core/job_title/job_title_pb.js +0 -2958
- package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +0 -45
- package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +0 -1188
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +0 -200
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +0 -3191
- package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +0 -177
- package/prisca/v1/core/link_data_source/link_data_source_pb.js +0 -2612
- package/prisca/v1/core/location/location_grpc_pb.js +0 -837
- package/prisca/v1/core/location/location_pb.js +0 -10879
- package/prisca/v1/core/material/material_grpc_pb.js +0 -182
- package/prisca/v1/core/material/material_pb.js +0 -4180
- package/prisca/v1/core/material_group/material_group_grpc_pb.js +0 -178
- package/prisca/v1/core/material_group/material_group_pb.js +0 -2776
- package/prisca/v1/core/material_type/material_type_grpc_pb.js +0 -149
- package/prisca/v1/core/material_type/material_type_pb.js +0 -2697
- package/prisca/v1/core/messaging/email_template_grpc_pb.js +0 -177
- package/prisca/v1/core/messaging/email_template_pb.js +0 -2552
- package/prisca/v1/core/messaging/messaging_grpc_pb.js +0 -56
- package/prisca/v1/core/messaging/messaging_pb.js +0 -896
- package/prisca/v1/core/number_range/number_range_grpc_pb.js +0 -178
- package/prisca/v1/core/number_range/number_range_pb.js +0 -2926
- package/prisca/v1/core/organization/organization_grpc_pb.js +0 -180
- package/prisca/v1/core/organization/organization_pb.js +0 -3032
- package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +0 -178
- package/prisca/v1/core/organization_level/organization_level_pb.js +0 -2545
- package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +0 -146
- package/prisca/v1/core/price_condition/price_condition_pb.js +0 -2654
- package/prisca/v1/core/procurement/procurement_grpc_pb.js +0 -146
- package/prisca/v1/core/procurement/procurement_pb.js +0 -1681
- package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +0 -1
- package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +0 -206
- package/prisca/v1/core/report/report_grpc_pb.js +0 -200
- package/prisca/v1/core/report/report_pb.js +0 -2822
- package/prisca/v1/core/report/user_report_grpc_pb.js +0 -179
- package/prisca/v1/core/report/user_report_pb.js +0 -2452
- package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +0 -177
- package/prisca/v1/core/tax_code/tax_code_pb.js +0 -2582
- package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +0 -144
- package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +0 -2105
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +0 -498
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +0 -10976
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +0 -180
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +0 -2798
- package/prisca/v1/core/users/users_grpc_pb.js +0 -45
- package/prisca/v1/core/users/users_pb.js +0 -1246
- package/prisca/v1/core/work_location/work_location_grpc_pb.js +0 -179
- package/prisca/v1/core/work_location/work_location_pb.js +0 -3972
- package/prisca/v1/core/workflow/workflow_grpc_pb.js +0 -203
- package/prisca/v1/core/workflow/workflow_pb.js +0 -7525
- package/prisca/v1/document_type/document_type_grpc_pb.js +0 -178
- package/prisca/v1/document_type/document_type_pb.js +0 -2746
- package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +0 -181
- package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +0 -3276
- package/prisca/v1/global/meta/meta_grpc_pb.js +0 -1
- package/prisca/v1/global/meta/meta_pb.js +0 -1179
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +0 -228
- package/prisca/v1/purchase_order/purchase_order_pb.js +0 -4989
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -512
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -9917
- package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +0 -178
- package/prisca/v1/purchasing_group/purchasing_group_pb.js +0 -2875
- package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +0 -145
- package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +0 -2139
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +0 -146
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +0 -2183
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +0 -145
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +0 -2543
- package/prisca/v1/quotation/quotation_grpc_pb.js +0 -151
- package/prisca/v1/quotation/quotation_pb.js +0 -3971
- package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +0 -192
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -5703
- package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +0 -224
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +0 -6333
|
@@ -1,3972 +0,0 @@
|
|
|
1
|
-
// source: prisca/v1/core/work_location/work_location.proto
|
|
2
|
-
/**
|
|
3
|
-
* @fileoverview
|
|
4
|
-
* @enhanceable
|
|
5
|
-
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
-
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
-
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
-
/* eslint-disable */
|
|
12
|
-
// @ts-nocheck
|
|
13
|
-
|
|
14
|
-
var jspb = require('google-protobuf');
|
|
15
|
-
var goog = jspb;
|
|
16
|
-
var global =
|
|
17
|
-
(typeof globalThis !== 'undefined' && globalThis) ||
|
|
18
|
-
(typeof window !== 'undefined' && window) ||
|
|
19
|
-
(typeof global !== 'undefined' && global) ||
|
|
20
|
-
(typeof self !== 'undefined' && self) ||
|
|
21
|
-
(function () { return this; }).call(null) ||
|
|
22
|
-
Function('return this')();
|
|
23
|
-
|
|
24
|
-
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
25
|
-
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
26
|
-
var prisca_v1_core_location_location_pb = require('../../../../prisca/v1/core/location/location_pb.js');
|
|
27
|
-
goog.object.extend(proto, prisca_v1_core_location_location_pb);
|
|
28
|
-
var prisca_v1_core_company_company_pb = require('../../../../prisca/v1/core/company/company_pb.js');
|
|
29
|
-
goog.object.extend(proto, prisca_v1_core_company_company_pb);
|
|
30
|
-
goog.exportSymbol('proto.BaseWorkLocation', null, global);
|
|
31
|
-
goog.exportSymbol('proto.CreateWorkLocationRequest', null, global);
|
|
32
|
-
goog.exportSymbol('proto.CreateWorkLocationResponse', null, global);
|
|
33
|
-
goog.exportSymbol('proto.DeleteWorkLocationRequest', null, global);
|
|
34
|
-
goog.exportSymbol('proto.DeleteWorkLocationResponse', null, global);
|
|
35
|
-
goog.exportSymbol('proto.GetListWorkLocationRequest', null, global);
|
|
36
|
-
goog.exportSymbol('proto.GetListWorkLocationResponse', null, global);
|
|
37
|
-
goog.exportSymbol('proto.UpdateWorkLocationRequest', null, global);
|
|
38
|
-
goog.exportSymbol('proto.UpdateWorkLocationResponse', null, global);
|
|
39
|
-
goog.exportSymbol('proto.WorkLocation', null, global);
|
|
40
|
-
goog.exportSymbol('proto.WorkLocationGetByIdRequest', null, global);
|
|
41
|
-
goog.exportSymbol('proto.WorkLocationGetByIdResponse', null, global);
|
|
42
|
-
/**
|
|
43
|
-
* Generated by JsPbCodeGenerator.
|
|
44
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
45
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
46
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
47
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
48
|
-
* valid.
|
|
49
|
-
* @extends {jspb.Message}
|
|
50
|
-
* @constructor
|
|
51
|
-
*/
|
|
52
|
-
proto.WorkLocation = function(opt_data) {
|
|
53
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
54
|
-
};
|
|
55
|
-
goog.inherits(proto.WorkLocation, jspb.Message);
|
|
56
|
-
if (goog.DEBUG && !COMPILED) {
|
|
57
|
-
/**
|
|
58
|
-
* @public
|
|
59
|
-
* @override
|
|
60
|
-
*/
|
|
61
|
-
proto.WorkLocation.displayName = 'proto.WorkLocation';
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Generated by JsPbCodeGenerator.
|
|
65
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
66
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
67
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
68
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
69
|
-
* valid.
|
|
70
|
-
* @extends {jspb.Message}
|
|
71
|
-
* @constructor
|
|
72
|
-
*/
|
|
73
|
-
proto.BaseWorkLocation = function(opt_data) {
|
|
74
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
75
|
-
};
|
|
76
|
-
goog.inherits(proto.BaseWorkLocation, jspb.Message);
|
|
77
|
-
if (goog.DEBUG && !COMPILED) {
|
|
78
|
-
/**
|
|
79
|
-
* @public
|
|
80
|
-
* @override
|
|
81
|
-
*/
|
|
82
|
-
proto.BaseWorkLocation.displayName = 'proto.BaseWorkLocation';
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* Generated by JsPbCodeGenerator.
|
|
86
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
87
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
88
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
89
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
90
|
-
* valid.
|
|
91
|
-
* @extends {jspb.Message}
|
|
92
|
-
* @constructor
|
|
93
|
-
*/
|
|
94
|
-
proto.WorkLocationGetByIdRequest = function(opt_data) {
|
|
95
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
96
|
-
};
|
|
97
|
-
goog.inherits(proto.WorkLocationGetByIdRequest, jspb.Message);
|
|
98
|
-
if (goog.DEBUG && !COMPILED) {
|
|
99
|
-
/**
|
|
100
|
-
* @public
|
|
101
|
-
* @override
|
|
102
|
-
*/
|
|
103
|
-
proto.WorkLocationGetByIdRequest.displayName = 'proto.WorkLocationGetByIdRequest';
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* Generated by JsPbCodeGenerator.
|
|
107
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
108
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
109
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
110
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
111
|
-
* valid.
|
|
112
|
-
* @extends {jspb.Message}
|
|
113
|
-
* @constructor
|
|
114
|
-
*/
|
|
115
|
-
proto.CreateWorkLocationRequest = function(opt_data) {
|
|
116
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
117
|
-
};
|
|
118
|
-
goog.inherits(proto.CreateWorkLocationRequest, jspb.Message);
|
|
119
|
-
if (goog.DEBUG && !COMPILED) {
|
|
120
|
-
/**
|
|
121
|
-
* @public
|
|
122
|
-
* @override
|
|
123
|
-
*/
|
|
124
|
-
proto.CreateWorkLocationRequest.displayName = 'proto.CreateWorkLocationRequest';
|
|
125
|
-
}
|
|
126
|
-
/**
|
|
127
|
-
* Generated by JsPbCodeGenerator.
|
|
128
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
129
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
130
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
131
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
132
|
-
* valid.
|
|
133
|
-
* @extends {jspb.Message}
|
|
134
|
-
* @constructor
|
|
135
|
-
*/
|
|
136
|
-
proto.UpdateWorkLocationRequest = function(opt_data) {
|
|
137
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
138
|
-
};
|
|
139
|
-
goog.inherits(proto.UpdateWorkLocationRequest, jspb.Message);
|
|
140
|
-
if (goog.DEBUG && !COMPILED) {
|
|
141
|
-
/**
|
|
142
|
-
* @public
|
|
143
|
-
* @override
|
|
144
|
-
*/
|
|
145
|
-
proto.UpdateWorkLocationRequest.displayName = 'proto.UpdateWorkLocationRequest';
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* Generated by JsPbCodeGenerator.
|
|
149
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
150
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
151
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
152
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
153
|
-
* valid.
|
|
154
|
-
* @extends {jspb.Message}
|
|
155
|
-
* @constructor
|
|
156
|
-
*/
|
|
157
|
-
proto.DeleteWorkLocationRequest = function(opt_data) {
|
|
158
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
159
|
-
};
|
|
160
|
-
goog.inherits(proto.DeleteWorkLocationRequest, jspb.Message);
|
|
161
|
-
if (goog.DEBUG && !COMPILED) {
|
|
162
|
-
/**
|
|
163
|
-
* @public
|
|
164
|
-
* @override
|
|
165
|
-
*/
|
|
166
|
-
proto.DeleteWorkLocationRequest.displayName = 'proto.DeleteWorkLocationRequest';
|
|
167
|
-
}
|
|
168
|
-
/**
|
|
169
|
-
* Generated by JsPbCodeGenerator.
|
|
170
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
171
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
172
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
173
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
174
|
-
* valid.
|
|
175
|
-
* @extends {jspb.Message}
|
|
176
|
-
* @constructor
|
|
177
|
-
*/
|
|
178
|
-
proto.DeleteWorkLocationResponse = function(opt_data) {
|
|
179
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
180
|
-
};
|
|
181
|
-
goog.inherits(proto.DeleteWorkLocationResponse, jspb.Message);
|
|
182
|
-
if (goog.DEBUG && !COMPILED) {
|
|
183
|
-
/**
|
|
184
|
-
* @public
|
|
185
|
-
* @override
|
|
186
|
-
*/
|
|
187
|
-
proto.DeleteWorkLocationResponse.displayName = 'proto.DeleteWorkLocationResponse';
|
|
188
|
-
}
|
|
189
|
-
/**
|
|
190
|
-
* Generated by JsPbCodeGenerator.
|
|
191
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
192
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
193
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
194
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
195
|
-
* valid.
|
|
196
|
-
* @extends {jspb.Message}
|
|
197
|
-
* @constructor
|
|
198
|
-
*/
|
|
199
|
-
proto.GetListWorkLocationRequest = function(opt_data) {
|
|
200
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
201
|
-
};
|
|
202
|
-
goog.inherits(proto.GetListWorkLocationRequest, jspb.Message);
|
|
203
|
-
if (goog.DEBUG && !COMPILED) {
|
|
204
|
-
/**
|
|
205
|
-
* @public
|
|
206
|
-
* @override
|
|
207
|
-
*/
|
|
208
|
-
proto.GetListWorkLocationRequest.displayName = 'proto.GetListWorkLocationRequest';
|
|
209
|
-
}
|
|
210
|
-
/**
|
|
211
|
-
* Generated by JsPbCodeGenerator.
|
|
212
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
213
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
214
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
215
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
216
|
-
* valid.
|
|
217
|
-
* @extends {jspb.Message}
|
|
218
|
-
* @constructor
|
|
219
|
-
*/
|
|
220
|
-
proto.CreateWorkLocationResponse = function(opt_data) {
|
|
221
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
222
|
-
};
|
|
223
|
-
goog.inherits(proto.CreateWorkLocationResponse, jspb.Message);
|
|
224
|
-
if (goog.DEBUG && !COMPILED) {
|
|
225
|
-
/**
|
|
226
|
-
* @public
|
|
227
|
-
* @override
|
|
228
|
-
*/
|
|
229
|
-
proto.CreateWorkLocationResponse.displayName = 'proto.CreateWorkLocationResponse';
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* Generated by JsPbCodeGenerator.
|
|
233
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
234
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
235
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
236
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
237
|
-
* valid.
|
|
238
|
-
* @extends {jspb.Message}
|
|
239
|
-
* @constructor
|
|
240
|
-
*/
|
|
241
|
-
proto.GetListWorkLocationResponse = function(opt_data) {
|
|
242
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListWorkLocationResponse.repeatedFields_, null);
|
|
243
|
-
};
|
|
244
|
-
goog.inherits(proto.GetListWorkLocationResponse, jspb.Message);
|
|
245
|
-
if (goog.DEBUG && !COMPILED) {
|
|
246
|
-
/**
|
|
247
|
-
* @public
|
|
248
|
-
* @override
|
|
249
|
-
*/
|
|
250
|
-
proto.GetListWorkLocationResponse.displayName = 'proto.GetListWorkLocationResponse';
|
|
251
|
-
}
|
|
252
|
-
/**
|
|
253
|
-
* Generated by JsPbCodeGenerator.
|
|
254
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
255
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
256
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
257
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
258
|
-
* valid.
|
|
259
|
-
* @extends {jspb.Message}
|
|
260
|
-
* @constructor
|
|
261
|
-
*/
|
|
262
|
-
proto.UpdateWorkLocationResponse = function(opt_data) {
|
|
263
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
264
|
-
};
|
|
265
|
-
goog.inherits(proto.UpdateWorkLocationResponse, jspb.Message);
|
|
266
|
-
if (goog.DEBUG && !COMPILED) {
|
|
267
|
-
/**
|
|
268
|
-
* @public
|
|
269
|
-
* @override
|
|
270
|
-
*/
|
|
271
|
-
proto.UpdateWorkLocationResponse.displayName = 'proto.UpdateWorkLocationResponse';
|
|
272
|
-
}
|
|
273
|
-
/**
|
|
274
|
-
* Generated by JsPbCodeGenerator.
|
|
275
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
276
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
277
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
278
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
279
|
-
* valid.
|
|
280
|
-
* @extends {jspb.Message}
|
|
281
|
-
* @constructor
|
|
282
|
-
*/
|
|
283
|
-
proto.WorkLocationGetByIdResponse = function(opt_data) {
|
|
284
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
285
|
-
};
|
|
286
|
-
goog.inherits(proto.WorkLocationGetByIdResponse, jspb.Message);
|
|
287
|
-
if (goog.DEBUG && !COMPILED) {
|
|
288
|
-
/**
|
|
289
|
-
* @public
|
|
290
|
-
* @override
|
|
291
|
-
*/
|
|
292
|
-
proto.WorkLocationGetByIdResponse.displayName = 'proto.WorkLocationGetByIdResponse';
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
298
|
-
/**
|
|
299
|
-
* Creates an object representation of this proto.
|
|
300
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
301
|
-
* Optional fields that are not set will be set to undefined.
|
|
302
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
303
|
-
* For the list of reserved names please see:
|
|
304
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
305
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
306
|
-
* JSPB instance for transitional soy proto support:
|
|
307
|
-
* http://goto/soy-param-migration
|
|
308
|
-
* @return {!Object}
|
|
309
|
-
*/
|
|
310
|
-
proto.WorkLocation.prototype.toObject = function(opt_includeInstance) {
|
|
311
|
-
return proto.WorkLocation.toObject(opt_includeInstance, this);
|
|
312
|
-
};
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
/**
|
|
316
|
-
* Static version of the {@see toObject} method.
|
|
317
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
318
|
-
* the JSPB instance for transitional soy proto support:
|
|
319
|
-
* http://goto/soy-param-migration
|
|
320
|
-
* @param {!proto.WorkLocation} msg The msg instance to transform.
|
|
321
|
-
* @return {!Object}
|
|
322
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
323
|
-
*/
|
|
324
|
-
proto.WorkLocation.toObject = function(includeInstance, msg) {
|
|
325
|
-
var f, obj = {
|
|
326
|
-
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
327
|
-
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
328
|
-
locationName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
329
|
-
alias: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
330
|
-
address: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
331
|
-
letterAddressLine1: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
332
|
-
letterAddressLine2: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
333
|
-
letterAddressLine3: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
334
|
-
phoneNumber: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
335
|
-
email: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
336
|
-
npwp: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
337
|
-
npwpAddress: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
338
|
-
latitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0),
|
|
339
|
-
longitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 14, 0.0),
|
|
340
|
-
radius: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
341
|
-
countryReferencesId: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
342
|
-
villageReferencesId: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
343
|
-
cityReferencesId: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
344
|
-
districtReferencesId: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
345
|
-
provinceReferencesId: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
346
|
-
areaReferencesId: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
347
|
-
taxOfficeLocation: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
348
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 23, "")
|
|
349
|
-
};
|
|
350
|
-
|
|
351
|
-
if (includeInstance) {
|
|
352
|
-
obj.$jspbMessageInstance = msg;
|
|
353
|
-
}
|
|
354
|
-
return obj;
|
|
355
|
-
};
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
/**
|
|
360
|
-
* Deserializes binary data (in protobuf wire format).
|
|
361
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
362
|
-
* @return {!proto.WorkLocation}
|
|
363
|
-
*/
|
|
364
|
-
proto.WorkLocation.deserializeBinary = function(bytes) {
|
|
365
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
366
|
-
var msg = new proto.WorkLocation;
|
|
367
|
-
return proto.WorkLocation.deserializeBinaryFromReader(msg, reader);
|
|
368
|
-
};
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
373
|
-
* given reader into the given message object.
|
|
374
|
-
* @param {!proto.WorkLocation} msg The message object to deserialize into.
|
|
375
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
376
|
-
* @return {!proto.WorkLocation}
|
|
377
|
-
*/
|
|
378
|
-
proto.WorkLocation.deserializeBinaryFromReader = function(msg, reader) {
|
|
379
|
-
while (reader.nextField()) {
|
|
380
|
-
if (reader.isEndGroup()) {
|
|
381
|
-
break;
|
|
382
|
-
}
|
|
383
|
-
var field = reader.getFieldNumber();
|
|
384
|
-
switch (field) {
|
|
385
|
-
case 1:
|
|
386
|
-
var value = /** @type {string} */ (reader.readString());
|
|
387
|
-
msg.setCompaniesReferencesId(value);
|
|
388
|
-
break;
|
|
389
|
-
case 2:
|
|
390
|
-
var value = /** @type {string} */ (reader.readString());
|
|
391
|
-
msg.setCode(value);
|
|
392
|
-
break;
|
|
393
|
-
case 3:
|
|
394
|
-
var value = /** @type {string} */ (reader.readString());
|
|
395
|
-
msg.setLocationName(value);
|
|
396
|
-
break;
|
|
397
|
-
case 4:
|
|
398
|
-
var value = /** @type {string} */ (reader.readString());
|
|
399
|
-
msg.setAlias(value);
|
|
400
|
-
break;
|
|
401
|
-
case 5:
|
|
402
|
-
var value = /** @type {string} */ (reader.readString());
|
|
403
|
-
msg.setAddress(value);
|
|
404
|
-
break;
|
|
405
|
-
case 6:
|
|
406
|
-
var value = /** @type {string} */ (reader.readString());
|
|
407
|
-
msg.setLetterAddressLine1(value);
|
|
408
|
-
break;
|
|
409
|
-
case 7:
|
|
410
|
-
var value = /** @type {string} */ (reader.readString());
|
|
411
|
-
msg.setLetterAddressLine2(value);
|
|
412
|
-
break;
|
|
413
|
-
case 8:
|
|
414
|
-
var value = /** @type {string} */ (reader.readString());
|
|
415
|
-
msg.setLetterAddressLine3(value);
|
|
416
|
-
break;
|
|
417
|
-
case 9:
|
|
418
|
-
var value = /** @type {string} */ (reader.readString());
|
|
419
|
-
msg.setPhoneNumber(value);
|
|
420
|
-
break;
|
|
421
|
-
case 10:
|
|
422
|
-
var value = /** @type {string} */ (reader.readString());
|
|
423
|
-
msg.setEmail(value);
|
|
424
|
-
break;
|
|
425
|
-
case 11:
|
|
426
|
-
var value = /** @type {string} */ (reader.readString());
|
|
427
|
-
msg.setNpwp(value);
|
|
428
|
-
break;
|
|
429
|
-
case 12:
|
|
430
|
-
var value = /** @type {string} */ (reader.readString());
|
|
431
|
-
msg.setNpwpAddress(value);
|
|
432
|
-
break;
|
|
433
|
-
case 13:
|
|
434
|
-
var value = /** @type {number} */ (reader.readDouble());
|
|
435
|
-
msg.setLatitude(value);
|
|
436
|
-
break;
|
|
437
|
-
case 14:
|
|
438
|
-
var value = /** @type {number} */ (reader.readDouble());
|
|
439
|
-
msg.setLongitude(value);
|
|
440
|
-
break;
|
|
441
|
-
case 15:
|
|
442
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
443
|
-
msg.setRadius(value);
|
|
444
|
-
break;
|
|
445
|
-
case 16:
|
|
446
|
-
var value = /** @type {string} */ (reader.readString());
|
|
447
|
-
msg.setCountryReferencesId(value);
|
|
448
|
-
break;
|
|
449
|
-
case 17:
|
|
450
|
-
var value = /** @type {string} */ (reader.readString());
|
|
451
|
-
msg.setVillageReferencesId(value);
|
|
452
|
-
break;
|
|
453
|
-
case 18:
|
|
454
|
-
var value = /** @type {string} */ (reader.readString());
|
|
455
|
-
msg.setCityReferencesId(value);
|
|
456
|
-
break;
|
|
457
|
-
case 19:
|
|
458
|
-
var value = /** @type {string} */ (reader.readString());
|
|
459
|
-
msg.setDistrictReferencesId(value);
|
|
460
|
-
break;
|
|
461
|
-
case 20:
|
|
462
|
-
var value = /** @type {string} */ (reader.readString());
|
|
463
|
-
msg.setProvinceReferencesId(value);
|
|
464
|
-
break;
|
|
465
|
-
case 21:
|
|
466
|
-
var value = /** @type {string} */ (reader.readString());
|
|
467
|
-
msg.setAreaReferencesId(value);
|
|
468
|
-
break;
|
|
469
|
-
case 22:
|
|
470
|
-
var value = /** @type {string} */ (reader.readString());
|
|
471
|
-
msg.setTaxOfficeLocation(value);
|
|
472
|
-
break;
|
|
473
|
-
case 23:
|
|
474
|
-
var value = /** @type {string} */ (reader.readString());
|
|
475
|
-
msg.setReferencesId(value);
|
|
476
|
-
break;
|
|
477
|
-
default:
|
|
478
|
-
reader.skipField();
|
|
479
|
-
break;
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
return msg;
|
|
483
|
-
};
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
/**
|
|
487
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
488
|
-
* @return {!Uint8Array}
|
|
489
|
-
*/
|
|
490
|
-
proto.WorkLocation.prototype.serializeBinary = function() {
|
|
491
|
-
var writer = new jspb.BinaryWriter();
|
|
492
|
-
proto.WorkLocation.serializeBinaryToWriter(this, writer);
|
|
493
|
-
return writer.getResultBuffer();
|
|
494
|
-
};
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
/**
|
|
498
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
499
|
-
* format), writing to the given BinaryWriter.
|
|
500
|
-
* @param {!proto.WorkLocation} message
|
|
501
|
-
* @param {!jspb.BinaryWriter} writer
|
|
502
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
503
|
-
*/
|
|
504
|
-
proto.WorkLocation.serializeBinaryToWriter = function(message, writer) {
|
|
505
|
-
var f = undefined;
|
|
506
|
-
f = message.getCompaniesReferencesId();
|
|
507
|
-
if (f.length > 0) {
|
|
508
|
-
writer.writeString(
|
|
509
|
-
1,
|
|
510
|
-
f
|
|
511
|
-
);
|
|
512
|
-
}
|
|
513
|
-
f = message.getCode();
|
|
514
|
-
if (f.length > 0) {
|
|
515
|
-
writer.writeString(
|
|
516
|
-
2,
|
|
517
|
-
f
|
|
518
|
-
);
|
|
519
|
-
}
|
|
520
|
-
f = message.getLocationName();
|
|
521
|
-
if (f.length > 0) {
|
|
522
|
-
writer.writeString(
|
|
523
|
-
3,
|
|
524
|
-
f
|
|
525
|
-
);
|
|
526
|
-
}
|
|
527
|
-
f = message.getAlias();
|
|
528
|
-
if (f.length > 0) {
|
|
529
|
-
writer.writeString(
|
|
530
|
-
4,
|
|
531
|
-
f
|
|
532
|
-
);
|
|
533
|
-
}
|
|
534
|
-
f = message.getAddress();
|
|
535
|
-
if (f.length > 0) {
|
|
536
|
-
writer.writeString(
|
|
537
|
-
5,
|
|
538
|
-
f
|
|
539
|
-
);
|
|
540
|
-
}
|
|
541
|
-
f = message.getLetterAddressLine1();
|
|
542
|
-
if (f.length > 0) {
|
|
543
|
-
writer.writeString(
|
|
544
|
-
6,
|
|
545
|
-
f
|
|
546
|
-
);
|
|
547
|
-
}
|
|
548
|
-
f = message.getLetterAddressLine2();
|
|
549
|
-
if (f.length > 0) {
|
|
550
|
-
writer.writeString(
|
|
551
|
-
7,
|
|
552
|
-
f
|
|
553
|
-
);
|
|
554
|
-
}
|
|
555
|
-
f = message.getLetterAddressLine3();
|
|
556
|
-
if (f.length > 0) {
|
|
557
|
-
writer.writeString(
|
|
558
|
-
8,
|
|
559
|
-
f
|
|
560
|
-
);
|
|
561
|
-
}
|
|
562
|
-
f = message.getPhoneNumber();
|
|
563
|
-
if (f.length > 0) {
|
|
564
|
-
writer.writeString(
|
|
565
|
-
9,
|
|
566
|
-
f
|
|
567
|
-
);
|
|
568
|
-
}
|
|
569
|
-
f = message.getEmail();
|
|
570
|
-
if (f.length > 0) {
|
|
571
|
-
writer.writeString(
|
|
572
|
-
10,
|
|
573
|
-
f
|
|
574
|
-
);
|
|
575
|
-
}
|
|
576
|
-
f = message.getNpwp();
|
|
577
|
-
if (f.length > 0) {
|
|
578
|
-
writer.writeString(
|
|
579
|
-
11,
|
|
580
|
-
f
|
|
581
|
-
);
|
|
582
|
-
}
|
|
583
|
-
f = message.getNpwpAddress();
|
|
584
|
-
if (f.length > 0) {
|
|
585
|
-
writer.writeString(
|
|
586
|
-
12,
|
|
587
|
-
f
|
|
588
|
-
);
|
|
589
|
-
}
|
|
590
|
-
f = message.getLatitude();
|
|
591
|
-
if (f !== 0.0) {
|
|
592
|
-
writer.writeDouble(
|
|
593
|
-
13,
|
|
594
|
-
f
|
|
595
|
-
);
|
|
596
|
-
}
|
|
597
|
-
f = message.getLongitude();
|
|
598
|
-
if (f !== 0.0) {
|
|
599
|
-
writer.writeDouble(
|
|
600
|
-
14,
|
|
601
|
-
f
|
|
602
|
-
);
|
|
603
|
-
}
|
|
604
|
-
f = message.getRadius();
|
|
605
|
-
if (f !== 0) {
|
|
606
|
-
writer.writeInt64(
|
|
607
|
-
15,
|
|
608
|
-
f
|
|
609
|
-
);
|
|
610
|
-
}
|
|
611
|
-
f = message.getCountryReferencesId();
|
|
612
|
-
if (f.length > 0) {
|
|
613
|
-
writer.writeString(
|
|
614
|
-
16,
|
|
615
|
-
f
|
|
616
|
-
);
|
|
617
|
-
}
|
|
618
|
-
f = message.getVillageReferencesId();
|
|
619
|
-
if (f.length > 0) {
|
|
620
|
-
writer.writeString(
|
|
621
|
-
17,
|
|
622
|
-
f
|
|
623
|
-
);
|
|
624
|
-
}
|
|
625
|
-
f = message.getCityReferencesId();
|
|
626
|
-
if (f.length > 0) {
|
|
627
|
-
writer.writeString(
|
|
628
|
-
18,
|
|
629
|
-
f
|
|
630
|
-
);
|
|
631
|
-
}
|
|
632
|
-
f = message.getDistrictReferencesId();
|
|
633
|
-
if (f.length > 0) {
|
|
634
|
-
writer.writeString(
|
|
635
|
-
19,
|
|
636
|
-
f
|
|
637
|
-
);
|
|
638
|
-
}
|
|
639
|
-
f = message.getProvinceReferencesId();
|
|
640
|
-
if (f.length > 0) {
|
|
641
|
-
writer.writeString(
|
|
642
|
-
20,
|
|
643
|
-
f
|
|
644
|
-
);
|
|
645
|
-
}
|
|
646
|
-
f = message.getAreaReferencesId();
|
|
647
|
-
if (f.length > 0) {
|
|
648
|
-
writer.writeString(
|
|
649
|
-
21,
|
|
650
|
-
f
|
|
651
|
-
);
|
|
652
|
-
}
|
|
653
|
-
f = message.getTaxOfficeLocation();
|
|
654
|
-
if (f.length > 0) {
|
|
655
|
-
writer.writeString(
|
|
656
|
-
22,
|
|
657
|
-
f
|
|
658
|
-
);
|
|
659
|
-
}
|
|
660
|
-
f = message.getReferencesId();
|
|
661
|
-
if (f.length > 0) {
|
|
662
|
-
writer.writeString(
|
|
663
|
-
23,
|
|
664
|
-
f
|
|
665
|
-
);
|
|
666
|
-
}
|
|
667
|
-
};
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
/**
|
|
671
|
-
* optional string companies_references_id = 1;
|
|
672
|
-
* @return {string}
|
|
673
|
-
*/
|
|
674
|
-
proto.WorkLocation.prototype.getCompaniesReferencesId = function() {
|
|
675
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
676
|
-
};
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
/**
|
|
680
|
-
* @param {string} value
|
|
681
|
-
* @return {!proto.WorkLocation} returns this
|
|
682
|
-
*/
|
|
683
|
-
proto.WorkLocation.prototype.setCompaniesReferencesId = function(value) {
|
|
684
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
685
|
-
};
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
/**
|
|
689
|
-
* optional string code = 2;
|
|
690
|
-
* @return {string}
|
|
691
|
-
*/
|
|
692
|
-
proto.WorkLocation.prototype.getCode = function() {
|
|
693
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
694
|
-
};
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
/**
|
|
698
|
-
* @param {string} value
|
|
699
|
-
* @return {!proto.WorkLocation} returns this
|
|
700
|
-
*/
|
|
701
|
-
proto.WorkLocation.prototype.setCode = function(value) {
|
|
702
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
703
|
-
};
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
/**
|
|
707
|
-
* optional string location_name = 3;
|
|
708
|
-
* @return {string}
|
|
709
|
-
*/
|
|
710
|
-
proto.WorkLocation.prototype.getLocationName = function() {
|
|
711
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
712
|
-
};
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
/**
|
|
716
|
-
* @param {string} value
|
|
717
|
-
* @return {!proto.WorkLocation} returns this
|
|
718
|
-
*/
|
|
719
|
-
proto.WorkLocation.prototype.setLocationName = function(value) {
|
|
720
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
721
|
-
};
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
/**
|
|
725
|
-
* optional string alias = 4;
|
|
726
|
-
* @return {string}
|
|
727
|
-
*/
|
|
728
|
-
proto.WorkLocation.prototype.getAlias = function() {
|
|
729
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
730
|
-
};
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
/**
|
|
734
|
-
* @param {string} value
|
|
735
|
-
* @return {!proto.WorkLocation} returns this
|
|
736
|
-
*/
|
|
737
|
-
proto.WorkLocation.prototype.setAlias = function(value) {
|
|
738
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
739
|
-
};
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
/**
|
|
743
|
-
* optional string address = 5;
|
|
744
|
-
* @return {string}
|
|
745
|
-
*/
|
|
746
|
-
proto.WorkLocation.prototype.getAddress = function() {
|
|
747
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
748
|
-
};
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
/**
|
|
752
|
-
* @param {string} value
|
|
753
|
-
* @return {!proto.WorkLocation} returns this
|
|
754
|
-
*/
|
|
755
|
-
proto.WorkLocation.prototype.setAddress = function(value) {
|
|
756
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
|
757
|
-
};
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
/**
|
|
761
|
-
* optional string letter_address_line1 = 6;
|
|
762
|
-
* @return {string}
|
|
763
|
-
*/
|
|
764
|
-
proto.WorkLocation.prototype.getLetterAddressLine1 = function() {
|
|
765
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
766
|
-
};
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
/**
|
|
770
|
-
* @param {string} value
|
|
771
|
-
* @return {!proto.WorkLocation} returns this
|
|
772
|
-
*/
|
|
773
|
-
proto.WorkLocation.prototype.setLetterAddressLine1 = function(value) {
|
|
774
|
-
return jspb.Message.setProto3StringField(this, 6, value);
|
|
775
|
-
};
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
/**
|
|
779
|
-
* optional string letter_address_line2 = 7;
|
|
780
|
-
* @return {string}
|
|
781
|
-
*/
|
|
782
|
-
proto.WorkLocation.prototype.getLetterAddressLine2 = function() {
|
|
783
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
784
|
-
};
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
/**
|
|
788
|
-
* @param {string} value
|
|
789
|
-
* @return {!proto.WorkLocation} returns this
|
|
790
|
-
*/
|
|
791
|
-
proto.WorkLocation.prototype.setLetterAddressLine2 = function(value) {
|
|
792
|
-
return jspb.Message.setProto3StringField(this, 7, value);
|
|
793
|
-
};
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
/**
|
|
797
|
-
* optional string letter_address_line3 = 8;
|
|
798
|
-
* @return {string}
|
|
799
|
-
*/
|
|
800
|
-
proto.WorkLocation.prototype.getLetterAddressLine3 = function() {
|
|
801
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
802
|
-
};
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
/**
|
|
806
|
-
* @param {string} value
|
|
807
|
-
* @return {!proto.WorkLocation} returns this
|
|
808
|
-
*/
|
|
809
|
-
proto.WorkLocation.prototype.setLetterAddressLine3 = function(value) {
|
|
810
|
-
return jspb.Message.setProto3StringField(this, 8, value);
|
|
811
|
-
};
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
/**
|
|
815
|
-
* optional string phone_number = 9;
|
|
816
|
-
* @return {string}
|
|
817
|
-
*/
|
|
818
|
-
proto.WorkLocation.prototype.getPhoneNumber = function() {
|
|
819
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
820
|
-
};
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
/**
|
|
824
|
-
* @param {string} value
|
|
825
|
-
* @return {!proto.WorkLocation} returns this
|
|
826
|
-
*/
|
|
827
|
-
proto.WorkLocation.prototype.setPhoneNumber = function(value) {
|
|
828
|
-
return jspb.Message.setProto3StringField(this, 9, value);
|
|
829
|
-
};
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
/**
|
|
833
|
-
* optional string email = 10;
|
|
834
|
-
* @return {string}
|
|
835
|
-
*/
|
|
836
|
-
proto.WorkLocation.prototype.getEmail = function() {
|
|
837
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
838
|
-
};
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
/**
|
|
842
|
-
* @param {string} value
|
|
843
|
-
* @return {!proto.WorkLocation} returns this
|
|
844
|
-
*/
|
|
845
|
-
proto.WorkLocation.prototype.setEmail = function(value) {
|
|
846
|
-
return jspb.Message.setProto3StringField(this, 10, value);
|
|
847
|
-
};
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
/**
|
|
851
|
-
* optional string npwp = 11;
|
|
852
|
-
* @return {string}
|
|
853
|
-
*/
|
|
854
|
-
proto.WorkLocation.prototype.getNpwp = function() {
|
|
855
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
856
|
-
};
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
/**
|
|
860
|
-
* @param {string} value
|
|
861
|
-
* @return {!proto.WorkLocation} returns this
|
|
862
|
-
*/
|
|
863
|
-
proto.WorkLocation.prototype.setNpwp = function(value) {
|
|
864
|
-
return jspb.Message.setProto3StringField(this, 11, value);
|
|
865
|
-
};
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
/**
|
|
869
|
-
* optional string npwp_address = 12;
|
|
870
|
-
* @return {string}
|
|
871
|
-
*/
|
|
872
|
-
proto.WorkLocation.prototype.getNpwpAddress = function() {
|
|
873
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
874
|
-
};
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
/**
|
|
878
|
-
* @param {string} value
|
|
879
|
-
* @return {!proto.WorkLocation} returns this
|
|
880
|
-
*/
|
|
881
|
-
proto.WorkLocation.prototype.setNpwpAddress = function(value) {
|
|
882
|
-
return jspb.Message.setProto3StringField(this, 12, value);
|
|
883
|
-
};
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
/**
|
|
887
|
-
* optional double latitude = 13;
|
|
888
|
-
* @return {number}
|
|
889
|
-
*/
|
|
890
|
-
proto.WorkLocation.prototype.getLatitude = function() {
|
|
891
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0));
|
|
892
|
-
};
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
/**
|
|
896
|
-
* @param {number} value
|
|
897
|
-
* @return {!proto.WorkLocation} returns this
|
|
898
|
-
*/
|
|
899
|
-
proto.WorkLocation.prototype.setLatitude = function(value) {
|
|
900
|
-
return jspb.Message.setProto3FloatField(this, 13, value);
|
|
901
|
-
};
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
/**
|
|
905
|
-
* optional double longitude = 14;
|
|
906
|
-
* @return {number}
|
|
907
|
-
*/
|
|
908
|
-
proto.WorkLocation.prototype.getLongitude = function() {
|
|
909
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0));
|
|
910
|
-
};
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
/**
|
|
914
|
-
* @param {number} value
|
|
915
|
-
* @return {!proto.WorkLocation} returns this
|
|
916
|
-
*/
|
|
917
|
-
proto.WorkLocation.prototype.setLongitude = function(value) {
|
|
918
|
-
return jspb.Message.setProto3FloatField(this, 14, value);
|
|
919
|
-
};
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
/**
|
|
923
|
-
* optional int64 radius = 15;
|
|
924
|
-
* @return {number}
|
|
925
|
-
*/
|
|
926
|
-
proto.WorkLocation.prototype.getRadius = function() {
|
|
927
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
928
|
-
};
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
/**
|
|
932
|
-
* @param {number} value
|
|
933
|
-
* @return {!proto.WorkLocation} returns this
|
|
934
|
-
*/
|
|
935
|
-
proto.WorkLocation.prototype.setRadius = function(value) {
|
|
936
|
-
return jspb.Message.setProto3IntField(this, 15, value);
|
|
937
|
-
};
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
/**
|
|
941
|
-
* optional string country_references_id = 16;
|
|
942
|
-
* @return {string}
|
|
943
|
-
*/
|
|
944
|
-
proto.WorkLocation.prototype.getCountryReferencesId = function() {
|
|
945
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
946
|
-
};
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
/**
|
|
950
|
-
* @param {string} value
|
|
951
|
-
* @return {!proto.WorkLocation} returns this
|
|
952
|
-
*/
|
|
953
|
-
proto.WorkLocation.prototype.setCountryReferencesId = function(value) {
|
|
954
|
-
return jspb.Message.setProto3StringField(this, 16, value);
|
|
955
|
-
};
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
/**
|
|
959
|
-
* optional string village_references_id = 17;
|
|
960
|
-
* @return {string}
|
|
961
|
-
*/
|
|
962
|
-
proto.WorkLocation.prototype.getVillageReferencesId = function() {
|
|
963
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
964
|
-
};
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
/**
|
|
968
|
-
* @param {string} value
|
|
969
|
-
* @return {!proto.WorkLocation} returns this
|
|
970
|
-
*/
|
|
971
|
-
proto.WorkLocation.prototype.setVillageReferencesId = function(value) {
|
|
972
|
-
return jspb.Message.setProto3StringField(this, 17, value);
|
|
973
|
-
};
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
/**
|
|
977
|
-
* optional string city_references_id = 18;
|
|
978
|
-
* @return {string}
|
|
979
|
-
*/
|
|
980
|
-
proto.WorkLocation.prototype.getCityReferencesId = function() {
|
|
981
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
982
|
-
};
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
/**
|
|
986
|
-
* @param {string} value
|
|
987
|
-
* @return {!proto.WorkLocation} returns this
|
|
988
|
-
*/
|
|
989
|
-
proto.WorkLocation.prototype.setCityReferencesId = function(value) {
|
|
990
|
-
return jspb.Message.setProto3StringField(this, 18, value);
|
|
991
|
-
};
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
/**
|
|
995
|
-
* optional string district_references_id = 19;
|
|
996
|
-
* @return {string}
|
|
997
|
-
*/
|
|
998
|
-
proto.WorkLocation.prototype.getDistrictReferencesId = function() {
|
|
999
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
1000
|
-
};
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
/**
|
|
1004
|
-
* @param {string} value
|
|
1005
|
-
* @return {!proto.WorkLocation} returns this
|
|
1006
|
-
*/
|
|
1007
|
-
proto.WorkLocation.prototype.setDistrictReferencesId = function(value) {
|
|
1008
|
-
return jspb.Message.setProto3StringField(this, 19, value);
|
|
1009
|
-
};
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
/**
|
|
1013
|
-
* optional string province_references_id = 20;
|
|
1014
|
-
* @return {string}
|
|
1015
|
-
*/
|
|
1016
|
-
proto.WorkLocation.prototype.getProvinceReferencesId = function() {
|
|
1017
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
1018
|
-
};
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
/**
|
|
1022
|
-
* @param {string} value
|
|
1023
|
-
* @return {!proto.WorkLocation} returns this
|
|
1024
|
-
*/
|
|
1025
|
-
proto.WorkLocation.prototype.setProvinceReferencesId = function(value) {
|
|
1026
|
-
return jspb.Message.setProto3StringField(this, 20, value);
|
|
1027
|
-
};
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
/**
|
|
1031
|
-
* optional string area_references_id = 21;
|
|
1032
|
-
* @return {string}
|
|
1033
|
-
*/
|
|
1034
|
-
proto.WorkLocation.prototype.getAreaReferencesId = function() {
|
|
1035
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
1036
|
-
};
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
/**
|
|
1040
|
-
* @param {string} value
|
|
1041
|
-
* @return {!proto.WorkLocation} returns this
|
|
1042
|
-
*/
|
|
1043
|
-
proto.WorkLocation.prototype.setAreaReferencesId = function(value) {
|
|
1044
|
-
return jspb.Message.setProto3StringField(this, 21, value);
|
|
1045
|
-
};
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
/**
|
|
1049
|
-
* optional string tax_office_location = 22;
|
|
1050
|
-
* @return {string}
|
|
1051
|
-
*/
|
|
1052
|
-
proto.WorkLocation.prototype.getTaxOfficeLocation = function() {
|
|
1053
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
1054
|
-
};
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
/**
|
|
1058
|
-
* @param {string} value
|
|
1059
|
-
* @return {!proto.WorkLocation} returns this
|
|
1060
|
-
*/
|
|
1061
|
-
proto.WorkLocation.prototype.setTaxOfficeLocation = function(value) {
|
|
1062
|
-
return jspb.Message.setProto3StringField(this, 22, value);
|
|
1063
|
-
};
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
/**
|
|
1067
|
-
* optional string references_id = 23;
|
|
1068
|
-
* @return {string}
|
|
1069
|
-
*/
|
|
1070
|
-
proto.WorkLocation.prototype.getReferencesId = function() {
|
|
1071
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
|
1072
|
-
};
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
/**
|
|
1076
|
-
* @param {string} value
|
|
1077
|
-
* @return {!proto.WorkLocation} returns this
|
|
1078
|
-
*/
|
|
1079
|
-
proto.WorkLocation.prototype.setReferencesId = function(value) {
|
|
1080
|
-
return jspb.Message.setProto3StringField(this, 23, value);
|
|
1081
|
-
};
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1088
|
-
/**
|
|
1089
|
-
* Creates an object representation of this proto.
|
|
1090
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1091
|
-
* Optional fields that are not set will be set to undefined.
|
|
1092
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1093
|
-
* For the list of reserved names please see:
|
|
1094
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1095
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1096
|
-
* JSPB instance for transitional soy proto support:
|
|
1097
|
-
* http://goto/soy-param-migration
|
|
1098
|
-
* @return {!Object}
|
|
1099
|
-
*/
|
|
1100
|
-
proto.BaseWorkLocation.prototype.toObject = function(opt_includeInstance) {
|
|
1101
|
-
return proto.BaseWorkLocation.toObject(opt_includeInstance, this);
|
|
1102
|
-
};
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
/**
|
|
1106
|
-
* Static version of the {@see toObject} method.
|
|
1107
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1108
|
-
* the JSPB instance for transitional soy proto support:
|
|
1109
|
-
* http://goto/soy-param-migration
|
|
1110
|
-
* @param {!proto.BaseWorkLocation} msg The msg instance to transform.
|
|
1111
|
-
* @return {!Object}
|
|
1112
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1113
|
-
*/
|
|
1114
|
-
proto.BaseWorkLocation.toObject = function(includeInstance, msg) {
|
|
1115
|
-
var f, obj = {
|
|
1116
|
-
code: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1117
|
-
locationName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1118
|
-
alias: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1119
|
-
address: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1120
|
-
letterAddressLine1: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1121
|
-
letterAddressLine2: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1122
|
-
letterAddressLine3: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1123
|
-
phoneNumber: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1124
|
-
email: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1125
|
-
npwp: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
1126
|
-
npwpAddress: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
1127
|
-
latitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
|
|
1128
|
-
longitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0),
|
|
1129
|
-
radius: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
1130
|
-
countryReferencesId: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
1131
|
-
country: (f = msg.getCountry()) && prisca_v1_core_location_location_pb.Country.toObject(includeInstance, f),
|
|
1132
|
-
villageReferencesId: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
1133
|
-
village: (f = msg.getVillage()) && prisca_v1_core_location_location_pb.Village.toObject(includeInstance, f),
|
|
1134
|
-
cityReferencesId: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
1135
|
-
city: (f = msg.getCity()) && prisca_v1_core_location_location_pb.City.toObject(includeInstance, f),
|
|
1136
|
-
districtReferencesId: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
1137
|
-
district: (f = msg.getDistrict()) && prisca_v1_core_location_location_pb.District.toObject(includeInstance, f),
|
|
1138
|
-
provinceReferencesId: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
1139
|
-
province: (f = msg.getProvince()) && prisca_v1_core_location_location_pb.Province.toObject(includeInstance, f),
|
|
1140
|
-
areaReferencesId: jspb.Message.getFieldWithDefault(msg, 25, ""),
|
|
1141
|
-
taxOfficeLocation: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
1142
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
1143
|
-
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
1144
|
-
company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f)
|
|
1145
|
-
};
|
|
1146
|
-
|
|
1147
|
-
if (includeInstance) {
|
|
1148
|
-
obj.$jspbMessageInstance = msg;
|
|
1149
|
-
}
|
|
1150
|
-
return obj;
|
|
1151
|
-
};
|
|
1152
|
-
}
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
/**
|
|
1156
|
-
* Deserializes binary data (in protobuf wire format).
|
|
1157
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1158
|
-
* @return {!proto.BaseWorkLocation}
|
|
1159
|
-
*/
|
|
1160
|
-
proto.BaseWorkLocation.deserializeBinary = function(bytes) {
|
|
1161
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
1162
|
-
var msg = new proto.BaseWorkLocation;
|
|
1163
|
-
return proto.BaseWorkLocation.deserializeBinaryFromReader(msg, reader);
|
|
1164
|
-
};
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
/**
|
|
1168
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
1169
|
-
* given reader into the given message object.
|
|
1170
|
-
* @param {!proto.BaseWorkLocation} msg The message object to deserialize into.
|
|
1171
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1172
|
-
* @return {!proto.BaseWorkLocation}
|
|
1173
|
-
*/
|
|
1174
|
-
proto.BaseWorkLocation.deserializeBinaryFromReader = function(msg, reader) {
|
|
1175
|
-
while (reader.nextField()) {
|
|
1176
|
-
if (reader.isEndGroup()) {
|
|
1177
|
-
break;
|
|
1178
|
-
}
|
|
1179
|
-
var field = reader.getFieldNumber();
|
|
1180
|
-
switch (field) {
|
|
1181
|
-
case 1:
|
|
1182
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1183
|
-
msg.setCode(value);
|
|
1184
|
-
break;
|
|
1185
|
-
case 2:
|
|
1186
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1187
|
-
msg.setLocationName(value);
|
|
1188
|
-
break;
|
|
1189
|
-
case 3:
|
|
1190
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1191
|
-
msg.setAlias(value);
|
|
1192
|
-
break;
|
|
1193
|
-
case 4:
|
|
1194
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1195
|
-
msg.setAddress(value);
|
|
1196
|
-
break;
|
|
1197
|
-
case 5:
|
|
1198
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1199
|
-
msg.setLetterAddressLine1(value);
|
|
1200
|
-
break;
|
|
1201
|
-
case 6:
|
|
1202
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1203
|
-
msg.setLetterAddressLine2(value);
|
|
1204
|
-
break;
|
|
1205
|
-
case 7:
|
|
1206
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1207
|
-
msg.setLetterAddressLine3(value);
|
|
1208
|
-
break;
|
|
1209
|
-
case 8:
|
|
1210
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1211
|
-
msg.setPhoneNumber(value);
|
|
1212
|
-
break;
|
|
1213
|
-
case 9:
|
|
1214
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1215
|
-
msg.setEmail(value);
|
|
1216
|
-
break;
|
|
1217
|
-
case 10:
|
|
1218
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1219
|
-
msg.setNpwp(value);
|
|
1220
|
-
break;
|
|
1221
|
-
case 11:
|
|
1222
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1223
|
-
msg.setNpwpAddress(value);
|
|
1224
|
-
break;
|
|
1225
|
-
case 12:
|
|
1226
|
-
var value = /** @type {number} */ (reader.readDouble());
|
|
1227
|
-
msg.setLatitude(value);
|
|
1228
|
-
break;
|
|
1229
|
-
case 13:
|
|
1230
|
-
var value = /** @type {number} */ (reader.readDouble());
|
|
1231
|
-
msg.setLongitude(value);
|
|
1232
|
-
break;
|
|
1233
|
-
case 14:
|
|
1234
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
1235
|
-
msg.setRadius(value);
|
|
1236
|
-
break;
|
|
1237
|
-
case 15:
|
|
1238
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1239
|
-
msg.setCountryReferencesId(value);
|
|
1240
|
-
break;
|
|
1241
|
-
case 16:
|
|
1242
|
-
var value = new prisca_v1_core_location_location_pb.Country;
|
|
1243
|
-
reader.readMessage(value,prisca_v1_core_location_location_pb.Country.deserializeBinaryFromReader);
|
|
1244
|
-
msg.setCountry(value);
|
|
1245
|
-
break;
|
|
1246
|
-
case 17:
|
|
1247
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1248
|
-
msg.setVillageReferencesId(value);
|
|
1249
|
-
break;
|
|
1250
|
-
case 18:
|
|
1251
|
-
var value = new prisca_v1_core_location_location_pb.Village;
|
|
1252
|
-
reader.readMessage(value,prisca_v1_core_location_location_pb.Village.deserializeBinaryFromReader);
|
|
1253
|
-
msg.setVillage(value);
|
|
1254
|
-
break;
|
|
1255
|
-
case 19:
|
|
1256
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1257
|
-
msg.setCityReferencesId(value);
|
|
1258
|
-
break;
|
|
1259
|
-
case 20:
|
|
1260
|
-
var value = new prisca_v1_core_location_location_pb.City;
|
|
1261
|
-
reader.readMessage(value,prisca_v1_core_location_location_pb.City.deserializeBinaryFromReader);
|
|
1262
|
-
msg.setCity(value);
|
|
1263
|
-
break;
|
|
1264
|
-
case 21:
|
|
1265
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1266
|
-
msg.setDistrictReferencesId(value);
|
|
1267
|
-
break;
|
|
1268
|
-
case 22:
|
|
1269
|
-
var value = new prisca_v1_core_location_location_pb.District;
|
|
1270
|
-
reader.readMessage(value,prisca_v1_core_location_location_pb.District.deserializeBinaryFromReader);
|
|
1271
|
-
msg.setDistrict(value);
|
|
1272
|
-
break;
|
|
1273
|
-
case 23:
|
|
1274
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1275
|
-
msg.setProvinceReferencesId(value);
|
|
1276
|
-
break;
|
|
1277
|
-
case 24:
|
|
1278
|
-
var value = new prisca_v1_core_location_location_pb.Province;
|
|
1279
|
-
reader.readMessage(value,prisca_v1_core_location_location_pb.Province.deserializeBinaryFromReader);
|
|
1280
|
-
msg.setProvince(value);
|
|
1281
|
-
break;
|
|
1282
|
-
case 25:
|
|
1283
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1284
|
-
msg.setAreaReferencesId(value);
|
|
1285
|
-
break;
|
|
1286
|
-
case 26:
|
|
1287
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1288
|
-
msg.setTaxOfficeLocation(value);
|
|
1289
|
-
break;
|
|
1290
|
-
case 27:
|
|
1291
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1292
|
-
msg.setReferencesId(value);
|
|
1293
|
-
break;
|
|
1294
|
-
case 28:
|
|
1295
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1296
|
-
msg.setCompaniesReferencesId(value);
|
|
1297
|
-
break;
|
|
1298
|
-
case 29:
|
|
1299
|
-
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
1300
|
-
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
1301
|
-
msg.setCompany(value);
|
|
1302
|
-
break;
|
|
1303
|
-
default:
|
|
1304
|
-
reader.skipField();
|
|
1305
|
-
break;
|
|
1306
|
-
}
|
|
1307
|
-
}
|
|
1308
|
-
return msg;
|
|
1309
|
-
};
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
/**
|
|
1313
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
1314
|
-
* @return {!Uint8Array}
|
|
1315
|
-
*/
|
|
1316
|
-
proto.BaseWorkLocation.prototype.serializeBinary = function() {
|
|
1317
|
-
var writer = new jspb.BinaryWriter();
|
|
1318
|
-
proto.BaseWorkLocation.serializeBinaryToWriter(this, writer);
|
|
1319
|
-
return writer.getResultBuffer();
|
|
1320
|
-
};
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
/**
|
|
1324
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
1325
|
-
* format), writing to the given BinaryWriter.
|
|
1326
|
-
* @param {!proto.BaseWorkLocation} message
|
|
1327
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1328
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1329
|
-
*/
|
|
1330
|
-
proto.BaseWorkLocation.serializeBinaryToWriter = function(message, writer) {
|
|
1331
|
-
var f = undefined;
|
|
1332
|
-
f = message.getCode();
|
|
1333
|
-
if (f.length > 0) {
|
|
1334
|
-
writer.writeString(
|
|
1335
|
-
1,
|
|
1336
|
-
f
|
|
1337
|
-
);
|
|
1338
|
-
}
|
|
1339
|
-
f = message.getLocationName();
|
|
1340
|
-
if (f.length > 0) {
|
|
1341
|
-
writer.writeString(
|
|
1342
|
-
2,
|
|
1343
|
-
f
|
|
1344
|
-
);
|
|
1345
|
-
}
|
|
1346
|
-
f = message.getAlias();
|
|
1347
|
-
if (f.length > 0) {
|
|
1348
|
-
writer.writeString(
|
|
1349
|
-
3,
|
|
1350
|
-
f
|
|
1351
|
-
);
|
|
1352
|
-
}
|
|
1353
|
-
f = message.getAddress();
|
|
1354
|
-
if (f.length > 0) {
|
|
1355
|
-
writer.writeString(
|
|
1356
|
-
4,
|
|
1357
|
-
f
|
|
1358
|
-
);
|
|
1359
|
-
}
|
|
1360
|
-
f = message.getLetterAddressLine1();
|
|
1361
|
-
if (f.length > 0) {
|
|
1362
|
-
writer.writeString(
|
|
1363
|
-
5,
|
|
1364
|
-
f
|
|
1365
|
-
);
|
|
1366
|
-
}
|
|
1367
|
-
f = message.getLetterAddressLine2();
|
|
1368
|
-
if (f.length > 0) {
|
|
1369
|
-
writer.writeString(
|
|
1370
|
-
6,
|
|
1371
|
-
f
|
|
1372
|
-
);
|
|
1373
|
-
}
|
|
1374
|
-
f = message.getLetterAddressLine3();
|
|
1375
|
-
if (f.length > 0) {
|
|
1376
|
-
writer.writeString(
|
|
1377
|
-
7,
|
|
1378
|
-
f
|
|
1379
|
-
);
|
|
1380
|
-
}
|
|
1381
|
-
f = message.getPhoneNumber();
|
|
1382
|
-
if (f.length > 0) {
|
|
1383
|
-
writer.writeString(
|
|
1384
|
-
8,
|
|
1385
|
-
f
|
|
1386
|
-
);
|
|
1387
|
-
}
|
|
1388
|
-
f = message.getEmail();
|
|
1389
|
-
if (f.length > 0) {
|
|
1390
|
-
writer.writeString(
|
|
1391
|
-
9,
|
|
1392
|
-
f
|
|
1393
|
-
);
|
|
1394
|
-
}
|
|
1395
|
-
f = message.getNpwp();
|
|
1396
|
-
if (f.length > 0) {
|
|
1397
|
-
writer.writeString(
|
|
1398
|
-
10,
|
|
1399
|
-
f
|
|
1400
|
-
);
|
|
1401
|
-
}
|
|
1402
|
-
f = message.getNpwpAddress();
|
|
1403
|
-
if (f.length > 0) {
|
|
1404
|
-
writer.writeString(
|
|
1405
|
-
11,
|
|
1406
|
-
f
|
|
1407
|
-
);
|
|
1408
|
-
}
|
|
1409
|
-
f = message.getLatitude();
|
|
1410
|
-
if (f !== 0.0) {
|
|
1411
|
-
writer.writeDouble(
|
|
1412
|
-
12,
|
|
1413
|
-
f
|
|
1414
|
-
);
|
|
1415
|
-
}
|
|
1416
|
-
f = message.getLongitude();
|
|
1417
|
-
if (f !== 0.0) {
|
|
1418
|
-
writer.writeDouble(
|
|
1419
|
-
13,
|
|
1420
|
-
f
|
|
1421
|
-
);
|
|
1422
|
-
}
|
|
1423
|
-
f = message.getRadius();
|
|
1424
|
-
if (f !== 0) {
|
|
1425
|
-
writer.writeInt64(
|
|
1426
|
-
14,
|
|
1427
|
-
f
|
|
1428
|
-
);
|
|
1429
|
-
}
|
|
1430
|
-
f = message.getCountryReferencesId();
|
|
1431
|
-
if (f.length > 0) {
|
|
1432
|
-
writer.writeString(
|
|
1433
|
-
15,
|
|
1434
|
-
f
|
|
1435
|
-
);
|
|
1436
|
-
}
|
|
1437
|
-
f = message.getCountry();
|
|
1438
|
-
if (f != null) {
|
|
1439
|
-
writer.writeMessage(
|
|
1440
|
-
16,
|
|
1441
|
-
f,
|
|
1442
|
-
prisca_v1_core_location_location_pb.Country.serializeBinaryToWriter
|
|
1443
|
-
);
|
|
1444
|
-
}
|
|
1445
|
-
f = message.getVillageReferencesId();
|
|
1446
|
-
if (f.length > 0) {
|
|
1447
|
-
writer.writeString(
|
|
1448
|
-
17,
|
|
1449
|
-
f
|
|
1450
|
-
);
|
|
1451
|
-
}
|
|
1452
|
-
f = message.getVillage();
|
|
1453
|
-
if (f != null) {
|
|
1454
|
-
writer.writeMessage(
|
|
1455
|
-
18,
|
|
1456
|
-
f,
|
|
1457
|
-
prisca_v1_core_location_location_pb.Village.serializeBinaryToWriter
|
|
1458
|
-
);
|
|
1459
|
-
}
|
|
1460
|
-
f = message.getCityReferencesId();
|
|
1461
|
-
if (f.length > 0) {
|
|
1462
|
-
writer.writeString(
|
|
1463
|
-
19,
|
|
1464
|
-
f
|
|
1465
|
-
);
|
|
1466
|
-
}
|
|
1467
|
-
f = message.getCity();
|
|
1468
|
-
if (f != null) {
|
|
1469
|
-
writer.writeMessage(
|
|
1470
|
-
20,
|
|
1471
|
-
f,
|
|
1472
|
-
prisca_v1_core_location_location_pb.City.serializeBinaryToWriter
|
|
1473
|
-
);
|
|
1474
|
-
}
|
|
1475
|
-
f = message.getDistrictReferencesId();
|
|
1476
|
-
if (f.length > 0) {
|
|
1477
|
-
writer.writeString(
|
|
1478
|
-
21,
|
|
1479
|
-
f
|
|
1480
|
-
);
|
|
1481
|
-
}
|
|
1482
|
-
f = message.getDistrict();
|
|
1483
|
-
if (f != null) {
|
|
1484
|
-
writer.writeMessage(
|
|
1485
|
-
22,
|
|
1486
|
-
f,
|
|
1487
|
-
prisca_v1_core_location_location_pb.District.serializeBinaryToWriter
|
|
1488
|
-
);
|
|
1489
|
-
}
|
|
1490
|
-
f = message.getProvinceReferencesId();
|
|
1491
|
-
if (f.length > 0) {
|
|
1492
|
-
writer.writeString(
|
|
1493
|
-
23,
|
|
1494
|
-
f
|
|
1495
|
-
);
|
|
1496
|
-
}
|
|
1497
|
-
f = message.getProvince();
|
|
1498
|
-
if (f != null) {
|
|
1499
|
-
writer.writeMessage(
|
|
1500
|
-
24,
|
|
1501
|
-
f,
|
|
1502
|
-
prisca_v1_core_location_location_pb.Province.serializeBinaryToWriter
|
|
1503
|
-
);
|
|
1504
|
-
}
|
|
1505
|
-
f = message.getAreaReferencesId();
|
|
1506
|
-
if (f.length > 0) {
|
|
1507
|
-
writer.writeString(
|
|
1508
|
-
25,
|
|
1509
|
-
f
|
|
1510
|
-
);
|
|
1511
|
-
}
|
|
1512
|
-
f = message.getTaxOfficeLocation();
|
|
1513
|
-
if (f.length > 0) {
|
|
1514
|
-
writer.writeString(
|
|
1515
|
-
26,
|
|
1516
|
-
f
|
|
1517
|
-
);
|
|
1518
|
-
}
|
|
1519
|
-
f = message.getReferencesId();
|
|
1520
|
-
if (f.length > 0) {
|
|
1521
|
-
writer.writeString(
|
|
1522
|
-
27,
|
|
1523
|
-
f
|
|
1524
|
-
);
|
|
1525
|
-
}
|
|
1526
|
-
f = message.getCompaniesReferencesId();
|
|
1527
|
-
if (f.length > 0) {
|
|
1528
|
-
writer.writeString(
|
|
1529
|
-
28,
|
|
1530
|
-
f
|
|
1531
|
-
);
|
|
1532
|
-
}
|
|
1533
|
-
f = message.getCompany();
|
|
1534
|
-
if (f != null) {
|
|
1535
|
-
writer.writeMessage(
|
|
1536
|
-
29,
|
|
1537
|
-
f,
|
|
1538
|
-
prisca_v1_core_company_company_pb.BaseCompanyParent.serializeBinaryToWriter
|
|
1539
|
-
);
|
|
1540
|
-
}
|
|
1541
|
-
};
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
/**
|
|
1545
|
-
* optional string code = 1;
|
|
1546
|
-
* @return {string}
|
|
1547
|
-
*/
|
|
1548
|
-
proto.BaseWorkLocation.prototype.getCode = function() {
|
|
1549
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1550
|
-
};
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
/**
|
|
1554
|
-
* @param {string} value
|
|
1555
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1556
|
-
*/
|
|
1557
|
-
proto.BaseWorkLocation.prototype.setCode = function(value) {
|
|
1558
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1559
|
-
};
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
/**
|
|
1563
|
-
* optional string location_name = 2;
|
|
1564
|
-
* @return {string}
|
|
1565
|
-
*/
|
|
1566
|
-
proto.BaseWorkLocation.prototype.getLocationName = function() {
|
|
1567
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1568
|
-
};
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
/**
|
|
1572
|
-
* @param {string} value
|
|
1573
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1574
|
-
*/
|
|
1575
|
-
proto.BaseWorkLocation.prototype.setLocationName = function(value) {
|
|
1576
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1577
|
-
};
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
/**
|
|
1581
|
-
* optional string alias = 3;
|
|
1582
|
-
* @return {string}
|
|
1583
|
-
*/
|
|
1584
|
-
proto.BaseWorkLocation.prototype.getAlias = function() {
|
|
1585
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1586
|
-
};
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
/**
|
|
1590
|
-
* @param {string} value
|
|
1591
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1592
|
-
*/
|
|
1593
|
-
proto.BaseWorkLocation.prototype.setAlias = function(value) {
|
|
1594
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1595
|
-
};
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
/**
|
|
1599
|
-
* optional string address = 4;
|
|
1600
|
-
* @return {string}
|
|
1601
|
-
*/
|
|
1602
|
-
proto.BaseWorkLocation.prototype.getAddress = function() {
|
|
1603
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1604
|
-
};
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
/**
|
|
1608
|
-
* @param {string} value
|
|
1609
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1610
|
-
*/
|
|
1611
|
-
proto.BaseWorkLocation.prototype.setAddress = function(value) {
|
|
1612
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1613
|
-
};
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
/**
|
|
1617
|
-
* optional string letter_address_line1 = 5;
|
|
1618
|
-
* @return {string}
|
|
1619
|
-
*/
|
|
1620
|
-
proto.BaseWorkLocation.prototype.getLetterAddressLine1 = function() {
|
|
1621
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1622
|
-
};
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
/**
|
|
1626
|
-
* @param {string} value
|
|
1627
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1628
|
-
*/
|
|
1629
|
-
proto.BaseWorkLocation.prototype.setLetterAddressLine1 = function(value) {
|
|
1630
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1631
|
-
};
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
/**
|
|
1635
|
-
* optional string letter_address_line2 = 6;
|
|
1636
|
-
* @return {string}
|
|
1637
|
-
*/
|
|
1638
|
-
proto.BaseWorkLocation.prototype.getLetterAddressLine2 = function() {
|
|
1639
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1640
|
-
};
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
/**
|
|
1644
|
-
* @param {string} value
|
|
1645
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1646
|
-
*/
|
|
1647
|
-
proto.BaseWorkLocation.prototype.setLetterAddressLine2 = function(value) {
|
|
1648
|
-
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1649
|
-
};
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
/**
|
|
1653
|
-
* optional string letter_address_line3 = 7;
|
|
1654
|
-
* @return {string}
|
|
1655
|
-
*/
|
|
1656
|
-
proto.BaseWorkLocation.prototype.getLetterAddressLine3 = function() {
|
|
1657
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1658
|
-
};
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
/**
|
|
1662
|
-
* @param {string} value
|
|
1663
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1664
|
-
*/
|
|
1665
|
-
proto.BaseWorkLocation.prototype.setLetterAddressLine3 = function(value) {
|
|
1666
|
-
return jspb.Message.setProto3StringField(this, 7, value);
|
|
1667
|
-
};
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
/**
|
|
1671
|
-
* optional string phone_number = 8;
|
|
1672
|
-
* @return {string}
|
|
1673
|
-
*/
|
|
1674
|
-
proto.BaseWorkLocation.prototype.getPhoneNumber = function() {
|
|
1675
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1676
|
-
};
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
/**
|
|
1680
|
-
* @param {string} value
|
|
1681
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1682
|
-
*/
|
|
1683
|
-
proto.BaseWorkLocation.prototype.setPhoneNumber = function(value) {
|
|
1684
|
-
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1685
|
-
};
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
/**
|
|
1689
|
-
* optional string email = 9;
|
|
1690
|
-
* @return {string}
|
|
1691
|
-
*/
|
|
1692
|
-
proto.BaseWorkLocation.prototype.getEmail = function() {
|
|
1693
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
1694
|
-
};
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
/**
|
|
1698
|
-
* @param {string} value
|
|
1699
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1700
|
-
*/
|
|
1701
|
-
proto.BaseWorkLocation.prototype.setEmail = function(value) {
|
|
1702
|
-
return jspb.Message.setProto3StringField(this, 9, value);
|
|
1703
|
-
};
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
/**
|
|
1707
|
-
* optional string npwp = 10;
|
|
1708
|
-
* @return {string}
|
|
1709
|
-
*/
|
|
1710
|
-
proto.BaseWorkLocation.prototype.getNpwp = function() {
|
|
1711
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
1712
|
-
};
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
/**
|
|
1716
|
-
* @param {string} value
|
|
1717
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1718
|
-
*/
|
|
1719
|
-
proto.BaseWorkLocation.prototype.setNpwp = function(value) {
|
|
1720
|
-
return jspb.Message.setProto3StringField(this, 10, value);
|
|
1721
|
-
};
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
/**
|
|
1725
|
-
* optional string npwp_address = 11;
|
|
1726
|
-
* @return {string}
|
|
1727
|
-
*/
|
|
1728
|
-
proto.BaseWorkLocation.prototype.getNpwpAddress = function() {
|
|
1729
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
1730
|
-
};
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
/**
|
|
1734
|
-
* @param {string} value
|
|
1735
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1736
|
-
*/
|
|
1737
|
-
proto.BaseWorkLocation.prototype.setNpwpAddress = function(value) {
|
|
1738
|
-
return jspb.Message.setProto3StringField(this, 11, value);
|
|
1739
|
-
};
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
/**
|
|
1743
|
-
* optional double latitude = 12;
|
|
1744
|
-
* @return {number}
|
|
1745
|
-
*/
|
|
1746
|
-
proto.BaseWorkLocation.prototype.getLatitude = function() {
|
|
1747
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
|
|
1748
|
-
};
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
/**
|
|
1752
|
-
* @param {number} value
|
|
1753
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1754
|
-
*/
|
|
1755
|
-
proto.BaseWorkLocation.prototype.setLatitude = function(value) {
|
|
1756
|
-
return jspb.Message.setProto3FloatField(this, 12, value);
|
|
1757
|
-
};
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
/**
|
|
1761
|
-
* optional double longitude = 13;
|
|
1762
|
-
* @return {number}
|
|
1763
|
-
*/
|
|
1764
|
-
proto.BaseWorkLocation.prototype.getLongitude = function() {
|
|
1765
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0));
|
|
1766
|
-
};
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
/**
|
|
1770
|
-
* @param {number} value
|
|
1771
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1772
|
-
*/
|
|
1773
|
-
proto.BaseWorkLocation.prototype.setLongitude = function(value) {
|
|
1774
|
-
return jspb.Message.setProto3FloatField(this, 13, value);
|
|
1775
|
-
};
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
/**
|
|
1779
|
-
* optional int64 radius = 14;
|
|
1780
|
-
* @return {number}
|
|
1781
|
-
*/
|
|
1782
|
-
proto.BaseWorkLocation.prototype.getRadius = function() {
|
|
1783
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
1784
|
-
};
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
/**
|
|
1788
|
-
* @param {number} value
|
|
1789
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1790
|
-
*/
|
|
1791
|
-
proto.BaseWorkLocation.prototype.setRadius = function(value) {
|
|
1792
|
-
return jspb.Message.setProto3IntField(this, 14, value);
|
|
1793
|
-
};
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
/**
|
|
1797
|
-
* optional string country_references_id = 15;
|
|
1798
|
-
* @return {string}
|
|
1799
|
-
*/
|
|
1800
|
-
proto.BaseWorkLocation.prototype.getCountryReferencesId = function() {
|
|
1801
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
1802
|
-
};
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
/**
|
|
1806
|
-
* @param {string} value
|
|
1807
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1808
|
-
*/
|
|
1809
|
-
proto.BaseWorkLocation.prototype.setCountryReferencesId = function(value) {
|
|
1810
|
-
return jspb.Message.setProto3StringField(this, 15, value);
|
|
1811
|
-
};
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
/**
|
|
1815
|
-
* optional Country country = 16;
|
|
1816
|
-
* @return {?proto.Country}
|
|
1817
|
-
*/
|
|
1818
|
-
proto.BaseWorkLocation.prototype.getCountry = function() {
|
|
1819
|
-
return /** @type{?proto.Country} */ (
|
|
1820
|
-
jspb.Message.getWrapperField(this, prisca_v1_core_location_location_pb.Country, 16));
|
|
1821
|
-
};
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
/**
|
|
1825
|
-
* @param {?proto.Country|undefined} value
|
|
1826
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1827
|
-
*/
|
|
1828
|
-
proto.BaseWorkLocation.prototype.setCountry = function(value) {
|
|
1829
|
-
return jspb.Message.setWrapperField(this, 16, value);
|
|
1830
|
-
};
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
/**
|
|
1834
|
-
* Clears the message field making it undefined.
|
|
1835
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1836
|
-
*/
|
|
1837
|
-
proto.BaseWorkLocation.prototype.clearCountry = function() {
|
|
1838
|
-
return this.setCountry(undefined);
|
|
1839
|
-
};
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
/**
|
|
1843
|
-
* Returns whether this field is set.
|
|
1844
|
-
* @return {boolean}
|
|
1845
|
-
*/
|
|
1846
|
-
proto.BaseWorkLocation.prototype.hasCountry = function() {
|
|
1847
|
-
return jspb.Message.getField(this, 16) != null;
|
|
1848
|
-
};
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
/**
|
|
1852
|
-
* optional string village_references_id = 17;
|
|
1853
|
-
* @return {string}
|
|
1854
|
-
*/
|
|
1855
|
-
proto.BaseWorkLocation.prototype.getVillageReferencesId = function() {
|
|
1856
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
1857
|
-
};
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
/**
|
|
1861
|
-
* @param {string} value
|
|
1862
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1863
|
-
*/
|
|
1864
|
-
proto.BaseWorkLocation.prototype.setVillageReferencesId = function(value) {
|
|
1865
|
-
return jspb.Message.setProto3StringField(this, 17, value);
|
|
1866
|
-
};
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
/**
|
|
1870
|
-
* optional Village village = 18;
|
|
1871
|
-
* @return {?proto.Village}
|
|
1872
|
-
*/
|
|
1873
|
-
proto.BaseWorkLocation.prototype.getVillage = function() {
|
|
1874
|
-
return /** @type{?proto.Village} */ (
|
|
1875
|
-
jspb.Message.getWrapperField(this, prisca_v1_core_location_location_pb.Village, 18));
|
|
1876
|
-
};
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
/**
|
|
1880
|
-
* @param {?proto.Village|undefined} value
|
|
1881
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1882
|
-
*/
|
|
1883
|
-
proto.BaseWorkLocation.prototype.setVillage = function(value) {
|
|
1884
|
-
return jspb.Message.setWrapperField(this, 18, value);
|
|
1885
|
-
};
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
/**
|
|
1889
|
-
* Clears the message field making it undefined.
|
|
1890
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1891
|
-
*/
|
|
1892
|
-
proto.BaseWorkLocation.prototype.clearVillage = function() {
|
|
1893
|
-
return this.setVillage(undefined);
|
|
1894
|
-
};
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
/**
|
|
1898
|
-
* Returns whether this field is set.
|
|
1899
|
-
* @return {boolean}
|
|
1900
|
-
*/
|
|
1901
|
-
proto.BaseWorkLocation.prototype.hasVillage = function() {
|
|
1902
|
-
return jspb.Message.getField(this, 18) != null;
|
|
1903
|
-
};
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
/**
|
|
1907
|
-
* optional string city_references_id = 19;
|
|
1908
|
-
* @return {string}
|
|
1909
|
-
*/
|
|
1910
|
-
proto.BaseWorkLocation.prototype.getCityReferencesId = function() {
|
|
1911
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
1912
|
-
};
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
/**
|
|
1916
|
-
* @param {string} value
|
|
1917
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1918
|
-
*/
|
|
1919
|
-
proto.BaseWorkLocation.prototype.setCityReferencesId = function(value) {
|
|
1920
|
-
return jspb.Message.setProto3StringField(this, 19, value);
|
|
1921
|
-
};
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
/**
|
|
1925
|
-
* optional City city = 20;
|
|
1926
|
-
* @return {?proto.City}
|
|
1927
|
-
*/
|
|
1928
|
-
proto.BaseWorkLocation.prototype.getCity = function() {
|
|
1929
|
-
return /** @type{?proto.City} */ (
|
|
1930
|
-
jspb.Message.getWrapperField(this, prisca_v1_core_location_location_pb.City, 20));
|
|
1931
|
-
};
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
/**
|
|
1935
|
-
* @param {?proto.City|undefined} value
|
|
1936
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1937
|
-
*/
|
|
1938
|
-
proto.BaseWorkLocation.prototype.setCity = function(value) {
|
|
1939
|
-
return jspb.Message.setWrapperField(this, 20, value);
|
|
1940
|
-
};
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
/**
|
|
1944
|
-
* Clears the message field making it undefined.
|
|
1945
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1946
|
-
*/
|
|
1947
|
-
proto.BaseWorkLocation.prototype.clearCity = function() {
|
|
1948
|
-
return this.setCity(undefined);
|
|
1949
|
-
};
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
/**
|
|
1953
|
-
* Returns whether this field is set.
|
|
1954
|
-
* @return {boolean}
|
|
1955
|
-
*/
|
|
1956
|
-
proto.BaseWorkLocation.prototype.hasCity = function() {
|
|
1957
|
-
return jspb.Message.getField(this, 20) != null;
|
|
1958
|
-
};
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
/**
|
|
1962
|
-
* optional string district_references_id = 21;
|
|
1963
|
-
* @return {string}
|
|
1964
|
-
*/
|
|
1965
|
-
proto.BaseWorkLocation.prototype.getDistrictReferencesId = function() {
|
|
1966
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
1967
|
-
};
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
/**
|
|
1971
|
-
* @param {string} value
|
|
1972
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1973
|
-
*/
|
|
1974
|
-
proto.BaseWorkLocation.prototype.setDistrictReferencesId = function(value) {
|
|
1975
|
-
return jspb.Message.setProto3StringField(this, 21, value);
|
|
1976
|
-
};
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
/**
|
|
1980
|
-
* optional District district = 22;
|
|
1981
|
-
* @return {?proto.District}
|
|
1982
|
-
*/
|
|
1983
|
-
proto.BaseWorkLocation.prototype.getDistrict = function() {
|
|
1984
|
-
return /** @type{?proto.District} */ (
|
|
1985
|
-
jspb.Message.getWrapperField(this, prisca_v1_core_location_location_pb.District, 22));
|
|
1986
|
-
};
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
/**
|
|
1990
|
-
* @param {?proto.District|undefined} value
|
|
1991
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
1992
|
-
*/
|
|
1993
|
-
proto.BaseWorkLocation.prototype.setDistrict = function(value) {
|
|
1994
|
-
return jspb.Message.setWrapperField(this, 22, value);
|
|
1995
|
-
};
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
/**
|
|
1999
|
-
* Clears the message field making it undefined.
|
|
2000
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
2001
|
-
*/
|
|
2002
|
-
proto.BaseWorkLocation.prototype.clearDistrict = function() {
|
|
2003
|
-
return this.setDistrict(undefined);
|
|
2004
|
-
};
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
/**
|
|
2008
|
-
* Returns whether this field is set.
|
|
2009
|
-
* @return {boolean}
|
|
2010
|
-
*/
|
|
2011
|
-
proto.BaseWorkLocation.prototype.hasDistrict = function() {
|
|
2012
|
-
return jspb.Message.getField(this, 22) != null;
|
|
2013
|
-
};
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
/**
|
|
2017
|
-
* optional string province_references_id = 23;
|
|
2018
|
-
* @return {string}
|
|
2019
|
-
*/
|
|
2020
|
-
proto.BaseWorkLocation.prototype.getProvinceReferencesId = function() {
|
|
2021
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
|
2022
|
-
};
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
/**
|
|
2026
|
-
* @param {string} value
|
|
2027
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
2028
|
-
*/
|
|
2029
|
-
proto.BaseWorkLocation.prototype.setProvinceReferencesId = function(value) {
|
|
2030
|
-
return jspb.Message.setProto3StringField(this, 23, value);
|
|
2031
|
-
};
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
/**
|
|
2035
|
-
* optional Province province = 24;
|
|
2036
|
-
* @return {?proto.Province}
|
|
2037
|
-
*/
|
|
2038
|
-
proto.BaseWorkLocation.prototype.getProvince = function() {
|
|
2039
|
-
return /** @type{?proto.Province} */ (
|
|
2040
|
-
jspb.Message.getWrapperField(this, prisca_v1_core_location_location_pb.Province, 24));
|
|
2041
|
-
};
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
/**
|
|
2045
|
-
* @param {?proto.Province|undefined} value
|
|
2046
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
2047
|
-
*/
|
|
2048
|
-
proto.BaseWorkLocation.prototype.setProvince = function(value) {
|
|
2049
|
-
return jspb.Message.setWrapperField(this, 24, value);
|
|
2050
|
-
};
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
/**
|
|
2054
|
-
* Clears the message field making it undefined.
|
|
2055
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
2056
|
-
*/
|
|
2057
|
-
proto.BaseWorkLocation.prototype.clearProvince = function() {
|
|
2058
|
-
return this.setProvince(undefined);
|
|
2059
|
-
};
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
/**
|
|
2063
|
-
* Returns whether this field is set.
|
|
2064
|
-
* @return {boolean}
|
|
2065
|
-
*/
|
|
2066
|
-
proto.BaseWorkLocation.prototype.hasProvince = function() {
|
|
2067
|
-
return jspb.Message.getField(this, 24) != null;
|
|
2068
|
-
};
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
/**
|
|
2072
|
-
* optional string area_references_id = 25;
|
|
2073
|
-
* @return {string}
|
|
2074
|
-
*/
|
|
2075
|
-
proto.BaseWorkLocation.prototype.getAreaReferencesId = function() {
|
|
2076
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
|
|
2077
|
-
};
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
/**
|
|
2081
|
-
* @param {string} value
|
|
2082
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
2083
|
-
*/
|
|
2084
|
-
proto.BaseWorkLocation.prototype.setAreaReferencesId = function(value) {
|
|
2085
|
-
return jspb.Message.setProto3StringField(this, 25, value);
|
|
2086
|
-
};
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
/**
|
|
2090
|
-
* optional string tax_office_location = 26;
|
|
2091
|
-
* @return {string}
|
|
2092
|
-
*/
|
|
2093
|
-
proto.BaseWorkLocation.prototype.getTaxOfficeLocation = function() {
|
|
2094
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
|
|
2095
|
-
};
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
/**
|
|
2099
|
-
* @param {string} value
|
|
2100
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
2101
|
-
*/
|
|
2102
|
-
proto.BaseWorkLocation.prototype.setTaxOfficeLocation = function(value) {
|
|
2103
|
-
return jspb.Message.setProto3StringField(this, 26, value);
|
|
2104
|
-
};
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
/**
|
|
2108
|
-
* optional string references_id = 27;
|
|
2109
|
-
* @return {string}
|
|
2110
|
-
*/
|
|
2111
|
-
proto.BaseWorkLocation.prototype.getReferencesId = function() {
|
|
2112
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
|
|
2113
|
-
};
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
/**
|
|
2117
|
-
* @param {string} value
|
|
2118
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
2119
|
-
*/
|
|
2120
|
-
proto.BaseWorkLocation.prototype.setReferencesId = function(value) {
|
|
2121
|
-
return jspb.Message.setProto3StringField(this, 27, value);
|
|
2122
|
-
};
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
/**
|
|
2126
|
-
* optional string companies_references_id = 28;
|
|
2127
|
-
* @return {string}
|
|
2128
|
-
*/
|
|
2129
|
-
proto.BaseWorkLocation.prototype.getCompaniesReferencesId = function() {
|
|
2130
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
|
|
2131
|
-
};
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
/**
|
|
2135
|
-
* @param {string} value
|
|
2136
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
2137
|
-
*/
|
|
2138
|
-
proto.BaseWorkLocation.prototype.setCompaniesReferencesId = function(value) {
|
|
2139
|
-
return jspb.Message.setProto3StringField(this, 28, value);
|
|
2140
|
-
};
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
/**
|
|
2144
|
-
* optional BaseCompanyParent company = 29;
|
|
2145
|
-
* @return {?proto.BaseCompanyParent}
|
|
2146
|
-
*/
|
|
2147
|
-
proto.BaseWorkLocation.prototype.getCompany = function() {
|
|
2148
|
-
return /** @type{?proto.BaseCompanyParent} */ (
|
|
2149
|
-
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 29));
|
|
2150
|
-
};
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
/**
|
|
2154
|
-
* @param {?proto.BaseCompanyParent|undefined} value
|
|
2155
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
2156
|
-
*/
|
|
2157
|
-
proto.BaseWorkLocation.prototype.setCompany = function(value) {
|
|
2158
|
-
return jspb.Message.setWrapperField(this, 29, value);
|
|
2159
|
-
};
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
/**
|
|
2163
|
-
* Clears the message field making it undefined.
|
|
2164
|
-
* @return {!proto.BaseWorkLocation} returns this
|
|
2165
|
-
*/
|
|
2166
|
-
proto.BaseWorkLocation.prototype.clearCompany = function() {
|
|
2167
|
-
return this.setCompany(undefined);
|
|
2168
|
-
};
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
/**
|
|
2172
|
-
* Returns whether this field is set.
|
|
2173
|
-
* @return {boolean}
|
|
2174
|
-
*/
|
|
2175
|
-
proto.BaseWorkLocation.prototype.hasCompany = function() {
|
|
2176
|
-
return jspb.Message.getField(this, 29) != null;
|
|
2177
|
-
};
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2184
|
-
/**
|
|
2185
|
-
* Creates an object representation of this proto.
|
|
2186
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2187
|
-
* Optional fields that are not set will be set to undefined.
|
|
2188
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2189
|
-
* For the list of reserved names please see:
|
|
2190
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2191
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2192
|
-
* JSPB instance for transitional soy proto support:
|
|
2193
|
-
* http://goto/soy-param-migration
|
|
2194
|
-
* @return {!Object}
|
|
2195
|
-
*/
|
|
2196
|
-
proto.WorkLocationGetByIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2197
|
-
return proto.WorkLocationGetByIdRequest.toObject(opt_includeInstance, this);
|
|
2198
|
-
};
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
/**
|
|
2202
|
-
* Static version of the {@see toObject} method.
|
|
2203
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2204
|
-
* the JSPB instance for transitional soy proto support:
|
|
2205
|
-
* http://goto/soy-param-migration
|
|
2206
|
-
* @param {!proto.WorkLocationGetByIdRequest} msg The msg instance to transform.
|
|
2207
|
-
* @return {!Object}
|
|
2208
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2209
|
-
*/
|
|
2210
|
-
proto.WorkLocationGetByIdRequest.toObject = function(includeInstance, msg) {
|
|
2211
|
-
var f, obj = {
|
|
2212
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2213
|
-
};
|
|
2214
|
-
|
|
2215
|
-
if (includeInstance) {
|
|
2216
|
-
obj.$jspbMessageInstance = msg;
|
|
2217
|
-
}
|
|
2218
|
-
return obj;
|
|
2219
|
-
};
|
|
2220
|
-
}
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
/**
|
|
2224
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2225
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2226
|
-
* @return {!proto.WorkLocationGetByIdRequest}
|
|
2227
|
-
*/
|
|
2228
|
-
proto.WorkLocationGetByIdRequest.deserializeBinary = function(bytes) {
|
|
2229
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2230
|
-
var msg = new proto.WorkLocationGetByIdRequest;
|
|
2231
|
-
return proto.WorkLocationGetByIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
2232
|
-
};
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
/**
|
|
2236
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2237
|
-
* given reader into the given message object.
|
|
2238
|
-
* @param {!proto.WorkLocationGetByIdRequest} msg The message object to deserialize into.
|
|
2239
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2240
|
-
* @return {!proto.WorkLocationGetByIdRequest}
|
|
2241
|
-
*/
|
|
2242
|
-
proto.WorkLocationGetByIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2243
|
-
while (reader.nextField()) {
|
|
2244
|
-
if (reader.isEndGroup()) {
|
|
2245
|
-
break;
|
|
2246
|
-
}
|
|
2247
|
-
var field = reader.getFieldNumber();
|
|
2248
|
-
switch (field) {
|
|
2249
|
-
case 1:
|
|
2250
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2251
|
-
msg.setReferencesId(value);
|
|
2252
|
-
break;
|
|
2253
|
-
default:
|
|
2254
|
-
reader.skipField();
|
|
2255
|
-
break;
|
|
2256
|
-
}
|
|
2257
|
-
}
|
|
2258
|
-
return msg;
|
|
2259
|
-
};
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
/**
|
|
2263
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2264
|
-
* @return {!Uint8Array}
|
|
2265
|
-
*/
|
|
2266
|
-
proto.WorkLocationGetByIdRequest.prototype.serializeBinary = function() {
|
|
2267
|
-
var writer = new jspb.BinaryWriter();
|
|
2268
|
-
proto.WorkLocationGetByIdRequest.serializeBinaryToWriter(this, writer);
|
|
2269
|
-
return writer.getResultBuffer();
|
|
2270
|
-
};
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
/**
|
|
2274
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2275
|
-
* format), writing to the given BinaryWriter.
|
|
2276
|
-
* @param {!proto.WorkLocationGetByIdRequest} message
|
|
2277
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2278
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2279
|
-
*/
|
|
2280
|
-
proto.WorkLocationGetByIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2281
|
-
var f = undefined;
|
|
2282
|
-
f = message.getReferencesId();
|
|
2283
|
-
if (f.length > 0) {
|
|
2284
|
-
writer.writeString(
|
|
2285
|
-
1,
|
|
2286
|
-
f
|
|
2287
|
-
);
|
|
2288
|
-
}
|
|
2289
|
-
};
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
/**
|
|
2293
|
-
* optional string references_id = 1;
|
|
2294
|
-
* @return {string}
|
|
2295
|
-
*/
|
|
2296
|
-
proto.WorkLocationGetByIdRequest.prototype.getReferencesId = function() {
|
|
2297
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2298
|
-
};
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
/**
|
|
2302
|
-
* @param {string} value
|
|
2303
|
-
* @return {!proto.WorkLocationGetByIdRequest} returns this
|
|
2304
|
-
*/
|
|
2305
|
-
proto.WorkLocationGetByIdRequest.prototype.setReferencesId = function(value) {
|
|
2306
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2307
|
-
};
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2314
|
-
/**
|
|
2315
|
-
* Creates an object representation of this proto.
|
|
2316
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2317
|
-
* Optional fields that are not set will be set to undefined.
|
|
2318
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2319
|
-
* For the list of reserved names please see:
|
|
2320
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2321
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2322
|
-
* JSPB instance for transitional soy proto support:
|
|
2323
|
-
* http://goto/soy-param-migration
|
|
2324
|
-
* @return {!Object}
|
|
2325
|
-
*/
|
|
2326
|
-
proto.CreateWorkLocationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2327
|
-
return proto.CreateWorkLocationRequest.toObject(opt_includeInstance, this);
|
|
2328
|
-
};
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
/**
|
|
2332
|
-
* Static version of the {@see toObject} method.
|
|
2333
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2334
|
-
* the JSPB instance for transitional soy proto support:
|
|
2335
|
-
* http://goto/soy-param-migration
|
|
2336
|
-
* @param {!proto.CreateWorkLocationRequest} msg The msg instance to transform.
|
|
2337
|
-
* @return {!Object}
|
|
2338
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2339
|
-
*/
|
|
2340
|
-
proto.CreateWorkLocationRequest.toObject = function(includeInstance, msg) {
|
|
2341
|
-
var f, obj = {
|
|
2342
|
-
workLocation: (f = msg.getWorkLocation()) && proto.WorkLocation.toObject(includeInstance, f)
|
|
2343
|
-
};
|
|
2344
|
-
|
|
2345
|
-
if (includeInstance) {
|
|
2346
|
-
obj.$jspbMessageInstance = msg;
|
|
2347
|
-
}
|
|
2348
|
-
return obj;
|
|
2349
|
-
};
|
|
2350
|
-
}
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
/**
|
|
2354
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2355
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2356
|
-
* @return {!proto.CreateWorkLocationRequest}
|
|
2357
|
-
*/
|
|
2358
|
-
proto.CreateWorkLocationRequest.deserializeBinary = function(bytes) {
|
|
2359
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2360
|
-
var msg = new proto.CreateWorkLocationRequest;
|
|
2361
|
-
return proto.CreateWorkLocationRequest.deserializeBinaryFromReader(msg, reader);
|
|
2362
|
-
};
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
/**
|
|
2366
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2367
|
-
* given reader into the given message object.
|
|
2368
|
-
* @param {!proto.CreateWorkLocationRequest} msg The message object to deserialize into.
|
|
2369
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2370
|
-
* @return {!proto.CreateWorkLocationRequest}
|
|
2371
|
-
*/
|
|
2372
|
-
proto.CreateWorkLocationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2373
|
-
while (reader.nextField()) {
|
|
2374
|
-
if (reader.isEndGroup()) {
|
|
2375
|
-
break;
|
|
2376
|
-
}
|
|
2377
|
-
var field = reader.getFieldNumber();
|
|
2378
|
-
switch (field) {
|
|
2379
|
-
case 1:
|
|
2380
|
-
var value = new proto.WorkLocation;
|
|
2381
|
-
reader.readMessage(value,proto.WorkLocation.deserializeBinaryFromReader);
|
|
2382
|
-
msg.setWorkLocation(value);
|
|
2383
|
-
break;
|
|
2384
|
-
default:
|
|
2385
|
-
reader.skipField();
|
|
2386
|
-
break;
|
|
2387
|
-
}
|
|
2388
|
-
}
|
|
2389
|
-
return msg;
|
|
2390
|
-
};
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
/**
|
|
2394
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2395
|
-
* @return {!Uint8Array}
|
|
2396
|
-
*/
|
|
2397
|
-
proto.CreateWorkLocationRequest.prototype.serializeBinary = function() {
|
|
2398
|
-
var writer = new jspb.BinaryWriter();
|
|
2399
|
-
proto.CreateWorkLocationRequest.serializeBinaryToWriter(this, writer);
|
|
2400
|
-
return writer.getResultBuffer();
|
|
2401
|
-
};
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
/**
|
|
2405
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2406
|
-
* format), writing to the given BinaryWriter.
|
|
2407
|
-
* @param {!proto.CreateWorkLocationRequest} message
|
|
2408
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2409
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2410
|
-
*/
|
|
2411
|
-
proto.CreateWorkLocationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2412
|
-
var f = undefined;
|
|
2413
|
-
f = message.getWorkLocation();
|
|
2414
|
-
if (f != null) {
|
|
2415
|
-
writer.writeMessage(
|
|
2416
|
-
1,
|
|
2417
|
-
f,
|
|
2418
|
-
proto.WorkLocation.serializeBinaryToWriter
|
|
2419
|
-
);
|
|
2420
|
-
}
|
|
2421
|
-
};
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
/**
|
|
2425
|
-
* optional WorkLocation work_location = 1;
|
|
2426
|
-
* @return {?proto.WorkLocation}
|
|
2427
|
-
*/
|
|
2428
|
-
proto.CreateWorkLocationRequest.prototype.getWorkLocation = function() {
|
|
2429
|
-
return /** @type{?proto.WorkLocation} */ (
|
|
2430
|
-
jspb.Message.getWrapperField(this, proto.WorkLocation, 1));
|
|
2431
|
-
};
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
/**
|
|
2435
|
-
* @param {?proto.WorkLocation|undefined} value
|
|
2436
|
-
* @return {!proto.CreateWorkLocationRequest} returns this
|
|
2437
|
-
*/
|
|
2438
|
-
proto.CreateWorkLocationRequest.prototype.setWorkLocation = function(value) {
|
|
2439
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
2440
|
-
};
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
/**
|
|
2444
|
-
* Clears the message field making it undefined.
|
|
2445
|
-
* @return {!proto.CreateWorkLocationRequest} returns this
|
|
2446
|
-
*/
|
|
2447
|
-
proto.CreateWorkLocationRequest.prototype.clearWorkLocation = function() {
|
|
2448
|
-
return this.setWorkLocation(undefined);
|
|
2449
|
-
};
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
/**
|
|
2453
|
-
* Returns whether this field is set.
|
|
2454
|
-
* @return {boolean}
|
|
2455
|
-
*/
|
|
2456
|
-
proto.CreateWorkLocationRequest.prototype.hasWorkLocation = function() {
|
|
2457
|
-
return jspb.Message.getField(this, 1) != null;
|
|
2458
|
-
};
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2465
|
-
/**
|
|
2466
|
-
* Creates an object representation of this proto.
|
|
2467
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2468
|
-
* Optional fields that are not set will be set to undefined.
|
|
2469
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2470
|
-
* For the list of reserved names please see:
|
|
2471
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2472
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2473
|
-
* JSPB instance for transitional soy proto support:
|
|
2474
|
-
* http://goto/soy-param-migration
|
|
2475
|
-
* @return {!Object}
|
|
2476
|
-
*/
|
|
2477
|
-
proto.UpdateWorkLocationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2478
|
-
return proto.UpdateWorkLocationRequest.toObject(opt_includeInstance, this);
|
|
2479
|
-
};
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
/**
|
|
2483
|
-
* Static version of the {@see toObject} method.
|
|
2484
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2485
|
-
* the JSPB instance for transitional soy proto support:
|
|
2486
|
-
* http://goto/soy-param-migration
|
|
2487
|
-
* @param {!proto.UpdateWorkLocationRequest} msg The msg instance to transform.
|
|
2488
|
-
* @return {!Object}
|
|
2489
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2490
|
-
*/
|
|
2491
|
-
proto.UpdateWorkLocationRequest.toObject = function(includeInstance, msg) {
|
|
2492
|
-
var f, obj = {
|
|
2493
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2494
|
-
workLocation: (f = msg.getWorkLocation()) && proto.WorkLocation.toObject(includeInstance, f)
|
|
2495
|
-
};
|
|
2496
|
-
|
|
2497
|
-
if (includeInstance) {
|
|
2498
|
-
obj.$jspbMessageInstance = msg;
|
|
2499
|
-
}
|
|
2500
|
-
return obj;
|
|
2501
|
-
};
|
|
2502
|
-
}
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
/**
|
|
2506
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2507
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2508
|
-
* @return {!proto.UpdateWorkLocationRequest}
|
|
2509
|
-
*/
|
|
2510
|
-
proto.UpdateWorkLocationRequest.deserializeBinary = function(bytes) {
|
|
2511
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2512
|
-
var msg = new proto.UpdateWorkLocationRequest;
|
|
2513
|
-
return proto.UpdateWorkLocationRequest.deserializeBinaryFromReader(msg, reader);
|
|
2514
|
-
};
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
/**
|
|
2518
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2519
|
-
* given reader into the given message object.
|
|
2520
|
-
* @param {!proto.UpdateWorkLocationRequest} msg The message object to deserialize into.
|
|
2521
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2522
|
-
* @return {!proto.UpdateWorkLocationRequest}
|
|
2523
|
-
*/
|
|
2524
|
-
proto.UpdateWorkLocationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2525
|
-
while (reader.nextField()) {
|
|
2526
|
-
if (reader.isEndGroup()) {
|
|
2527
|
-
break;
|
|
2528
|
-
}
|
|
2529
|
-
var field = reader.getFieldNumber();
|
|
2530
|
-
switch (field) {
|
|
2531
|
-
case 1:
|
|
2532
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2533
|
-
msg.setReferencesId(value);
|
|
2534
|
-
break;
|
|
2535
|
-
case 2:
|
|
2536
|
-
var value = new proto.WorkLocation;
|
|
2537
|
-
reader.readMessage(value,proto.WorkLocation.deserializeBinaryFromReader);
|
|
2538
|
-
msg.setWorkLocation(value);
|
|
2539
|
-
break;
|
|
2540
|
-
default:
|
|
2541
|
-
reader.skipField();
|
|
2542
|
-
break;
|
|
2543
|
-
}
|
|
2544
|
-
}
|
|
2545
|
-
return msg;
|
|
2546
|
-
};
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
/**
|
|
2550
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2551
|
-
* @return {!Uint8Array}
|
|
2552
|
-
*/
|
|
2553
|
-
proto.UpdateWorkLocationRequest.prototype.serializeBinary = function() {
|
|
2554
|
-
var writer = new jspb.BinaryWriter();
|
|
2555
|
-
proto.UpdateWorkLocationRequest.serializeBinaryToWriter(this, writer);
|
|
2556
|
-
return writer.getResultBuffer();
|
|
2557
|
-
};
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
/**
|
|
2561
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2562
|
-
* format), writing to the given BinaryWriter.
|
|
2563
|
-
* @param {!proto.UpdateWorkLocationRequest} message
|
|
2564
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2565
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2566
|
-
*/
|
|
2567
|
-
proto.UpdateWorkLocationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2568
|
-
var f = undefined;
|
|
2569
|
-
f = message.getReferencesId();
|
|
2570
|
-
if (f.length > 0) {
|
|
2571
|
-
writer.writeString(
|
|
2572
|
-
1,
|
|
2573
|
-
f
|
|
2574
|
-
);
|
|
2575
|
-
}
|
|
2576
|
-
f = message.getWorkLocation();
|
|
2577
|
-
if (f != null) {
|
|
2578
|
-
writer.writeMessage(
|
|
2579
|
-
2,
|
|
2580
|
-
f,
|
|
2581
|
-
proto.WorkLocation.serializeBinaryToWriter
|
|
2582
|
-
);
|
|
2583
|
-
}
|
|
2584
|
-
};
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
/**
|
|
2588
|
-
* optional string references_id = 1;
|
|
2589
|
-
* @return {string}
|
|
2590
|
-
*/
|
|
2591
|
-
proto.UpdateWorkLocationRequest.prototype.getReferencesId = function() {
|
|
2592
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2593
|
-
};
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
/**
|
|
2597
|
-
* @param {string} value
|
|
2598
|
-
* @return {!proto.UpdateWorkLocationRequest} returns this
|
|
2599
|
-
*/
|
|
2600
|
-
proto.UpdateWorkLocationRequest.prototype.setReferencesId = function(value) {
|
|
2601
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2602
|
-
};
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
/**
|
|
2606
|
-
* optional WorkLocation work_location = 2;
|
|
2607
|
-
* @return {?proto.WorkLocation}
|
|
2608
|
-
*/
|
|
2609
|
-
proto.UpdateWorkLocationRequest.prototype.getWorkLocation = function() {
|
|
2610
|
-
return /** @type{?proto.WorkLocation} */ (
|
|
2611
|
-
jspb.Message.getWrapperField(this, proto.WorkLocation, 2));
|
|
2612
|
-
};
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
/**
|
|
2616
|
-
* @param {?proto.WorkLocation|undefined} value
|
|
2617
|
-
* @return {!proto.UpdateWorkLocationRequest} returns this
|
|
2618
|
-
*/
|
|
2619
|
-
proto.UpdateWorkLocationRequest.prototype.setWorkLocation = function(value) {
|
|
2620
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
2621
|
-
};
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
/**
|
|
2625
|
-
* Clears the message field making it undefined.
|
|
2626
|
-
* @return {!proto.UpdateWorkLocationRequest} returns this
|
|
2627
|
-
*/
|
|
2628
|
-
proto.UpdateWorkLocationRequest.prototype.clearWorkLocation = function() {
|
|
2629
|
-
return this.setWorkLocation(undefined);
|
|
2630
|
-
};
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
/**
|
|
2634
|
-
* Returns whether this field is set.
|
|
2635
|
-
* @return {boolean}
|
|
2636
|
-
*/
|
|
2637
|
-
proto.UpdateWorkLocationRequest.prototype.hasWorkLocation = function() {
|
|
2638
|
-
return jspb.Message.getField(this, 2) != null;
|
|
2639
|
-
};
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2646
|
-
/**
|
|
2647
|
-
* Creates an object representation of this proto.
|
|
2648
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2649
|
-
* Optional fields that are not set will be set to undefined.
|
|
2650
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2651
|
-
* For the list of reserved names please see:
|
|
2652
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2653
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2654
|
-
* JSPB instance for transitional soy proto support:
|
|
2655
|
-
* http://goto/soy-param-migration
|
|
2656
|
-
* @return {!Object}
|
|
2657
|
-
*/
|
|
2658
|
-
proto.DeleteWorkLocationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2659
|
-
return proto.DeleteWorkLocationRequest.toObject(opt_includeInstance, this);
|
|
2660
|
-
};
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
/**
|
|
2664
|
-
* Static version of the {@see toObject} method.
|
|
2665
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2666
|
-
* the JSPB instance for transitional soy proto support:
|
|
2667
|
-
* http://goto/soy-param-migration
|
|
2668
|
-
* @param {!proto.DeleteWorkLocationRequest} msg The msg instance to transform.
|
|
2669
|
-
* @return {!Object}
|
|
2670
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2671
|
-
*/
|
|
2672
|
-
proto.DeleteWorkLocationRequest.toObject = function(includeInstance, msg) {
|
|
2673
|
-
var f, obj = {
|
|
2674
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2675
|
-
};
|
|
2676
|
-
|
|
2677
|
-
if (includeInstance) {
|
|
2678
|
-
obj.$jspbMessageInstance = msg;
|
|
2679
|
-
}
|
|
2680
|
-
return obj;
|
|
2681
|
-
};
|
|
2682
|
-
}
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
/**
|
|
2686
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2687
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2688
|
-
* @return {!proto.DeleteWorkLocationRequest}
|
|
2689
|
-
*/
|
|
2690
|
-
proto.DeleteWorkLocationRequest.deserializeBinary = function(bytes) {
|
|
2691
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2692
|
-
var msg = new proto.DeleteWorkLocationRequest;
|
|
2693
|
-
return proto.DeleteWorkLocationRequest.deserializeBinaryFromReader(msg, reader);
|
|
2694
|
-
};
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
/**
|
|
2698
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2699
|
-
* given reader into the given message object.
|
|
2700
|
-
* @param {!proto.DeleteWorkLocationRequest} msg The message object to deserialize into.
|
|
2701
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2702
|
-
* @return {!proto.DeleteWorkLocationRequest}
|
|
2703
|
-
*/
|
|
2704
|
-
proto.DeleteWorkLocationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2705
|
-
while (reader.nextField()) {
|
|
2706
|
-
if (reader.isEndGroup()) {
|
|
2707
|
-
break;
|
|
2708
|
-
}
|
|
2709
|
-
var field = reader.getFieldNumber();
|
|
2710
|
-
switch (field) {
|
|
2711
|
-
case 1:
|
|
2712
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2713
|
-
msg.setReferencesId(value);
|
|
2714
|
-
break;
|
|
2715
|
-
default:
|
|
2716
|
-
reader.skipField();
|
|
2717
|
-
break;
|
|
2718
|
-
}
|
|
2719
|
-
}
|
|
2720
|
-
return msg;
|
|
2721
|
-
};
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
/**
|
|
2725
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2726
|
-
* @return {!Uint8Array}
|
|
2727
|
-
*/
|
|
2728
|
-
proto.DeleteWorkLocationRequest.prototype.serializeBinary = function() {
|
|
2729
|
-
var writer = new jspb.BinaryWriter();
|
|
2730
|
-
proto.DeleteWorkLocationRequest.serializeBinaryToWriter(this, writer);
|
|
2731
|
-
return writer.getResultBuffer();
|
|
2732
|
-
};
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
/**
|
|
2736
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2737
|
-
* format), writing to the given BinaryWriter.
|
|
2738
|
-
* @param {!proto.DeleteWorkLocationRequest} message
|
|
2739
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2740
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2741
|
-
*/
|
|
2742
|
-
proto.DeleteWorkLocationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2743
|
-
var f = undefined;
|
|
2744
|
-
f = message.getReferencesId();
|
|
2745
|
-
if (f.length > 0) {
|
|
2746
|
-
writer.writeString(
|
|
2747
|
-
1,
|
|
2748
|
-
f
|
|
2749
|
-
);
|
|
2750
|
-
}
|
|
2751
|
-
};
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
/**
|
|
2755
|
-
* optional string references_id = 1;
|
|
2756
|
-
* @return {string}
|
|
2757
|
-
*/
|
|
2758
|
-
proto.DeleteWorkLocationRequest.prototype.getReferencesId = function() {
|
|
2759
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2760
|
-
};
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
/**
|
|
2764
|
-
* @param {string} value
|
|
2765
|
-
* @return {!proto.DeleteWorkLocationRequest} returns this
|
|
2766
|
-
*/
|
|
2767
|
-
proto.DeleteWorkLocationRequest.prototype.setReferencesId = function(value) {
|
|
2768
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2769
|
-
};
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2776
|
-
/**
|
|
2777
|
-
* Creates an object representation of this proto.
|
|
2778
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2779
|
-
* Optional fields that are not set will be set to undefined.
|
|
2780
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2781
|
-
* For the list of reserved names please see:
|
|
2782
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2783
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2784
|
-
* JSPB instance for transitional soy proto support:
|
|
2785
|
-
* http://goto/soy-param-migration
|
|
2786
|
-
* @return {!Object}
|
|
2787
|
-
*/
|
|
2788
|
-
proto.DeleteWorkLocationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2789
|
-
return proto.DeleteWorkLocationResponse.toObject(opt_includeInstance, this);
|
|
2790
|
-
};
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
/**
|
|
2794
|
-
* Static version of the {@see toObject} method.
|
|
2795
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2796
|
-
* the JSPB instance for transitional soy proto support:
|
|
2797
|
-
* http://goto/soy-param-migration
|
|
2798
|
-
* @param {!proto.DeleteWorkLocationResponse} msg The msg instance to transform.
|
|
2799
|
-
* @return {!Object}
|
|
2800
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2801
|
-
*/
|
|
2802
|
-
proto.DeleteWorkLocationResponse.toObject = function(includeInstance, msg) {
|
|
2803
|
-
var f, obj = {
|
|
2804
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2805
|
-
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2806
|
-
};
|
|
2807
|
-
|
|
2808
|
-
if (includeInstance) {
|
|
2809
|
-
obj.$jspbMessageInstance = msg;
|
|
2810
|
-
}
|
|
2811
|
-
return obj;
|
|
2812
|
-
};
|
|
2813
|
-
}
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
/**
|
|
2817
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2818
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2819
|
-
* @return {!proto.DeleteWorkLocationResponse}
|
|
2820
|
-
*/
|
|
2821
|
-
proto.DeleteWorkLocationResponse.deserializeBinary = function(bytes) {
|
|
2822
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2823
|
-
var msg = new proto.DeleteWorkLocationResponse;
|
|
2824
|
-
return proto.DeleteWorkLocationResponse.deserializeBinaryFromReader(msg, reader);
|
|
2825
|
-
};
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
/**
|
|
2829
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2830
|
-
* given reader into the given message object.
|
|
2831
|
-
* @param {!proto.DeleteWorkLocationResponse} msg The message object to deserialize into.
|
|
2832
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2833
|
-
* @return {!proto.DeleteWorkLocationResponse}
|
|
2834
|
-
*/
|
|
2835
|
-
proto.DeleteWorkLocationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2836
|
-
while (reader.nextField()) {
|
|
2837
|
-
if (reader.isEndGroup()) {
|
|
2838
|
-
break;
|
|
2839
|
-
}
|
|
2840
|
-
var field = reader.getFieldNumber();
|
|
2841
|
-
switch (field) {
|
|
2842
|
-
case 1:
|
|
2843
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2844
|
-
msg.setReferencesId(value);
|
|
2845
|
-
break;
|
|
2846
|
-
case 2:
|
|
2847
|
-
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
2848
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
2849
|
-
msg.setMeta(value);
|
|
2850
|
-
break;
|
|
2851
|
-
default:
|
|
2852
|
-
reader.skipField();
|
|
2853
|
-
break;
|
|
2854
|
-
}
|
|
2855
|
-
}
|
|
2856
|
-
return msg;
|
|
2857
|
-
};
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
/**
|
|
2861
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2862
|
-
* @return {!Uint8Array}
|
|
2863
|
-
*/
|
|
2864
|
-
proto.DeleteWorkLocationResponse.prototype.serializeBinary = function() {
|
|
2865
|
-
var writer = new jspb.BinaryWriter();
|
|
2866
|
-
proto.DeleteWorkLocationResponse.serializeBinaryToWriter(this, writer);
|
|
2867
|
-
return writer.getResultBuffer();
|
|
2868
|
-
};
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
/**
|
|
2872
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2873
|
-
* format), writing to the given BinaryWriter.
|
|
2874
|
-
* @param {!proto.DeleteWorkLocationResponse} message
|
|
2875
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2876
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2877
|
-
*/
|
|
2878
|
-
proto.DeleteWorkLocationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2879
|
-
var f = undefined;
|
|
2880
|
-
f = message.getReferencesId();
|
|
2881
|
-
if (f.length > 0) {
|
|
2882
|
-
writer.writeString(
|
|
2883
|
-
1,
|
|
2884
|
-
f
|
|
2885
|
-
);
|
|
2886
|
-
}
|
|
2887
|
-
f = message.getMeta();
|
|
2888
|
-
if (f != null) {
|
|
2889
|
-
writer.writeMessage(
|
|
2890
|
-
2,
|
|
2891
|
-
f,
|
|
2892
|
-
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
2893
|
-
);
|
|
2894
|
-
}
|
|
2895
|
-
};
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
/**
|
|
2899
|
-
* optional string references_id = 1;
|
|
2900
|
-
* @return {string}
|
|
2901
|
-
*/
|
|
2902
|
-
proto.DeleteWorkLocationResponse.prototype.getReferencesId = function() {
|
|
2903
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2904
|
-
};
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
/**
|
|
2908
|
-
* @param {string} value
|
|
2909
|
-
* @return {!proto.DeleteWorkLocationResponse} returns this
|
|
2910
|
-
*/
|
|
2911
|
-
proto.DeleteWorkLocationResponse.prototype.setReferencesId = function(value) {
|
|
2912
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2913
|
-
};
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
/**
|
|
2917
|
-
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
2918
|
-
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
2919
|
-
*/
|
|
2920
|
-
proto.DeleteWorkLocationResponse.prototype.getMeta = function() {
|
|
2921
|
-
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
2922
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
2923
|
-
};
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
/**
|
|
2927
|
-
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
2928
|
-
* @return {!proto.DeleteWorkLocationResponse} returns this
|
|
2929
|
-
*/
|
|
2930
|
-
proto.DeleteWorkLocationResponse.prototype.setMeta = function(value) {
|
|
2931
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
2932
|
-
};
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
/**
|
|
2936
|
-
* Clears the message field making it undefined.
|
|
2937
|
-
* @return {!proto.DeleteWorkLocationResponse} returns this
|
|
2938
|
-
*/
|
|
2939
|
-
proto.DeleteWorkLocationResponse.prototype.clearMeta = function() {
|
|
2940
|
-
return this.setMeta(undefined);
|
|
2941
|
-
};
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
/**
|
|
2945
|
-
* Returns whether this field is set.
|
|
2946
|
-
* @return {boolean}
|
|
2947
|
-
*/
|
|
2948
|
-
proto.DeleteWorkLocationResponse.prototype.hasMeta = function() {
|
|
2949
|
-
return jspb.Message.getField(this, 2) != null;
|
|
2950
|
-
};
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2957
|
-
/**
|
|
2958
|
-
* Creates an object representation of this proto.
|
|
2959
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2960
|
-
* Optional fields that are not set will be set to undefined.
|
|
2961
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2962
|
-
* For the list of reserved names please see:
|
|
2963
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2964
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2965
|
-
* JSPB instance for transitional soy proto support:
|
|
2966
|
-
* http://goto/soy-param-migration
|
|
2967
|
-
* @return {!Object}
|
|
2968
|
-
*/
|
|
2969
|
-
proto.GetListWorkLocationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2970
|
-
return proto.GetListWorkLocationRequest.toObject(opt_includeInstance, this);
|
|
2971
|
-
};
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
/**
|
|
2975
|
-
* Static version of the {@see toObject} method.
|
|
2976
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2977
|
-
* the JSPB instance for transitional soy proto support:
|
|
2978
|
-
* http://goto/soy-param-migration
|
|
2979
|
-
* @param {!proto.GetListWorkLocationRequest} msg The msg instance to transform.
|
|
2980
|
-
* @return {!Object}
|
|
2981
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2982
|
-
*/
|
|
2983
|
-
proto.GetListWorkLocationRequest.toObject = function(includeInstance, msg) {
|
|
2984
|
-
var f, obj = {
|
|
2985
|
-
pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
|
|
2986
|
-
query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
|
|
2987
|
-
};
|
|
2988
|
-
|
|
2989
|
-
if (includeInstance) {
|
|
2990
|
-
obj.$jspbMessageInstance = msg;
|
|
2991
|
-
}
|
|
2992
|
-
return obj;
|
|
2993
|
-
};
|
|
2994
|
-
}
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
/**
|
|
2998
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2999
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3000
|
-
* @return {!proto.GetListWorkLocationRequest}
|
|
3001
|
-
*/
|
|
3002
|
-
proto.GetListWorkLocationRequest.deserializeBinary = function(bytes) {
|
|
3003
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
3004
|
-
var msg = new proto.GetListWorkLocationRequest;
|
|
3005
|
-
return proto.GetListWorkLocationRequest.deserializeBinaryFromReader(msg, reader);
|
|
3006
|
-
};
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
/**
|
|
3010
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
3011
|
-
* given reader into the given message object.
|
|
3012
|
-
* @param {!proto.GetListWorkLocationRequest} msg The message object to deserialize into.
|
|
3013
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3014
|
-
* @return {!proto.GetListWorkLocationRequest}
|
|
3015
|
-
*/
|
|
3016
|
-
proto.GetListWorkLocationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3017
|
-
while (reader.nextField()) {
|
|
3018
|
-
if (reader.isEndGroup()) {
|
|
3019
|
-
break;
|
|
3020
|
-
}
|
|
3021
|
-
var field = reader.getFieldNumber();
|
|
3022
|
-
switch (field) {
|
|
3023
|
-
case 1:
|
|
3024
|
-
var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
|
|
3025
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
|
|
3026
|
-
msg.setPagination(value);
|
|
3027
|
-
break;
|
|
3028
|
-
case 2:
|
|
3029
|
-
var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
|
|
3030
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
|
|
3031
|
-
msg.setQuery(value);
|
|
3032
|
-
break;
|
|
3033
|
-
default:
|
|
3034
|
-
reader.skipField();
|
|
3035
|
-
break;
|
|
3036
|
-
}
|
|
3037
|
-
}
|
|
3038
|
-
return msg;
|
|
3039
|
-
};
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
/**
|
|
3043
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
3044
|
-
* @return {!Uint8Array}
|
|
3045
|
-
*/
|
|
3046
|
-
proto.GetListWorkLocationRequest.prototype.serializeBinary = function() {
|
|
3047
|
-
var writer = new jspb.BinaryWriter();
|
|
3048
|
-
proto.GetListWorkLocationRequest.serializeBinaryToWriter(this, writer);
|
|
3049
|
-
return writer.getResultBuffer();
|
|
3050
|
-
};
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
/**
|
|
3054
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
3055
|
-
* format), writing to the given BinaryWriter.
|
|
3056
|
-
* @param {!proto.GetListWorkLocationRequest} message
|
|
3057
|
-
* @param {!jspb.BinaryWriter} writer
|
|
3058
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3059
|
-
*/
|
|
3060
|
-
proto.GetListWorkLocationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3061
|
-
var f = undefined;
|
|
3062
|
-
f = message.getPagination();
|
|
3063
|
-
if (f != null) {
|
|
3064
|
-
writer.writeMessage(
|
|
3065
|
-
1,
|
|
3066
|
-
f,
|
|
3067
|
-
prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
|
|
3068
|
-
);
|
|
3069
|
-
}
|
|
3070
|
-
f = message.getQuery();
|
|
3071
|
-
if (f != null) {
|
|
3072
|
-
writer.writeMessage(
|
|
3073
|
-
2,
|
|
3074
|
-
f,
|
|
3075
|
-
prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
|
|
3076
|
-
);
|
|
3077
|
-
}
|
|
3078
|
-
};
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
/**
|
|
3082
|
-
* optional prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
3083
|
-
* @return {?proto.prisca.v1.global.meta.PaginationRequest}
|
|
3084
|
-
*/
|
|
3085
|
-
proto.GetListWorkLocationRequest.prototype.getPagination = function() {
|
|
3086
|
-
return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
|
|
3087
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
|
|
3088
|
-
};
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
/**
|
|
3092
|
-
* @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
|
|
3093
|
-
* @return {!proto.GetListWorkLocationRequest} returns this
|
|
3094
|
-
*/
|
|
3095
|
-
proto.GetListWorkLocationRequest.prototype.setPagination = function(value) {
|
|
3096
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
3097
|
-
};
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
/**
|
|
3101
|
-
* Clears the message field making it undefined.
|
|
3102
|
-
* @return {!proto.GetListWorkLocationRequest} returns this
|
|
3103
|
-
*/
|
|
3104
|
-
proto.GetListWorkLocationRequest.prototype.clearPagination = function() {
|
|
3105
|
-
return this.setPagination(undefined);
|
|
3106
|
-
};
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
/**
|
|
3110
|
-
* Returns whether this field is set.
|
|
3111
|
-
* @return {boolean}
|
|
3112
|
-
*/
|
|
3113
|
-
proto.GetListWorkLocationRequest.prototype.hasPagination = function() {
|
|
3114
|
-
return jspb.Message.getField(this, 1) != null;
|
|
3115
|
-
};
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
/**
|
|
3119
|
-
* optional prisca.v1.global.meta.FilterRequest query = 2;
|
|
3120
|
-
* @return {?proto.prisca.v1.global.meta.FilterRequest}
|
|
3121
|
-
*/
|
|
3122
|
-
proto.GetListWorkLocationRequest.prototype.getQuery = function() {
|
|
3123
|
-
return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
|
|
3124
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
|
|
3125
|
-
};
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
/**
|
|
3129
|
-
* @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
|
|
3130
|
-
* @return {!proto.GetListWorkLocationRequest} returns this
|
|
3131
|
-
*/
|
|
3132
|
-
proto.GetListWorkLocationRequest.prototype.setQuery = function(value) {
|
|
3133
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
3134
|
-
};
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
/**
|
|
3138
|
-
* Clears the message field making it undefined.
|
|
3139
|
-
* @return {!proto.GetListWorkLocationRequest} returns this
|
|
3140
|
-
*/
|
|
3141
|
-
proto.GetListWorkLocationRequest.prototype.clearQuery = function() {
|
|
3142
|
-
return this.setQuery(undefined);
|
|
3143
|
-
};
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
/**
|
|
3147
|
-
* Returns whether this field is set.
|
|
3148
|
-
* @return {boolean}
|
|
3149
|
-
*/
|
|
3150
|
-
proto.GetListWorkLocationRequest.prototype.hasQuery = function() {
|
|
3151
|
-
return jspb.Message.getField(this, 2) != null;
|
|
3152
|
-
};
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3159
|
-
/**
|
|
3160
|
-
* Creates an object representation of this proto.
|
|
3161
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3162
|
-
* Optional fields that are not set will be set to undefined.
|
|
3163
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3164
|
-
* For the list of reserved names please see:
|
|
3165
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3166
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3167
|
-
* JSPB instance for transitional soy proto support:
|
|
3168
|
-
* http://goto/soy-param-migration
|
|
3169
|
-
* @return {!Object}
|
|
3170
|
-
*/
|
|
3171
|
-
proto.CreateWorkLocationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3172
|
-
return proto.CreateWorkLocationResponse.toObject(opt_includeInstance, this);
|
|
3173
|
-
};
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
/**
|
|
3177
|
-
* Static version of the {@see toObject} method.
|
|
3178
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3179
|
-
* the JSPB instance for transitional soy proto support:
|
|
3180
|
-
* http://goto/soy-param-migration
|
|
3181
|
-
* @param {!proto.CreateWorkLocationResponse} msg The msg instance to transform.
|
|
3182
|
-
* @return {!Object}
|
|
3183
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3184
|
-
*/
|
|
3185
|
-
proto.CreateWorkLocationResponse.toObject = function(includeInstance, msg) {
|
|
3186
|
-
var f, obj = {
|
|
3187
|
-
workLocation: (f = msg.getWorkLocation()) && proto.WorkLocation.toObject(includeInstance, f),
|
|
3188
|
-
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3189
|
-
};
|
|
3190
|
-
|
|
3191
|
-
if (includeInstance) {
|
|
3192
|
-
obj.$jspbMessageInstance = msg;
|
|
3193
|
-
}
|
|
3194
|
-
return obj;
|
|
3195
|
-
};
|
|
3196
|
-
}
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
/**
|
|
3200
|
-
* Deserializes binary data (in protobuf wire format).
|
|
3201
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3202
|
-
* @return {!proto.CreateWorkLocationResponse}
|
|
3203
|
-
*/
|
|
3204
|
-
proto.CreateWorkLocationResponse.deserializeBinary = function(bytes) {
|
|
3205
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
3206
|
-
var msg = new proto.CreateWorkLocationResponse;
|
|
3207
|
-
return proto.CreateWorkLocationResponse.deserializeBinaryFromReader(msg, reader);
|
|
3208
|
-
};
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
/**
|
|
3212
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
3213
|
-
* given reader into the given message object.
|
|
3214
|
-
* @param {!proto.CreateWorkLocationResponse} msg The message object to deserialize into.
|
|
3215
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3216
|
-
* @return {!proto.CreateWorkLocationResponse}
|
|
3217
|
-
*/
|
|
3218
|
-
proto.CreateWorkLocationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3219
|
-
while (reader.nextField()) {
|
|
3220
|
-
if (reader.isEndGroup()) {
|
|
3221
|
-
break;
|
|
3222
|
-
}
|
|
3223
|
-
var field = reader.getFieldNumber();
|
|
3224
|
-
switch (field) {
|
|
3225
|
-
case 1:
|
|
3226
|
-
var value = new proto.WorkLocation;
|
|
3227
|
-
reader.readMessage(value,proto.WorkLocation.deserializeBinaryFromReader);
|
|
3228
|
-
msg.setWorkLocation(value);
|
|
3229
|
-
break;
|
|
3230
|
-
case 2:
|
|
3231
|
-
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
3232
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
3233
|
-
msg.setMeta(value);
|
|
3234
|
-
break;
|
|
3235
|
-
default:
|
|
3236
|
-
reader.skipField();
|
|
3237
|
-
break;
|
|
3238
|
-
}
|
|
3239
|
-
}
|
|
3240
|
-
return msg;
|
|
3241
|
-
};
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
/**
|
|
3245
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
3246
|
-
* @return {!Uint8Array}
|
|
3247
|
-
*/
|
|
3248
|
-
proto.CreateWorkLocationResponse.prototype.serializeBinary = function() {
|
|
3249
|
-
var writer = new jspb.BinaryWriter();
|
|
3250
|
-
proto.CreateWorkLocationResponse.serializeBinaryToWriter(this, writer);
|
|
3251
|
-
return writer.getResultBuffer();
|
|
3252
|
-
};
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
/**
|
|
3256
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
3257
|
-
* format), writing to the given BinaryWriter.
|
|
3258
|
-
* @param {!proto.CreateWorkLocationResponse} message
|
|
3259
|
-
* @param {!jspb.BinaryWriter} writer
|
|
3260
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3261
|
-
*/
|
|
3262
|
-
proto.CreateWorkLocationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3263
|
-
var f = undefined;
|
|
3264
|
-
f = message.getWorkLocation();
|
|
3265
|
-
if (f != null) {
|
|
3266
|
-
writer.writeMessage(
|
|
3267
|
-
1,
|
|
3268
|
-
f,
|
|
3269
|
-
proto.WorkLocation.serializeBinaryToWriter
|
|
3270
|
-
);
|
|
3271
|
-
}
|
|
3272
|
-
f = message.getMeta();
|
|
3273
|
-
if (f != null) {
|
|
3274
|
-
writer.writeMessage(
|
|
3275
|
-
2,
|
|
3276
|
-
f,
|
|
3277
|
-
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
3278
|
-
);
|
|
3279
|
-
}
|
|
3280
|
-
};
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
/**
|
|
3284
|
-
* optional WorkLocation work_location = 1;
|
|
3285
|
-
* @return {?proto.WorkLocation}
|
|
3286
|
-
*/
|
|
3287
|
-
proto.CreateWorkLocationResponse.prototype.getWorkLocation = function() {
|
|
3288
|
-
return /** @type{?proto.WorkLocation} */ (
|
|
3289
|
-
jspb.Message.getWrapperField(this, proto.WorkLocation, 1));
|
|
3290
|
-
};
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
/**
|
|
3294
|
-
* @param {?proto.WorkLocation|undefined} value
|
|
3295
|
-
* @return {!proto.CreateWorkLocationResponse} returns this
|
|
3296
|
-
*/
|
|
3297
|
-
proto.CreateWorkLocationResponse.prototype.setWorkLocation = function(value) {
|
|
3298
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
3299
|
-
};
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
/**
|
|
3303
|
-
* Clears the message field making it undefined.
|
|
3304
|
-
* @return {!proto.CreateWorkLocationResponse} returns this
|
|
3305
|
-
*/
|
|
3306
|
-
proto.CreateWorkLocationResponse.prototype.clearWorkLocation = function() {
|
|
3307
|
-
return this.setWorkLocation(undefined);
|
|
3308
|
-
};
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
/**
|
|
3312
|
-
* Returns whether this field is set.
|
|
3313
|
-
* @return {boolean}
|
|
3314
|
-
*/
|
|
3315
|
-
proto.CreateWorkLocationResponse.prototype.hasWorkLocation = function() {
|
|
3316
|
-
return jspb.Message.getField(this, 1) != null;
|
|
3317
|
-
};
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
/**
|
|
3321
|
-
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
3322
|
-
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
3323
|
-
*/
|
|
3324
|
-
proto.CreateWorkLocationResponse.prototype.getMeta = function() {
|
|
3325
|
-
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
3326
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
3327
|
-
};
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
/**
|
|
3331
|
-
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
3332
|
-
* @return {!proto.CreateWorkLocationResponse} returns this
|
|
3333
|
-
*/
|
|
3334
|
-
proto.CreateWorkLocationResponse.prototype.setMeta = function(value) {
|
|
3335
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
3336
|
-
};
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
/**
|
|
3340
|
-
* Clears the message field making it undefined.
|
|
3341
|
-
* @return {!proto.CreateWorkLocationResponse} returns this
|
|
3342
|
-
*/
|
|
3343
|
-
proto.CreateWorkLocationResponse.prototype.clearMeta = function() {
|
|
3344
|
-
return this.setMeta(undefined);
|
|
3345
|
-
};
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
/**
|
|
3349
|
-
* Returns whether this field is set.
|
|
3350
|
-
* @return {boolean}
|
|
3351
|
-
*/
|
|
3352
|
-
proto.CreateWorkLocationResponse.prototype.hasMeta = function() {
|
|
3353
|
-
return jspb.Message.getField(this, 2) != null;
|
|
3354
|
-
};
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
/**
|
|
3359
|
-
* List of repeated fields within this message type.
|
|
3360
|
-
* @private {!Array<number>}
|
|
3361
|
-
* @const
|
|
3362
|
-
*/
|
|
3363
|
-
proto.GetListWorkLocationResponse.repeatedFields_ = [1];
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3368
|
-
/**
|
|
3369
|
-
* Creates an object representation of this proto.
|
|
3370
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3371
|
-
* Optional fields that are not set will be set to undefined.
|
|
3372
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3373
|
-
* For the list of reserved names please see:
|
|
3374
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3375
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3376
|
-
* JSPB instance for transitional soy proto support:
|
|
3377
|
-
* http://goto/soy-param-migration
|
|
3378
|
-
* @return {!Object}
|
|
3379
|
-
*/
|
|
3380
|
-
proto.GetListWorkLocationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3381
|
-
return proto.GetListWorkLocationResponse.toObject(opt_includeInstance, this);
|
|
3382
|
-
};
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
/**
|
|
3386
|
-
* Static version of the {@see toObject} method.
|
|
3387
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3388
|
-
* the JSPB instance for transitional soy proto support:
|
|
3389
|
-
* http://goto/soy-param-migration
|
|
3390
|
-
* @param {!proto.GetListWorkLocationResponse} msg The msg instance to transform.
|
|
3391
|
-
* @return {!Object}
|
|
3392
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3393
|
-
*/
|
|
3394
|
-
proto.GetListWorkLocationResponse.toObject = function(includeInstance, msg) {
|
|
3395
|
-
var f, obj = {
|
|
3396
|
-
workLocationList: jspb.Message.toObjectList(msg.getWorkLocationList(),
|
|
3397
|
-
proto.BaseWorkLocation.toObject, includeInstance),
|
|
3398
|
-
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3399
|
-
};
|
|
3400
|
-
|
|
3401
|
-
if (includeInstance) {
|
|
3402
|
-
obj.$jspbMessageInstance = msg;
|
|
3403
|
-
}
|
|
3404
|
-
return obj;
|
|
3405
|
-
};
|
|
3406
|
-
}
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
/**
|
|
3410
|
-
* Deserializes binary data (in protobuf wire format).
|
|
3411
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3412
|
-
* @return {!proto.GetListWorkLocationResponse}
|
|
3413
|
-
*/
|
|
3414
|
-
proto.GetListWorkLocationResponse.deserializeBinary = function(bytes) {
|
|
3415
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
3416
|
-
var msg = new proto.GetListWorkLocationResponse;
|
|
3417
|
-
return proto.GetListWorkLocationResponse.deserializeBinaryFromReader(msg, reader);
|
|
3418
|
-
};
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
/**
|
|
3422
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
3423
|
-
* given reader into the given message object.
|
|
3424
|
-
* @param {!proto.GetListWorkLocationResponse} msg The message object to deserialize into.
|
|
3425
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3426
|
-
* @return {!proto.GetListWorkLocationResponse}
|
|
3427
|
-
*/
|
|
3428
|
-
proto.GetListWorkLocationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3429
|
-
while (reader.nextField()) {
|
|
3430
|
-
if (reader.isEndGroup()) {
|
|
3431
|
-
break;
|
|
3432
|
-
}
|
|
3433
|
-
var field = reader.getFieldNumber();
|
|
3434
|
-
switch (field) {
|
|
3435
|
-
case 1:
|
|
3436
|
-
var value = new proto.BaseWorkLocation;
|
|
3437
|
-
reader.readMessage(value,proto.BaseWorkLocation.deserializeBinaryFromReader);
|
|
3438
|
-
msg.addWorkLocation(value);
|
|
3439
|
-
break;
|
|
3440
|
-
case 2:
|
|
3441
|
-
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
3442
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
3443
|
-
msg.setMeta(value);
|
|
3444
|
-
break;
|
|
3445
|
-
default:
|
|
3446
|
-
reader.skipField();
|
|
3447
|
-
break;
|
|
3448
|
-
}
|
|
3449
|
-
}
|
|
3450
|
-
return msg;
|
|
3451
|
-
};
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
/**
|
|
3455
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
3456
|
-
* @return {!Uint8Array}
|
|
3457
|
-
*/
|
|
3458
|
-
proto.GetListWorkLocationResponse.prototype.serializeBinary = function() {
|
|
3459
|
-
var writer = new jspb.BinaryWriter();
|
|
3460
|
-
proto.GetListWorkLocationResponse.serializeBinaryToWriter(this, writer);
|
|
3461
|
-
return writer.getResultBuffer();
|
|
3462
|
-
};
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
/**
|
|
3466
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
3467
|
-
* format), writing to the given BinaryWriter.
|
|
3468
|
-
* @param {!proto.GetListWorkLocationResponse} message
|
|
3469
|
-
* @param {!jspb.BinaryWriter} writer
|
|
3470
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3471
|
-
*/
|
|
3472
|
-
proto.GetListWorkLocationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3473
|
-
var f = undefined;
|
|
3474
|
-
f = message.getWorkLocationList();
|
|
3475
|
-
if (f.length > 0) {
|
|
3476
|
-
writer.writeRepeatedMessage(
|
|
3477
|
-
1,
|
|
3478
|
-
f,
|
|
3479
|
-
proto.BaseWorkLocation.serializeBinaryToWriter
|
|
3480
|
-
);
|
|
3481
|
-
}
|
|
3482
|
-
f = message.getMeta();
|
|
3483
|
-
if (f != null) {
|
|
3484
|
-
writer.writeMessage(
|
|
3485
|
-
2,
|
|
3486
|
-
f,
|
|
3487
|
-
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
3488
|
-
);
|
|
3489
|
-
}
|
|
3490
|
-
};
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
/**
|
|
3494
|
-
* repeated BaseWorkLocation work_location = 1;
|
|
3495
|
-
* @return {!Array<!proto.BaseWorkLocation>}
|
|
3496
|
-
*/
|
|
3497
|
-
proto.GetListWorkLocationResponse.prototype.getWorkLocationList = function() {
|
|
3498
|
-
return /** @type{!Array<!proto.BaseWorkLocation>} */ (
|
|
3499
|
-
jspb.Message.getRepeatedWrapperField(this, proto.BaseWorkLocation, 1));
|
|
3500
|
-
};
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
/**
|
|
3504
|
-
* @param {!Array<!proto.BaseWorkLocation>} value
|
|
3505
|
-
* @return {!proto.GetListWorkLocationResponse} returns this
|
|
3506
|
-
*/
|
|
3507
|
-
proto.GetListWorkLocationResponse.prototype.setWorkLocationList = function(value) {
|
|
3508
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
3509
|
-
};
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
/**
|
|
3513
|
-
* @param {!proto.BaseWorkLocation=} opt_value
|
|
3514
|
-
* @param {number=} opt_index
|
|
3515
|
-
* @return {!proto.BaseWorkLocation}
|
|
3516
|
-
*/
|
|
3517
|
-
proto.GetListWorkLocationResponse.prototype.addWorkLocation = function(opt_value, opt_index) {
|
|
3518
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.BaseWorkLocation, opt_index);
|
|
3519
|
-
};
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
/**
|
|
3523
|
-
* Clears the list making it empty but non-null.
|
|
3524
|
-
* @return {!proto.GetListWorkLocationResponse} returns this
|
|
3525
|
-
*/
|
|
3526
|
-
proto.GetListWorkLocationResponse.prototype.clearWorkLocationList = function() {
|
|
3527
|
-
return this.setWorkLocationList([]);
|
|
3528
|
-
};
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
/**
|
|
3532
|
-
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
3533
|
-
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
3534
|
-
*/
|
|
3535
|
-
proto.GetListWorkLocationResponse.prototype.getMeta = function() {
|
|
3536
|
-
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
3537
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
3538
|
-
};
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
/**
|
|
3542
|
-
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
3543
|
-
* @return {!proto.GetListWorkLocationResponse} returns this
|
|
3544
|
-
*/
|
|
3545
|
-
proto.GetListWorkLocationResponse.prototype.setMeta = function(value) {
|
|
3546
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
3547
|
-
};
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
/**
|
|
3551
|
-
* Clears the message field making it undefined.
|
|
3552
|
-
* @return {!proto.GetListWorkLocationResponse} returns this
|
|
3553
|
-
*/
|
|
3554
|
-
proto.GetListWorkLocationResponse.prototype.clearMeta = function() {
|
|
3555
|
-
return this.setMeta(undefined);
|
|
3556
|
-
};
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
/**
|
|
3560
|
-
* Returns whether this field is set.
|
|
3561
|
-
* @return {boolean}
|
|
3562
|
-
*/
|
|
3563
|
-
proto.GetListWorkLocationResponse.prototype.hasMeta = function() {
|
|
3564
|
-
return jspb.Message.getField(this, 2) != null;
|
|
3565
|
-
};
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3572
|
-
/**
|
|
3573
|
-
* Creates an object representation of this proto.
|
|
3574
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3575
|
-
* Optional fields that are not set will be set to undefined.
|
|
3576
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3577
|
-
* For the list of reserved names please see:
|
|
3578
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3579
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3580
|
-
* JSPB instance for transitional soy proto support:
|
|
3581
|
-
* http://goto/soy-param-migration
|
|
3582
|
-
* @return {!Object}
|
|
3583
|
-
*/
|
|
3584
|
-
proto.UpdateWorkLocationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3585
|
-
return proto.UpdateWorkLocationResponse.toObject(opt_includeInstance, this);
|
|
3586
|
-
};
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
/**
|
|
3590
|
-
* Static version of the {@see toObject} method.
|
|
3591
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3592
|
-
* the JSPB instance for transitional soy proto support:
|
|
3593
|
-
* http://goto/soy-param-migration
|
|
3594
|
-
* @param {!proto.UpdateWorkLocationResponse} msg The msg instance to transform.
|
|
3595
|
-
* @return {!Object}
|
|
3596
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3597
|
-
*/
|
|
3598
|
-
proto.UpdateWorkLocationResponse.toObject = function(includeInstance, msg) {
|
|
3599
|
-
var f, obj = {
|
|
3600
|
-
workLocation: (f = msg.getWorkLocation()) && proto.WorkLocation.toObject(includeInstance, f),
|
|
3601
|
-
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3602
|
-
};
|
|
3603
|
-
|
|
3604
|
-
if (includeInstance) {
|
|
3605
|
-
obj.$jspbMessageInstance = msg;
|
|
3606
|
-
}
|
|
3607
|
-
return obj;
|
|
3608
|
-
};
|
|
3609
|
-
}
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
/**
|
|
3613
|
-
* Deserializes binary data (in protobuf wire format).
|
|
3614
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3615
|
-
* @return {!proto.UpdateWorkLocationResponse}
|
|
3616
|
-
*/
|
|
3617
|
-
proto.UpdateWorkLocationResponse.deserializeBinary = function(bytes) {
|
|
3618
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
3619
|
-
var msg = new proto.UpdateWorkLocationResponse;
|
|
3620
|
-
return proto.UpdateWorkLocationResponse.deserializeBinaryFromReader(msg, reader);
|
|
3621
|
-
};
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
/**
|
|
3625
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
3626
|
-
* given reader into the given message object.
|
|
3627
|
-
* @param {!proto.UpdateWorkLocationResponse} msg The message object to deserialize into.
|
|
3628
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3629
|
-
* @return {!proto.UpdateWorkLocationResponse}
|
|
3630
|
-
*/
|
|
3631
|
-
proto.UpdateWorkLocationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3632
|
-
while (reader.nextField()) {
|
|
3633
|
-
if (reader.isEndGroup()) {
|
|
3634
|
-
break;
|
|
3635
|
-
}
|
|
3636
|
-
var field = reader.getFieldNumber();
|
|
3637
|
-
switch (field) {
|
|
3638
|
-
case 1:
|
|
3639
|
-
var value = new proto.WorkLocation;
|
|
3640
|
-
reader.readMessage(value,proto.WorkLocation.deserializeBinaryFromReader);
|
|
3641
|
-
msg.setWorkLocation(value);
|
|
3642
|
-
break;
|
|
3643
|
-
case 2:
|
|
3644
|
-
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
3645
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
3646
|
-
msg.setMeta(value);
|
|
3647
|
-
break;
|
|
3648
|
-
default:
|
|
3649
|
-
reader.skipField();
|
|
3650
|
-
break;
|
|
3651
|
-
}
|
|
3652
|
-
}
|
|
3653
|
-
return msg;
|
|
3654
|
-
};
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
/**
|
|
3658
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
3659
|
-
* @return {!Uint8Array}
|
|
3660
|
-
*/
|
|
3661
|
-
proto.UpdateWorkLocationResponse.prototype.serializeBinary = function() {
|
|
3662
|
-
var writer = new jspb.BinaryWriter();
|
|
3663
|
-
proto.UpdateWorkLocationResponse.serializeBinaryToWriter(this, writer);
|
|
3664
|
-
return writer.getResultBuffer();
|
|
3665
|
-
};
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
/**
|
|
3669
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
3670
|
-
* format), writing to the given BinaryWriter.
|
|
3671
|
-
* @param {!proto.UpdateWorkLocationResponse} message
|
|
3672
|
-
* @param {!jspb.BinaryWriter} writer
|
|
3673
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3674
|
-
*/
|
|
3675
|
-
proto.UpdateWorkLocationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3676
|
-
var f = undefined;
|
|
3677
|
-
f = message.getWorkLocation();
|
|
3678
|
-
if (f != null) {
|
|
3679
|
-
writer.writeMessage(
|
|
3680
|
-
1,
|
|
3681
|
-
f,
|
|
3682
|
-
proto.WorkLocation.serializeBinaryToWriter
|
|
3683
|
-
);
|
|
3684
|
-
}
|
|
3685
|
-
f = message.getMeta();
|
|
3686
|
-
if (f != null) {
|
|
3687
|
-
writer.writeMessage(
|
|
3688
|
-
2,
|
|
3689
|
-
f,
|
|
3690
|
-
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
3691
|
-
);
|
|
3692
|
-
}
|
|
3693
|
-
};
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
/**
|
|
3697
|
-
* optional WorkLocation work_location = 1;
|
|
3698
|
-
* @return {?proto.WorkLocation}
|
|
3699
|
-
*/
|
|
3700
|
-
proto.UpdateWorkLocationResponse.prototype.getWorkLocation = function() {
|
|
3701
|
-
return /** @type{?proto.WorkLocation} */ (
|
|
3702
|
-
jspb.Message.getWrapperField(this, proto.WorkLocation, 1));
|
|
3703
|
-
};
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
/**
|
|
3707
|
-
* @param {?proto.WorkLocation|undefined} value
|
|
3708
|
-
* @return {!proto.UpdateWorkLocationResponse} returns this
|
|
3709
|
-
*/
|
|
3710
|
-
proto.UpdateWorkLocationResponse.prototype.setWorkLocation = function(value) {
|
|
3711
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
3712
|
-
};
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
/**
|
|
3716
|
-
* Clears the message field making it undefined.
|
|
3717
|
-
* @return {!proto.UpdateWorkLocationResponse} returns this
|
|
3718
|
-
*/
|
|
3719
|
-
proto.UpdateWorkLocationResponse.prototype.clearWorkLocation = function() {
|
|
3720
|
-
return this.setWorkLocation(undefined);
|
|
3721
|
-
};
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
/**
|
|
3725
|
-
* Returns whether this field is set.
|
|
3726
|
-
* @return {boolean}
|
|
3727
|
-
*/
|
|
3728
|
-
proto.UpdateWorkLocationResponse.prototype.hasWorkLocation = function() {
|
|
3729
|
-
return jspb.Message.getField(this, 1) != null;
|
|
3730
|
-
};
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
/**
|
|
3734
|
-
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
3735
|
-
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
3736
|
-
*/
|
|
3737
|
-
proto.UpdateWorkLocationResponse.prototype.getMeta = function() {
|
|
3738
|
-
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
3739
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
3740
|
-
};
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
/**
|
|
3744
|
-
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
3745
|
-
* @return {!proto.UpdateWorkLocationResponse} returns this
|
|
3746
|
-
*/
|
|
3747
|
-
proto.UpdateWorkLocationResponse.prototype.setMeta = function(value) {
|
|
3748
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
3749
|
-
};
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
/**
|
|
3753
|
-
* Clears the message field making it undefined.
|
|
3754
|
-
* @return {!proto.UpdateWorkLocationResponse} returns this
|
|
3755
|
-
*/
|
|
3756
|
-
proto.UpdateWorkLocationResponse.prototype.clearMeta = function() {
|
|
3757
|
-
return this.setMeta(undefined);
|
|
3758
|
-
};
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
/**
|
|
3762
|
-
* Returns whether this field is set.
|
|
3763
|
-
* @return {boolean}
|
|
3764
|
-
*/
|
|
3765
|
-
proto.UpdateWorkLocationResponse.prototype.hasMeta = function() {
|
|
3766
|
-
return jspb.Message.getField(this, 2) != null;
|
|
3767
|
-
};
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3774
|
-
/**
|
|
3775
|
-
* Creates an object representation of this proto.
|
|
3776
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3777
|
-
* Optional fields that are not set will be set to undefined.
|
|
3778
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3779
|
-
* For the list of reserved names please see:
|
|
3780
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3781
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3782
|
-
* JSPB instance for transitional soy proto support:
|
|
3783
|
-
* http://goto/soy-param-migration
|
|
3784
|
-
* @return {!Object}
|
|
3785
|
-
*/
|
|
3786
|
-
proto.WorkLocationGetByIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3787
|
-
return proto.WorkLocationGetByIdResponse.toObject(opt_includeInstance, this);
|
|
3788
|
-
};
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
/**
|
|
3792
|
-
* Static version of the {@see toObject} method.
|
|
3793
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3794
|
-
* the JSPB instance for transitional soy proto support:
|
|
3795
|
-
* http://goto/soy-param-migration
|
|
3796
|
-
* @param {!proto.WorkLocationGetByIdResponse} msg The msg instance to transform.
|
|
3797
|
-
* @return {!Object}
|
|
3798
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3799
|
-
*/
|
|
3800
|
-
proto.WorkLocationGetByIdResponse.toObject = function(includeInstance, msg) {
|
|
3801
|
-
var f, obj = {
|
|
3802
|
-
workLocation: (f = msg.getWorkLocation()) && proto.BaseWorkLocation.toObject(includeInstance, f),
|
|
3803
|
-
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3804
|
-
};
|
|
3805
|
-
|
|
3806
|
-
if (includeInstance) {
|
|
3807
|
-
obj.$jspbMessageInstance = msg;
|
|
3808
|
-
}
|
|
3809
|
-
return obj;
|
|
3810
|
-
};
|
|
3811
|
-
}
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
/**
|
|
3815
|
-
* Deserializes binary data (in protobuf wire format).
|
|
3816
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3817
|
-
* @return {!proto.WorkLocationGetByIdResponse}
|
|
3818
|
-
*/
|
|
3819
|
-
proto.WorkLocationGetByIdResponse.deserializeBinary = function(bytes) {
|
|
3820
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
3821
|
-
var msg = new proto.WorkLocationGetByIdResponse;
|
|
3822
|
-
return proto.WorkLocationGetByIdResponse.deserializeBinaryFromReader(msg, reader);
|
|
3823
|
-
};
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
/**
|
|
3827
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
3828
|
-
* given reader into the given message object.
|
|
3829
|
-
* @param {!proto.WorkLocationGetByIdResponse} msg The message object to deserialize into.
|
|
3830
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3831
|
-
* @return {!proto.WorkLocationGetByIdResponse}
|
|
3832
|
-
*/
|
|
3833
|
-
proto.WorkLocationGetByIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3834
|
-
while (reader.nextField()) {
|
|
3835
|
-
if (reader.isEndGroup()) {
|
|
3836
|
-
break;
|
|
3837
|
-
}
|
|
3838
|
-
var field = reader.getFieldNumber();
|
|
3839
|
-
switch (field) {
|
|
3840
|
-
case 1:
|
|
3841
|
-
var value = new proto.BaseWorkLocation;
|
|
3842
|
-
reader.readMessage(value,proto.BaseWorkLocation.deserializeBinaryFromReader);
|
|
3843
|
-
msg.setWorkLocation(value);
|
|
3844
|
-
break;
|
|
3845
|
-
case 2:
|
|
3846
|
-
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
3847
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
3848
|
-
msg.setMeta(value);
|
|
3849
|
-
break;
|
|
3850
|
-
default:
|
|
3851
|
-
reader.skipField();
|
|
3852
|
-
break;
|
|
3853
|
-
}
|
|
3854
|
-
}
|
|
3855
|
-
return msg;
|
|
3856
|
-
};
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
/**
|
|
3860
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
3861
|
-
* @return {!Uint8Array}
|
|
3862
|
-
*/
|
|
3863
|
-
proto.WorkLocationGetByIdResponse.prototype.serializeBinary = function() {
|
|
3864
|
-
var writer = new jspb.BinaryWriter();
|
|
3865
|
-
proto.WorkLocationGetByIdResponse.serializeBinaryToWriter(this, writer);
|
|
3866
|
-
return writer.getResultBuffer();
|
|
3867
|
-
};
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
/**
|
|
3871
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
3872
|
-
* format), writing to the given BinaryWriter.
|
|
3873
|
-
* @param {!proto.WorkLocationGetByIdResponse} message
|
|
3874
|
-
* @param {!jspb.BinaryWriter} writer
|
|
3875
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3876
|
-
*/
|
|
3877
|
-
proto.WorkLocationGetByIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3878
|
-
var f = undefined;
|
|
3879
|
-
f = message.getWorkLocation();
|
|
3880
|
-
if (f != null) {
|
|
3881
|
-
writer.writeMessage(
|
|
3882
|
-
1,
|
|
3883
|
-
f,
|
|
3884
|
-
proto.BaseWorkLocation.serializeBinaryToWriter
|
|
3885
|
-
);
|
|
3886
|
-
}
|
|
3887
|
-
f = message.getMeta();
|
|
3888
|
-
if (f != null) {
|
|
3889
|
-
writer.writeMessage(
|
|
3890
|
-
2,
|
|
3891
|
-
f,
|
|
3892
|
-
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
3893
|
-
);
|
|
3894
|
-
}
|
|
3895
|
-
};
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
/**
|
|
3899
|
-
* optional BaseWorkLocation work_location = 1;
|
|
3900
|
-
* @return {?proto.BaseWorkLocation}
|
|
3901
|
-
*/
|
|
3902
|
-
proto.WorkLocationGetByIdResponse.prototype.getWorkLocation = function() {
|
|
3903
|
-
return /** @type{?proto.BaseWorkLocation} */ (
|
|
3904
|
-
jspb.Message.getWrapperField(this, proto.BaseWorkLocation, 1));
|
|
3905
|
-
};
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
/**
|
|
3909
|
-
* @param {?proto.BaseWorkLocation|undefined} value
|
|
3910
|
-
* @return {!proto.WorkLocationGetByIdResponse} returns this
|
|
3911
|
-
*/
|
|
3912
|
-
proto.WorkLocationGetByIdResponse.prototype.setWorkLocation = function(value) {
|
|
3913
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
3914
|
-
};
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
/**
|
|
3918
|
-
* Clears the message field making it undefined.
|
|
3919
|
-
* @return {!proto.WorkLocationGetByIdResponse} returns this
|
|
3920
|
-
*/
|
|
3921
|
-
proto.WorkLocationGetByIdResponse.prototype.clearWorkLocation = function() {
|
|
3922
|
-
return this.setWorkLocation(undefined);
|
|
3923
|
-
};
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
/**
|
|
3927
|
-
* Returns whether this field is set.
|
|
3928
|
-
* @return {boolean}
|
|
3929
|
-
*/
|
|
3930
|
-
proto.WorkLocationGetByIdResponse.prototype.hasWorkLocation = function() {
|
|
3931
|
-
return jspb.Message.getField(this, 1) != null;
|
|
3932
|
-
};
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
/**
|
|
3936
|
-
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
3937
|
-
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
3938
|
-
*/
|
|
3939
|
-
proto.WorkLocationGetByIdResponse.prototype.getMeta = function() {
|
|
3940
|
-
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
3941
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
3942
|
-
};
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
/**
|
|
3946
|
-
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
3947
|
-
* @return {!proto.WorkLocationGetByIdResponse} returns this
|
|
3948
|
-
*/
|
|
3949
|
-
proto.WorkLocationGetByIdResponse.prototype.setMeta = function(value) {
|
|
3950
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
3951
|
-
};
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
/**
|
|
3955
|
-
* Clears the message field making it undefined.
|
|
3956
|
-
* @return {!proto.WorkLocationGetByIdResponse} returns this
|
|
3957
|
-
*/
|
|
3958
|
-
proto.WorkLocationGetByIdResponse.prototype.clearMeta = function() {
|
|
3959
|
-
return this.setMeta(undefined);
|
|
3960
|
-
};
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
/**
|
|
3964
|
-
* Returns whether this field is set.
|
|
3965
|
-
* @return {boolean}
|
|
3966
|
-
*/
|
|
3967
|
-
proto.WorkLocationGetByIdResponse.prototype.hasMeta = function() {
|
|
3968
|
-
return jspb.Message.getField(this, 2) != null;
|
|
3969
|
-
};
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
goog.object.extend(exports, proto);
|