@sniipwebmaster/payroll-service-client-grpcweb 25.11.642 → 25.11.648
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/dependancies/service_grpc_web_pb.js +122 -0
- package/dependancies/service_pb.js +1031 -2
- package/package.json +1 -1
|
@@ -2154,5 +2154,127 @@ proto.payrollserviceapi.PayrollServicePromiseClient.prototype.getAgentUserRelati
|
|
|
2154
2154
|
};
|
|
2155
2155
|
|
|
2156
2156
|
|
|
2157
|
+
/**
|
|
2158
|
+
* @const
|
|
2159
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2160
|
+
* !proto.payrollserviceapi.ListBusinessesForAdminRequest,
|
|
2161
|
+
* !proto.payrollserviceapi.ListBusinessesForAdminResponse>}
|
|
2162
|
+
*/
|
|
2163
|
+
const methodDescriptor_PayrollService_ListBusinessesForAdmin = new grpc.web.MethodDescriptor(
|
|
2164
|
+
'/payrollserviceapi.PayrollService/ListBusinessesForAdmin',
|
|
2165
|
+
grpc.web.MethodType.UNARY,
|
|
2166
|
+
proto.payrollserviceapi.ListBusinessesForAdminRequest,
|
|
2167
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse,
|
|
2168
|
+
/**
|
|
2169
|
+
* @param {!proto.payrollserviceapi.ListBusinessesForAdminRequest} request
|
|
2170
|
+
* @return {!Uint8Array}
|
|
2171
|
+
*/
|
|
2172
|
+
function(request) {
|
|
2173
|
+
return request.serializeBinary();
|
|
2174
|
+
},
|
|
2175
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.deserializeBinary
|
|
2176
|
+
);
|
|
2177
|
+
|
|
2178
|
+
|
|
2179
|
+
/**
|
|
2180
|
+
* @param {!proto.payrollserviceapi.ListBusinessesForAdminRequest} request The
|
|
2181
|
+
* request proto
|
|
2182
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2183
|
+
* call metadata
|
|
2184
|
+
* @param {function(?grpc.web.RpcError, ?proto.payrollserviceapi.ListBusinessesForAdminResponse)}
|
|
2185
|
+
* callback The callback function(error, response)
|
|
2186
|
+
* @return {!grpc.web.ClientReadableStream<!proto.payrollserviceapi.ListBusinessesForAdminResponse>|undefined}
|
|
2187
|
+
* The XHR Node Readable Stream
|
|
2188
|
+
*/
|
|
2189
|
+
proto.payrollserviceapi.PayrollServiceClient.prototype.listBusinessesForAdmin =
|
|
2190
|
+
function(request, metadata, callback) {
|
|
2191
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2192
|
+
'/payrollserviceapi.PayrollService/ListBusinessesForAdmin',
|
|
2193
|
+
request,
|
|
2194
|
+
metadata || {},
|
|
2195
|
+
methodDescriptor_PayrollService_ListBusinessesForAdmin,
|
|
2196
|
+
callback);
|
|
2197
|
+
};
|
|
2198
|
+
|
|
2199
|
+
|
|
2200
|
+
/**
|
|
2201
|
+
* @param {!proto.payrollserviceapi.ListBusinessesForAdminRequest} request The
|
|
2202
|
+
* request proto
|
|
2203
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2204
|
+
* call metadata
|
|
2205
|
+
* @return {!Promise<!proto.payrollserviceapi.ListBusinessesForAdminResponse>}
|
|
2206
|
+
* Promise that resolves to the response
|
|
2207
|
+
*/
|
|
2208
|
+
proto.payrollserviceapi.PayrollServicePromiseClient.prototype.listBusinessesForAdmin =
|
|
2209
|
+
function(request, metadata) {
|
|
2210
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2211
|
+
'/payrollserviceapi.PayrollService/ListBusinessesForAdmin',
|
|
2212
|
+
request,
|
|
2213
|
+
metadata || {},
|
|
2214
|
+
methodDescriptor_PayrollService_ListBusinessesForAdmin);
|
|
2215
|
+
};
|
|
2216
|
+
|
|
2217
|
+
|
|
2218
|
+
/**
|
|
2219
|
+
* @const
|
|
2220
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2221
|
+
* !proto.payrollserviceapi.UpdateBusinessStatusRequest,
|
|
2222
|
+
* !proto.payrollserviceapi.UpdateBusinessStatusResponse>}
|
|
2223
|
+
*/
|
|
2224
|
+
const methodDescriptor_PayrollService_UpdateBusinessStatus = new grpc.web.MethodDescriptor(
|
|
2225
|
+
'/payrollserviceapi.PayrollService/UpdateBusinessStatus',
|
|
2226
|
+
grpc.web.MethodType.UNARY,
|
|
2227
|
+
proto.payrollserviceapi.UpdateBusinessStatusRequest,
|
|
2228
|
+
proto.payrollserviceapi.UpdateBusinessStatusResponse,
|
|
2229
|
+
/**
|
|
2230
|
+
* @param {!proto.payrollserviceapi.UpdateBusinessStatusRequest} request
|
|
2231
|
+
* @return {!Uint8Array}
|
|
2232
|
+
*/
|
|
2233
|
+
function(request) {
|
|
2234
|
+
return request.serializeBinary();
|
|
2235
|
+
},
|
|
2236
|
+
proto.payrollserviceapi.UpdateBusinessStatusResponse.deserializeBinary
|
|
2237
|
+
);
|
|
2238
|
+
|
|
2239
|
+
|
|
2240
|
+
/**
|
|
2241
|
+
* @param {!proto.payrollserviceapi.UpdateBusinessStatusRequest} request The
|
|
2242
|
+
* request proto
|
|
2243
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2244
|
+
* call metadata
|
|
2245
|
+
* @param {function(?grpc.web.RpcError, ?proto.payrollserviceapi.UpdateBusinessStatusResponse)}
|
|
2246
|
+
* callback The callback function(error, response)
|
|
2247
|
+
* @return {!grpc.web.ClientReadableStream<!proto.payrollserviceapi.UpdateBusinessStatusResponse>|undefined}
|
|
2248
|
+
* The XHR Node Readable Stream
|
|
2249
|
+
*/
|
|
2250
|
+
proto.payrollserviceapi.PayrollServiceClient.prototype.updateBusinessStatus =
|
|
2251
|
+
function(request, metadata, callback) {
|
|
2252
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2253
|
+
'/payrollserviceapi.PayrollService/UpdateBusinessStatus',
|
|
2254
|
+
request,
|
|
2255
|
+
metadata || {},
|
|
2256
|
+
methodDescriptor_PayrollService_UpdateBusinessStatus,
|
|
2257
|
+
callback);
|
|
2258
|
+
};
|
|
2259
|
+
|
|
2260
|
+
|
|
2261
|
+
/**
|
|
2262
|
+
* @param {!proto.payrollserviceapi.UpdateBusinessStatusRequest} request The
|
|
2263
|
+
* request proto
|
|
2264
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2265
|
+
* call metadata
|
|
2266
|
+
* @return {!Promise<!proto.payrollserviceapi.UpdateBusinessStatusResponse>}
|
|
2267
|
+
* Promise that resolves to the response
|
|
2268
|
+
*/
|
|
2269
|
+
proto.payrollserviceapi.PayrollServicePromiseClient.prototype.updateBusinessStatus =
|
|
2270
|
+
function(request, metadata) {
|
|
2271
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2272
|
+
'/payrollserviceapi.PayrollService/UpdateBusinessStatus',
|
|
2273
|
+
request,
|
|
2274
|
+
metadata || {},
|
|
2275
|
+
methodDescriptor_PayrollService_UpdateBusinessStatus);
|
|
2276
|
+
};
|
|
2277
|
+
|
|
2278
|
+
|
|
2157
2279
|
module.exports = proto.payrollserviceapi;
|
|
2158
2280
|
|
|
@@ -82,6 +82,8 @@ goog.exportSymbol('proto.payrollserviceapi.ImportABAFileRequest', null, global);
|
|
|
82
82
|
goog.exportSymbol('proto.payrollserviceapi.ImportDetail', null, global);
|
|
83
83
|
goog.exportSymbol('proto.payrollserviceapi.ListABAFilesRequest', null, global);
|
|
84
84
|
goog.exportSymbol('proto.payrollserviceapi.ListABAFilesResponse', null, global);
|
|
85
|
+
goog.exportSymbol('proto.payrollserviceapi.ListBusinessesForAdminRequest', null, global);
|
|
86
|
+
goog.exportSymbol('proto.payrollserviceapi.ListBusinessesForAdminResponse', null, global);
|
|
85
87
|
goog.exportSymbol('proto.payrollserviceapi.ListEmployeeCsvDetailsRequest', null, global);
|
|
86
88
|
goog.exportSymbol('proto.payrollserviceapi.ListEmployeeCsvDetailsResponse', null, global);
|
|
87
89
|
goog.exportSymbol('proto.payrollserviceapi.ListEmployeesRequest', null, global);
|
|
@@ -97,6 +99,8 @@ goog.exportSymbol('proto.payrollserviceapi.UpdateAbaFileRequest', null, global);
|
|
|
97
99
|
goog.exportSymbol('proto.payrollserviceapi.UpdateAbaFileResponse', null, global);
|
|
98
100
|
goog.exportSymbol('proto.payrollserviceapi.UpdateBusinessRequest', null, global);
|
|
99
101
|
goog.exportSymbol('proto.payrollserviceapi.UpdateBusinessResponse', null, global);
|
|
102
|
+
goog.exportSymbol('proto.payrollserviceapi.UpdateBusinessStatusRequest', null, global);
|
|
103
|
+
goog.exportSymbol('proto.payrollserviceapi.UpdateBusinessStatusResponse', null, global);
|
|
100
104
|
goog.exportSymbol('proto.payrollserviceapi.UpdateEmployeeRequest', null, global);
|
|
101
105
|
goog.exportSymbol('proto.payrollserviceapi.UpdateEmployeeResponse', null, global);
|
|
102
106
|
goog.exportSymbol('proto.payrollserviceapi.UserProfile', null, global);
|
|
@@ -1089,6 +1093,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1089
1093
|
*/
|
|
1090
1094
|
proto.payrollserviceapi.ArchiveBusinessResponse.displayName = 'proto.payrollserviceapi.ArchiveBusinessResponse';
|
|
1091
1095
|
}
|
|
1096
|
+
/**
|
|
1097
|
+
* Generated by JsPbCodeGenerator.
|
|
1098
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1099
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1100
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1101
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1102
|
+
* valid.
|
|
1103
|
+
* @extends {jspb.Message}
|
|
1104
|
+
* @constructor
|
|
1105
|
+
*/
|
|
1106
|
+
proto.payrollserviceapi.ListBusinessesForAdminRequest = function(opt_data) {
|
|
1107
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payrollserviceapi.ListBusinessesForAdminRequest.repeatedFields_, null);
|
|
1108
|
+
};
|
|
1109
|
+
goog.inherits(proto.payrollserviceapi.ListBusinessesForAdminRequest, jspb.Message);
|
|
1110
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1111
|
+
/**
|
|
1112
|
+
* @public
|
|
1113
|
+
* @override
|
|
1114
|
+
*/
|
|
1115
|
+
proto.payrollserviceapi.ListBusinessesForAdminRequest.displayName = 'proto.payrollserviceapi.ListBusinessesForAdminRequest';
|
|
1116
|
+
}
|
|
1117
|
+
/**
|
|
1118
|
+
* Generated by JsPbCodeGenerator.
|
|
1119
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1120
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1121
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1122
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1123
|
+
* valid.
|
|
1124
|
+
* @extends {jspb.Message}
|
|
1125
|
+
* @constructor
|
|
1126
|
+
*/
|
|
1127
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse = function(opt_data) {
|
|
1128
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payrollserviceapi.ListBusinessesForAdminResponse.repeatedFields_, null);
|
|
1129
|
+
};
|
|
1130
|
+
goog.inherits(proto.payrollserviceapi.ListBusinessesForAdminResponse, jspb.Message);
|
|
1131
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1132
|
+
/**
|
|
1133
|
+
* @public
|
|
1134
|
+
* @override
|
|
1135
|
+
*/
|
|
1136
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.displayName = 'proto.payrollserviceapi.ListBusinessesForAdminResponse';
|
|
1137
|
+
}
|
|
1138
|
+
/**
|
|
1139
|
+
* Generated by JsPbCodeGenerator.
|
|
1140
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1141
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1142
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1143
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1144
|
+
* valid.
|
|
1145
|
+
* @extends {jspb.Message}
|
|
1146
|
+
* @constructor
|
|
1147
|
+
*/
|
|
1148
|
+
proto.payrollserviceapi.UpdateBusinessStatusRequest = function(opt_data) {
|
|
1149
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1150
|
+
};
|
|
1151
|
+
goog.inherits(proto.payrollserviceapi.UpdateBusinessStatusRequest, jspb.Message);
|
|
1152
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1153
|
+
/**
|
|
1154
|
+
* @public
|
|
1155
|
+
* @override
|
|
1156
|
+
*/
|
|
1157
|
+
proto.payrollserviceapi.UpdateBusinessStatusRequest.displayName = 'proto.payrollserviceapi.UpdateBusinessStatusRequest';
|
|
1158
|
+
}
|
|
1159
|
+
/**
|
|
1160
|
+
* Generated by JsPbCodeGenerator.
|
|
1161
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1162
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1163
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1164
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1165
|
+
* valid.
|
|
1166
|
+
* @extends {jspb.Message}
|
|
1167
|
+
* @constructor
|
|
1168
|
+
*/
|
|
1169
|
+
proto.payrollserviceapi.UpdateBusinessStatusResponse = function(opt_data) {
|
|
1170
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1171
|
+
};
|
|
1172
|
+
goog.inherits(proto.payrollserviceapi.UpdateBusinessStatusResponse, jspb.Message);
|
|
1173
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1174
|
+
/**
|
|
1175
|
+
* @public
|
|
1176
|
+
* @override
|
|
1177
|
+
*/
|
|
1178
|
+
proto.payrollserviceapi.UpdateBusinessStatusResponse.displayName = 'proto.payrollserviceapi.UpdateBusinessStatusResponse';
|
|
1179
|
+
}
|
|
1092
1180
|
/**
|
|
1093
1181
|
* Generated by JsPbCodeGenerator.
|
|
1094
1182
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -11937,7 +12025,9 @@ proto.payrollserviceapi.BusinessDetails.toObject = function(includeInstance, msg
|
|
|
11937
12025
|
updatedAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
11938
12026
|
email: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
11939
12027
|
phone: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
11940
|
-
status: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
12028
|
+
status: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
12029
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
12030
|
+
agentUserId: jspb.Message.getFieldWithDefault(msg, 11, 0)
|
|
11941
12031
|
};
|
|
11942
12032
|
|
|
11943
12033
|
if (includeInstance) {
|
|
@@ -12006,6 +12096,14 @@ proto.payrollserviceapi.BusinessDetails.deserializeBinaryFromReader = function(m
|
|
|
12006
12096
|
var value = /** @type {!proto.payrollserviceapi.BusinessStatus} */ (reader.readEnum());
|
|
12007
12097
|
msg.setStatus(value);
|
|
12008
12098
|
break;
|
|
12099
|
+
case 10:
|
|
12100
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
12101
|
+
msg.setClientUserId(value);
|
|
12102
|
+
break;
|
|
12103
|
+
case 11:
|
|
12104
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
12105
|
+
msg.setAgentUserId(value);
|
|
12106
|
+
break;
|
|
12009
12107
|
default:
|
|
12010
12108
|
reader.skipField();
|
|
12011
12109
|
break;
|
|
@@ -12091,6 +12189,20 @@ proto.payrollserviceapi.BusinessDetails.serializeBinaryToWriter = function(messa
|
|
|
12091
12189
|
f
|
|
12092
12190
|
);
|
|
12093
12191
|
}
|
|
12192
|
+
f = message.getClientUserId();
|
|
12193
|
+
if (f !== 0) {
|
|
12194
|
+
writer.writeInt64(
|
|
12195
|
+
10,
|
|
12196
|
+
f
|
|
12197
|
+
);
|
|
12198
|
+
}
|
|
12199
|
+
f = message.getAgentUserId();
|
|
12200
|
+
if (f !== 0) {
|
|
12201
|
+
writer.writeInt64(
|
|
12202
|
+
11,
|
|
12203
|
+
f
|
|
12204
|
+
);
|
|
12205
|
+
}
|
|
12094
12206
|
};
|
|
12095
12207
|
|
|
12096
12208
|
|
|
@@ -12238,6 +12350,42 @@ proto.payrollserviceapi.BusinessDetails.prototype.setStatus = function(value) {
|
|
|
12238
12350
|
};
|
|
12239
12351
|
|
|
12240
12352
|
|
|
12353
|
+
/**
|
|
12354
|
+
* optional int64 client_user_id = 10;
|
|
12355
|
+
* @return {number}
|
|
12356
|
+
*/
|
|
12357
|
+
proto.payrollserviceapi.BusinessDetails.prototype.getClientUserId = function() {
|
|
12358
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
12359
|
+
};
|
|
12360
|
+
|
|
12361
|
+
|
|
12362
|
+
/**
|
|
12363
|
+
* @param {number} value
|
|
12364
|
+
* @return {!proto.payrollserviceapi.BusinessDetails} returns this
|
|
12365
|
+
*/
|
|
12366
|
+
proto.payrollserviceapi.BusinessDetails.prototype.setClientUserId = function(value) {
|
|
12367
|
+
return jspb.Message.setProto3IntField(this, 10, value);
|
|
12368
|
+
};
|
|
12369
|
+
|
|
12370
|
+
|
|
12371
|
+
/**
|
|
12372
|
+
* optional int64 agent_user_id = 11;
|
|
12373
|
+
* @return {number}
|
|
12374
|
+
*/
|
|
12375
|
+
proto.payrollserviceapi.BusinessDetails.prototype.getAgentUserId = function() {
|
|
12376
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
12377
|
+
};
|
|
12378
|
+
|
|
12379
|
+
|
|
12380
|
+
/**
|
|
12381
|
+
* @param {number} value
|
|
12382
|
+
* @return {!proto.payrollserviceapi.BusinessDetails} returns this
|
|
12383
|
+
*/
|
|
12384
|
+
proto.payrollserviceapi.BusinessDetails.prototype.setAgentUserId = function(value) {
|
|
12385
|
+
return jspb.Message.setProto3IntField(this, 11, value);
|
|
12386
|
+
};
|
|
12387
|
+
|
|
12388
|
+
|
|
12241
12389
|
|
|
12242
12390
|
|
|
12243
12391
|
|
|
@@ -13792,6 +13940,887 @@ proto.payrollserviceapi.ArchiveBusinessResponse.prototype.setUpdatedAt = functio
|
|
|
13792
13940
|
|
|
13793
13941
|
|
|
13794
13942
|
|
|
13943
|
+
/**
|
|
13944
|
+
* List of repeated fields within this message type.
|
|
13945
|
+
* @private {!Array<number>}
|
|
13946
|
+
* @const
|
|
13947
|
+
*/
|
|
13948
|
+
proto.payrollserviceapi.ListBusinessesForAdminRequest.repeatedFields_ = [1];
|
|
13949
|
+
|
|
13950
|
+
|
|
13951
|
+
|
|
13952
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13953
|
+
/**
|
|
13954
|
+
* Creates an object representation of this proto.
|
|
13955
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13956
|
+
* Optional fields that are not set will be set to undefined.
|
|
13957
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13958
|
+
* For the list of reserved names please see:
|
|
13959
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13960
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13961
|
+
* JSPB instance for transitional soy proto support:
|
|
13962
|
+
* http://goto/soy-param-migration
|
|
13963
|
+
* @return {!Object}
|
|
13964
|
+
*/
|
|
13965
|
+
proto.payrollserviceapi.ListBusinessesForAdminRequest.prototype.toObject = function(opt_includeInstance) {
|
|
13966
|
+
return proto.payrollserviceapi.ListBusinessesForAdminRequest.toObject(opt_includeInstance, this);
|
|
13967
|
+
};
|
|
13968
|
+
|
|
13969
|
+
|
|
13970
|
+
/**
|
|
13971
|
+
* Static version of the {@see toObject} method.
|
|
13972
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13973
|
+
* the JSPB instance for transitional soy proto support:
|
|
13974
|
+
* http://goto/soy-param-migration
|
|
13975
|
+
* @param {!proto.payrollserviceapi.ListBusinessesForAdminRequest} msg The msg instance to transform.
|
|
13976
|
+
* @return {!Object}
|
|
13977
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13978
|
+
*/
|
|
13979
|
+
proto.payrollserviceapi.ListBusinessesForAdminRequest.toObject = function(includeInstance, msg) {
|
|
13980
|
+
var f, obj = {
|
|
13981
|
+
statusesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
13982
|
+
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
13983
|
+
limit: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
13984
|
+
};
|
|
13985
|
+
|
|
13986
|
+
if (includeInstance) {
|
|
13987
|
+
obj.$jspbMessageInstance = msg;
|
|
13988
|
+
}
|
|
13989
|
+
return obj;
|
|
13990
|
+
};
|
|
13991
|
+
}
|
|
13992
|
+
|
|
13993
|
+
|
|
13994
|
+
/**
|
|
13995
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13996
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
13997
|
+
* @return {!proto.payrollserviceapi.ListBusinessesForAdminRequest}
|
|
13998
|
+
*/
|
|
13999
|
+
proto.payrollserviceapi.ListBusinessesForAdminRequest.deserializeBinary = function(bytes) {
|
|
14000
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14001
|
+
var msg = new proto.payrollserviceapi.ListBusinessesForAdminRequest;
|
|
14002
|
+
return proto.payrollserviceapi.ListBusinessesForAdminRequest.deserializeBinaryFromReader(msg, reader);
|
|
14003
|
+
};
|
|
14004
|
+
|
|
14005
|
+
|
|
14006
|
+
/**
|
|
14007
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14008
|
+
* given reader into the given message object.
|
|
14009
|
+
* @param {!proto.payrollserviceapi.ListBusinessesForAdminRequest} msg The message object to deserialize into.
|
|
14010
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14011
|
+
* @return {!proto.payrollserviceapi.ListBusinessesForAdminRequest}
|
|
14012
|
+
*/
|
|
14013
|
+
proto.payrollserviceapi.ListBusinessesForAdminRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
14014
|
+
while (reader.nextField()) {
|
|
14015
|
+
if (reader.isEndGroup()) {
|
|
14016
|
+
break;
|
|
14017
|
+
}
|
|
14018
|
+
var field = reader.getFieldNumber();
|
|
14019
|
+
switch (field) {
|
|
14020
|
+
case 1:
|
|
14021
|
+
var values = /** @type {!Array<!proto.payrollserviceapi.BusinessStatus>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
14022
|
+
for (var i = 0; i < values.length; i++) {
|
|
14023
|
+
msg.addStatuses(values[i]);
|
|
14024
|
+
}
|
|
14025
|
+
break;
|
|
14026
|
+
case 2:
|
|
14027
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
14028
|
+
msg.setPage(value);
|
|
14029
|
+
break;
|
|
14030
|
+
case 3:
|
|
14031
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
14032
|
+
msg.setLimit(value);
|
|
14033
|
+
break;
|
|
14034
|
+
default:
|
|
14035
|
+
reader.skipField();
|
|
14036
|
+
break;
|
|
14037
|
+
}
|
|
14038
|
+
}
|
|
14039
|
+
return msg;
|
|
14040
|
+
};
|
|
14041
|
+
|
|
14042
|
+
|
|
14043
|
+
/**
|
|
14044
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14045
|
+
* @return {!Uint8Array}
|
|
14046
|
+
*/
|
|
14047
|
+
proto.payrollserviceapi.ListBusinessesForAdminRequest.prototype.serializeBinary = function() {
|
|
14048
|
+
var writer = new jspb.BinaryWriter();
|
|
14049
|
+
proto.payrollserviceapi.ListBusinessesForAdminRequest.serializeBinaryToWriter(this, writer);
|
|
14050
|
+
return writer.getResultBuffer();
|
|
14051
|
+
};
|
|
14052
|
+
|
|
14053
|
+
|
|
14054
|
+
/**
|
|
14055
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14056
|
+
* format), writing to the given BinaryWriter.
|
|
14057
|
+
* @param {!proto.payrollserviceapi.ListBusinessesForAdminRequest} message
|
|
14058
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14059
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14060
|
+
*/
|
|
14061
|
+
proto.payrollserviceapi.ListBusinessesForAdminRequest.serializeBinaryToWriter = function(message, writer) {
|
|
14062
|
+
var f = undefined;
|
|
14063
|
+
f = message.getStatusesList();
|
|
14064
|
+
if (f.length > 0) {
|
|
14065
|
+
writer.writePackedEnum(
|
|
14066
|
+
1,
|
|
14067
|
+
f
|
|
14068
|
+
);
|
|
14069
|
+
}
|
|
14070
|
+
f = message.getPage();
|
|
14071
|
+
if (f !== 0) {
|
|
14072
|
+
writer.writeInt32(
|
|
14073
|
+
2,
|
|
14074
|
+
f
|
|
14075
|
+
);
|
|
14076
|
+
}
|
|
14077
|
+
f = message.getLimit();
|
|
14078
|
+
if (f !== 0) {
|
|
14079
|
+
writer.writeInt32(
|
|
14080
|
+
3,
|
|
14081
|
+
f
|
|
14082
|
+
);
|
|
14083
|
+
}
|
|
14084
|
+
};
|
|
14085
|
+
|
|
14086
|
+
|
|
14087
|
+
/**
|
|
14088
|
+
* repeated BusinessStatus statuses = 1;
|
|
14089
|
+
* @return {!Array<!proto.payrollserviceapi.BusinessStatus>}
|
|
14090
|
+
*/
|
|
14091
|
+
proto.payrollserviceapi.ListBusinessesForAdminRequest.prototype.getStatusesList = function() {
|
|
14092
|
+
return /** @type {!Array<!proto.payrollserviceapi.BusinessStatus>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
14093
|
+
};
|
|
14094
|
+
|
|
14095
|
+
|
|
14096
|
+
/**
|
|
14097
|
+
* @param {!Array<!proto.payrollserviceapi.BusinessStatus>} value
|
|
14098
|
+
* @return {!proto.payrollserviceapi.ListBusinessesForAdminRequest} returns this
|
|
14099
|
+
*/
|
|
14100
|
+
proto.payrollserviceapi.ListBusinessesForAdminRequest.prototype.setStatusesList = function(value) {
|
|
14101
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
14102
|
+
};
|
|
14103
|
+
|
|
14104
|
+
|
|
14105
|
+
/**
|
|
14106
|
+
* @param {!proto.payrollserviceapi.BusinessStatus} value
|
|
14107
|
+
* @param {number=} opt_index
|
|
14108
|
+
* @return {!proto.payrollserviceapi.ListBusinessesForAdminRequest} returns this
|
|
14109
|
+
*/
|
|
14110
|
+
proto.payrollserviceapi.ListBusinessesForAdminRequest.prototype.addStatuses = function(value, opt_index) {
|
|
14111
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
14112
|
+
};
|
|
14113
|
+
|
|
14114
|
+
|
|
14115
|
+
/**
|
|
14116
|
+
* Clears the list making it empty but non-null.
|
|
14117
|
+
* @return {!proto.payrollserviceapi.ListBusinessesForAdminRequest} returns this
|
|
14118
|
+
*/
|
|
14119
|
+
proto.payrollserviceapi.ListBusinessesForAdminRequest.prototype.clearStatusesList = function() {
|
|
14120
|
+
return this.setStatusesList([]);
|
|
14121
|
+
};
|
|
14122
|
+
|
|
14123
|
+
|
|
14124
|
+
/**
|
|
14125
|
+
* optional int32 page = 2;
|
|
14126
|
+
* @return {number}
|
|
14127
|
+
*/
|
|
14128
|
+
proto.payrollserviceapi.ListBusinessesForAdminRequest.prototype.getPage = function() {
|
|
14129
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
14130
|
+
};
|
|
14131
|
+
|
|
14132
|
+
|
|
14133
|
+
/**
|
|
14134
|
+
* @param {number} value
|
|
14135
|
+
* @return {!proto.payrollserviceapi.ListBusinessesForAdminRequest} returns this
|
|
14136
|
+
*/
|
|
14137
|
+
proto.payrollserviceapi.ListBusinessesForAdminRequest.prototype.setPage = function(value) {
|
|
14138
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
14139
|
+
};
|
|
14140
|
+
|
|
14141
|
+
|
|
14142
|
+
/**
|
|
14143
|
+
* optional int32 limit = 3;
|
|
14144
|
+
* @return {number}
|
|
14145
|
+
*/
|
|
14146
|
+
proto.payrollserviceapi.ListBusinessesForAdminRequest.prototype.getLimit = function() {
|
|
14147
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
14148
|
+
};
|
|
14149
|
+
|
|
14150
|
+
|
|
14151
|
+
/**
|
|
14152
|
+
* @param {number} value
|
|
14153
|
+
* @return {!proto.payrollserviceapi.ListBusinessesForAdminRequest} returns this
|
|
14154
|
+
*/
|
|
14155
|
+
proto.payrollserviceapi.ListBusinessesForAdminRequest.prototype.setLimit = function(value) {
|
|
14156
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
14157
|
+
};
|
|
14158
|
+
|
|
14159
|
+
|
|
14160
|
+
|
|
14161
|
+
/**
|
|
14162
|
+
* List of repeated fields within this message type.
|
|
14163
|
+
* @private {!Array<number>}
|
|
14164
|
+
* @const
|
|
14165
|
+
*/
|
|
14166
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.repeatedFields_ = [2];
|
|
14167
|
+
|
|
14168
|
+
|
|
14169
|
+
|
|
14170
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14171
|
+
/**
|
|
14172
|
+
* Creates an object representation of this proto.
|
|
14173
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14174
|
+
* Optional fields that are not set will be set to undefined.
|
|
14175
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14176
|
+
* For the list of reserved names please see:
|
|
14177
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14178
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14179
|
+
* JSPB instance for transitional soy proto support:
|
|
14180
|
+
* http://goto/soy-param-migration
|
|
14181
|
+
* @return {!Object}
|
|
14182
|
+
*/
|
|
14183
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.prototype.toObject = function(opt_includeInstance) {
|
|
14184
|
+
return proto.payrollserviceapi.ListBusinessesForAdminResponse.toObject(opt_includeInstance, this);
|
|
14185
|
+
};
|
|
14186
|
+
|
|
14187
|
+
|
|
14188
|
+
/**
|
|
14189
|
+
* Static version of the {@see toObject} method.
|
|
14190
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14191
|
+
* the JSPB instance for transitional soy proto support:
|
|
14192
|
+
* http://goto/soy-param-migration
|
|
14193
|
+
* @param {!proto.payrollserviceapi.ListBusinessesForAdminResponse} msg The msg instance to transform.
|
|
14194
|
+
* @return {!Object}
|
|
14195
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14196
|
+
*/
|
|
14197
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.toObject = function(includeInstance, msg) {
|
|
14198
|
+
var f, obj = {
|
|
14199
|
+
responsecode: (f = msg.getResponsecode()) && proto.payrollserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
14200
|
+
businessesList: jspb.Message.toObjectList(msg.getBusinessesList(),
|
|
14201
|
+
proto.payrollserviceapi.BusinessDetails.toObject, includeInstance),
|
|
14202
|
+
totalCount: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
14203
|
+
page: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
14204
|
+
limit: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
14205
|
+
};
|
|
14206
|
+
|
|
14207
|
+
if (includeInstance) {
|
|
14208
|
+
obj.$jspbMessageInstance = msg;
|
|
14209
|
+
}
|
|
14210
|
+
return obj;
|
|
14211
|
+
};
|
|
14212
|
+
}
|
|
14213
|
+
|
|
14214
|
+
|
|
14215
|
+
/**
|
|
14216
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14217
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14218
|
+
* @return {!proto.payrollserviceapi.ListBusinessesForAdminResponse}
|
|
14219
|
+
*/
|
|
14220
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.deserializeBinary = function(bytes) {
|
|
14221
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14222
|
+
var msg = new proto.payrollserviceapi.ListBusinessesForAdminResponse;
|
|
14223
|
+
return proto.payrollserviceapi.ListBusinessesForAdminResponse.deserializeBinaryFromReader(msg, reader);
|
|
14224
|
+
};
|
|
14225
|
+
|
|
14226
|
+
|
|
14227
|
+
/**
|
|
14228
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14229
|
+
* given reader into the given message object.
|
|
14230
|
+
* @param {!proto.payrollserviceapi.ListBusinessesForAdminResponse} msg The message object to deserialize into.
|
|
14231
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14232
|
+
* @return {!proto.payrollserviceapi.ListBusinessesForAdminResponse}
|
|
14233
|
+
*/
|
|
14234
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
14235
|
+
while (reader.nextField()) {
|
|
14236
|
+
if (reader.isEndGroup()) {
|
|
14237
|
+
break;
|
|
14238
|
+
}
|
|
14239
|
+
var field = reader.getFieldNumber();
|
|
14240
|
+
switch (field) {
|
|
14241
|
+
case 1:
|
|
14242
|
+
var value = new proto.payrollserviceapi.ResponseCode;
|
|
14243
|
+
reader.readMessage(value,proto.payrollserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
14244
|
+
msg.setResponsecode(value);
|
|
14245
|
+
break;
|
|
14246
|
+
case 2:
|
|
14247
|
+
var value = new proto.payrollserviceapi.BusinessDetails;
|
|
14248
|
+
reader.readMessage(value,proto.payrollserviceapi.BusinessDetails.deserializeBinaryFromReader);
|
|
14249
|
+
msg.addBusinesses(value);
|
|
14250
|
+
break;
|
|
14251
|
+
case 3:
|
|
14252
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
14253
|
+
msg.setTotalCount(value);
|
|
14254
|
+
break;
|
|
14255
|
+
case 4:
|
|
14256
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
14257
|
+
msg.setPage(value);
|
|
14258
|
+
break;
|
|
14259
|
+
case 5:
|
|
14260
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
14261
|
+
msg.setLimit(value);
|
|
14262
|
+
break;
|
|
14263
|
+
default:
|
|
14264
|
+
reader.skipField();
|
|
14265
|
+
break;
|
|
14266
|
+
}
|
|
14267
|
+
}
|
|
14268
|
+
return msg;
|
|
14269
|
+
};
|
|
14270
|
+
|
|
14271
|
+
|
|
14272
|
+
/**
|
|
14273
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14274
|
+
* @return {!Uint8Array}
|
|
14275
|
+
*/
|
|
14276
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.prototype.serializeBinary = function() {
|
|
14277
|
+
var writer = new jspb.BinaryWriter();
|
|
14278
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.serializeBinaryToWriter(this, writer);
|
|
14279
|
+
return writer.getResultBuffer();
|
|
14280
|
+
};
|
|
14281
|
+
|
|
14282
|
+
|
|
14283
|
+
/**
|
|
14284
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14285
|
+
* format), writing to the given BinaryWriter.
|
|
14286
|
+
* @param {!proto.payrollserviceapi.ListBusinessesForAdminResponse} message
|
|
14287
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14288
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14289
|
+
*/
|
|
14290
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.serializeBinaryToWriter = function(message, writer) {
|
|
14291
|
+
var f = undefined;
|
|
14292
|
+
f = message.getResponsecode();
|
|
14293
|
+
if (f != null) {
|
|
14294
|
+
writer.writeMessage(
|
|
14295
|
+
1,
|
|
14296
|
+
f,
|
|
14297
|
+
proto.payrollserviceapi.ResponseCode.serializeBinaryToWriter
|
|
14298
|
+
);
|
|
14299
|
+
}
|
|
14300
|
+
f = message.getBusinessesList();
|
|
14301
|
+
if (f.length > 0) {
|
|
14302
|
+
writer.writeRepeatedMessage(
|
|
14303
|
+
2,
|
|
14304
|
+
f,
|
|
14305
|
+
proto.payrollserviceapi.BusinessDetails.serializeBinaryToWriter
|
|
14306
|
+
);
|
|
14307
|
+
}
|
|
14308
|
+
f = message.getTotalCount();
|
|
14309
|
+
if (f !== 0) {
|
|
14310
|
+
writer.writeInt32(
|
|
14311
|
+
3,
|
|
14312
|
+
f
|
|
14313
|
+
);
|
|
14314
|
+
}
|
|
14315
|
+
f = message.getPage();
|
|
14316
|
+
if (f !== 0) {
|
|
14317
|
+
writer.writeInt32(
|
|
14318
|
+
4,
|
|
14319
|
+
f
|
|
14320
|
+
);
|
|
14321
|
+
}
|
|
14322
|
+
f = message.getLimit();
|
|
14323
|
+
if (f !== 0) {
|
|
14324
|
+
writer.writeInt32(
|
|
14325
|
+
5,
|
|
14326
|
+
f
|
|
14327
|
+
);
|
|
14328
|
+
}
|
|
14329
|
+
};
|
|
14330
|
+
|
|
14331
|
+
|
|
14332
|
+
/**
|
|
14333
|
+
* optional ResponseCode responseCode = 1;
|
|
14334
|
+
* @return {?proto.payrollserviceapi.ResponseCode}
|
|
14335
|
+
*/
|
|
14336
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.prototype.getResponsecode = function() {
|
|
14337
|
+
return /** @type{?proto.payrollserviceapi.ResponseCode} */ (
|
|
14338
|
+
jspb.Message.getWrapperField(this, proto.payrollserviceapi.ResponseCode, 1));
|
|
14339
|
+
};
|
|
14340
|
+
|
|
14341
|
+
|
|
14342
|
+
/**
|
|
14343
|
+
* @param {?proto.payrollserviceapi.ResponseCode|undefined} value
|
|
14344
|
+
* @return {!proto.payrollserviceapi.ListBusinessesForAdminResponse} returns this
|
|
14345
|
+
*/
|
|
14346
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.prototype.setResponsecode = function(value) {
|
|
14347
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
14348
|
+
};
|
|
14349
|
+
|
|
14350
|
+
|
|
14351
|
+
/**
|
|
14352
|
+
* Clears the message field making it undefined.
|
|
14353
|
+
* @return {!proto.payrollserviceapi.ListBusinessesForAdminResponse} returns this
|
|
14354
|
+
*/
|
|
14355
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.prototype.clearResponsecode = function() {
|
|
14356
|
+
return this.setResponsecode(undefined);
|
|
14357
|
+
};
|
|
14358
|
+
|
|
14359
|
+
|
|
14360
|
+
/**
|
|
14361
|
+
* Returns whether this field is set.
|
|
14362
|
+
* @return {boolean}
|
|
14363
|
+
*/
|
|
14364
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.prototype.hasResponsecode = function() {
|
|
14365
|
+
return jspb.Message.getField(this, 1) != null;
|
|
14366
|
+
};
|
|
14367
|
+
|
|
14368
|
+
|
|
14369
|
+
/**
|
|
14370
|
+
* repeated BusinessDetails businesses = 2;
|
|
14371
|
+
* @return {!Array<!proto.payrollserviceapi.BusinessDetails>}
|
|
14372
|
+
*/
|
|
14373
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.prototype.getBusinessesList = function() {
|
|
14374
|
+
return /** @type{!Array<!proto.payrollserviceapi.BusinessDetails>} */ (
|
|
14375
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payrollserviceapi.BusinessDetails, 2));
|
|
14376
|
+
};
|
|
14377
|
+
|
|
14378
|
+
|
|
14379
|
+
/**
|
|
14380
|
+
* @param {!Array<!proto.payrollserviceapi.BusinessDetails>} value
|
|
14381
|
+
* @return {!proto.payrollserviceapi.ListBusinessesForAdminResponse} returns this
|
|
14382
|
+
*/
|
|
14383
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.prototype.setBusinessesList = function(value) {
|
|
14384
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
14385
|
+
};
|
|
14386
|
+
|
|
14387
|
+
|
|
14388
|
+
/**
|
|
14389
|
+
* @param {!proto.payrollserviceapi.BusinessDetails=} opt_value
|
|
14390
|
+
* @param {number=} opt_index
|
|
14391
|
+
* @return {!proto.payrollserviceapi.BusinessDetails}
|
|
14392
|
+
*/
|
|
14393
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.prototype.addBusinesses = function(opt_value, opt_index) {
|
|
14394
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.payrollserviceapi.BusinessDetails, opt_index);
|
|
14395
|
+
};
|
|
14396
|
+
|
|
14397
|
+
|
|
14398
|
+
/**
|
|
14399
|
+
* Clears the list making it empty but non-null.
|
|
14400
|
+
* @return {!proto.payrollserviceapi.ListBusinessesForAdminResponse} returns this
|
|
14401
|
+
*/
|
|
14402
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.prototype.clearBusinessesList = function() {
|
|
14403
|
+
return this.setBusinessesList([]);
|
|
14404
|
+
};
|
|
14405
|
+
|
|
14406
|
+
|
|
14407
|
+
/**
|
|
14408
|
+
* optional int32 total_count = 3;
|
|
14409
|
+
* @return {number}
|
|
14410
|
+
*/
|
|
14411
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.prototype.getTotalCount = function() {
|
|
14412
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
14413
|
+
};
|
|
14414
|
+
|
|
14415
|
+
|
|
14416
|
+
/**
|
|
14417
|
+
* @param {number} value
|
|
14418
|
+
* @return {!proto.payrollserviceapi.ListBusinessesForAdminResponse} returns this
|
|
14419
|
+
*/
|
|
14420
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.prototype.setTotalCount = function(value) {
|
|
14421
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
14422
|
+
};
|
|
14423
|
+
|
|
14424
|
+
|
|
14425
|
+
/**
|
|
14426
|
+
* optional int32 page = 4;
|
|
14427
|
+
* @return {number}
|
|
14428
|
+
*/
|
|
14429
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.prototype.getPage = function() {
|
|
14430
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
14431
|
+
};
|
|
14432
|
+
|
|
14433
|
+
|
|
14434
|
+
/**
|
|
14435
|
+
* @param {number} value
|
|
14436
|
+
* @return {!proto.payrollserviceapi.ListBusinessesForAdminResponse} returns this
|
|
14437
|
+
*/
|
|
14438
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.prototype.setPage = function(value) {
|
|
14439
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
14440
|
+
};
|
|
14441
|
+
|
|
14442
|
+
|
|
14443
|
+
/**
|
|
14444
|
+
* optional int32 limit = 5;
|
|
14445
|
+
* @return {number}
|
|
14446
|
+
*/
|
|
14447
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.prototype.getLimit = function() {
|
|
14448
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
14449
|
+
};
|
|
14450
|
+
|
|
14451
|
+
|
|
14452
|
+
/**
|
|
14453
|
+
* @param {number} value
|
|
14454
|
+
* @return {!proto.payrollserviceapi.ListBusinessesForAdminResponse} returns this
|
|
14455
|
+
*/
|
|
14456
|
+
proto.payrollserviceapi.ListBusinessesForAdminResponse.prototype.setLimit = function(value) {
|
|
14457
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
14458
|
+
};
|
|
14459
|
+
|
|
14460
|
+
|
|
14461
|
+
|
|
14462
|
+
|
|
14463
|
+
|
|
14464
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14465
|
+
/**
|
|
14466
|
+
* Creates an object representation of this proto.
|
|
14467
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14468
|
+
* Optional fields that are not set will be set to undefined.
|
|
14469
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14470
|
+
* For the list of reserved names please see:
|
|
14471
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14472
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14473
|
+
* JSPB instance for transitional soy proto support:
|
|
14474
|
+
* http://goto/soy-param-migration
|
|
14475
|
+
* @return {!Object}
|
|
14476
|
+
*/
|
|
14477
|
+
proto.payrollserviceapi.UpdateBusinessStatusRequest.prototype.toObject = function(opt_includeInstance) {
|
|
14478
|
+
return proto.payrollserviceapi.UpdateBusinessStatusRequest.toObject(opt_includeInstance, this);
|
|
14479
|
+
};
|
|
14480
|
+
|
|
14481
|
+
|
|
14482
|
+
/**
|
|
14483
|
+
* Static version of the {@see toObject} method.
|
|
14484
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14485
|
+
* the JSPB instance for transitional soy proto support:
|
|
14486
|
+
* http://goto/soy-param-migration
|
|
14487
|
+
* @param {!proto.payrollserviceapi.UpdateBusinessStatusRequest} msg The msg instance to transform.
|
|
14488
|
+
* @return {!Object}
|
|
14489
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14490
|
+
*/
|
|
14491
|
+
proto.payrollserviceapi.UpdateBusinessStatusRequest.toObject = function(includeInstance, msg) {
|
|
14492
|
+
var f, obj = {
|
|
14493
|
+
businessId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
14494
|
+
status: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
14495
|
+
};
|
|
14496
|
+
|
|
14497
|
+
if (includeInstance) {
|
|
14498
|
+
obj.$jspbMessageInstance = msg;
|
|
14499
|
+
}
|
|
14500
|
+
return obj;
|
|
14501
|
+
};
|
|
14502
|
+
}
|
|
14503
|
+
|
|
14504
|
+
|
|
14505
|
+
/**
|
|
14506
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14507
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14508
|
+
* @return {!proto.payrollserviceapi.UpdateBusinessStatusRequest}
|
|
14509
|
+
*/
|
|
14510
|
+
proto.payrollserviceapi.UpdateBusinessStatusRequest.deserializeBinary = function(bytes) {
|
|
14511
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14512
|
+
var msg = new proto.payrollserviceapi.UpdateBusinessStatusRequest;
|
|
14513
|
+
return proto.payrollserviceapi.UpdateBusinessStatusRequest.deserializeBinaryFromReader(msg, reader);
|
|
14514
|
+
};
|
|
14515
|
+
|
|
14516
|
+
|
|
14517
|
+
/**
|
|
14518
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14519
|
+
* given reader into the given message object.
|
|
14520
|
+
* @param {!proto.payrollserviceapi.UpdateBusinessStatusRequest} msg The message object to deserialize into.
|
|
14521
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14522
|
+
* @return {!proto.payrollserviceapi.UpdateBusinessStatusRequest}
|
|
14523
|
+
*/
|
|
14524
|
+
proto.payrollserviceapi.UpdateBusinessStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
14525
|
+
while (reader.nextField()) {
|
|
14526
|
+
if (reader.isEndGroup()) {
|
|
14527
|
+
break;
|
|
14528
|
+
}
|
|
14529
|
+
var field = reader.getFieldNumber();
|
|
14530
|
+
switch (field) {
|
|
14531
|
+
case 1:
|
|
14532
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
14533
|
+
msg.setBusinessId(value);
|
|
14534
|
+
break;
|
|
14535
|
+
case 2:
|
|
14536
|
+
var value = /** @type {!proto.payrollserviceapi.BusinessStatus} */ (reader.readEnum());
|
|
14537
|
+
msg.setStatus(value);
|
|
14538
|
+
break;
|
|
14539
|
+
default:
|
|
14540
|
+
reader.skipField();
|
|
14541
|
+
break;
|
|
14542
|
+
}
|
|
14543
|
+
}
|
|
14544
|
+
return msg;
|
|
14545
|
+
};
|
|
14546
|
+
|
|
14547
|
+
|
|
14548
|
+
/**
|
|
14549
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14550
|
+
* @return {!Uint8Array}
|
|
14551
|
+
*/
|
|
14552
|
+
proto.payrollserviceapi.UpdateBusinessStatusRequest.prototype.serializeBinary = function() {
|
|
14553
|
+
var writer = new jspb.BinaryWriter();
|
|
14554
|
+
proto.payrollserviceapi.UpdateBusinessStatusRequest.serializeBinaryToWriter(this, writer);
|
|
14555
|
+
return writer.getResultBuffer();
|
|
14556
|
+
};
|
|
14557
|
+
|
|
14558
|
+
|
|
14559
|
+
/**
|
|
14560
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14561
|
+
* format), writing to the given BinaryWriter.
|
|
14562
|
+
* @param {!proto.payrollserviceapi.UpdateBusinessStatusRequest} message
|
|
14563
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14564
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14565
|
+
*/
|
|
14566
|
+
proto.payrollserviceapi.UpdateBusinessStatusRequest.serializeBinaryToWriter = function(message, writer) {
|
|
14567
|
+
var f = undefined;
|
|
14568
|
+
f = message.getBusinessId();
|
|
14569
|
+
if (f !== 0) {
|
|
14570
|
+
writer.writeInt64(
|
|
14571
|
+
1,
|
|
14572
|
+
f
|
|
14573
|
+
);
|
|
14574
|
+
}
|
|
14575
|
+
f = message.getStatus();
|
|
14576
|
+
if (f !== 0.0) {
|
|
14577
|
+
writer.writeEnum(
|
|
14578
|
+
2,
|
|
14579
|
+
f
|
|
14580
|
+
);
|
|
14581
|
+
}
|
|
14582
|
+
};
|
|
14583
|
+
|
|
14584
|
+
|
|
14585
|
+
/**
|
|
14586
|
+
* optional int64 business_id = 1;
|
|
14587
|
+
* @return {number}
|
|
14588
|
+
*/
|
|
14589
|
+
proto.payrollserviceapi.UpdateBusinessStatusRequest.prototype.getBusinessId = function() {
|
|
14590
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
14591
|
+
};
|
|
14592
|
+
|
|
14593
|
+
|
|
14594
|
+
/**
|
|
14595
|
+
* @param {number} value
|
|
14596
|
+
* @return {!proto.payrollserviceapi.UpdateBusinessStatusRequest} returns this
|
|
14597
|
+
*/
|
|
14598
|
+
proto.payrollserviceapi.UpdateBusinessStatusRequest.prototype.setBusinessId = function(value) {
|
|
14599
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
14600
|
+
};
|
|
14601
|
+
|
|
14602
|
+
|
|
14603
|
+
/**
|
|
14604
|
+
* optional BusinessStatus status = 2;
|
|
14605
|
+
* @return {!proto.payrollserviceapi.BusinessStatus}
|
|
14606
|
+
*/
|
|
14607
|
+
proto.payrollserviceapi.UpdateBusinessStatusRequest.prototype.getStatus = function() {
|
|
14608
|
+
return /** @type {!proto.payrollserviceapi.BusinessStatus} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
14609
|
+
};
|
|
14610
|
+
|
|
14611
|
+
|
|
14612
|
+
/**
|
|
14613
|
+
* @param {!proto.payrollserviceapi.BusinessStatus} value
|
|
14614
|
+
* @return {!proto.payrollserviceapi.UpdateBusinessStatusRequest} returns this
|
|
14615
|
+
*/
|
|
14616
|
+
proto.payrollserviceapi.UpdateBusinessStatusRequest.prototype.setStatus = function(value) {
|
|
14617
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
14618
|
+
};
|
|
14619
|
+
|
|
14620
|
+
|
|
14621
|
+
|
|
14622
|
+
|
|
14623
|
+
|
|
14624
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14625
|
+
/**
|
|
14626
|
+
* Creates an object representation of this proto.
|
|
14627
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14628
|
+
* Optional fields that are not set will be set to undefined.
|
|
14629
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14630
|
+
* For the list of reserved names please see:
|
|
14631
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14632
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14633
|
+
* JSPB instance for transitional soy proto support:
|
|
14634
|
+
* http://goto/soy-param-migration
|
|
14635
|
+
* @return {!Object}
|
|
14636
|
+
*/
|
|
14637
|
+
proto.payrollserviceapi.UpdateBusinessStatusResponse.prototype.toObject = function(opt_includeInstance) {
|
|
14638
|
+
return proto.payrollserviceapi.UpdateBusinessStatusResponse.toObject(opt_includeInstance, this);
|
|
14639
|
+
};
|
|
14640
|
+
|
|
14641
|
+
|
|
14642
|
+
/**
|
|
14643
|
+
* Static version of the {@see toObject} method.
|
|
14644
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14645
|
+
* the JSPB instance for transitional soy proto support:
|
|
14646
|
+
* http://goto/soy-param-migration
|
|
14647
|
+
* @param {!proto.payrollserviceapi.UpdateBusinessStatusResponse} msg The msg instance to transform.
|
|
14648
|
+
* @return {!Object}
|
|
14649
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14650
|
+
*/
|
|
14651
|
+
proto.payrollserviceapi.UpdateBusinessStatusResponse.toObject = function(includeInstance, msg) {
|
|
14652
|
+
var f, obj = {
|
|
14653
|
+
responsecode: (f = msg.getResponsecode()) && proto.payrollserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
14654
|
+
business: (f = msg.getBusiness()) && proto.payrollserviceapi.BusinessDetails.toObject(includeInstance, f)
|
|
14655
|
+
};
|
|
14656
|
+
|
|
14657
|
+
if (includeInstance) {
|
|
14658
|
+
obj.$jspbMessageInstance = msg;
|
|
14659
|
+
}
|
|
14660
|
+
return obj;
|
|
14661
|
+
};
|
|
14662
|
+
}
|
|
14663
|
+
|
|
14664
|
+
|
|
14665
|
+
/**
|
|
14666
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14667
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14668
|
+
* @return {!proto.payrollserviceapi.UpdateBusinessStatusResponse}
|
|
14669
|
+
*/
|
|
14670
|
+
proto.payrollserviceapi.UpdateBusinessStatusResponse.deserializeBinary = function(bytes) {
|
|
14671
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14672
|
+
var msg = new proto.payrollserviceapi.UpdateBusinessStatusResponse;
|
|
14673
|
+
return proto.payrollserviceapi.UpdateBusinessStatusResponse.deserializeBinaryFromReader(msg, reader);
|
|
14674
|
+
};
|
|
14675
|
+
|
|
14676
|
+
|
|
14677
|
+
/**
|
|
14678
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14679
|
+
* given reader into the given message object.
|
|
14680
|
+
* @param {!proto.payrollserviceapi.UpdateBusinessStatusResponse} msg The message object to deserialize into.
|
|
14681
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14682
|
+
* @return {!proto.payrollserviceapi.UpdateBusinessStatusResponse}
|
|
14683
|
+
*/
|
|
14684
|
+
proto.payrollserviceapi.UpdateBusinessStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
14685
|
+
while (reader.nextField()) {
|
|
14686
|
+
if (reader.isEndGroup()) {
|
|
14687
|
+
break;
|
|
14688
|
+
}
|
|
14689
|
+
var field = reader.getFieldNumber();
|
|
14690
|
+
switch (field) {
|
|
14691
|
+
case 1:
|
|
14692
|
+
var value = new proto.payrollserviceapi.ResponseCode;
|
|
14693
|
+
reader.readMessage(value,proto.payrollserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
14694
|
+
msg.setResponsecode(value);
|
|
14695
|
+
break;
|
|
14696
|
+
case 2:
|
|
14697
|
+
var value = new proto.payrollserviceapi.BusinessDetails;
|
|
14698
|
+
reader.readMessage(value,proto.payrollserviceapi.BusinessDetails.deserializeBinaryFromReader);
|
|
14699
|
+
msg.setBusiness(value);
|
|
14700
|
+
break;
|
|
14701
|
+
default:
|
|
14702
|
+
reader.skipField();
|
|
14703
|
+
break;
|
|
14704
|
+
}
|
|
14705
|
+
}
|
|
14706
|
+
return msg;
|
|
14707
|
+
};
|
|
14708
|
+
|
|
14709
|
+
|
|
14710
|
+
/**
|
|
14711
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14712
|
+
* @return {!Uint8Array}
|
|
14713
|
+
*/
|
|
14714
|
+
proto.payrollserviceapi.UpdateBusinessStatusResponse.prototype.serializeBinary = function() {
|
|
14715
|
+
var writer = new jspb.BinaryWriter();
|
|
14716
|
+
proto.payrollserviceapi.UpdateBusinessStatusResponse.serializeBinaryToWriter(this, writer);
|
|
14717
|
+
return writer.getResultBuffer();
|
|
14718
|
+
};
|
|
14719
|
+
|
|
14720
|
+
|
|
14721
|
+
/**
|
|
14722
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14723
|
+
* format), writing to the given BinaryWriter.
|
|
14724
|
+
* @param {!proto.payrollserviceapi.UpdateBusinessStatusResponse} message
|
|
14725
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14726
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14727
|
+
*/
|
|
14728
|
+
proto.payrollserviceapi.UpdateBusinessStatusResponse.serializeBinaryToWriter = function(message, writer) {
|
|
14729
|
+
var f = undefined;
|
|
14730
|
+
f = message.getResponsecode();
|
|
14731
|
+
if (f != null) {
|
|
14732
|
+
writer.writeMessage(
|
|
14733
|
+
1,
|
|
14734
|
+
f,
|
|
14735
|
+
proto.payrollserviceapi.ResponseCode.serializeBinaryToWriter
|
|
14736
|
+
);
|
|
14737
|
+
}
|
|
14738
|
+
f = message.getBusiness();
|
|
14739
|
+
if (f != null) {
|
|
14740
|
+
writer.writeMessage(
|
|
14741
|
+
2,
|
|
14742
|
+
f,
|
|
14743
|
+
proto.payrollserviceapi.BusinessDetails.serializeBinaryToWriter
|
|
14744
|
+
);
|
|
14745
|
+
}
|
|
14746
|
+
};
|
|
14747
|
+
|
|
14748
|
+
|
|
14749
|
+
/**
|
|
14750
|
+
* optional ResponseCode responseCode = 1;
|
|
14751
|
+
* @return {?proto.payrollserviceapi.ResponseCode}
|
|
14752
|
+
*/
|
|
14753
|
+
proto.payrollserviceapi.UpdateBusinessStatusResponse.prototype.getResponsecode = function() {
|
|
14754
|
+
return /** @type{?proto.payrollserviceapi.ResponseCode} */ (
|
|
14755
|
+
jspb.Message.getWrapperField(this, proto.payrollserviceapi.ResponseCode, 1));
|
|
14756
|
+
};
|
|
14757
|
+
|
|
14758
|
+
|
|
14759
|
+
/**
|
|
14760
|
+
* @param {?proto.payrollserviceapi.ResponseCode|undefined} value
|
|
14761
|
+
* @return {!proto.payrollserviceapi.UpdateBusinessStatusResponse} returns this
|
|
14762
|
+
*/
|
|
14763
|
+
proto.payrollserviceapi.UpdateBusinessStatusResponse.prototype.setResponsecode = function(value) {
|
|
14764
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
14765
|
+
};
|
|
14766
|
+
|
|
14767
|
+
|
|
14768
|
+
/**
|
|
14769
|
+
* Clears the message field making it undefined.
|
|
14770
|
+
* @return {!proto.payrollserviceapi.UpdateBusinessStatusResponse} returns this
|
|
14771
|
+
*/
|
|
14772
|
+
proto.payrollserviceapi.UpdateBusinessStatusResponse.prototype.clearResponsecode = function() {
|
|
14773
|
+
return this.setResponsecode(undefined);
|
|
14774
|
+
};
|
|
14775
|
+
|
|
14776
|
+
|
|
14777
|
+
/**
|
|
14778
|
+
* Returns whether this field is set.
|
|
14779
|
+
* @return {boolean}
|
|
14780
|
+
*/
|
|
14781
|
+
proto.payrollserviceapi.UpdateBusinessStatusResponse.prototype.hasResponsecode = function() {
|
|
14782
|
+
return jspb.Message.getField(this, 1) != null;
|
|
14783
|
+
};
|
|
14784
|
+
|
|
14785
|
+
|
|
14786
|
+
/**
|
|
14787
|
+
* optional BusinessDetails business = 2;
|
|
14788
|
+
* @return {?proto.payrollserviceapi.BusinessDetails}
|
|
14789
|
+
*/
|
|
14790
|
+
proto.payrollserviceapi.UpdateBusinessStatusResponse.prototype.getBusiness = function() {
|
|
14791
|
+
return /** @type{?proto.payrollserviceapi.BusinessDetails} */ (
|
|
14792
|
+
jspb.Message.getWrapperField(this, proto.payrollserviceapi.BusinessDetails, 2));
|
|
14793
|
+
};
|
|
14794
|
+
|
|
14795
|
+
|
|
14796
|
+
/**
|
|
14797
|
+
* @param {?proto.payrollserviceapi.BusinessDetails|undefined} value
|
|
14798
|
+
* @return {!proto.payrollserviceapi.UpdateBusinessStatusResponse} returns this
|
|
14799
|
+
*/
|
|
14800
|
+
proto.payrollserviceapi.UpdateBusinessStatusResponse.prototype.setBusiness = function(value) {
|
|
14801
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
14802
|
+
};
|
|
14803
|
+
|
|
14804
|
+
|
|
14805
|
+
/**
|
|
14806
|
+
* Clears the message field making it undefined.
|
|
14807
|
+
* @return {!proto.payrollserviceapi.UpdateBusinessStatusResponse} returns this
|
|
14808
|
+
*/
|
|
14809
|
+
proto.payrollserviceapi.UpdateBusinessStatusResponse.prototype.clearBusiness = function() {
|
|
14810
|
+
return this.setBusiness(undefined);
|
|
14811
|
+
};
|
|
14812
|
+
|
|
14813
|
+
|
|
14814
|
+
/**
|
|
14815
|
+
* Returns whether this field is set.
|
|
14816
|
+
* @return {boolean}
|
|
14817
|
+
*/
|
|
14818
|
+
proto.payrollserviceapi.UpdateBusinessStatusResponse.prototype.hasBusiness = function() {
|
|
14819
|
+
return jspb.Message.getField(this, 2) != null;
|
|
14820
|
+
};
|
|
14821
|
+
|
|
14822
|
+
|
|
14823
|
+
|
|
13795
14824
|
/**
|
|
13796
14825
|
* List of repeated fields within this message type.
|
|
13797
14826
|
* @private {!Array<number>}
|
|
@@ -21581,7 +22610,7 @@ proto.payrollserviceapi.BusinessStatus = {
|
|
|
21581
22610
|
UNKNOWN: 0,
|
|
21582
22611
|
IN_REVIEW: 1,
|
|
21583
22612
|
ACTIVE: 2,
|
|
21584
|
-
|
|
22613
|
+
REJECTED: 3,
|
|
21585
22614
|
NOT_ACTIVE: 4
|
|
21586
22615
|
};
|
|
21587
22616
|
|