@sniipwebmaster/transaction-service-client-grpcweb 26.11.16294 → 26.11.16305
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.
|
@@ -3113,6 +3113,67 @@ proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.hasP
|
|
|
3113
3113
|
};
|
|
3114
3114
|
|
|
3115
3115
|
|
|
3116
|
+
/**
|
|
3117
|
+
* @const
|
|
3118
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
3119
|
+
* !proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest,
|
|
3120
|
+
* !proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse>}
|
|
3121
|
+
*/
|
|
3122
|
+
const methodDescriptor_SniipTransactionAPIService_HasAnyTransactionForUserIds = new grpc.web.MethodDescriptor(
|
|
3123
|
+
'/sniiptransactionapi.SniipTransactionAPIService/HasAnyTransactionForUserIds',
|
|
3124
|
+
grpc.web.MethodType.UNARY,
|
|
3125
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest,
|
|
3126
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse,
|
|
3127
|
+
/**
|
|
3128
|
+
* @param {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest} request
|
|
3129
|
+
* @return {!Uint8Array}
|
|
3130
|
+
*/
|
|
3131
|
+
function(request) {
|
|
3132
|
+
return request.serializeBinary();
|
|
3133
|
+
},
|
|
3134
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.deserializeBinary
|
|
3135
|
+
);
|
|
3136
|
+
|
|
3137
|
+
|
|
3138
|
+
/**
|
|
3139
|
+
* @param {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest} request The
|
|
3140
|
+
* request proto
|
|
3141
|
+
* @param {?Object<string, string>} metadata User defined
|
|
3142
|
+
* call metadata
|
|
3143
|
+
* @param {function(?grpc.web.RpcError, ?proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse)}
|
|
3144
|
+
* callback The callback function(error, response)
|
|
3145
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse>|undefined}
|
|
3146
|
+
* The XHR Node Readable Stream
|
|
3147
|
+
*/
|
|
3148
|
+
proto.sniiptransactionapi.SniipTransactionAPIServiceClient.prototype.hasAnyTransactionForUserIds =
|
|
3149
|
+
function(request, metadata, callback) {
|
|
3150
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
3151
|
+
'/sniiptransactionapi.SniipTransactionAPIService/HasAnyTransactionForUserIds',
|
|
3152
|
+
request,
|
|
3153
|
+
metadata || {},
|
|
3154
|
+
methodDescriptor_SniipTransactionAPIService_HasAnyTransactionForUserIds,
|
|
3155
|
+
callback);
|
|
3156
|
+
};
|
|
3157
|
+
|
|
3158
|
+
|
|
3159
|
+
/**
|
|
3160
|
+
* @param {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest} request The
|
|
3161
|
+
* request proto
|
|
3162
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
3163
|
+
* call metadata
|
|
3164
|
+
* @return {!Promise<!proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse>}
|
|
3165
|
+
* Promise that resolves to the response
|
|
3166
|
+
*/
|
|
3167
|
+
proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.hasAnyTransactionForUserIds =
|
|
3168
|
+
function(request, metadata) {
|
|
3169
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
3170
|
+
'/sniiptransactionapi.SniipTransactionAPIService/HasAnyTransactionForUserIds',
|
|
3171
|
+
request,
|
|
3172
|
+
metadata || {},
|
|
3173
|
+
methodDescriptor_SniipTransactionAPIService_HasAnyTransactionForUserIds);
|
|
3174
|
+
};
|
|
3175
|
+
|
|
3176
|
+
|
|
3116
3177
|
/**
|
|
3117
3178
|
* @const
|
|
3118
3179
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -105,6 +105,8 @@ goog.exportSymbol('proto.sniiptransactionapi.GetUserPaymentProcessorsResponse',
|
|
|
105
105
|
goog.exportSymbol('proto.sniiptransactionapi.GetUserTransactionsRequest', null, global);
|
|
106
106
|
goog.exportSymbol('proto.sniiptransactionapi.GetUserTransactionsResponse', null, global);
|
|
107
107
|
goog.exportSymbol('proto.sniiptransactionapi.GooglePayDetails', null, global);
|
|
108
|
+
goog.exportSymbol('proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest', null, global);
|
|
109
|
+
goog.exportSymbol('proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse', null, global);
|
|
108
110
|
goog.exportSymbol('proto.sniiptransactionapi.HasPaymentHistoryRequest', null, global);
|
|
109
111
|
goog.exportSymbol('proto.sniiptransactionapi.HasPaymentHistoryResponse', null, global);
|
|
110
112
|
goog.exportSymbol('proto.sniiptransactionapi.HasPendingBankPaymentsForBillIdRequest', null, global);
|
|
@@ -1988,6 +1990,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1988
1990
|
*/
|
|
1989
1991
|
proto.sniiptransactionapi.HasPendingBankPaymentsForBillIdsResponse.displayName = 'proto.sniiptransactionapi.HasPendingBankPaymentsForBillIdsResponse';
|
|
1990
1992
|
}
|
|
1993
|
+
/**
|
|
1994
|
+
* Generated by JsPbCodeGenerator.
|
|
1995
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1996
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1997
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1998
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1999
|
+
* valid.
|
|
2000
|
+
* @extends {jspb.Message}
|
|
2001
|
+
* @constructor
|
|
2002
|
+
*/
|
|
2003
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest = function(opt_data) {
|
|
2004
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest.repeatedFields_, null);
|
|
2005
|
+
};
|
|
2006
|
+
goog.inherits(proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest, jspb.Message);
|
|
2007
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2008
|
+
/**
|
|
2009
|
+
* @public
|
|
2010
|
+
* @override
|
|
2011
|
+
*/
|
|
2012
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest.displayName = 'proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest';
|
|
2013
|
+
}
|
|
2014
|
+
/**
|
|
2015
|
+
* Generated by JsPbCodeGenerator.
|
|
2016
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2017
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2018
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2019
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2020
|
+
* valid.
|
|
2021
|
+
* @extends {jspb.Message}
|
|
2022
|
+
* @constructor
|
|
2023
|
+
*/
|
|
2024
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse = function(opt_data) {
|
|
2025
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.repeatedFields_, null);
|
|
2026
|
+
};
|
|
2027
|
+
goog.inherits(proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse, jspb.Message);
|
|
2028
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2029
|
+
/**
|
|
2030
|
+
* @public
|
|
2031
|
+
* @override
|
|
2032
|
+
*/
|
|
2033
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.displayName = 'proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse';
|
|
2034
|
+
}
|
|
1991
2035
|
/**
|
|
1992
2036
|
* Generated by JsPbCodeGenerator.
|
|
1993
2037
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -22652,6 +22696,373 @@ proto.sniiptransactionapi.HasPendingBankPaymentsForBillIdsResponse.prototype.has
|
|
|
22652
22696
|
|
|
22653
22697
|
|
|
22654
22698
|
|
|
22699
|
+
/**
|
|
22700
|
+
* List of repeated fields within this message type.
|
|
22701
|
+
* @private {!Array<number>}
|
|
22702
|
+
* @const
|
|
22703
|
+
*/
|
|
22704
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest.repeatedFields_ = [1];
|
|
22705
|
+
|
|
22706
|
+
|
|
22707
|
+
|
|
22708
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22709
|
+
/**
|
|
22710
|
+
* Creates an object representation of this proto.
|
|
22711
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22712
|
+
* Optional fields that are not set will be set to undefined.
|
|
22713
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22714
|
+
* For the list of reserved names please see:
|
|
22715
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22716
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22717
|
+
* JSPB instance for transitional soy proto support:
|
|
22718
|
+
* http://goto/soy-param-migration
|
|
22719
|
+
* @return {!Object}
|
|
22720
|
+
*/
|
|
22721
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
22722
|
+
return proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest.toObject(opt_includeInstance, this);
|
|
22723
|
+
};
|
|
22724
|
+
|
|
22725
|
+
|
|
22726
|
+
/**
|
|
22727
|
+
* Static version of the {@see toObject} method.
|
|
22728
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22729
|
+
* the JSPB instance for transitional soy proto support:
|
|
22730
|
+
* http://goto/soy-param-migration
|
|
22731
|
+
* @param {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest} msg The msg instance to transform.
|
|
22732
|
+
* @return {!Object}
|
|
22733
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22734
|
+
*/
|
|
22735
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest.toObject = function(includeInstance, msg) {
|
|
22736
|
+
var f, obj = {
|
|
22737
|
+
useridsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
22738
|
+
};
|
|
22739
|
+
|
|
22740
|
+
if (includeInstance) {
|
|
22741
|
+
obj.$jspbMessageInstance = msg;
|
|
22742
|
+
}
|
|
22743
|
+
return obj;
|
|
22744
|
+
};
|
|
22745
|
+
}
|
|
22746
|
+
|
|
22747
|
+
|
|
22748
|
+
/**
|
|
22749
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22750
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22751
|
+
* @return {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest}
|
|
22752
|
+
*/
|
|
22753
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest.deserializeBinary = function(bytes) {
|
|
22754
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22755
|
+
var msg = new proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest;
|
|
22756
|
+
return proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest.deserializeBinaryFromReader(msg, reader);
|
|
22757
|
+
};
|
|
22758
|
+
|
|
22759
|
+
|
|
22760
|
+
/**
|
|
22761
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22762
|
+
* given reader into the given message object.
|
|
22763
|
+
* @param {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest} msg The message object to deserialize into.
|
|
22764
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22765
|
+
* @return {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest}
|
|
22766
|
+
*/
|
|
22767
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
22768
|
+
while (reader.nextField()) {
|
|
22769
|
+
if (reader.isEndGroup()) {
|
|
22770
|
+
break;
|
|
22771
|
+
}
|
|
22772
|
+
var field = reader.getFieldNumber();
|
|
22773
|
+
switch (field) {
|
|
22774
|
+
case 1:
|
|
22775
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
|
|
22776
|
+
for (var i = 0; i < values.length; i++) {
|
|
22777
|
+
msg.addUserids(values[i]);
|
|
22778
|
+
}
|
|
22779
|
+
break;
|
|
22780
|
+
default:
|
|
22781
|
+
reader.skipField();
|
|
22782
|
+
break;
|
|
22783
|
+
}
|
|
22784
|
+
}
|
|
22785
|
+
return msg;
|
|
22786
|
+
};
|
|
22787
|
+
|
|
22788
|
+
|
|
22789
|
+
/**
|
|
22790
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22791
|
+
* @return {!Uint8Array}
|
|
22792
|
+
*/
|
|
22793
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest.prototype.serializeBinary = function() {
|
|
22794
|
+
var writer = new jspb.BinaryWriter();
|
|
22795
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest.serializeBinaryToWriter(this, writer);
|
|
22796
|
+
return writer.getResultBuffer();
|
|
22797
|
+
};
|
|
22798
|
+
|
|
22799
|
+
|
|
22800
|
+
/**
|
|
22801
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22802
|
+
* format), writing to the given BinaryWriter.
|
|
22803
|
+
* @param {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest} message
|
|
22804
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22805
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22806
|
+
*/
|
|
22807
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
22808
|
+
var f = undefined;
|
|
22809
|
+
f = message.getUseridsList();
|
|
22810
|
+
if (f.length > 0) {
|
|
22811
|
+
writer.writePackedInt64(
|
|
22812
|
+
1,
|
|
22813
|
+
f
|
|
22814
|
+
);
|
|
22815
|
+
}
|
|
22816
|
+
};
|
|
22817
|
+
|
|
22818
|
+
|
|
22819
|
+
/**
|
|
22820
|
+
* repeated int64 userIds = 1;
|
|
22821
|
+
* @return {!Array<number>}
|
|
22822
|
+
*/
|
|
22823
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest.prototype.getUseridsList = function() {
|
|
22824
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
22825
|
+
};
|
|
22826
|
+
|
|
22827
|
+
|
|
22828
|
+
/**
|
|
22829
|
+
* @param {!Array<number>} value
|
|
22830
|
+
* @return {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest} returns this
|
|
22831
|
+
*/
|
|
22832
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest.prototype.setUseridsList = function(value) {
|
|
22833
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
22834
|
+
};
|
|
22835
|
+
|
|
22836
|
+
|
|
22837
|
+
/**
|
|
22838
|
+
* @param {number} value
|
|
22839
|
+
* @param {number=} opt_index
|
|
22840
|
+
* @return {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest} returns this
|
|
22841
|
+
*/
|
|
22842
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest.prototype.addUserids = function(value, opt_index) {
|
|
22843
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
22844
|
+
};
|
|
22845
|
+
|
|
22846
|
+
|
|
22847
|
+
/**
|
|
22848
|
+
* Clears the list making it empty but non-null.
|
|
22849
|
+
* @return {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest} returns this
|
|
22850
|
+
*/
|
|
22851
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsRequest.prototype.clearUseridsList = function() {
|
|
22852
|
+
return this.setUseridsList([]);
|
|
22853
|
+
};
|
|
22854
|
+
|
|
22855
|
+
|
|
22856
|
+
|
|
22857
|
+
/**
|
|
22858
|
+
* List of repeated fields within this message type.
|
|
22859
|
+
* @private {!Array<number>}
|
|
22860
|
+
* @const
|
|
22861
|
+
*/
|
|
22862
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.repeatedFields_ = [2];
|
|
22863
|
+
|
|
22864
|
+
|
|
22865
|
+
|
|
22866
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22867
|
+
/**
|
|
22868
|
+
* Creates an object representation of this proto.
|
|
22869
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22870
|
+
* Optional fields that are not set will be set to undefined.
|
|
22871
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22872
|
+
* For the list of reserved names please see:
|
|
22873
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22874
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22875
|
+
* JSPB instance for transitional soy proto support:
|
|
22876
|
+
* http://goto/soy-param-migration
|
|
22877
|
+
* @return {!Object}
|
|
22878
|
+
*/
|
|
22879
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
22880
|
+
return proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.toObject(opt_includeInstance, this);
|
|
22881
|
+
};
|
|
22882
|
+
|
|
22883
|
+
|
|
22884
|
+
/**
|
|
22885
|
+
* Static version of the {@see toObject} method.
|
|
22886
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22887
|
+
* the JSPB instance for transitional soy proto support:
|
|
22888
|
+
* http://goto/soy-param-migration
|
|
22889
|
+
* @param {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse} msg The msg instance to transform.
|
|
22890
|
+
* @return {!Object}
|
|
22891
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22892
|
+
*/
|
|
22893
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.toObject = function(includeInstance, msg) {
|
|
22894
|
+
var f, obj = {
|
|
22895
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniiptransactionapi.ResponseCode.toObject(includeInstance, f),
|
|
22896
|
+
useridswithanytransactionList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
22897
|
+
};
|
|
22898
|
+
|
|
22899
|
+
if (includeInstance) {
|
|
22900
|
+
obj.$jspbMessageInstance = msg;
|
|
22901
|
+
}
|
|
22902
|
+
return obj;
|
|
22903
|
+
};
|
|
22904
|
+
}
|
|
22905
|
+
|
|
22906
|
+
|
|
22907
|
+
/**
|
|
22908
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22909
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22910
|
+
* @return {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse}
|
|
22911
|
+
*/
|
|
22912
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.deserializeBinary = function(bytes) {
|
|
22913
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22914
|
+
var msg = new proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse;
|
|
22915
|
+
return proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.deserializeBinaryFromReader(msg, reader);
|
|
22916
|
+
};
|
|
22917
|
+
|
|
22918
|
+
|
|
22919
|
+
/**
|
|
22920
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22921
|
+
* given reader into the given message object.
|
|
22922
|
+
* @param {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse} msg The message object to deserialize into.
|
|
22923
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22924
|
+
* @return {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse}
|
|
22925
|
+
*/
|
|
22926
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
22927
|
+
while (reader.nextField()) {
|
|
22928
|
+
if (reader.isEndGroup()) {
|
|
22929
|
+
break;
|
|
22930
|
+
}
|
|
22931
|
+
var field = reader.getFieldNumber();
|
|
22932
|
+
switch (field) {
|
|
22933
|
+
case 1:
|
|
22934
|
+
var value = new proto.sniiptransactionapi.ResponseCode;
|
|
22935
|
+
reader.readMessage(value,proto.sniiptransactionapi.ResponseCode.deserializeBinaryFromReader);
|
|
22936
|
+
msg.setResponsecode(value);
|
|
22937
|
+
break;
|
|
22938
|
+
case 2:
|
|
22939
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
|
|
22940
|
+
for (var i = 0; i < values.length; i++) {
|
|
22941
|
+
msg.addUseridswithanytransaction(values[i]);
|
|
22942
|
+
}
|
|
22943
|
+
break;
|
|
22944
|
+
default:
|
|
22945
|
+
reader.skipField();
|
|
22946
|
+
break;
|
|
22947
|
+
}
|
|
22948
|
+
}
|
|
22949
|
+
return msg;
|
|
22950
|
+
};
|
|
22951
|
+
|
|
22952
|
+
|
|
22953
|
+
/**
|
|
22954
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22955
|
+
* @return {!Uint8Array}
|
|
22956
|
+
*/
|
|
22957
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.prototype.serializeBinary = function() {
|
|
22958
|
+
var writer = new jspb.BinaryWriter();
|
|
22959
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.serializeBinaryToWriter(this, writer);
|
|
22960
|
+
return writer.getResultBuffer();
|
|
22961
|
+
};
|
|
22962
|
+
|
|
22963
|
+
|
|
22964
|
+
/**
|
|
22965
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22966
|
+
* format), writing to the given BinaryWriter.
|
|
22967
|
+
* @param {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse} message
|
|
22968
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22969
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22970
|
+
*/
|
|
22971
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
22972
|
+
var f = undefined;
|
|
22973
|
+
f = message.getResponsecode();
|
|
22974
|
+
if (f != null) {
|
|
22975
|
+
writer.writeMessage(
|
|
22976
|
+
1,
|
|
22977
|
+
f,
|
|
22978
|
+
proto.sniiptransactionapi.ResponseCode.serializeBinaryToWriter
|
|
22979
|
+
);
|
|
22980
|
+
}
|
|
22981
|
+
f = message.getUseridswithanytransactionList();
|
|
22982
|
+
if (f.length > 0) {
|
|
22983
|
+
writer.writePackedInt64(
|
|
22984
|
+
2,
|
|
22985
|
+
f
|
|
22986
|
+
);
|
|
22987
|
+
}
|
|
22988
|
+
};
|
|
22989
|
+
|
|
22990
|
+
|
|
22991
|
+
/**
|
|
22992
|
+
* optional ResponseCode responseCode = 1;
|
|
22993
|
+
* @return {?proto.sniiptransactionapi.ResponseCode}
|
|
22994
|
+
*/
|
|
22995
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.prototype.getResponsecode = function() {
|
|
22996
|
+
return /** @type{?proto.sniiptransactionapi.ResponseCode} */ (
|
|
22997
|
+
jspb.Message.getWrapperField(this, proto.sniiptransactionapi.ResponseCode, 1));
|
|
22998
|
+
};
|
|
22999
|
+
|
|
23000
|
+
|
|
23001
|
+
/**
|
|
23002
|
+
* @param {?proto.sniiptransactionapi.ResponseCode|undefined} value
|
|
23003
|
+
* @return {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse} returns this
|
|
23004
|
+
*/
|
|
23005
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.prototype.setResponsecode = function(value) {
|
|
23006
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
23007
|
+
};
|
|
23008
|
+
|
|
23009
|
+
|
|
23010
|
+
/**
|
|
23011
|
+
* Clears the message field making it undefined.
|
|
23012
|
+
* @return {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse} returns this
|
|
23013
|
+
*/
|
|
23014
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.prototype.clearResponsecode = function() {
|
|
23015
|
+
return this.setResponsecode(undefined);
|
|
23016
|
+
};
|
|
23017
|
+
|
|
23018
|
+
|
|
23019
|
+
/**
|
|
23020
|
+
* Returns whether this field is set.
|
|
23021
|
+
* @return {boolean}
|
|
23022
|
+
*/
|
|
23023
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.prototype.hasResponsecode = function() {
|
|
23024
|
+
return jspb.Message.getField(this, 1) != null;
|
|
23025
|
+
};
|
|
23026
|
+
|
|
23027
|
+
|
|
23028
|
+
/**
|
|
23029
|
+
* repeated int64 userIdsWithAnyTransaction = 2;
|
|
23030
|
+
* @return {!Array<number>}
|
|
23031
|
+
*/
|
|
23032
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.prototype.getUseridswithanytransactionList = function() {
|
|
23033
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
23034
|
+
};
|
|
23035
|
+
|
|
23036
|
+
|
|
23037
|
+
/**
|
|
23038
|
+
* @param {!Array<number>} value
|
|
23039
|
+
* @return {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse} returns this
|
|
23040
|
+
*/
|
|
23041
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.prototype.setUseridswithanytransactionList = function(value) {
|
|
23042
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
23043
|
+
};
|
|
23044
|
+
|
|
23045
|
+
|
|
23046
|
+
/**
|
|
23047
|
+
* @param {number} value
|
|
23048
|
+
* @param {number=} opt_index
|
|
23049
|
+
* @return {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse} returns this
|
|
23050
|
+
*/
|
|
23051
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.prototype.addUseridswithanytransaction = function(value, opt_index) {
|
|
23052
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
23053
|
+
};
|
|
23054
|
+
|
|
23055
|
+
|
|
23056
|
+
/**
|
|
23057
|
+
* Clears the list making it empty but non-null.
|
|
23058
|
+
* @return {!proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse} returns this
|
|
23059
|
+
*/
|
|
23060
|
+
proto.sniiptransactionapi.HasAnyTransactionForUserIdsResponse.prototype.clearUseridswithanytransactionList = function() {
|
|
23061
|
+
return this.setUseridswithanytransactionList([]);
|
|
23062
|
+
};
|
|
23063
|
+
|
|
23064
|
+
|
|
23065
|
+
|
|
22655
23066
|
|
|
22656
23067
|
|
|
22657
23068
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|