@aldiokta/protocgen 1.1.8 → 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 -119
- package/prisca/v1/bidding/bidding_pb.js +0 -3152
- 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/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -266
- package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -4429
- 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_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 -3941
- 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
|
@@ -1,1246 +0,0 @@
|
|
|
1
|
-
// source: prisca/v1/core/users/users.proto
|
|
2
|
-
/**
|
|
3
|
-
* @fileoverview
|
|
4
|
-
* @enhanceable
|
|
5
|
-
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
-
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
-
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
-
/* eslint-disable */
|
|
12
|
-
// @ts-nocheck
|
|
13
|
-
|
|
14
|
-
var jspb = require('google-protobuf');
|
|
15
|
-
var goog = jspb;
|
|
16
|
-
var global =
|
|
17
|
-
(typeof globalThis !== 'undefined' && globalThis) ||
|
|
18
|
-
(typeof window !== 'undefined' && window) ||
|
|
19
|
-
(typeof global !== 'undefined' && global) ||
|
|
20
|
-
(typeof self !== 'undefined' && self) ||
|
|
21
|
-
(function () { return this; }).call(null) ||
|
|
22
|
-
Function('return this')();
|
|
23
|
-
|
|
24
|
-
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
25
|
-
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
26
|
-
goog.exportSymbol('proto.UpdateUser', null, global);
|
|
27
|
-
goog.exportSymbol('proto.UpdateUserRequest', null, global);
|
|
28
|
-
goog.exportSymbol('proto.UpdateUserResponse', null, global);
|
|
29
|
-
goog.exportSymbol('proto.Users', null, global);
|
|
30
|
-
/**
|
|
31
|
-
* Generated by JsPbCodeGenerator.
|
|
32
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
33
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
34
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
35
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
36
|
-
* valid.
|
|
37
|
-
* @extends {jspb.Message}
|
|
38
|
-
* @constructor
|
|
39
|
-
*/
|
|
40
|
-
proto.Users = function(opt_data) {
|
|
41
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
42
|
-
};
|
|
43
|
-
goog.inherits(proto.Users, jspb.Message);
|
|
44
|
-
if (goog.DEBUG && !COMPILED) {
|
|
45
|
-
/**
|
|
46
|
-
* @public
|
|
47
|
-
* @override
|
|
48
|
-
*/
|
|
49
|
-
proto.Users.displayName = 'proto.Users';
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Generated by JsPbCodeGenerator.
|
|
53
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
54
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
55
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
56
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
57
|
-
* valid.
|
|
58
|
-
* @extends {jspb.Message}
|
|
59
|
-
* @constructor
|
|
60
|
-
*/
|
|
61
|
-
proto.UpdateUser = function(opt_data) {
|
|
62
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
63
|
-
};
|
|
64
|
-
goog.inherits(proto.UpdateUser, jspb.Message);
|
|
65
|
-
if (goog.DEBUG && !COMPILED) {
|
|
66
|
-
/**
|
|
67
|
-
* @public
|
|
68
|
-
* @override
|
|
69
|
-
*/
|
|
70
|
-
proto.UpdateUser.displayName = 'proto.UpdateUser';
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Generated by JsPbCodeGenerator.
|
|
74
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
75
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
76
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
77
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
78
|
-
* valid.
|
|
79
|
-
* @extends {jspb.Message}
|
|
80
|
-
* @constructor
|
|
81
|
-
*/
|
|
82
|
-
proto.UpdateUserRequest = function(opt_data) {
|
|
83
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
84
|
-
};
|
|
85
|
-
goog.inherits(proto.UpdateUserRequest, jspb.Message);
|
|
86
|
-
if (goog.DEBUG && !COMPILED) {
|
|
87
|
-
/**
|
|
88
|
-
* @public
|
|
89
|
-
* @override
|
|
90
|
-
*/
|
|
91
|
-
proto.UpdateUserRequest.displayName = 'proto.UpdateUserRequest';
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* Generated by JsPbCodeGenerator.
|
|
95
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
96
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
97
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
98
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
99
|
-
* valid.
|
|
100
|
-
* @extends {jspb.Message}
|
|
101
|
-
* @constructor
|
|
102
|
-
*/
|
|
103
|
-
proto.UpdateUserResponse = function(opt_data) {
|
|
104
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
105
|
-
};
|
|
106
|
-
goog.inherits(proto.UpdateUserResponse, jspb.Message);
|
|
107
|
-
if (goog.DEBUG && !COMPILED) {
|
|
108
|
-
/**
|
|
109
|
-
* @public
|
|
110
|
-
* @override
|
|
111
|
-
*/
|
|
112
|
-
proto.UpdateUserResponse.displayName = 'proto.UpdateUserResponse';
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
118
|
-
/**
|
|
119
|
-
* Creates an object representation of this proto.
|
|
120
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
121
|
-
* Optional fields that are not set will be set to undefined.
|
|
122
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
123
|
-
* For the list of reserved names please see:
|
|
124
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
125
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
126
|
-
* JSPB instance for transitional soy proto support:
|
|
127
|
-
* http://goto/soy-param-migration
|
|
128
|
-
* @return {!Object}
|
|
129
|
-
*/
|
|
130
|
-
proto.Users.prototype.toObject = function(opt_includeInstance) {
|
|
131
|
-
return proto.Users.toObject(opt_includeInstance, this);
|
|
132
|
-
};
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* Static version of the {@see toObject} method.
|
|
137
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
138
|
-
* the JSPB instance for transitional soy proto support:
|
|
139
|
-
* http://goto/soy-param-migration
|
|
140
|
-
* @param {!proto.Users} msg The msg instance to transform.
|
|
141
|
-
* @return {!Object}
|
|
142
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
143
|
-
*/
|
|
144
|
-
proto.Users.toObject = function(includeInstance, msg) {
|
|
145
|
-
var f, obj = {
|
|
146
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
147
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
148
|
-
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
149
|
-
genderRefId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
150
|
-
phoneNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
151
|
-
email: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
152
|
-
roleRefId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
153
|
-
credential: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
154
|
-
lastLogin: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
155
|
-
lastCredentialRenewal: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
156
|
-
deviceMobileId: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
157
|
-
deviceDekstopId: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
158
|
-
createdBy: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
159
|
-
updatedBy: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
160
|
-
createdAt: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
161
|
-
updatedAt: jspb.Message.getFieldWithDefault(msg, 16, "")
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
if (includeInstance) {
|
|
165
|
-
obj.$jspbMessageInstance = msg;
|
|
166
|
-
}
|
|
167
|
-
return obj;
|
|
168
|
-
};
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* Deserializes binary data (in protobuf wire format).
|
|
174
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
175
|
-
* @return {!proto.Users}
|
|
176
|
-
*/
|
|
177
|
-
proto.Users.deserializeBinary = function(bytes) {
|
|
178
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
179
|
-
var msg = new proto.Users;
|
|
180
|
-
return proto.Users.deserializeBinaryFromReader(msg, reader);
|
|
181
|
-
};
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
186
|
-
* given reader into the given message object.
|
|
187
|
-
* @param {!proto.Users} msg The message object to deserialize into.
|
|
188
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
189
|
-
* @return {!proto.Users}
|
|
190
|
-
*/
|
|
191
|
-
proto.Users.deserializeBinaryFromReader = function(msg, reader) {
|
|
192
|
-
while (reader.nextField()) {
|
|
193
|
-
if (reader.isEndGroup()) {
|
|
194
|
-
break;
|
|
195
|
-
}
|
|
196
|
-
var field = reader.getFieldNumber();
|
|
197
|
-
switch (field) {
|
|
198
|
-
case 1:
|
|
199
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
200
|
-
msg.setId(value);
|
|
201
|
-
break;
|
|
202
|
-
case 2:
|
|
203
|
-
var value = /** @type {string} */ (reader.readString());
|
|
204
|
-
msg.setReferencesId(value);
|
|
205
|
-
break;
|
|
206
|
-
case 3:
|
|
207
|
-
var value = /** @type {string} */ (reader.readString());
|
|
208
|
-
msg.setName(value);
|
|
209
|
-
break;
|
|
210
|
-
case 4:
|
|
211
|
-
var value = /** @type {string} */ (reader.readString());
|
|
212
|
-
msg.setGenderRefId(value);
|
|
213
|
-
break;
|
|
214
|
-
case 5:
|
|
215
|
-
var value = /** @type {string} */ (reader.readString());
|
|
216
|
-
msg.setPhoneNumber(value);
|
|
217
|
-
break;
|
|
218
|
-
case 6:
|
|
219
|
-
var value = /** @type {string} */ (reader.readString());
|
|
220
|
-
msg.setEmail(value);
|
|
221
|
-
break;
|
|
222
|
-
case 7:
|
|
223
|
-
var value = /** @type {string} */ (reader.readString());
|
|
224
|
-
msg.setRoleRefId(value);
|
|
225
|
-
break;
|
|
226
|
-
case 8:
|
|
227
|
-
var value = /** @type {string} */ (reader.readString());
|
|
228
|
-
msg.setCredential(value);
|
|
229
|
-
break;
|
|
230
|
-
case 9:
|
|
231
|
-
var value = /** @type {string} */ (reader.readString());
|
|
232
|
-
msg.setLastLogin(value);
|
|
233
|
-
break;
|
|
234
|
-
case 10:
|
|
235
|
-
var value = /** @type {string} */ (reader.readString());
|
|
236
|
-
msg.setLastCredentialRenewal(value);
|
|
237
|
-
break;
|
|
238
|
-
case 11:
|
|
239
|
-
var value = /** @type {string} */ (reader.readString());
|
|
240
|
-
msg.setDeviceMobileId(value);
|
|
241
|
-
break;
|
|
242
|
-
case 12:
|
|
243
|
-
var value = /** @type {string} */ (reader.readString());
|
|
244
|
-
msg.setDeviceDekstopId(value);
|
|
245
|
-
break;
|
|
246
|
-
case 13:
|
|
247
|
-
var value = /** @type {string} */ (reader.readString());
|
|
248
|
-
msg.setCreatedBy(value);
|
|
249
|
-
break;
|
|
250
|
-
case 14:
|
|
251
|
-
var value = /** @type {string} */ (reader.readString());
|
|
252
|
-
msg.setUpdatedBy(value);
|
|
253
|
-
break;
|
|
254
|
-
case 15:
|
|
255
|
-
var value = /** @type {string} */ (reader.readString());
|
|
256
|
-
msg.setCreatedAt(value);
|
|
257
|
-
break;
|
|
258
|
-
case 16:
|
|
259
|
-
var value = /** @type {string} */ (reader.readString());
|
|
260
|
-
msg.setUpdatedAt(value);
|
|
261
|
-
break;
|
|
262
|
-
default:
|
|
263
|
-
reader.skipField();
|
|
264
|
-
break;
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
return msg;
|
|
268
|
-
};
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
/**
|
|
272
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
273
|
-
* @return {!Uint8Array}
|
|
274
|
-
*/
|
|
275
|
-
proto.Users.prototype.serializeBinary = function() {
|
|
276
|
-
var writer = new jspb.BinaryWriter();
|
|
277
|
-
proto.Users.serializeBinaryToWriter(this, writer);
|
|
278
|
-
return writer.getResultBuffer();
|
|
279
|
-
};
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
/**
|
|
283
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
284
|
-
* format), writing to the given BinaryWriter.
|
|
285
|
-
* @param {!proto.Users} message
|
|
286
|
-
* @param {!jspb.BinaryWriter} writer
|
|
287
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
288
|
-
*/
|
|
289
|
-
proto.Users.serializeBinaryToWriter = function(message, writer) {
|
|
290
|
-
var f = undefined;
|
|
291
|
-
f = message.getId();
|
|
292
|
-
if (f !== 0) {
|
|
293
|
-
writer.writeInt32(
|
|
294
|
-
1,
|
|
295
|
-
f
|
|
296
|
-
);
|
|
297
|
-
}
|
|
298
|
-
f = message.getReferencesId();
|
|
299
|
-
if (f.length > 0) {
|
|
300
|
-
writer.writeString(
|
|
301
|
-
2,
|
|
302
|
-
f
|
|
303
|
-
);
|
|
304
|
-
}
|
|
305
|
-
f = message.getName();
|
|
306
|
-
if (f.length > 0) {
|
|
307
|
-
writer.writeString(
|
|
308
|
-
3,
|
|
309
|
-
f
|
|
310
|
-
);
|
|
311
|
-
}
|
|
312
|
-
f = message.getGenderRefId();
|
|
313
|
-
if (f.length > 0) {
|
|
314
|
-
writer.writeString(
|
|
315
|
-
4,
|
|
316
|
-
f
|
|
317
|
-
);
|
|
318
|
-
}
|
|
319
|
-
f = message.getPhoneNumber();
|
|
320
|
-
if (f.length > 0) {
|
|
321
|
-
writer.writeString(
|
|
322
|
-
5,
|
|
323
|
-
f
|
|
324
|
-
);
|
|
325
|
-
}
|
|
326
|
-
f = message.getEmail();
|
|
327
|
-
if (f.length > 0) {
|
|
328
|
-
writer.writeString(
|
|
329
|
-
6,
|
|
330
|
-
f
|
|
331
|
-
);
|
|
332
|
-
}
|
|
333
|
-
f = message.getRoleRefId();
|
|
334
|
-
if (f.length > 0) {
|
|
335
|
-
writer.writeString(
|
|
336
|
-
7,
|
|
337
|
-
f
|
|
338
|
-
);
|
|
339
|
-
}
|
|
340
|
-
f = message.getCredential();
|
|
341
|
-
if (f.length > 0) {
|
|
342
|
-
writer.writeString(
|
|
343
|
-
8,
|
|
344
|
-
f
|
|
345
|
-
);
|
|
346
|
-
}
|
|
347
|
-
f = message.getLastLogin();
|
|
348
|
-
if (f.length > 0) {
|
|
349
|
-
writer.writeString(
|
|
350
|
-
9,
|
|
351
|
-
f
|
|
352
|
-
);
|
|
353
|
-
}
|
|
354
|
-
f = message.getLastCredentialRenewal();
|
|
355
|
-
if (f.length > 0) {
|
|
356
|
-
writer.writeString(
|
|
357
|
-
10,
|
|
358
|
-
f
|
|
359
|
-
);
|
|
360
|
-
}
|
|
361
|
-
f = message.getDeviceMobileId();
|
|
362
|
-
if (f.length > 0) {
|
|
363
|
-
writer.writeString(
|
|
364
|
-
11,
|
|
365
|
-
f
|
|
366
|
-
);
|
|
367
|
-
}
|
|
368
|
-
f = message.getDeviceDekstopId();
|
|
369
|
-
if (f.length > 0) {
|
|
370
|
-
writer.writeString(
|
|
371
|
-
12,
|
|
372
|
-
f
|
|
373
|
-
);
|
|
374
|
-
}
|
|
375
|
-
f = message.getCreatedBy();
|
|
376
|
-
if (f.length > 0) {
|
|
377
|
-
writer.writeString(
|
|
378
|
-
13,
|
|
379
|
-
f
|
|
380
|
-
);
|
|
381
|
-
}
|
|
382
|
-
f = message.getUpdatedBy();
|
|
383
|
-
if (f.length > 0) {
|
|
384
|
-
writer.writeString(
|
|
385
|
-
14,
|
|
386
|
-
f
|
|
387
|
-
);
|
|
388
|
-
}
|
|
389
|
-
f = message.getCreatedAt();
|
|
390
|
-
if (f.length > 0) {
|
|
391
|
-
writer.writeString(
|
|
392
|
-
15,
|
|
393
|
-
f
|
|
394
|
-
);
|
|
395
|
-
}
|
|
396
|
-
f = message.getUpdatedAt();
|
|
397
|
-
if (f.length > 0) {
|
|
398
|
-
writer.writeString(
|
|
399
|
-
16,
|
|
400
|
-
f
|
|
401
|
-
);
|
|
402
|
-
}
|
|
403
|
-
};
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
/**
|
|
407
|
-
* optional int32 id = 1;
|
|
408
|
-
* @return {number}
|
|
409
|
-
*/
|
|
410
|
-
proto.Users.prototype.getId = function() {
|
|
411
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
412
|
-
};
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
/**
|
|
416
|
-
* @param {number} value
|
|
417
|
-
* @return {!proto.Users} returns this
|
|
418
|
-
*/
|
|
419
|
-
proto.Users.prototype.setId = function(value) {
|
|
420
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
421
|
-
};
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* optional string references_id = 2;
|
|
426
|
-
* @return {string}
|
|
427
|
-
*/
|
|
428
|
-
proto.Users.prototype.getReferencesId = function() {
|
|
429
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
430
|
-
};
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
/**
|
|
434
|
-
* @param {string} value
|
|
435
|
-
* @return {!proto.Users} returns this
|
|
436
|
-
*/
|
|
437
|
-
proto.Users.prototype.setReferencesId = function(value) {
|
|
438
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
439
|
-
};
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
/**
|
|
443
|
-
* optional string name = 3;
|
|
444
|
-
* @return {string}
|
|
445
|
-
*/
|
|
446
|
-
proto.Users.prototype.getName = function() {
|
|
447
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
448
|
-
};
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
/**
|
|
452
|
-
* @param {string} value
|
|
453
|
-
* @return {!proto.Users} returns this
|
|
454
|
-
*/
|
|
455
|
-
proto.Users.prototype.setName = function(value) {
|
|
456
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
457
|
-
};
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
/**
|
|
461
|
-
* optional string gender_ref_id = 4;
|
|
462
|
-
* @return {string}
|
|
463
|
-
*/
|
|
464
|
-
proto.Users.prototype.getGenderRefId = function() {
|
|
465
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
466
|
-
};
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
/**
|
|
470
|
-
* @param {string} value
|
|
471
|
-
* @return {!proto.Users} returns this
|
|
472
|
-
*/
|
|
473
|
-
proto.Users.prototype.setGenderRefId = function(value) {
|
|
474
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
475
|
-
};
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
/**
|
|
479
|
-
* optional string phone_number = 5;
|
|
480
|
-
* @return {string}
|
|
481
|
-
*/
|
|
482
|
-
proto.Users.prototype.getPhoneNumber = function() {
|
|
483
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
484
|
-
};
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
/**
|
|
488
|
-
* @param {string} value
|
|
489
|
-
* @return {!proto.Users} returns this
|
|
490
|
-
*/
|
|
491
|
-
proto.Users.prototype.setPhoneNumber = function(value) {
|
|
492
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
|
493
|
-
};
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
/**
|
|
497
|
-
* optional string email = 6;
|
|
498
|
-
* @return {string}
|
|
499
|
-
*/
|
|
500
|
-
proto.Users.prototype.getEmail = function() {
|
|
501
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
502
|
-
};
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
/**
|
|
506
|
-
* @param {string} value
|
|
507
|
-
* @return {!proto.Users} returns this
|
|
508
|
-
*/
|
|
509
|
-
proto.Users.prototype.setEmail = function(value) {
|
|
510
|
-
return jspb.Message.setProto3StringField(this, 6, value);
|
|
511
|
-
};
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
/**
|
|
515
|
-
* optional string role_ref_id = 7;
|
|
516
|
-
* @return {string}
|
|
517
|
-
*/
|
|
518
|
-
proto.Users.prototype.getRoleRefId = function() {
|
|
519
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
520
|
-
};
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
/**
|
|
524
|
-
* @param {string} value
|
|
525
|
-
* @return {!proto.Users} returns this
|
|
526
|
-
*/
|
|
527
|
-
proto.Users.prototype.setRoleRefId = function(value) {
|
|
528
|
-
return jspb.Message.setProto3StringField(this, 7, value);
|
|
529
|
-
};
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
/**
|
|
533
|
-
* optional string credential = 8;
|
|
534
|
-
* @return {string}
|
|
535
|
-
*/
|
|
536
|
-
proto.Users.prototype.getCredential = function() {
|
|
537
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
538
|
-
};
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
/**
|
|
542
|
-
* @param {string} value
|
|
543
|
-
* @return {!proto.Users} returns this
|
|
544
|
-
*/
|
|
545
|
-
proto.Users.prototype.setCredential = function(value) {
|
|
546
|
-
return jspb.Message.setProto3StringField(this, 8, value);
|
|
547
|
-
};
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
/**
|
|
551
|
-
* optional string last_login = 9;
|
|
552
|
-
* @return {string}
|
|
553
|
-
*/
|
|
554
|
-
proto.Users.prototype.getLastLogin = function() {
|
|
555
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
556
|
-
};
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
/**
|
|
560
|
-
* @param {string} value
|
|
561
|
-
* @return {!proto.Users} returns this
|
|
562
|
-
*/
|
|
563
|
-
proto.Users.prototype.setLastLogin = function(value) {
|
|
564
|
-
return jspb.Message.setProto3StringField(this, 9, value);
|
|
565
|
-
};
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
/**
|
|
569
|
-
* optional string last_credential_renewal = 10;
|
|
570
|
-
* @return {string}
|
|
571
|
-
*/
|
|
572
|
-
proto.Users.prototype.getLastCredentialRenewal = function() {
|
|
573
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
574
|
-
};
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
/**
|
|
578
|
-
* @param {string} value
|
|
579
|
-
* @return {!proto.Users} returns this
|
|
580
|
-
*/
|
|
581
|
-
proto.Users.prototype.setLastCredentialRenewal = function(value) {
|
|
582
|
-
return jspb.Message.setProto3StringField(this, 10, value);
|
|
583
|
-
};
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
/**
|
|
587
|
-
* optional string device_mobile_id = 11;
|
|
588
|
-
* @return {string}
|
|
589
|
-
*/
|
|
590
|
-
proto.Users.prototype.getDeviceMobileId = function() {
|
|
591
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
592
|
-
};
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
/**
|
|
596
|
-
* @param {string} value
|
|
597
|
-
* @return {!proto.Users} returns this
|
|
598
|
-
*/
|
|
599
|
-
proto.Users.prototype.setDeviceMobileId = function(value) {
|
|
600
|
-
return jspb.Message.setProto3StringField(this, 11, value);
|
|
601
|
-
};
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
/**
|
|
605
|
-
* optional string device_dekstop_id = 12;
|
|
606
|
-
* @return {string}
|
|
607
|
-
*/
|
|
608
|
-
proto.Users.prototype.getDeviceDekstopId = function() {
|
|
609
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
610
|
-
};
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
/**
|
|
614
|
-
* @param {string} value
|
|
615
|
-
* @return {!proto.Users} returns this
|
|
616
|
-
*/
|
|
617
|
-
proto.Users.prototype.setDeviceDekstopId = function(value) {
|
|
618
|
-
return jspb.Message.setProto3StringField(this, 12, value);
|
|
619
|
-
};
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
/**
|
|
623
|
-
* optional string created_by = 13;
|
|
624
|
-
* @return {string}
|
|
625
|
-
*/
|
|
626
|
-
proto.Users.prototype.getCreatedBy = function() {
|
|
627
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
628
|
-
};
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
/**
|
|
632
|
-
* @param {string} value
|
|
633
|
-
* @return {!proto.Users} returns this
|
|
634
|
-
*/
|
|
635
|
-
proto.Users.prototype.setCreatedBy = function(value) {
|
|
636
|
-
return jspb.Message.setProto3StringField(this, 13, value);
|
|
637
|
-
};
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
/**
|
|
641
|
-
* optional string updated_by = 14;
|
|
642
|
-
* @return {string}
|
|
643
|
-
*/
|
|
644
|
-
proto.Users.prototype.getUpdatedBy = function() {
|
|
645
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
646
|
-
};
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
/**
|
|
650
|
-
* @param {string} value
|
|
651
|
-
* @return {!proto.Users} returns this
|
|
652
|
-
*/
|
|
653
|
-
proto.Users.prototype.setUpdatedBy = function(value) {
|
|
654
|
-
return jspb.Message.setProto3StringField(this, 14, value);
|
|
655
|
-
};
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
/**
|
|
659
|
-
* optional string created_at = 15;
|
|
660
|
-
* @return {string}
|
|
661
|
-
*/
|
|
662
|
-
proto.Users.prototype.getCreatedAt = function() {
|
|
663
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
664
|
-
};
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
/**
|
|
668
|
-
* @param {string} value
|
|
669
|
-
* @return {!proto.Users} returns this
|
|
670
|
-
*/
|
|
671
|
-
proto.Users.prototype.setCreatedAt = function(value) {
|
|
672
|
-
return jspb.Message.setProto3StringField(this, 15, value);
|
|
673
|
-
};
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
/**
|
|
677
|
-
* optional string updated_at = 16;
|
|
678
|
-
* @return {string}
|
|
679
|
-
*/
|
|
680
|
-
proto.Users.prototype.getUpdatedAt = function() {
|
|
681
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
682
|
-
};
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
/**
|
|
686
|
-
* @param {string} value
|
|
687
|
-
* @return {!proto.Users} returns this
|
|
688
|
-
*/
|
|
689
|
-
proto.Users.prototype.setUpdatedAt = function(value) {
|
|
690
|
-
return jspb.Message.setProto3StringField(this, 16, value);
|
|
691
|
-
};
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
698
|
-
/**
|
|
699
|
-
* Creates an object representation of this proto.
|
|
700
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
701
|
-
* Optional fields that are not set will be set to undefined.
|
|
702
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
703
|
-
* For the list of reserved names please see:
|
|
704
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
705
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
706
|
-
* JSPB instance for transitional soy proto support:
|
|
707
|
-
* http://goto/soy-param-migration
|
|
708
|
-
* @return {!Object}
|
|
709
|
-
*/
|
|
710
|
-
proto.UpdateUser.prototype.toObject = function(opt_includeInstance) {
|
|
711
|
-
return proto.UpdateUser.toObject(opt_includeInstance, this);
|
|
712
|
-
};
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
/**
|
|
716
|
-
* Static version of the {@see toObject} method.
|
|
717
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
718
|
-
* the JSPB instance for transitional soy proto support:
|
|
719
|
-
* http://goto/soy-param-migration
|
|
720
|
-
* @param {!proto.UpdateUser} msg The msg instance to transform.
|
|
721
|
-
* @return {!Object}
|
|
722
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
723
|
-
*/
|
|
724
|
-
proto.UpdateUser.toObject = function(includeInstance, msg) {
|
|
725
|
-
var f, obj = {
|
|
726
|
-
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
727
|
-
phoneNumber: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
728
|
-
email: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
729
|
-
};
|
|
730
|
-
|
|
731
|
-
if (includeInstance) {
|
|
732
|
-
obj.$jspbMessageInstance = msg;
|
|
733
|
-
}
|
|
734
|
-
return obj;
|
|
735
|
-
};
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
/**
|
|
740
|
-
* Deserializes binary data (in protobuf wire format).
|
|
741
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
742
|
-
* @return {!proto.UpdateUser}
|
|
743
|
-
*/
|
|
744
|
-
proto.UpdateUser.deserializeBinary = function(bytes) {
|
|
745
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
746
|
-
var msg = new proto.UpdateUser;
|
|
747
|
-
return proto.UpdateUser.deserializeBinaryFromReader(msg, reader);
|
|
748
|
-
};
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
/**
|
|
752
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
753
|
-
* given reader into the given message object.
|
|
754
|
-
* @param {!proto.UpdateUser} msg The message object to deserialize into.
|
|
755
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
756
|
-
* @return {!proto.UpdateUser}
|
|
757
|
-
*/
|
|
758
|
-
proto.UpdateUser.deserializeBinaryFromReader = function(msg, reader) {
|
|
759
|
-
while (reader.nextField()) {
|
|
760
|
-
if (reader.isEndGroup()) {
|
|
761
|
-
break;
|
|
762
|
-
}
|
|
763
|
-
var field = reader.getFieldNumber();
|
|
764
|
-
switch (field) {
|
|
765
|
-
case 1:
|
|
766
|
-
var value = /** @type {string} */ (reader.readString());
|
|
767
|
-
msg.setName(value);
|
|
768
|
-
break;
|
|
769
|
-
case 2:
|
|
770
|
-
var value = /** @type {string} */ (reader.readString());
|
|
771
|
-
msg.setPhoneNumber(value);
|
|
772
|
-
break;
|
|
773
|
-
case 3:
|
|
774
|
-
var value = /** @type {string} */ (reader.readString());
|
|
775
|
-
msg.setEmail(value);
|
|
776
|
-
break;
|
|
777
|
-
default:
|
|
778
|
-
reader.skipField();
|
|
779
|
-
break;
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
return msg;
|
|
783
|
-
};
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
/**
|
|
787
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
788
|
-
* @return {!Uint8Array}
|
|
789
|
-
*/
|
|
790
|
-
proto.UpdateUser.prototype.serializeBinary = function() {
|
|
791
|
-
var writer = new jspb.BinaryWriter();
|
|
792
|
-
proto.UpdateUser.serializeBinaryToWriter(this, writer);
|
|
793
|
-
return writer.getResultBuffer();
|
|
794
|
-
};
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
/**
|
|
798
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
799
|
-
* format), writing to the given BinaryWriter.
|
|
800
|
-
* @param {!proto.UpdateUser} message
|
|
801
|
-
* @param {!jspb.BinaryWriter} writer
|
|
802
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
803
|
-
*/
|
|
804
|
-
proto.UpdateUser.serializeBinaryToWriter = function(message, writer) {
|
|
805
|
-
var f = undefined;
|
|
806
|
-
f = message.getName();
|
|
807
|
-
if (f.length > 0) {
|
|
808
|
-
writer.writeString(
|
|
809
|
-
1,
|
|
810
|
-
f
|
|
811
|
-
);
|
|
812
|
-
}
|
|
813
|
-
f = message.getPhoneNumber();
|
|
814
|
-
if (f.length > 0) {
|
|
815
|
-
writer.writeString(
|
|
816
|
-
2,
|
|
817
|
-
f
|
|
818
|
-
);
|
|
819
|
-
}
|
|
820
|
-
f = message.getEmail();
|
|
821
|
-
if (f.length > 0) {
|
|
822
|
-
writer.writeString(
|
|
823
|
-
3,
|
|
824
|
-
f
|
|
825
|
-
);
|
|
826
|
-
}
|
|
827
|
-
};
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
/**
|
|
831
|
-
* optional string name = 1;
|
|
832
|
-
* @return {string}
|
|
833
|
-
*/
|
|
834
|
-
proto.UpdateUser.prototype.getName = function() {
|
|
835
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
836
|
-
};
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
/**
|
|
840
|
-
* @param {string} value
|
|
841
|
-
* @return {!proto.UpdateUser} returns this
|
|
842
|
-
*/
|
|
843
|
-
proto.UpdateUser.prototype.setName = function(value) {
|
|
844
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
845
|
-
};
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
/**
|
|
849
|
-
* optional string phone_number = 2;
|
|
850
|
-
* @return {string}
|
|
851
|
-
*/
|
|
852
|
-
proto.UpdateUser.prototype.getPhoneNumber = function() {
|
|
853
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
854
|
-
};
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
/**
|
|
858
|
-
* @param {string} value
|
|
859
|
-
* @return {!proto.UpdateUser} returns this
|
|
860
|
-
*/
|
|
861
|
-
proto.UpdateUser.prototype.setPhoneNumber = function(value) {
|
|
862
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
863
|
-
};
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
/**
|
|
867
|
-
* optional string email = 3;
|
|
868
|
-
* @return {string}
|
|
869
|
-
*/
|
|
870
|
-
proto.UpdateUser.prototype.getEmail = function() {
|
|
871
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
872
|
-
};
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
/**
|
|
876
|
-
* @param {string} value
|
|
877
|
-
* @return {!proto.UpdateUser} returns this
|
|
878
|
-
*/
|
|
879
|
-
proto.UpdateUser.prototype.setEmail = function(value) {
|
|
880
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
881
|
-
};
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
888
|
-
/**
|
|
889
|
-
* Creates an object representation of this proto.
|
|
890
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
891
|
-
* Optional fields that are not set will be set to undefined.
|
|
892
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
893
|
-
* For the list of reserved names please see:
|
|
894
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
895
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
896
|
-
* JSPB instance for transitional soy proto support:
|
|
897
|
-
* http://goto/soy-param-migration
|
|
898
|
-
* @return {!Object}
|
|
899
|
-
*/
|
|
900
|
-
proto.UpdateUserRequest.prototype.toObject = function(opt_includeInstance) {
|
|
901
|
-
return proto.UpdateUserRequest.toObject(opt_includeInstance, this);
|
|
902
|
-
};
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
/**
|
|
906
|
-
* Static version of the {@see toObject} method.
|
|
907
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
908
|
-
* the JSPB instance for transitional soy proto support:
|
|
909
|
-
* http://goto/soy-param-migration
|
|
910
|
-
* @param {!proto.UpdateUserRequest} msg The msg instance to transform.
|
|
911
|
-
* @return {!Object}
|
|
912
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
913
|
-
*/
|
|
914
|
-
proto.UpdateUserRequest.toObject = function(includeInstance, msg) {
|
|
915
|
-
var f, obj = {
|
|
916
|
-
user: (f = msg.getUser()) && proto.UpdateUser.toObject(includeInstance, f),
|
|
917
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
918
|
-
};
|
|
919
|
-
|
|
920
|
-
if (includeInstance) {
|
|
921
|
-
obj.$jspbMessageInstance = msg;
|
|
922
|
-
}
|
|
923
|
-
return obj;
|
|
924
|
-
};
|
|
925
|
-
}
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
/**
|
|
929
|
-
* Deserializes binary data (in protobuf wire format).
|
|
930
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
931
|
-
* @return {!proto.UpdateUserRequest}
|
|
932
|
-
*/
|
|
933
|
-
proto.UpdateUserRequest.deserializeBinary = function(bytes) {
|
|
934
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
935
|
-
var msg = new proto.UpdateUserRequest;
|
|
936
|
-
return proto.UpdateUserRequest.deserializeBinaryFromReader(msg, reader);
|
|
937
|
-
};
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
/**
|
|
941
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
942
|
-
* given reader into the given message object.
|
|
943
|
-
* @param {!proto.UpdateUserRequest} msg The message object to deserialize into.
|
|
944
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
945
|
-
* @return {!proto.UpdateUserRequest}
|
|
946
|
-
*/
|
|
947
|
-
proto.UpdateUserRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
948
|
-
while (reader.nextField()) {
|
|
949
|
-
if (reader.isEndGroup()) {
|
|
950
|
-
break;
|
|
951
|
-
}
|
|
952
|
-
var field = reader.getFieldNumber();
|
|
953
|
-
switch (field) {
|
|
954
|
-
case 1:
|
|
955
|
-
var value = new proto.UpdateUser;
|
|
956
|
-
reader.readMessage(value,proto.UpdateUser.deserializeBinaryFromReader);
|
|
957
|
-
msg.setUser(value);
|
|
958
|
-
break;
|
|
959
|
-
case 2:
|
|
960
|
-
var value = /** @type {string} */ (reader.readString());
|
|
961
|
-
msg.setReferencesId(value);
|
|
962
|
-
break;
|
|
963
|
-
default:
|
|
964
|
-
reader.skipField();
|
|
965
|
-
break;
|
|
966
|
-
}
|
|
967
|
-
}
|
|
968
|
-
return msg;
|
|
969
|
-
};
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
/**
|
|
973
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
974
|
-
* @return {!Uint8Array}
|
|
975
|
-
*/
|
|
976
|
-
proto.UpdateUserRequest.prototype.serializeBinary = function() {
|
|
977
|
-
var writer = new jspb.BinaryWriter();
|
|
978
|
-
proto.UpdateUserRequest.serializeBinaryToWriter(this, writer);
|
|
979
|
-
return writer.getResultBuffer();
|
|
980
|
-
};
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
/**
|
|
984
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
985
|
-
* format), writing to the given BinaryWriter.
|
|
986
|
-
* @param {!proto.UpdateUserRequest} message
|
|
987
|
-
* @param {!jspb.BinaryWriter} writer
|
|
988
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
989
|
-
*/
|
|
990
|
-
proto.UpdateUserRequest.serializeBinaryToWriter = function(message, writer) {
|
|
991
|
-
var f = undefined;
|
|
992
|
-
f = message.getUser();
|
|
993
|
-
if (f != null) {
|
|
994
|
-
writer.writeMessage(
|
|
995
|
-
1,
|
|
996
|
-
f,
|
|
997
|
-
proto.UpdateUser.serializeBinaryToWriter
|
|
998
|
-
);
|
|
999
|
-
}
|
|
1000
|
-
f = message.getReferencesId();
|
|
1001
|
-
if (f.length > 0) {
|
|
1002
|
-
writer.writeString(
|
|
1003
|
-
2,
|
|
1004
|
-
f
|
|
1005
|
-
);
|
|
1006
|
-
}
|
|
1007
|
-
};
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
/**
|
|
1011
|
-
* optional UpdateUser user = 1;
|
|
1012
|
-
* @return {?proto.UpdateUser}
|
|
1013
|
-
*/
|
|
1014
|
-
proto.UpdateUserRequest.prototype.getUser = function() {
|
|
1015
|
-
return /** @type{?proto.UpdateUser} */ (
|
|
1016
|
-
jspb.Message.getWrapperField(this, proto.UpdateUser, 1));
|
|
1017
|
-
};
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
/**
|
|
1021
|
-
* @param {?proto.UpdateUser|undefined} value
|
|
1022
|
-
* @return {!proto.UpdateUserRequest} returns this
|
|
1023
|
-
*/
|
|
1024
|
-
proto.UpdateUserRequest.prototype.setUser = function(value) {
|
|
1025
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
1026
|
-
};
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
/**
|
|
1030
|
-
* Clears the message field making it undefined.
|
|
1031
|
-
* @return {!proto.UpdateUserRequest} returns this
|
|
1032
|
-
*/
|
|
1033
|
-
proto.UpdateUserRequest.prototype.clearUser = function() {
|
|
1034
|
-
return this.setUser(undefined);
|
|
1035
|
-
};
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
/**
|
|
1039
|
-
* Returns whether this field is set.
|
|
1040
|
-
* @return {boolean}
|
|
1041
|
-
*/
|
|
1042
|
-
proto.UpdateUserRequest.prototype.hasUser = function() {
|
|
1043
|
-
return jspb.Message.getField(this, 1) != null;
|
|
1044
|
-
};
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
/**
|
|
1048
|
-
* optional string references_id = 2;
|
|
1049
|
-
* @return {string}
|
|
1050
|
-
*/
|
|
1051
|
-
proto.UpdateUserRequest.prototype.getReferencesId = function() {
|
|
1052
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1053
|
-
};
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
/**
|
|
1057
|
-
* @param {string} value
|
|
1058
|
-
* @return {!proto.UpdateUserRequest} returns this
|
|
1059
|
-
*/
|
|
1060
|
-
proto.UpdateUserRequest.prototype.setReferencesId = function(value) {
|
|
1061
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1062
|
-
};
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1069
|
-
/**
|
|
1070
|
-
* Creates an object representation of this proto.
|
|
1071
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1072
|
-
* Optional fields that are not set will be set to undefined.
|
|
1073
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1074
|
-
* For the list of reserved names please see:
|
|
1075
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1076
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1077
|
-
* JSPB instance for transitional soy proto support:
|
|
1078
|
-
* http://goto/soy-param-migration
|
|
1079
|
-
* @return {!Object}
|
|
1080
|
-
*/
|
|
1081
|
-
proto.UpdateUserResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1082
|
-
return proto.UpdateUserResponse.toObject(opt_includeInstance, this);
|
|
1083
|
-
};
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
/**
|
|
1087
|
-
* Static version of the {@see toObject} method.
|
|
1088
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1089
|
-
* the JSPB instance for transitional soy proto support:
|
|
1090
|
-
* http://goto/soy-param-migration
|
|
1091
|
-
* @param {!proto.UpdateUserResponse} msg The msg instance to transform.
|
|
1092
|
-
* @return {!Object}
|
|
1093
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1094
|
-
*/
|
|
1095
|
-
proto.UpdateUserResponse.toObject = function(includeInstance, msg) {
|
|
1096
|
-
var f, obj = {
|
|
1097
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1098
|
-
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
1099
|
-
};
|
|
1100
|
-
|
|
1101
|
-
if (includeInstance) {
|
|
1102
|
-
obj.$jspbMessageInstance = msg;
|
|
1103
|
-
}
|
|
1104
|
-
return obj;
|
|
1105
|
-
};
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
/**
|
|
1110
|
-
* Deserializes binary data (in protobuf wire format).
|
|
1111
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1112
|
-
* @return {!proto.UpdateUserResponse}
|
|
1113
|
-
*/
|
|
1114
|
-
proto.UpdateUserResponse.deserializeBinary = function(bytes) {
|
|
1115
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
1116
|
-
var msg = new proto.UpdateUserResponse;
|
|
1117
|
-
return proto.UpdateUserResponse.deserializeBinaryFromReader(msg, reader);
|
|
1118
|
-
};
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
/**
|
|
1122
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
1123
|
-
* given reader into the given message object.
|
|
1124
|
-
* @param {!proto.UpdateUserResponse} msg The message object to deserialize into.
|
|
1125
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1126
|
-
* @return {!proto.UpdateUserResponse}
|
|
1127
|
-
*/
|
|
1128
|
-
proto.UpdateUserResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1129
|
-
while (reader.nextField()) {
|
|
1130
|
-
if (reader.isEndGroup()) {
|
|
1131
|
-
break;
|
|
1132
|
-
}
|
|
1133
|
-
var field = reader.getFieldNumber();
|
|
1134
|
-
switch (field) {
|
|
1135
|
-
case 1:
|
|
1136
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1137
|
-
msg.setReferencesId(value);
|
|
1138
|
-
break;
|
|
1139
|
-
case 2:
|
|
1140
|
-
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
1141
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
1142
|
-
msg.setMeta(value);
|
|
1143
|
-
break;
|
|
1144
|
-
default:
|
|
1145
|
-
reader.skipField();
|
|
1146
|
-
break;
|
|
1147
|
-
}
|
|
1148
|
-
}
|
|
1149
|
-
return msg;
|
|
1150
|
-
};
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
/**
|
|
1154
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
1155
|
-
* @return {!Uint8Array}
|
|
1156
|
-
*/
|
|
1157
|
-
proto.UpdateUserResponse.prototype.serializeBinary = function() {
|
|
1158
|
-
var writer = new jspb.BinaryWriter();
|
|
1159
|
-
proto.UpdateUserResponse.serializeBinaryToWriter(this, writer);
|
|
1160
|
-
return writer.getResultBuffer();
|
|
1161
|
-
};
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
/**
|
|
1165
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
1166
|
-
* format), writing to the given BinaryWriter.
|
|
1167
|
-
* @param {!proto.UpdateUserResponse} message
|
|
1168
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1169
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1170
|
-
*/
|
|
1171
|
-
proto.UpdateUserResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1172
|
-
var f = undefined;
|
|
1173
|
-
f = message.getReferencesId();
|
|
1174
|
-
if (f.length > 0) {
|
|
1175
|
-
writer.writeString(
|
|
1176
|
-
1,
|
|
1177
|
-
f
|
|
1178
|
-
);
|
|
1179
|
-
}
|
|
1180
|
-
f = message.getMeta();
|
|
1181
|
-
if (f != null) {
|
|
1182
|
-
writer.writeMessage(
|
|
1183
|
-
2,
|
|
1184
|
-
f,
|
|
1185
|
-
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
1186
|
-
);
|
|
1187
|
-
}
|
|
1188
|
-
};
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
/**
|
|
1192
|
-
* optional string references_id = 1;
|
|
1193
|
-
* @return {string}
|
|
1194
|
-
*/
|
|
1195
|
-
proto.UpdateUserResponse.prototype.getReferencesId = function() {
|
|
1196
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1197
|
-
};
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
/**
|
|
1201
|
-
* @param {string} value
|
|
1202
|
-
* @return {!proto.UpdateUserResponse} returns this
|
|
1203
|
-
*/
|
|
1204
|
-
proto.UpdateUserResponse.prototype.setReferencesId = function(value) {
|
|
1205
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1206
|
-
};
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
/**
|
|
1210
|
-
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
1211
|
-
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
1212
|
-
*/
|
|
1213
|
-
proto.UpdateUserResponse.prototype.getMeta = function() {
|
|
1214
|
-
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
1215
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
1216
|
-
};
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
/**
|
|
1220
|
-
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
1221
|
-
* @return {!proto.UpdateUserResponse} returns this
|
|
1222
|
-
*/
|
|
1223
|
-
proto.UpdateUserResponse.prototype.setMeta = function(value) {
|
|
1224
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
1225
|
-
};
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
/**
|
|
1229
|
-
* Clears the message field making it undefined.
|
|
1230
|
-
* @return {!proto.UpdateUserResponse} returns this
|
|
1231
|
-
*/
|
|
1232
|
-
proto.UpdateUserResponse.prototype.clearMeta = function() {
|
|
1233
|
-
return this.setMeta(undefined);
|
|
1234
|
-
};
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
/**
|
|
1238
|
-
* Returns whether this field is set.
|
|
1239
|
-
* @return {boolean}
|
|
1240
|
-
*/
|
|
1241
|
-
proto.UpdateUserResponse.prototype.hasMeta = function() {
|
|
1242
|
-
return jspb.Message.getField(this, 2) != null;
|
|
1243
|
-
};
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
goog.object.extend(exports, proto);
|