@sniipwebmaster/user-service-client-grpcweb 22.10.7817 → 22.11.7833
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.
|
@@ -4154,6 +4154,86 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getTestBil
|
|
|
4154
4154
|
};
|
|
4155
4155
|
|
|
4156
4156
|
|
|
4157
|
+
/**
|
|
4158
|
+
* @const
|
|
4159
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
4160
|
+
* !proto.sniipuserservice.GetUserDevicesHistoryRequest,
|
|
4161
|
+
* !proto.sniipuserservice.GetUserDevicesHistoryResponse>}
|
|
4162
|
+
*/
|
|
4163
|
+
const methodDescriptor_SniipUserServiceService_GetUserDevicesHistory = new grpc.web.MethodDescriptor(
|
|
4164
|
+
'/sniipuserservice.SniipUserServiceService/GetUserDevicesHistory',
|
|
4165
|
+
grpc.web.MethodType.UNARY,
|
|
4166
|
+
proto.sniipuserservice.GetUserDevicesHistoryRequest,
|
|
4167
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse,
|
|
4168
|
+
/**
|
|
4169
|
+
* @param {!proto.sniipuserservice.GetUserDevicesHistoryRequest} request
|
|
4170
|
+
* @return {!Uint8Array}
|
|
4171
|
+
*/
|
|
4172
|
+
function(request) {
|
|
4173
|
+
return request.serializeBinary();
|
|
4174
|
+
},
|
|
4175
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse.deserializeBinary
|
|
4176
|
+
);
|
|
4177
|
+
|
|
4178
|
+
|
|
4179
|
+
/**
|
|
4180
|
+
* @const
|
|
4181
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
4182
|
+
* !proto.sniipuserservice.GetUserDevicesHistoryRequest,
|
|
4183
|
+
* !proto.sniipuserservice.GetUserDevicesHistoryResponse>}
|
|
4184
|
+
*/
|
|
4185
|
+
const methodInfo_SniipUserServiceService_GetUserDevicesHistory = new grpc.web.AbstractClientBase.MethodInfo(
|
|
4186
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse,
|
|
4187
|
+
/**
|
|
4188
|
+
* @param {!proto.sniipuserservice.GetUserDevicesHistoryRequest} request
|
|
4189
|
+
* @return {!Uint8Array}
|
|
4190
|
+
*/
|
|
4191
|
+
function(request) {
|
|
4192
|
+
return request.serializeBinary();
|
|
4193
|
+
},
|
|
4194
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse.deserializeBinary
|
|
4195
|
+
);
|
|
4196
|
+
|
|
4197
|
+
|
|
4198
|
+
/**
|
|
4199
|
+
* @param {!proto.sniipuserservice.GetUserDevicesHistoryRequest} request The
|
|
4200
|
+
* request proto
|
|
4201
|
+
* @param {?Object<string, string>} metadata User defined
|
|
4202
|
+
* call metadata
|
|
4203
|
+
* @param {function(?grpc.web.Error, ?proto.sniipuserservice.GetUserDevicesHistoryResponse)}
|
|
4204
|
+
* callback The callback function(error, response)
|
|
4205
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.GetUserDevicesHistoryResponse>|undefined}
|
|
4206
|
+
* The XHR Node Readable Stream
|
|
4207
|
+
*/
|
|
4208
|
+
proto.sniipuserservice.SniipUserServiceServiceClient.prototype.getUserDevicesHistory =
|
|
4209
|
+
function(request, metadata, callback) {
|
|
4210
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
4211
|
+
'/sniipuserservice.SniipUserServiceService/GetUserDevicesHistory',
|
|
4212
|
+
request,
|
|
4213
|
+
metadata || {},
|
|
4214
|
+
methodDescriptor_SniipUserServiceService_GetUserDevicesHistory,
|
|
4215
|
+
callback);
|
|
4216
|
+
};
|
|
4217
|
+
|
|
4218
|
+
|
|
4219
|
+
/**
|
|
4220
|
+
* @param {!proto.sniipuserservice.GetUserDevicesHistoryRequest} request The
|
|
4221
|
+
* request proto
|
|
4222
|
+
* @param {?Object<string, string>} metadata User defined
|
|
4223
|
+
* call metadata
|
|
4224
|
+
* @return {!Promise<!proto.sniipuserservice.GetUserDevicesHistoryResponse>}
|
|
4225
|
+
* Promise that resolves to the response
|
|
4226
|
+
*/
|
|
4227
|
+
proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getUserDevicesHistory =
|
|
4228
|
+
function(request, metadata) {
|
|
4229
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
4230
|
+
'/sniipuserservice.SniipUserServiceService/GetUserDevicesHistory',
|
|
4231
|
+
request,
|
|
4232
|
+
metadata || {},
|
|
4233
|
+
methodDescriptor_SniipUserServiceService_GetUserDevicesHistory);
|
|
4234
|
+
};
|
|
4235
|
+
|
|
4236
|
+
|
|
4157
4237
|
/**
|
|
4158
4238
|
* @const
|
|
4159
4239
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -72,6 +72,8 @@ goog.exportSymbol('proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleReq
|
|
|
72
72
|
goog.exportSymbol('proto.sniipuserservice.GetTemporaryAccessTokenFromApiKeyRequest', null, global);
|
|
73
73
|
goog.exportSymbol('proto.sniipuserservice.GetTemporaryAccessTokenRequest', null, global);
|
|
74
74
|
goog.exportSymbol('proto.sniipuserservice.GetTemporaryAccessTokenResponse', null, global);
|
|
75
|
+
goog.exportSymbol('proto.sniipuserservice.GetUserDevicesHistoryRequest', null, global);
|
|
76
|
+
goog.exportSymbol('proto.sniipuserservice.GetUserDevicesHistoryResponse', null, global);
|
|
75
77
|
goog.exportSymbol('proto.sniipuserservice.GiveFeedbackRequest', null, global);
|
|
76
78
|
goog.exportSymbol('proto.sniipuserservice.IsEmailVerifiedRequest', null, global);
|
|
77
79
|
goog.exportSymbol('proto.sniipuserservice.IsEmailVerifiedResponse', null, global);
|
|
@@ -14889,6 +14891,387 @@ proto.sniipuserservice.GetTemporaryAccessTokenResponse.prototype.hasResponsecode
|
|
|
14889
14891
|
|
|
14890
14892
|
|
|
14891
14893
|
|
|
14894
|
+
/**
|
|
14895
|
+
* Generated by JsPbCodeGenerator.
|
|
14896
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
14897
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
14898
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
14899
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
14900
|
+
* valid.
|
|
14901
|
+
* @extends {jspb.Message}
|
|
14902
|
+
* @constructor
|
|
14903
|
+
*/
|
|
14904
|
+
proto.sniipuserservice.GetUserDevicesHistoryRequest = function(opt_data) {
|
|
14905
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
14906
|
+
};
|
|
14907
|
+
goog.inherits(proto.sniipuserservice.GetUserDevicesHistoryRequest, jspb.Message);
|
|
14908
|
+
if (goog.DEBUG && !COMPILED) {
|
|
14909
|
+
proto.sniipuserservice.GetUserDevicesHistoryRequest.displayName = 'proto.sniipuserservice.GetUserDevicesHistoryRequest';
|
|
14910
|
+
}
|
|
14911
|
+
|
|
14912
|
+
|
|
14913
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14914
|
+
/**
|
|
14915
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
14916
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14917
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14918
|
+
* For the list of reserved names please see:
|
|
14919
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
14920
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
14921
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
14922
|
+
* @return {!Object}
|
|
14923
|
+
*/
|
|
14924
|
+
proto.sniipuserservice.GetUserDevicesHistoryRequest.prototype.toObject = function(opt_includeInstance) {
|
|
14925
|
+
return proto.sniipuserservice.GetUserDevicesHistoryRequest.toObject(opt_includeInstance, this);
|
|
14926
|
+
};
|
|
14927
|
+
|
|
14928
|
+
|
|
14929
|
+
/**
|
|
14930
|
+
* Static version of the {@see toObject} method.
|
|
14931
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
14932
|
+
* instance for transitional soy proto support:
|
|
14933
|
+
* http://goto/soy-param-migration
|
|
14934
|
+
* @param {!proto.sniipuserservice.GetUserDevicesHistoryRequest} msg The msg instance to transform.
|
|
14935
|
+
* @return {!Object}
|
|
14936
|
+
*/
|
|
14937
|
+
proto.sniipuserservice.GetUserDevicesHistoryRequest.toObject = function(includeInstance, msg) {
|
|
14938
|
+
var f, obj = {
|
|
14939
|
+
userid: msg.getUserid()
|
|
14940
|
+
};
|
|
14941
|
+
|
|
14942
|
+
if (includeInstance) {
|
|
14943
|
+
obj.$jspbMessageInstance = msg;
|
|
14944
|
+
}
|
|
14945
|
+
return obj;
|
|
14946
|
+
};
|
|
14947
|
+
}
|
|
14948
|
+
|
|
14949
|
+
|
|
14950
|
+
/**
|
|
14951
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14952
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14953
|
+
* @return {!proto.sniipuserservice.GetUserDevicesHistoryRequest}
|
|
14954
|
+
*/
|
|
14955
|
+
proto.sniipuserservice.GetUserDevicesHistoryRequest.deserializeBinary = function(bytes) {
|
|
14956
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14957
|
+
var msg = new proto.sniipuserservice.GetUserDevicesHistoryRequest;
|
|
14958
|
+
return proto.sniipuserservice.GetUserDevicesHistoryRequest.deserializeBinaryFromReader(msg, reader);
|
|
14959
|
+
};
|
|
14960
|
+
|
|
14961
|
+
|
|
14962
|
+
/**
|
|
14963
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14964
|
+
* given reader into the given message object.
|
|
14965
|
+
* @param {!proto.sniipuserservice.GetUserDevicesHistoryRequest} msg The message object to deserialize into.
|
|
14966
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14967
|
+
* @return {!proto.sniipuserservice.GetUserDevicesHistoryRequest}
|
|
14968
|
+
*/
|
|
14969
|
+
proto.sniipuserservice.GetUserDevicesHistoryRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
14970
|
+
while (reader.nextField()) {
|
|
14971
|
+
if (reader.isEndGroup()) {
|
|
14972
|
+
break;
|
|
14973
|
+
}
|
|
14974
|
+
var field = reader.getFieldNumber();
|
|
14975
|
+
switch (field) {
|
|
14976
|
+
case 1:
|
|
14977
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
14978
|
+
msg.setUserid(value);
|
|
14979
|
+
break;
|
|
14980
|
+
default:
|
|
14981
|
+
reader.skipField();
|
|
14982
|
+
break;
|
|
14983
|
+
}
|
|
14984
|
+
}
|
|
14985
|
+
return msg;
|
|
14986
|
+
};
|
|
14987
|
+
|
|
14988
|
+
|
|
14989
|
+
/**
|
|
14990
|
+
* Class method variant: serializes the given message to binary data
|
|
14991
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
14992
|
+
* @param {!proto.sniipuserservice.GetUserDevicesHistoryRequest} message
|
|
14993
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14994
|
+
*/
|
|
14995
|
+
proto.sniipuserservice.GetUserDevicesHistoryRequest.serializeBinaryToWriter = function(message, writer) {
|
|
14996
|
+
message.serializeBinaryToWriter(writer);
|
|
14997
|
+
};
|
|
14998
|
+
|
|
14999
|
+
|
|
15000
|
+
/**
|
|
15001
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
15002
|
+
* @return {!Uint8Array}
|
|
15003
|
+
*/
|
|
15004
|
+
proto.sniipuserservice.GetUserDevicesHistoryRequest.prototype.serializeBinary = function() {
|
|
15005
|
+
var writer = new jspb.BinaryWriter();
|
|
15006
|
+
this.serializeBinaryToWriter(writer);
|
|
15007
|
+
return writer.getResultBuffer();
|
|
15008
|
+
};
|
|
15009
|
+
|
|
15010
|
+
|
|
15011
|
+
/**
|
|
15012
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
15013
|
+
* writing to the given BinaryWriter.
|
|
15014
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15015
|
+
*/
|
|
15016
|
+
proto.sniipuserservice.GetUserDevicesHistoryRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
15017
|
+
var f = undefined;
|
|
15018
|
+
f = this.getUserid();
|
|
15019
|
+
if (f !== 0) {
|
|
15020
|
+
writer.writeInt64(
|
|
15021
|
+
1,
|
|
15022
|
+
f
|
|
15023
|
+
);
|
|
15024
|
+
}
|
|
15025
|
+
};
|
|
15026
|
+
|
|
15027
|
+
|
|
15028
|
+
/**
|
|
15029
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
15030
|
+
* @return {!proto.sniipuserservice.GetUserDevicesHistoryRequest} The clone.
|
|
15031
|
+
*/
|
|
15032
|
+
proto.sniipuserservice.GetUserDevicesHistoryRequest.prototype.cloneMessage = function() {
|
|
15033
|
+
return /** @type {!proto.sniipuserservice.GetUserDevicesHistoryRequest} */ (jspb.Message.cloneMessage(this));
|
|
15034
|
+
};
|
|
15035
|
+
|
|
15036
|
+
|
|
15037
|
+
/**
|
|
15038
|
+
* optional int64 userId = 1;
|
|
15039
|
+
* @return {number}
|
|
15040
|
+
*/
|
|
15041
|
+
proto.sniipuserservice.GetUserDevicesHistoryRequest.prototype.getUserid = function() {
|
|
15042
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
15043
|
+
};
|
|
15044
|
+
|
|
15045
|
+
|
|
15046
|
+
/** @param {number} value */
|
|
15047
|
+
proto.sniipuserservice.GetUserDevicesHistoryRequest.prototype.setUserid = function(value) {
|
|
15048
|
+
jspb.Message.setField(this, 1, value);
|
|
15049
|
+
};
|
|
15050
|
+
|
|
15051
|
+
|
|
15052
|
+
|
|
15053
|
+
/**
|
|
15054
|
+
* Generated by JsPbCodeGenerator.
|
|
15055
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
15056
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
15057
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
15058
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
15059
|
+
* valid.
|
|
15060
|
+
* @extends {jspb.Message}
|
|
15061
|
+
* @constructor
|
|
15062
|
+
*/
|
|
15063
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse = function(opt_data) {
|
|
15064
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipuserservice.GetUserDevicesHistoryResponse.repeatedFields_, null);
|
|
15065
|
+
};
|
|
15066
|
+
goog.inherits(proto.sniipuserservice.GetUserDevicesHistoryResponse, jspb.Message);
|
|
15067
|
+
if (goog.DEBUG && !COMPILED) {
|
|
15068
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse.displayName = 'proto.sniipuserservice.GetUserDevicesHistoryResponse';
|
|
15069
|
+
}
|
|
15070
|
+
/**
|
|
15071
|
+
* List of repeated fields within this message type.
|
|
15072
|
+
* @private {!Array<number>}
|
|
15073
|
+
* @const
|
|
15074
|
+
*/
|
|
15075
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse.repeatedFields_ = [2];
|
|
15076
|
+
|
|
15077
|
+
|
|
15078
|
+
|
|
15079
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15080
|
+
/**
|
|
15081
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
15082
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15083
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15084
|
+
* For the list of reserved names please see:
|
|
15085
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
15086
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
15087
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
15088
|
+
* @return {!Object}
|
|
15089
|
+
*/
|
|
15090
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse.prototype.toObject = function(opt_includeInstance) {
|
|
15091
|
+
return proto.sniipuserservice.GetUserDevicesHistoryResponse.toObject(opt_includeInstance, this);
|
|
15092
|
+
};
|
|
15093
|
+
|
|
15094
|
+
|
|
15095
|
+
/**
|
|
15096
|
+
* Static version of the {@see toObject} method.
|
|
15097
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
15098
|
+
* instance for transitional soy proto support:
|
|
15099
|
+
* http://goto/soy-param-migration
|
|
15100
|
+
* @param {!proto.sniipuserservice.GetUserDevicesHistoryResponse} msg The msg instance to transform.
|
|
15101
|
+
* @return {!Object}
|
|
15102
|
+
*/
|
|
15103
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse.toObject = function(includeInstance, msg) {
|
|
15104
|
+
var f, obj = {
|
|
15105
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipuserservice.ResponseCode.toObject(includeInstance, f),
|
|
15106
|
+
devicesList: jspb.Message.toObjectList(msg.getDevicesList(),
|
|
15107
|
+
proto.sniipuserservice.DeviceDetails.toObject, includeInstance)
|
|
15108
|
+
};
|
|
15109
|
+
|
|
15110
|
+
if (includeInstance) {
|
|
15111
|
+
obj.$jspbMessageInstance = msg;
|
|
15112
|
+
}
|
|
15113
|
+
return obj;
|
|
15114
|
+
};
|
|
15115
|
+
}
|
|
15116
|
+
|
|
15117
|
+
|
|
15118
|
+
/**
|
|
15119
|
+
* Deserializes binary data (in protobuf wire format).
|
|
15120
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15121
|
+
* @return {!proto.sniipuserservice.GetUserDevicesHistoryResponse}
|
|
15122
|
+
*/
|
|
15123
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse.deserializeBinary = function(bytes) {
|
|
15124
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
15125
|
+
var msg = new proto.sniipuserservice.GetUserDevicesHistoryResponse;
|
|
15126
|
+
return proto.sniipuserservice.GetUserDevicesHistoryResponse.deserializeBinaryFromReader(msg, reader);
|
|
15127
|
+
};
|
|
15128
|
+
|
|
15129
|
+
|
|
15130
|
+
/**
|
|
15131
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
15132
|
+
* given reader into the given message object.
|
|
15133
|
+
* @param {!proto.sniipuserservice.GetUserDevicesHistoryResponse} msg The message object to deserialize into.
|
|
15134
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15135
|
+
* @return {!proto.sniipuserservice.GetUserDevicesHistoryResponse}
|
|
15136
|
+
*/
|
|
15137
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
15138
|
+
while (reader.nextField()) {
|
|
15139
|
+
if (reader.isEndGroup()) {
|
|
15140
|
+
break;
|
|
15141
|
+
}
|
|
15142
|
+
var field = reader.getFieldNumber();
|
|
15143
|
+
switch (field) {
|
|
15144
|
+
case 1:
|
|
15145
|
+
var value = new proto.sniipuserservice.ResponseCode;
|
|
15146
|
+
reader.readMessage(value,proto.sniipuserservice.ResponseCode.deserializeBinaryFromReader);
|
|
15147
|
+
msg.setResponsecode(value);
|
|
15148
|
+
break;
|
|
15149
|
+
case 2:
|
|
15150
|
+
var value = new proto.sniipuserservice.DeviceDetails;
|
|
15151
|
+
reader.readMessage(value,proto.sniipuserservice.DeviceDetails.deserializeBinaryFromReader);
|
|
15152
|
+
msg.getDevicesList().push(value);
|
|
15153
|
+
msg.setDevicesList(msg.getDevicesList());
|
|
15154
|
+
break;
|
|
15155
|
+
default:
|
|
15156
|
+
reader.skipField();
|
|
15157
|
+
break;
|
|
15158
|
+
}
|
|
15159
|
+
}
|
|
15160
|
+
return msg;
|
|
15161
|
+
};
|
|
15162
|
+
|
|
15163
|
+
|
|
15164
|
+
/**
|
|
15165
|
+
* Class method variant: serializes the given message to binary data
|
|
15166
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
15167
|
+
* @param {!proto.sniipuserservice.GetUserDevicesHistoryResponse} message
|
|
15168
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15169
|
+
*/
|
|
15170
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse.serializeBinaryToWriter = function(message, writer) {
|
|
15171
|
+
message.serializeBinaryToWriter(writer);
|
|
15172
|
+
};
|
|
15173
|
+
|
|
15174
|
+
|
|
15175
|
+
/**
|
|
15176
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
15177
|
+
* @return {!Uint8Array}
|
|
15178
|
+
*/
|
|
15179
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse.prototype.serializeBinary = function() {
|
|
15180
|
+
var writer = new jspb.BinaryWriter();
|
|
15181
|
+
this.serializeBinaryToWriter(writer);
|
|
15182
|
+
return writer.getResultBuffer();
|
|
15183
|
+
};
|
|
15184
|
+
|
|
15185
|
+
|
|
15186
|
+
/**
|
|
15187
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
15188
|
+
* writing to the given BinaryWriter.
|
|
15189
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15190
|
+
*/
|
|
15191
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse.prototype.serializeBinaryToWriter = function (writer) {
|
|
15192
|
+
var f = undefined;
|
|
15193
|
+
f = this.getResponsecode();
|
|
15194
|
+
if (f != null) {
|
|
15195
|
+
writer.writeMessage(
|
|
15196
|
+
1,
|
|
15197
|
+
f,
|
|
15198
|
+
proto.sniipuserservice.ResponseCode.serializeBinaryToWriter
|
|
15199
|
+
);
|
|
15200
|
+
}
|
|
15201
|
+
f = this.getDevicesList();
|
|
15202
|
+
if (f.length > 0) {
|
|
15203
|
+
writer.writeRepeatedMessage(
|
|
15204
|
+
2,
|
|
15205
|
+
f,
|
|
15206
|
+
proto.sniipuserservice.DeviceDetails.serializeBinaryToWriter
|
|
15207
|
+
);
|
|
15208
|
+
}
|
|
15209
|
+
};
|
|
15210
|
+
|
|
15211
|
+
|
|
15212
|
+
/**
|
|
15213
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
15214
|
+
* @return {!proto.sniipuserservice.GetUserDevicesHistoryResponse} The clone.
|
|
15215
|
+
*/
|
|
15216
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse.prototype.cloneMessage = function() {
|
|
15217
|
+
return /** @type {!proto.sniipuserservice.GetUserDevicesHistoryResponse} */ (jspb.Message.cloneMessage(this));
|
|
15218
|
+
};
|
|
15219
|
+
|
|
15220
|
+
|
|
15221
|
+
/**
|
|
15222
|
+
* optional ResponseCode responseCode = 1;
|
|
15223
|
+
* @return {proto.sniipuserservice.ResponseCode}
|
|
15224
|
+
*/
|
|
15225
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse.prototype.getResponsecode = function() {
|
|
15226
|
+
return /** @type{proto.sniipuserservice.ResponseCode} */ (
|
|
15227
|
+
jspb.Message.getWrapperField(this, proto.sniipuserservice.ResponseCode, 1));
|
|
15228
|
+
};
|
|
15229
|
+
|
|
15230
|
+
|
|
15231
|
+
/** @param {proto.sniipuserservice.ResponseCode|undefined} value */
|
|
15232
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse.prototype.setResponsecode = function(value) {
|
|
15233
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
15234
|
+
};
|
|
15235
|
+
|
|
15236
|
+
|
|
15237
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse.prototype.clearResponsecode = function() {
|
|
15238
|
+
this.setResponsecode(undefined);
|
|
15239
|
+
};
|
|
15240
|
+
|
|
15241
|
+
|
|
15242
|
+
/**
|
|
15243
|
+
* Returns whether this field is set.
|
|
15244
|
+
* @return{!boolean}
|
|
15245
|
+
*/
|
|
15246
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse.prototype.hasResponsecode = function() {
|
|
15247
|
+
return jspb.Message.getField(this, 1) != null;
|
|
15248
|
+
};
|
|
15249
|
+
|
|
15250
|
+
|
|
15251
|
+
/**
|
|
15252
|
+
* repeated DeviceDetails devices = 2;
|
|
15253
|
+
* If you change this array by adding, removing or replacing elements, or if you
|
|
15254
|
+
* replace the array itself, then you must call the setter to update it.
|
|
15255
|
+
* @return {!Array.<!proto.sniipuserservice.DeviceDetails>}
|
|
15256
|
+
*/
|
|
15257
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse.prototype.getDevicesList = function() {
|
|
15258
|
+
return /** @type{!Array.<!proto.sniipuserservice.DeviceDetails>} */ (
|
|
15259
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sniipuserservice.DeviceDetails, 2));
|
|
15260
|
+
};
|
|
15261
|
+
|
|
15262
|
+
|
|
15263
|
+
/** @param {Array.<!proto.sniipuserservice.DeviceDetails>} value */
|
|
15264
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse.prototype.setDevicesList = function(value) {
|
|
15265
|
+
jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
15266
|
+
};
|
|
15267
|
+
|
|
15268
|
+
|
|
15269
|
+
proto.sniipuserservice.GetUserDevicesHistoryResponse.prototype.clearDevicesList = function() {
|
|
15270
|
+
this.setDevicesList([]);
|
|
15271
|
+
};
|
|
15272
|
+
|
|
15273
|
+
|
|
15274
|
+
|
|
14892
15275
|
/**
|
|
14893
15276
|
* Generated by JsPbCodeGenerator.
|
|
14894
15277
|
* @param {Array=} opt_data Optional initial data array, typically from a
|