@sniipwebmaster/realtime-message-client-grpcweb 21.23.183 → 21.23.191
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.
|
@@ -311,5 +311,85 @@ proto.realtimemessageapi.RealTimeMessageServicePromiseClient.prototype.localHeal
|
|
|
311
311
|
};
|
|
312
312
|
|
|
313
313
|
|
|
314
|
+
/**
|
|
315
|
+
* @const
|
|
316
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
317
|
+
* !proto.realtimemessageapi.GetBannersRequest,
|
|
318
|
+
* !proto.realtimemessageapi.BannersResponse>}
|
|
319
|
+
*/
|
|
320
|
+
const methodDescriptor_RealTimeMessageService_GetBanners = new grpc.web.MethodDescriptor(
|
|
321
|
+
'/realtimemessageapi.RealTimeMessageService/GetBanners',
|
|
322
|
+
grpc.web.MethodType.UNARY,
|
|
323
|
+
proto.realtimemessageapi.GetBannersRequest,
|
|
324
|
+
proto.realtimemessageapi.BannersResponse,
|
|
325
|
+
/**
|
|
326
|
+
* @param {!proto.realtimemessageapi.GetBannersRequest} request
|
|
327
|
+
* @return {!Uint8Array}
|
|
328
|
+
*/
|
|
329
|
+
function(request) {
|
|
330
|
+
return request.serializeBinary();
|
|
331
|
+
},
|
|
332
|
+
proto.realtimemessageapi.BannersResponse.deserializeBinary
|
|
333
|
+
);
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* @const
|
|
338
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
339
|
+
* !proto.realtimemessageapi.GetBannersRequest,
|
|
340
|
+
* !proto.realtimemessageapi.BannersResponse>}
|
|
341
|
+
*/
|
|
342
|
+
const methodInfo_RealTimeMessageService_GetBanners = new grpc.web.AbstractClientBase.MethodInfo(
|
|
343
|
+
proto.realtimemessageapi.BannersResponse,
|
|
344
|
+
/**
|
|
345
|
+
* @param {!proto.realtimemessageapi.GetBannersRequest} request
|
|
346
|
+
* @return {!Uint8Array}
|
|
347
|
+
*/
|
|
348
|
+
function(request) {
|
|
349
|
+
return request.serializeBinary();
|
|
350
|
+
},
|
|
351
|
+
proto.realtimemessageapi.BannersResponse.deserializeBinary
|
|
352
|
+
);
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* @param {!proto.realtimemessageapi.GetBannersRequest} request The
|
|
357
|
+
* request proto
|
|
358
|
+
* @param {?Object<string, string>} metadata User defined
|
|
359
|
+
* call metadata
|
|
360
|
+
* @param {function(?grpc.web.Error, ?proto.realtimemessageapi.BannersResponse)}
|
|
361
|
+
* callback The callback function(error, response)
|
|
362
|
+
* @return {!grpc.web.ClientReadableStream<!proto.realtimemessageapi.BannersResponse>|undefined}
|
|
363
|
+
* The XHR Node Readable Stream
|
|
364
|
+
*/
|
|
365
|
+
proto.realtimemessageapi.RealTimeMessageServiceClient.prototype.getBanners =
|
|
366
|
+
function(request, metadata, callback) {
|
|
367
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
368
|
+
'/realtimemessageapi.RealTimeMessageService/GetBanners',
|
|
369
|
+
request,
|
|
370
|
+
metadata || {},
|
|
371
|
+
methodDescriptor_RealTimeMessageService_GetBanners,
|
|
372
|
+
callback);
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* @param {!proto.realtimemessageapi.GetBannersRequest} request The
|
|
378
|
+
* request proto
|
|
379
|
+
* @param {?Object<string, string>} metadata User defined
|
|
380
|
+
* call metadata
|
|
381
|
+
* @return {!Promise<!proto.realtimemessageapi.BannersResponse>}
|
|
382
|
+
* Promise that resolves to the response
|
|
383
|
+
*/
|
|
384
|
+
proto.realtimemessageapi.RealTimeMessageServicePromiseClient.prototype.getBanners =
|
|
385
|
+
function(request, metadata) {
|
|
386
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
387
|
+
'/realtimemessageapi.RealTimeMessageService/GetBanners',
|
|
388
|
+
request,
|
|
389
|
+
metadata || {},
|
|
390
|
+
methodDescriptor_RealTimeMessageService_GetBanners);
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
|
|
314
394
|
module.exports = proto.realtimemessageapi;
|
|
315
395
|
|
|
@@ -13,11 +13,16 @@ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
|
13
13
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
14
14
|
var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js');
|
|
15
15
|
goog.exportSymbol('proto.realtimemessageapi.AllBillsProcessedByImport', null, global);
|
|
16
|
+
goog.exportSymbol('proto.realtimemessageapi.BannersResponse', null, global);
|
|
16
17
|
goog.exportSymbol('proto.realtimemessageapi.BillPaid', null, global);
|
|
18
|
+
goog.exportSymbol('proto.realtimemessageapi.BulkPaymentSummary', null, global);
|
|
19
|
+
goog.exportSymbol('proto.realtimemessageapi.BulkPaymentTaskSummary', null, global);
|
|
17
20
|
goog.exportSymbol('proto.realtimemessageapi.BulkPaymentTaskUpdate', null, global);
|
|
18
21
|
goog.exportSymbol('proto.realtimemessageapi.EmptyRequest', null, global);
|
|
19
22
|
goog.exportSymbol('proto.realtimemessageapi.Event', null, global);
|
|
20
23
|
goog.exportSymbol('proto.realtimemessageapi.EventType', null, global);
|
|
24
|
+
goog.exportSymbol('proto.realtimemessageapi.GetBannersData', null, global);
|
|
25
|
+
goog.exportSymbol('proto.realtimemessageapi.GetBannersRequest', null, global);
|
|
21
26
|
goog.exportSymbol('proto.realtimemessageapi.PostRequest', null, global);
|
|
22
27
|
goog.exportSymbol('proto.realtimemessageapi.ResponseCode', null, global);
|
|
23
28
|
goog.exportSymbol('proto.realtimemessageapi.SubscribeType', null, global);
|
|
@@ -2783,6 +2788,1068 @@ proto.realtimemessageapi.Event.prototype.setUserid = function(value) {
|
|
|
2783
2788
|
};
|
|
2784
2789
|
|
|
2785
2790
|
|
|
2791
|
+
|
|
2792
|
+
/**
|
|
2793
|
+
* Generated by JsPbCodeGenerator.
|
|
2794
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2795
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2796
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2797
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2798
|
+
* valid.
|
|
2799
|
+
* @extends {jspb.Message}
|
|
2800
|
+
* @constructor
|
|
2801
|
+
*/
|
|
2802
|
+
proto.realtimemessageapi.GetBannersRequest = function(opt_data) {
|
|
2803
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2804
|
+
};
|
|
2805
|
+
goog.inherits(proto.realtimemessageapi.GetBannersRequest, jspb.Message);
|
|
2806
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2807
|
+
proto.realtimemessageapi.GetBannersRequest.displayName = 'proto.realtimemessageapi.GetBannersRequest';
|
|
2808
|
+
}
|
|
2809
|
+
|
|
2810
|
+
|
|
2811
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2812
|
+
/**
|
|
2813
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
2814
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2815
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2816
|
+
* For the list of reserved names please see:
|
|
2817
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
2818
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
2819
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
2820
|
+
* @return {!Object}
|
|
2821
|
+
*/
|
|
2822
|
+
proto.realtimemessageapi.GetBannersRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2823
|
+
return proto.realtimemessageapi.GetBannersRequest.toObject(opt_includeInstance, this);
|
|
2824
|
+
};
|
|
2825
|
+
|
|
2826
|
+
|
|
2827
|
+
/**
|
|
2828
|
+
* Static version of the {@see toObject} method.
|
|
2829
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
2830
|
+
* instance for transitional soy proto support:
|
|
2831
|
+
* http://goto/soy-param-migration
|
|
2832
|
+
* @param {!proto.realtimemessageapi.GetBannersRequest} msg The msg instance to transform.
|
|
2833
|
+
* @return {!Object}
|
|
2834
|
+
*/
|
|
2835
|
+
proto.realtimemessageapi.GetBannersRequest.toObject = function(includeInstance, msg) {
|
|
2836
|
+
var f, obj = {
|
|
2837
|
+
data: (f = msg.getData()) && proto.realtimemessageapi.GetBannersData.toObject(includeInstance, f)
|
|
2838
|
+
};
|
|
2839
|
+
|
|
2840
|
+
if (includeInstance) {
|
|
2841
|
+
obj.$jspbMessageInstance = msg;
|
|
2842
|
+
}
|
|
2843
|
+
return obj;
|
|
2844
|
+
};
|
|
2845
|
+
}
|
|
2846
|
+
|
|
2847
|
+
|
|
2848
|
+
/**
|
|
2849
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2850
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2851
|
+
* @return {!proto.realtimemessageapi.GetBannersRequest}
|
|
2852
|
+
*/
|
|
2853
|
+
proto.realtimemessageapi.GetBannersRequest.deserializeBinary = function(bytes) {
|
|
2854
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2855
|
+
var msg = new proto.realtimemessageapi.GetBannersRequest;
|
|
2856
|
+
return proto.realtimemessageapi.GetBannersRequest.deserializeBinaryFromReader(msg, reader);
|
|
2857
|
+
};
|
|
2858
|
+
|
|
2859
|
+
|
|
2860
|
+
/**
|
|
2861
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2862
|
+
* given reader into the given message object.
|
|
2863
|
+
* @param {!proto.realtimemessageapi.GetBannersRequest} msg The message object to deserialize into.
|
|
2864
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2865
|
+
* @return {!proto.realtimemessageapi.GetBannersRequest}
|
|
2866
|
+
*/
|
|
2867
|
+
proto.realtimemessageapi.GetBannersRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2868
|
+
while (reader.nextField()) {
|
|
2869
|
+
if (reader.isEndGroup()) {
|
|
2870
|
+
break;
|
|
2871
|
+
}
|
|
2872
|
+
var field = reader.getFieldNumber();
|
|
2873
|
+
switch (field) {
|
|
2874
|
+
case 1:
|
|
2875
|
+
var value = new proto.realtimemessageapi.GetBannersData;
|
|
2876
|
+
reader.readMessage(value,proto.realtimemessageapi.GetBannersData.deserializeBinaryFromReader);
|
|
2877
|
+
msg.setData(value);
|
|
2878
|
+
break;
|
|
2879
|
+
default:
|
|
2880
|
+
reader.skipField();
|
|
2881
|
+
break;
|
|
2882
|
+
}
|
|
2883
|
+
}
|
|
2884
|
+
return msg;
|
|
2885
|
+
};
|
|
2886
|
+
|
|
2887
|
+
|
|
2888
|
+
/**
|
|
2889
|
+
* Class method variant: serializes the given message to binary data
|
|
2890
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
2891
|
+
* @param {!proto.realtimemessageapi.GetBannersRequest} message
|
|
2892
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2893
|
+
*/
|
|
2894
|
+
proto.realtimemessageapi.GetBannersRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2895
|
+
message.serializeBinaryToWriter(writer);
|
|
2896
|
+
};
|
|
2897
|
+
|
|
2898
|
+
|
|
2899
|
+
/**
|
|
2900
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2901
|
+
* @return {!Uint8Array}
|
|
2902
|
+
*/
|
|
2903
|
+
proto.realtimemessageapi.GetBannersRequest.prototype.serializeBinary = function() {
|
|
2904
|
+
var writer = new jspb.BinaryWriter();
|
|
2905
|
+
this.serializeBinaryToWriter(writer);
|
|
2906
|
+
return writer.getResultBuffer();
|
|
2907
|
+
};
|
|
2908
|
+
|
|
2909
|
+
|
|
2910
|
+
/**
|
|
2911
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
2912
|
+
* writing to the given BinaryWriter.
|
|
2913
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2914
|
+
*/
|
|
2915
|
+
proto.realtimemessageapi.GetBannersRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
2916
|
+
var f = undefined;
|
|
2917
|
+
f = this.getData();
|
|
2918
|
+
if (f != null) {
|
|
2919
|
+
writer.writeMessage(
|
|
2920
|
+
1,
|
|
2921
|
+
f,
|
|
2922
|
+
proto.realtimemessageapi.GetBannersData.serializeBinaryToWriter
|
|
2923
|
+
);
|
|
2924
|
+
}
|
|
2925
|
+
};
|
|
2926
|
+
|
|
2927
|
+
|
|
2928
|
+
/**
|
|
2929
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
2930
|
+
* @return {!proto.realtimemessageapi.GetBannersRequest} The clone.
|
|
2931
|
+
*/
|
|
2932
|
+
proto.realtimemessageapi.GetBannersRequest.prototype.cloneMessage = function() {
|
|
2933
|
+
return /** @type {!proto.realtimemessageapi.GetBannersRequest} */ (jspb.Message.cloneMessage(this));
|
|
2934
|
+
};
|
|
2935
|
+
|
|
2936
|
+
|
|
2937
|
+
/**
|
|
2938
|
+
* optional GetBannersData data = 1;
|
|
2939
|
+
* @return {proto.realtimemessageapi.GetBannersData}
|
|
2940
|
+
*/
|
|
2941
|
+
proto.realtimemessageapi.GetBannersRequest.prototype.getData = function() {
|
|
2942
|
+
return /** @type{proto.realtimemessageapi.GetBannersData} */ (
|
|
2943
|
+
jspb.Message.getWrapperField(this, proto.realtimemessageapi.GetBannersData, 1));
|
|
2944
|
+
};
|
|
2945
|
+
|
|
2946
|
+
|
|
2947
|
+
/** @param {proto.realtimemessageapi.GetBannersData|undefined} value */
|
|
2948
|
+
proto.realtimemessageapi.GetBannersRequest.prototype.setData = function(value) {
|
|
2949
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
2950
|
+
};
|
|
2951
|
+
|
|
2952
|
+
|
|
2953
|
+
proto.realtimemessageapi.GetBannersRequest.prototype.clearData = function() {
|
|
2954
|
+
this.setData(undefined);
|
|
2955
|
+
};
|
|
2956
|
+
|
|
2957
|
+
|
|
2958
|
+
/**
|
|
2959
|
+
* Returns whether this field is set.
|
|
2960
|
+
* @return{!boolean}
|
|
2961
|
+
*/
|
|
2962
|
+
proto.realtimemessageapi.GetBannersRequest.prototype.hasData = function() {
|
|
2963
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2964
|
+
};
|
|
2965
|
+
|
|
2966
|
+
|
|
2967
|
+
|
|
2968
|
+
/**
|
|
2969
|
+
* Generated by JsPbCodeGenerator.
|
|
2970
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2971
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2972
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2973
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2974
|
+
* valid.
|
|
2975
|
+
* @extends {jspb.Message}
|
|
2976
|
+
* @constructor
|
|
2977
|
+
*/
|
|
2978
|
+
proto.realtimemessageapi.GetBannersData = function(opt_data) {
|
|
2979
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2980
|
+
};
|
|
2981
|
+
goog.inherits(proto.realtimemessageapi.GetBannersData, jspb.Message);
|
|
2982
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2983
|
+
proto.realtimemessageapi.GetBannersData.displayName = 'proto.realtimemessageapi.GetBannersData';
|
|
2984
|
+
}
|
|
2985
|
+
|
|
2986
|
+
|
|
2987
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2988
|
+
/**
|
|
2989
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
2990
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2991
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2992
|
+
* For the list of reserved names please see:
|
|
2993
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
2994
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
2995
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
2996
|
+
* @return {!Object}
|
|
2997
|
+
*/
|
|
2998
|
+
proto.realtimemessageapi.GetBannersData.prototype.toObject = function(opt_includeInstance) {
|
|
2999
|
+
return proto.realtimemessageapi.GetBannersData.toObject(opt_includeInstance, this);
|
|
3000
|
+
};
|
|
3001
|
+
|
|
3002
|
+
|
|
3003
|
+
/**
|
|
3004
|
+
* Static version of the {@see toObject} method.
|
|
3005
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
3006
|
+
* instance for transitional soy proto support:
|
|
3007
|
+
* http://goto/soy-param-migration
|
|
3008
|
+
* @param {!proto.realtimemessageapi.GetBannersData} msg The msg instance to transform.
|
|
3009
|
+
* @return {!Object}
|
|
3010
|
+
*/
|
|
3011
|
+
proto.realtimemessageapi.GetBannersData.toObject = function(includeInstance, msg) {
|
|
3012
|
+
var f, obj = {
|
|
3013
|
+
getavailablebulkpayments: msg.getGetavailablebulkpayments(),
|
|
3014
|
+
getimportprocessing: msg.getGetimportprocessing()
|
|
3015
|
+
};
|
|
3016
|
+
|
|
3017
|
+
if (includeInstance) {
|
|
3018
|
+
obj.$jspbMessageInstance = msg;
|
|
3019
|
+
}
|
|
3020
|
+
return obj;
|
|
3021
|
+
};
|
|
3022
|
+
}
|
|
3023
|
+
|
|
3024
|
+
|
|
3025
|
+
/**
|
|
3026
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3027
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3028
|
+
* @return {!proto.realtimemessageapi.GetBannersData}
|
|
3029
|
+
*/
|
|
3030
|
+
proto.realtimemessageapi.GetBannersData.deserializeBinary = function(bytes) {
|
|
3031
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3032
|
+
var msg = new proto.realtimemessageapi.GetBannersData;
|
|
3033
|
+
return proto.realtimemessageapi.GetBannersData.deserializeBinaryFromReader(msg, reader);
|
|
3034
|
+
};
|
|
3035
|
+
|
|
3036
|
+
|
|
3037
|
+
/**
|
|
3038
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3039
|
+
* given reader into the given message object.
|
|
3040
|
+
* @param {!proto.realtimemessageapi.GetBannersData} msg The message object to deserialize into.
|
|
3041
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3042
|
+
* @return {!proto.realtimemessageapi.GetBannersData}
|
|
3043
|
+
*/
|
|
3044
|
+
proto.realtimemessageapi.GetBannersData.deserializeBinaryFromReader = function(msg, reader) {
|
|
3045
|
+
while (reader.nextField()) {
|
|
3046
|
+
if (reader.isEndGroup()) {
|
|
3047
|
+
break;
|
|
3048
|
+
}
|
|
3049
|
+
var field = reader.getFieldNumber();
|
|
3050
|
+
switch (field) {
|
|
3051
|
+
case 1:
|
|
3052
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3053
|
+
msg.setGetavailablebulkpayments(value);
|
|
3054
|
+
break;
|
|
3055
|
+
case 2:
|
|
3056
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3057
|
+
msg.setGetimportprocessing(value);
|
|
3058
|
+
break;
|
|
3059
|
+
default:
|
|
3060
|
+
reader.skipField();
|
|
3061
|
+
break;
|
|
3062
|
+
}
|
|
3063
|
+
}
|
|
3064
|
+
return msg;
|
|
3065
|
+
};
|
|
3066
|
+
|
|
3067
|
+
|
|
3068
|
+
/**
|
|
3069
|
+
* Class method variant: serializes the given message to binary data
|
|
3070
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
3071
|
+
* @param {!proto.realtimemessageapi.GetBannersData} message
|
|
3072
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3073
|
+
*/
|
|
3074
|
+
proto.realtimemessageapi.GetBannersData.serializeBinaryToWriter = function(message, writer) {
|
|
3075
|
+
message.serializeBinaryToWriter(writer);
|
|
3076
|
+
};
|
|
3077
|
+
|
|
3078
|
+
|
|
3079
|
+
/**
|
|
3080
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3081
|
+
* @return {!Uint8Array}
|
|
3082
|
+
*/
|
|
3083
|
+
proto.realtimemessageapi.GetBannersData.prototype.serializeBinary = function() {
|
|
3084
|
+
var writer = new jspb.BinaryWriter();
|
|
3085
|
+
this.serializeBinaryToWriter(writer);
|
|
3086
|
+
return writer.getResultBuffer();
|
|
3087
|
+
};
|
|
3088
|
+
|
|
3089
|
+
|
|
3090
|
+
/**
|
|
3091
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
3092
|
+
* writing to the given BinaryWriter.
|
|
3093
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3094
|
+
*/
|
|
3095
|
+
proto.realtimemessageapi.GetBannersData.prototype.serializeBinaryToWriter = function (writer) {
|
|
3096
|
+
var f = undefined;
|
|
3097
|
+
f = this.getGetavailablebulkpayments();
|
|
3098
|
+
if (f) {
|
|
3099
|
+
writer.writeBool(
|
|
3100
|
+
1,
|
|
3101
|
+
f
|
|
3102
|
+
);
|
|
3103
|
+
}
|
|
3104
|
+
f = this.getGetimportprocessing();
|
|
3105
|
+
if (f) {
|
|
3106
|
+
writer.writeBool(
|
|
3107
|
+
2,
|
|
3108
|
+
f
|
|
3109
|
+
);
|
|
3110
|
+
}
|
|
3111
|
+
};
|
|
3112
|
+
|
|
3113
|
+
|
|
3114
|
+
/**
|
|
3115
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
3116
|
+
* @return {!proto.realtimemessageapi.GetBannersData} The clone.
|
|
3117
|
+
*/
|
|
3118
|
+
proto.realtimemessageapi.GetBannersData.prototype.cloneMessage = function() {
|
|
3119
|
+
return /** @type {!proto.realtimemessageapi.GetBannersData} */ (jspb.Message.cloneMessage(this));
|
|
3120
|
+
};
|
|
3121
|
+
|
|
3122
|
+
|
|
3123
|
+
/**
|
|
3124
|
+
* optional bool getAvailableBulkPayments = 1;
|
|
3125
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
3126
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
3127
|
+
* @return {boolean}
|
|
3128
|
+
*/
|
|
3129
|
+
proto.realtimemessageapi.GetBannersData.prototype.getGetavailablebulkpayments = function() {
|
|
3130
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 1, false));
|
|
3131
|
+
};
|
|
3132
|
+
|
|
3133
|
+
|
|
3134
|
+
/** @param {boolean} value */
|
|
3135
|
+
proto.realtimemessageapi.GetBannersData.prototype.setGetavailablebulkpayments = function(value) {
|
|
3136
|
+
jspb.Message.setField(this, 1, value);
|
|
3137
|
+
};
|
|
3138
|
+
|
|
3139
|
+
|
|
3140
|
+
/**
|
|
3141
|
+
* optional bool getImportProcessing = 2;
|
|
3142
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
3143
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
3144
|
+
* @return {boolean}
|
|
3145
|
+
*/
|
|
3146
|
+
proto.realtimemessageapi.GetBannersData.prototype.getGetimportprocessing = function() {
|
|
3147
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 2, false));
|
|
3148
|
+
};
|
|
3149
|
+
|
|
3150
|
+
|
|
3151
|
+
/** @param {boolean} value */
|
|
3152
|
+
proto.realtimemessageapi.GetBannersData.prototype.setGetimportprocessing = function(value) {
|
|
3153
|
+
jspb.Message.setField(this, 2, value);
|
|
3154
|
+
};
|
|
3155
|
+
|
|
3156
|
+
|
|
3157
|
+
|
|
3158
|
+
/**
|
|
3159
|
+
* Generated by JsPbCodeGenerator.
|
|
3160
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3161
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3162
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3163
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3164
|
+
* valid.
|
|
3165
|
+
* @extends {jspb.Message}
|
|
3166
|
+
* @constructor
|
|
3167
|
+
*/
|
|
3168
|
+
proto.realtimemessageapi.BannersResponse = function(opt_data) {
|
|
3169
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.realtimemessageapi.BannersResponse.repeatedFields_, null);
|
|
3170
|
+
};
|
|
3171
|
+
goog.inherits(proto.realtimemessageapi.BannersResponse, jspb.Message);
|
|
3172
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3173
|
+
proto.realtimemessageapi.BannersResponse.displayName = 'proto.realtimemessageapi.BannersResponse';
|
|
3174
|
+
}
|
|
3175
|
+
/**
|
|
3176
|
+
* List of repeated fields within this message type.
|
|
3177
|
+
* @private {!Array<number>}
|
|
3178
|
+
* @const
|
|
3179
|
+
*/
|
|
3180
|
+
proto.realtimemessageapi.BannersResponse.repeatedFields_ = [2];
|
|
3181
|
+
|
|
3182
|
+
|
|
3183
|
+
|
|
3184
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3185
|
+
/**
|
|
3186
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
3187
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3188
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3189
|
+
* For the list of reserved names please see:
|
|
3190
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
3191
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
3192
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
3193
|
+
* @return {!Object}
|
|
3194
|
+
*/
|
|
3195
|
+
proto.realtimemessageapi.BannersResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3196
|
+
return proto.realtimemessageapi.BannersResponse.toObject(opt_includeInstance, this);
|
|
3197
|
+
};
|
|
3198
|
+
|
|
3199
|
+
|
|
3200
|
+
/**
|
|
3201
|
+
* Static version of the {@see toObject} method.
|
|
3202
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
3203
|
+
* instance for transitional soy proto support:
|
|
3204
|
+
* http://goto/soy-param-migration
|
|
3205
|
+
* @param {!proto.realtimemessageapi.BannersResponse} msg The msg instance to transform.
|
|
3206
|
+
* @return {!Object}
|
|
3207
|
+
*/
|
|
3208
|
+
proto.realtimemessageapi.BannersResponse.toObject = function(includeInstance, msg) {
|
|
3209
|
+
var f, obj = {
|
|
3210
|
+
responsecode: (f = msg.getResponsecode()) && proto.realtimemessageapi.ResponseCode.toObject(includeInstance, f),
|
|
3211
|
+
bulkpaymentsList: jspb.Message.toObjectList(msg.getBulkpaymentsList(),
|
|
3212
|
+
proto.realtimemessageapi.BulkPaymentSummary.toObject, includeInstance),
|
|
3213
|
+
billsarebeingprocessed: msg.getBillsarebeingprocessed()
|
|
3214
|
+
};
|
|
3215
|
+
|
|
3216
|
+
if (includeInstance) {
|
|
3217
|
+
obj.$jspbMessageInstance = msg;
|
|
3218
|
+
}
|
|
3219
|
+
return obj;
|
|
3220
|
+
};
|
|
3221
|
+
}
|
|
3222
|
+
|
|
3223
|
+
|
|
3224
|
+
/**
|
|
3225
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3226
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3227
|
+
* @return {!proto.realtimemessageapi.BannersResponse}
|
|
3228
|
+
*/
|
|
3229
|
+
proto.realtimemessageapi.BannersResponse.deserializeBinary = function(bytes) {
|
|
3230
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3231
|
+
var msg = new proto.realtimemessageapi.BannersResponse;
|
|
3232
|
+
return proto.realtimemessageapi.BannersResponse.deserializeBinaryFromReader(msg, reader);
|
|
3233
|
+
};
|
|
3234
|
+
|
|
3235
|
+
|
|
3236
|
+
/**
|
|
3237
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3238
|
+
* given reader into the given message object.
|
|
3239
|
+
* @param {!proto.realtimemessageapi.BannersResponse} msg The message object to deserialize into.
|
|
3240
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3241
|
+
* @return {!proto.realtimemessageapi.BannersResponse}
|
|
3242
|
+
*/
|
|
3243
|
+
proto.realtimemessageapi.BannersResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3244
|
+
while (reader.nextField()) {
|
|
3245
|
+
if (reader.isEndGroup()) {
|
|
3246
|
+
break;
|
|
3247
|
+
}
|
|
3248
|
+
var field = reader.getFieldNumber();
|
|
3249
|
+
switch (field) {
|
|
3250
|
+
case 1:
|
|
3251
|
+
var value = new proto.realtimemessageapi.ResponseCode;
|
|
3252
|
+
reader.readMessage(value,proto.realtimemessageapi.ResponseCode.deserializeBinaryFromReader);
|
|
3253
|
+
msg.setResponsecode(value);
|
|
3254
|
+
break;
|
|
3255
|
+
case 2:
|
|
3256
|
+
var value = new proto.realtimemessageapi.BulkPaymentSummary;
|
|
3257
|
+
reader.readMessage(value,proto.realtimemessageapi.BulkPaymentSummary.deserializeBinaryFromReader);
|
|
3258
|
+
msg.getBulkpaymentsList().push(value);
|
|
3259
|
+
msg.setBulkpaymentsList(msg.getBulkpaymentsList());
|
|
3260
|
+
break;
|
|
3261
|
+
case 3:
|
|
3262
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3263
|
+
msg.setBillsarebeingprocessed(value);
|
|
3264
|
+
break;
|
|
3265
|
+
default:
|
|
3266
|
+
reader.skipField();
|
|
3267
|
+
break;
|
|
3268
|
+
}
|
|
3269
|
+
}
|
|
3270
|
+
return msg;
|
|
3271
|
+
};
|
|
3272
|
+
|
|
3273
|
+
|
|
3274
|
+
/**
|
|
3275
|
+
* Class method variant: serializes the given message to binary data
|
|
3276
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
3277
|
+
* @param {!proto.realtimemessageapi.BannersResponse} message
|
|
3278
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3279
|
+
*/
|
|
3280
|
+
proto.realtimemessageapi.BannersResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3281
|
+
message.serializeBinaryToWriter(writer);
|
|
3282
|
+
};
|
|
3283
|
+
|
|
3284
|
+
|
|
3285
|
+
/**
|
|
3286
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3287
|
+
* @return {!Uint8Array}
|
|
3288
|
+
*/
|
|
3289
|
+
proto.realtimemessageapi.BannersResponse.prototype.serializeBinary = function() {
|
|
3290
|
+
var writer = new jspb.BinaryWriter();
|
|
3291
|
+
this.serializeBinaryToWriter(writer);
|
|
3292
|
+
return writer.getResultBuffer();
|
|
3293
|
+
};
|
|
3294
|
+
|
|
3295
|
+
|
|
3296
|
+
/**
|
|
3297
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
3298
|
+
* writing to the given BinaryWriter.
|
|
3299
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3300
|
+
*/
|
|
3301
|
+
proto.realtimemessageapi.BannersResponse.prototype.serializeBinaryToWriter = function (writer) {
|
|
3302
|
+
var f = undefined;
|
|
3303
|
+
f = this.getResponsecode();
|
|
3304
|
+
if (f != null) {
|
|
3305
|
+
writer.writeMessage(
|
|
3306
|
+
1,
|
|
3307
|
+
f,
|
|
3308
|
+
proto.realtimemessageapi.ResponseCode.serializeBinaryToWriter
|
|
3309
|
+
);
|
|
3310
|
+
}
|
|
3311
|
+
f = this.getBulkpaymentsList();
|
|
3312
|
+
if (f.length > 0) {
|
|
3313
|
+
writer.writeRepeatedMessage(
|
|
3314
|
+
2,
|
|
3315
|
+
f,
|
|
3316
|
+
proto.realtimemessageapi.BulkPaymentSummary.serializeBinaryToWriter
|
|
3317
|
+
);
|
|
3318
|
+
}
|
|
3319
|
+
f = this.getBillsarebeingprocessed();
|
|
3320
|
+
if (f) {
|
|
3321
|
+
writer.writeBool(
|
|
3322
|
+
3,
|
|
3323
|
+
f
|
|
3324
|
+
);
|
|
3325
|
+
}
|
|
3326
|
+
};
|
|
3327
|
+
|
|
3328
|
+
|
|
3329
|
+
/**
|
|
3330
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
3331
|
+
* @return {!proto.realtimemessageapi.BannersResponse} The clone.
|
|
3332
|
+
*/
|
|
3333
|
+
proto.realtimemessageapi.BannersResponse.prototype.cloneMessage = function() {
|
|
3334
|
+
return /** @type {!proto.realtimemessageapi.BannersResponse} */ (jspb.Message.cloneMessage(this));
|
|
3335
|
+
};
|
|
3336
|
+
|
|
3337
|
+
|
|
3338
|
+
/**
|
|
3339
|
+
* optional ResponseCode responseCode = 1;
|
|
3340
|
+
* @return {proto.realtimemessageapi.ResponseCode}
|
|
3341
|
+
*/
|
|
3342
|
+
proto.realtimemessageapi.BannersResponse.prototype.getResponsecode = function() {
|
|
3343
|
+
return /** @type{proto.realtimemessageapi.ResponseCode} */ (
|
|
3344
|
+
jspb.Message.getWrapperField(this, proto.realtimemessageapi.ResponseCode, 1));
|
|
3345
|
+
};
|
|
3346
|
+
|
|
3347
|
+
|
|
3348
|
+
/** @param {proto.realtimemessageapi.ResponseCode|undefined} value */
|
|
3349
|
+
proto.realtimemessageapi.BannersResponse.prototype.setResponsecode = function(value) {
|
|
3350
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
3351
|
+
};
|
|
3352
|
+
|
|
3353
|
+
|
|
3354
|
+
proto.realtimemessageapi.BannersResponse.prototype.clearResponsecode = function() {
|
|
3355
|
+
this.setResponsecode(undefined);
|
|
3356
|
+
};
|
|
3357
|
+
|
|
3358
|
+
|
|
3359
|
+
/**
|
|
3360
|
+
* Returns whether this field is set.
|
|
3361
|
+
* @return{!boolean}
|
|
3362
|
+
*/
|
|
3363
|
+
proto.realtimemessageapi.BannersResponse.prototype.hasResponsecode = function() {
|
|
3364
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3365
|
+
};
|
|
3366
|
+
|
|
3367
|
+
|
|
3368
|
+
/**
|
|
3369
|
+
* repeated BulkPaymentSummary bulkPayments = 2;
|
|
3370
|
+
* If you change this array by adding, removing or replacing elements, or if you
|
|
3371
|
+
* replace the array itself, then you must call the setter to update it.
|
|
3372
|
+
* @return {!Array.<!proto.realtimemessageapi.BulkPaymentSummary>}
|
|
3373
|
+
*/
|
|
3374
|
+
proto.realtimemessageapi.BannersResponse.prototype.getBulkpaymentsList = function() {
|
|
3375
|
+
return /** @type{!Array.<!proto.realtimemessageapi.BulkPaymentSummary>} */ (
|
|
3376
|
+
jspb.Message.getRepeatedWrapperField(this, proto.realtimemessageapi.BulkPaymentSummary, 2));
|
|
3377
|
+
};
|
|
3378
|
+
|
|
3379
|
+
|
|
3380
|
+
/** @param {Array.<!proto.realtimemessageapi.BulkPaymentSummary>} value */
|
|
3381
|
+
proto.realtimemessageapi.BannersResponse.prototype.setBulkpaymentsList = function(value) {
|
|
3382
|
+
jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
3383
|
+
};
|
|
3384
|
+
|
|
3385
|
+
|
|
3386
|
+
proto.realtimemessageapi.BannersResponse.prototype.clearBulkpaymentsList = function() {
|
|
3387
|
+
this.setBulkpaymentsList([]);
|
|
3388
|
+
};
|
|
3389
|
+
|
|
3390
|
+
|
|
3391
|
+
/**
|
|
3392
|
+
* optional bool billsAreBeingProcessed = 3;
|
|
3393
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
3394
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
3395
|
+
* @return {boolean}
|
|
3396
|
+
*/
|
|
3397
|
+
proto.realtimemessageapi.BannersResponse.prototype.getBillsarebeingprocessed = function() {
|
|
3398
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 3, false));
|
|
3399
|
+
};
|
|
3400
|
+
|
|
3401
|
+
|
|
3402
|
+
/** @param {boolean} value */
|
|
3403
|
+
proto.realtimemessageapi.BannersResponse.prototype.setBillsarebeingprocessed = function(value) {
|
|
3404
|
+
jspb.Message.setField(this, 3, value);
|
|
3405
|
+
};
|
|
3406
|
+
|
|
3407
|
+
|
|
3408
|
+
|
|
3409
|
+
/**
|
|
3410
|
+
* Generated by JsPbCodeGenerator.
|
|
3411
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3412
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3413
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3414
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3415
|
+
* valid.
|
|
3416
|
+
* @extends {jspb.Message}
|
|
3417
|
+
* @constructor
|
|
3418
|
+
*/
|
|
3419
|
+
proto.realtimemessageapi.BulkPaymentSummary = function(opt_data) {
|
|
3420
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.realtimemessageapi.BulkPaymentSummary.repeatedFields_, null);
|
|
3421
|
+
};
|
|
3422
|
+
goog.inherits(proto.realtimemessageapi.BulkPaymentSummary, jspb.Message);
|
|
3423
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3424
|
+
proto.realtimemessageapi.BulkPaymentSummary.displayName = 'proto.realtimemessageapi.BulkPaymentSummary';
|
|
3425
|
+
}
|
|
3426
|
+
/**
|
|
3427
|
+
* List of repeated fields within this message type.
|
|
3428
|
+
* @private {!Array<number>}
|
|
3429
|
+
* @const
|
|
3430
|
+
*/
|
|
3431
|
+
proto.realtimemessageapi.BulkPaymentSummary.repeatedFields_ = [2];
|
|
3432
|
+
|
|
3433
|
+
|
|
3434
|
+
|
|
3435
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3436
|
+
/**
|
|
3437
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
3438
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3439
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3440
|
+
* For the list of reserved names please see:
|
|
3441
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
3442
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
3443
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
3444
|
+
* @return {!Object}
|
|
3445
|
+
*/
|
|
3446
|
+
proto.realtimemessageapi.BulkPaymentSummary.prototype.toObject = function(opt_includeInstance) {
|
|
3447
|
+
return proto.realtimemessageapi.BulkPaymentSummary.toObject(opt_includeInstance, this);
|
|
3448
|
+
};
|
|
3449
|
+
|
|
3450
|
+
|
|
3451
|
+
/**
|
|
3452
|
+
* Static version of the {@see toObject} method.
|
|
3453
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
3454
|
+
* instance for transitional soy proto support:
|
|
3455
|
+
* http://goto/soy-param-migration
|
|
3456
|
+
* @param {!proto.realtimemessageapi.BulkPaymentSummary} msg The msg instance to transform.
|
|
3457
|
+
* @return {!Object}
|
|
3458
|
+
*/
|
|
3459
|
+
proto.realtimemessageapi.BulkPaymentSummary.toObject = function(includeInstance, msg) {
|
|
3460
|
+
var f, obj = {
|
|
3461
|
+
bulkpaymentid: msg.getBulkpaymentid(),
|
|
3462
|
+
tasksList: jspb.Message.toObjectList(msg.getTasksList(),
|
|
3463
|
+
proto.realtimemessageapi.BulkPaymentTaskSummary.toObject, includeInstance)
|
|
3464
|
+
};
|
|
3465
|
+
|
|
3466
|
+
if (includeInstance) {
|
|
3467
|
+
obj.$jspbMessageInstance = msg;
|
|
3468
|
+
}
|
|
3469
|
+
return obj;
|
|
3470
|
+
};
|
|
3471
|
+
}
|
|
3472
|
+
|
|
3473
|
+
|
|
3474
|
+
/**
|
|
3475
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3476
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3477
|
+
* @return {!proto.realtimemessageapi.BulkPaymentSummary}
|
|
3478
|
+
*/
|
|
3479
|
+
proto.realtimemessageapi.BulkPaymentSummary.deserializeBinary = function(bytes) {
|
|
3480
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3481
|
+
var msg = new proto.realtimemessageapi.BulkPaymentSummary;
|
|
3482
|
+
return proto.realtimemessageapi.BulkPaymentSummary.deserializeBinaryFromReader(msg, reader);
|
|
3483
|
+
};
|
|
3484
|
+
|
|
3485
|
+
|
|
3486
|
+
/**
|
|
3487
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3488
|
+
* given reader into the given message object.
|
|
3489
|
+
* @param {!proto.realtimemessageapi.BulkPaymentSummary} msg The message object to deserialize into.
|
|
3490
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3491
|
+
* @return {!proto.realtimemessageapi.BulkPaymentSummary}
|
|
3492
|
+
*/
|
|
3493
|
+
proto.realtimemessageapi.BulkPaymentSummary.deserializeBinaryFromReader = function(msg, reader) {
|
|
3494
|
+
while (reader.nextField()) {
|
|
3495
|
+
if (reader.isEndGroup()) {
|
|
3496
|
+
break;
|
|
3497
|
+
}
|
|
3498
|
+
var field = reader.getFieldNumber();
|
|
3499
|
+
switch (field) {
|
|
3500
|
+
case 1:
|
|
3501
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3502
|
+
msg.setBulkpaymentid(value);
|
|
3503
|
+
break;
|
|
3504
|
+
case 2:
|
|
3505
|
+
var value = new proto.realtimemessageapi.BulkPaymentTaskSummary;
|
|
3506
|
+
reader.readMessage(value,proto.realtimemessageapi.BulkPaymentTaskSummary.deserializeBinaryFromReader);
|
|
3507
|
+
msg.getTasksList().push(value);
|
|
3508
|
+
msg.setTasksList(msg.getTasksList());
|
|
3509
|
+
break;
|
|
3510
|
+
default:
|
|
3511
|
+
reader.skipField();
|
|
3512
|
+
break;
|
|
3513
|
+
}
|
|
3514
|
+
}
|
|
3515
|
+
return msg;
|
|
3516
|
+
};
|
|
3517
|
+
|
|
3518
|
+
|
|
3519
|
+
/**
|
|
3520
|
+
* Class method variant: serializes the given message to binary data
|
|
3521
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
3522
|
+
* @param {!proto.realtimemessageapi.BulkPaymentSummary} message
|
|
3523
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3524
|
+
*/
|
|
3525
|
+
proto.realtimemessageapi.BulkPaymentSummary.serializeBinaryToWriter = function(message, writer) {
|
|
3526
|
+
message.serializeBinaryToWriter(writer);
|
|
3527
|
+
};
|
|
3528
|
+
|
|
3529
|
+
|
|
3530
|
+
/**
|
|
3531
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3532
|
+
* @return {!Uint8Array}
|
|
3533
|
+
*/
|
|
3534
|
+
proto.realtimemessageapi.BulkPaymentSummary.prototype.serializeBinary = function() {
|
|
3535
|
+
var writer = new jspb.BinaryWriter();
|
|
3536
|
+
this.serializeBinaryToWriter(writer);
|
|
3537
|
+
return writer.getResultBuffer();
|
|
3538
|
+
};
|
|
3539
|
+
|
|
3540
|
+
|
|
3541
|
+
/**
|
|
3542
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
3543
|
+
* writing to the given BinaryWriter.
|
|
3544
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3545
|
+
*/
|
|
3546
|
+
proto.realtimemessageapi.BulkPaymentSummary.prototype.serializeBinaryToWriter = function (writer) {
|
|
3547
|
+
var f = undefined;
|
|
3548
|
+
f = this.getBulkpaymentid();
|
|
3549
|
+
if (f !== 0) {
|
|
3550
|
+
writer.writeInt64(
|
|
3551
|
+
1,
|
|
3552
|
+
f
|
|
3553
|
+
);
|
|
3554
|
+
}
|
|
3555
|
+
f = this.getTasksList();
|
|
3556
|
+
if (f.length > 0) {
|
|
3557
|
+
writer.writeRepeatedMessage(
|
|
3558
|
+
2,
|
|
3559
|
+
f,
|
|
3560
|
+
proto.realtimemessageapi.BulkPaymentTaskSummary.serializeBinaryToWriter
|
|
3561
|
+
);
|
|
3562
|
+
}
|
|
3563
|
+
};
|
|
3564
|
+
|
|
3565
|
+
|
|
3566
|
+
/**
|
|
3567
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
3568
|
+
* @return {!proto.realtimemessageapi.BulkPaymentSummary} The clone.
|
|
3569
|
+
*/
|
|
3570
|
+
proto.realtimemessageapi.BulkPaymentSummary.prototype.cloneMessage = function() {
|
|
3571
|
+
return /** @type {!proto.realtimemessageapi.BulkPaymentSummary} */ (jspb.Message.cloneMessage(this));
|
|
3572
|
+
};
|
|
3573
|
+
|
|
3574
|
+
|
|
3575
|
+
/**
|
|
3576
|
+
* optional int64 bulkPaymentId = 1;
|
|
3577
|
+
* @return {number}
|
|
3578
|
+
*/
|
|
3579
|
+
proto.realtimemessageapi.BulkPaymentSummary.prototype.getBulkpaymentid = function() {
|
|
3580
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
3581
|
+
};
|
|
3582
|
+
|
|
3583
|
+
|
|
3584
|
+
/** @param {number} value */
|
|
3585
|
+
proto.realtimemessageapi.BulkPaymentSummary.prototype.setBulkpaymentid = function(value) {
|
|
3586
|
+
jspb.Message.setField(this, 1, value);
|
|
3587
|
+
};
|
|
3588
|
+
|
|
3589
|
+
|
|
3590
|
+
/**
|
|
3591
|
+
* repeated BulkPaymentTaskSummary tasks = 2;
|
|
3592
|
+
* If you change this array by adding, removing or replacing elements, or if you
|
|
3593
|
+
* replace the array itself, then you must call the setter to update it.
|
|
3594
|
+
* @return {!Array.<!proto.realtimemessageapi.BulkPaymentTaskSummary>}
|
|
3595
|
+
*/
|
|
3596
|
+
proto.realtimemessageapi.BulkPaymentSummary.prototype.getTasksList = function() {
|
|
3597
|
+
return /** @type{!Array.<!proto.realtimemessageapi.BulkPaymentTaskSummary>} */ (
|
|
3598
|
+
jspb.Message.getRepeatedWrapperField(this, proto.realtimemessageapi.BulkPaymentTaskSummary, 2));
|
|
3599
|
+
};
|
|
3600
|
+
|
|
3601
|
+
|
|
3602
|
+
/** @param {Array.<!proto.realtimemessageapi.BulkPaymentTaskSummary>} value */
|
|
3603
|
+
proto.realtimemessageapi.BulkPaymentSummary.prototype.setTasksList = function(value) {
|
|
3604
|
+
jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
3605
|
+
};
|
|
3606
|
+
|
|
3607
|
+
|
|
3608
|
+
proto.realtimemessageapi.BulkPaymentSummary.prototype.clearTasksList = function() {
|
|
3609
|
+
this.setTasksList([]);
|
|
3610
|
+
};
|
|
3611
|
+
|
|
3612
|
+
|
|
3613
|
+
|
|
3614
|
+
/**
|
|
3615
|
+
* Generated by JsPbCodeGenerator.
|
|
3616
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3617
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3618
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3619
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3620
|
+
* valid.
|
|
3621
|
+
* @extends {jspb.Message}
|
|
3622
|
+
* @constructor
|
|
3623
|
+
*/
|
|
3624
|
+
proto.realtimemessageapi.BulkPaymentTaskSummary = function(opt_data) {
|
|
3625
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3626
|
+
};
|
|
3627
|
+
goog.inherits(proto.realtimemessageapi.BulkPaymentTaskSummary, jspb.Message);
|
|
3628
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3629
|
+
proto.realtimemessageapi.BulkPaymentTaskSummary.displayName = 'proto.realtimemessageapi.BulkPaymentTaskSummary';
|
|
3630
|
+
}
|
|
3631
|
+
|
|
3632
|
+
|
|
3633
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3634
|
+
/**
|
|
3635
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
3636
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3637
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3638
|
+
* For the list of reserved names please see:
|
|
3639
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
3640
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
3641
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
3642
|
+
* @return {!Object}
|
|
3643
|
+
*/
|
|
3644
|
+
proto.realtimemessageapi.BulkPaymentTaskSummary.prototype.toObject = function(opt_includeInstance) {
|
|
3645
|
+
return proto.realtimemessageapi.BulkPaymentTaskSummary.toObject(opt_includeInstance, this);
|
|
3646
|
+
};
|
|
3647
|
+
|
|
3648
|
+
|
|
3649
|
+
/**
|
|
3650
|
+
* Static version of the {@see toObject} method.
|
|
3651
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
3652
|
+
* instance for transitional soy proto support:
|
|
3653
|
+
* http://goto/soy-param-migration
|
|
3654
|
+
* @param {!proto.realtimemessageapi.BulkPaymentTaskSummary} msg The msg instance to transform.
|
|
3655
|
+
* @return {!Object}
|
|
3656
|
+
*/
|
|
3657
|
+
proto.realtimemessageapi.BulkPaymentTaskSummary.toObject = function(includeInstance, msg) {
|
|
3658
|
+
var f, obj = {
|
|
3659
|
+
taskid: msg.getTaskid(),
|
|
3660
|
+
billid: msg.getBillid(),
|
|
3661
|
+
amount: msg.getAmount(),
|
|
3662
|
+
status: msg.getStatus()
|
|
3663
|
+
};
|
|
3664
|
+
|
|
3665
|
+
if (includeInstance) {
|
|
3666
|
+
obj.$jspbMessageInstance = msg;
|
|
3667
|
+
}
|
|
3668
|
+
return obj;
|
|
3669
|
+
};
|
|
3670
|
+
}
|
|
3671
|
+
|
|
3672
|
+
|
|
3673
|
+
/**
|
|
3674
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3675
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3676
|
+
* @return {!proto.realtimemessageapi.BulkPaymentTaskSummary}
|
|
3677
|
+
*/
|
|
3678
|
+
proto.realtimemessageapi.BulkPaymentTaskSummary.deserializeBinary = function(bytes) {
|
|
3679
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3680
|
+
var msg = new proto.realtimemessageapi.BulkPaymentTaskSummary;
|
|
3681
|
+
return proto.realtimemessageapi.BulkPaymentTaskSummary.deserializeBinaryFromReader(msg, reader);
|
|
3682
|
+
};
|
|
3683
|
+
|
|
3684
|
+
|
|
3685
|
+
/**
|
|
3686
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3687
|
+
* given reader into the given message object.
|
|
3688
|
+
* @param {!proto.realtimemessageapi.BulkPaymentTaskSummary} msg The message object to deserialize into.
|
|
3689
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3690
|
+
* @return {!proto.realtimemessageapi.BulkPaymentTaskSummary}
|
|
3691
|
+
*/
|
|
3692
|
+
proto.realtimemessageapi.BulkPaymentTaskSummary.deserializeBinaryFromReader = function(msg, reader) {
|
|
3693
|
+
while (reader.nextField()) {
|
|
3694
|
+
if (reader.isEndGroup()) {
|
|
3695
|
+
break;
|
|
3696
|
+
}
|
|
3697
|
+
var field = reader.getFieldNumber();
|
|
3698
|
+
switch (field) {
|
|
3699
|
+
case 1:
|
|
3700
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3701
|
+
msg.setTaskid(value);
|
|
3702
|
+
break;
|
|
3703
|
+
case 2:
|
|
3704
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3705
|
+
msg.setBillid(value);
|
|
3706
|
+
break;
|
|
3707
|
+
case 3:
|
|
3708
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
3709
|
+
msg.setAmount(value);
|
|
3710
|
+
break;
|
|
3711
|
+
case 4:
|
|
3712
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3713
|
+
msg.setStatus(value);
|
|
3714
|
+
break;
|
|
3715
|
+
default:
|
|
3716
|
+
reader.skipField();
|
|
3717
|
+
break;
|
|
3718
|
+
}
|
|
3719
|
+
}
|
|
3720
|
+
return msg;
|
|
3721
|
+
};
|
|
3722
|
+
|
|
3723
|
+
|
|
3724
|
+
/**
|
|
3725
|
+
* Class method variant: serializes the given message to binary data
|
|
3726
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
3727
|
+
* @param {!proto.realtimemessageapi.BulkPaymentTaskSummary} message
|
|
3728
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3729
|
+
*/
|
|
3730
|
+
proto.realtimemessageapi.BulkPaymentTaskSummary.serializeBinaryToWriter = function(message, writer) {
|
|
3731
|
+
message.serializeBinaryToWriter(writer);
|
|
3732
|
+
};
|
|
3733
|
+
|
|
3734
|
+
|
|
3735
|
+
/**
|
|
3736
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3737
|
+
* @return {!Uint8Array}
|
|
3738
|
+
*/
|
|
3739
|
+
proto.realtimemessageapi.BulkPaymentTaskSummary.prototype.serializeBinary = function() {
|
|
3740
|
+
var writer = new jspb.BinaryWriter();
|
|
3741
|
+
this.serializeBinaryToWriter(writer);
|
|
3742
|
+
return writer.getResultBuffer();
|
|
3743
|
+
};
|
|
3744
|
+
|
|
3745
|
+
|
|
3746
|
+
/**
|
|
3747
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
3748
|
+
* writing to the given BinaryWriter.
|
|
3749
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3750
|
+
*/
|
|
3751
|
+
proto.realtimemessageapi.BulkPaymentTaskSummary.prototype.serializeBinaryToWriter = function (writer) {
|
|
3752
|
+
var f = undefined;
|
|
3753
|
+
f = this.getTaskid();
|
|
3754
|
+
if (f !== 0) {
|
|
3755
|
+
writer.writeInt64(
|
|
3756
|
+
1,
|
|
3757
|
+
f
|
|
3758
|
+
);
|
|
3759
|
+
}
|
|
3760
|
+
f = this.getBillid();
|
|
3761
|
+
if (f !== 0) {
|
|
3762
|
+
writer.writeInt64(
|
|
3763
|
+
2,
|
|
3764
|
+
f
|
|
3765
|
+
);
|
|
3766
|
+
}
|
|
3767
|
+
f = this.getAmount();
|
|
3768
|
+
if (f !== 0.0) {
|
|
3769
|
+
writer.writeDouble(
|
|
3770
|
+
3,
|
|
3771
|
+
f
|
|
3772
|
+
);
|
|
3773
|
+
}
|
|
3774
|
+
f = this.getStatus();
|
|
3775
|
+
if (f.length > 0) {
|
|
3776
|
+
writer.writeString(
|
|
3777
|
+
4,
|
|
3778
|
+
f
|
|
3779
|
+
);
|
|
3780
|
+
}
|
|
3781
|
+
};
|
|
3782
|
+
|
|
3783
|
+
|
|
3784
|
+
/**
|
|
3785
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
3786
|
+
* @return {!proto.realtimemessageapi.BulkPaymentTaskSummary} The clone.
|
|
3787
|
+
*/
|
|
3788
|
+
proto.realtimemessageapi.BulkPaymentTaskSummary.prototype.cloneMessage = function() {
|
|
3789
|
+
return /** @type {!proto.realtimemessageapi.BulkPaymentTaskSummary} */ (jspb.Message.cloneMessage(this));
|
|
3790
|
+
};
|
|
3791
|
+
|
|
3792
|
+
|
|
3793
|
+
/**
|
|
3794
|
+
* optional int64 taskId = 1;
|
|
3795
|
+
* @return {number}
|
|
3796
|
+
*/
|
|
3797
|
+
proto.realtimemessageapi.BulkPaymentTaskSummary.prototype.getTaskid = function() {
|
|
3798
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
3799
|
+
};
|
|
3800
|
+
|
|
3801
|
+
|
|
3802
|
+
/** @param {number} value */
|
|
3803
|
+
proto.realtimemessageapi.BulkPaymentTaskSummary.prototype.setTaskid = function(value) {
|
|
3804
|
+
jspb.Message.setField(this, 1, value);
|
|
3805
|
+
};
|
|
3806
|
+
|
|
3807
|
+
|
|
3808
|
+
/**
|
|
3809
|
+
* optional int64 billId = 2;
|
|
3810
|
+
* @return {number}
|
|
3811
|
+
*/
|
|
3812
|
+
proto.realtimemessageapi.BulkPaymentTaskSummary.prototype.getBillid = function() {
|
|
3813
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
3814
|
+
};
|
|
3815
|
+
|
|
3816
|
+
|
|
3817
|
+
/** @param {number} value */
|
|
3818
|
+
proto.realtimemessageapi.BulkPaymentTaskSummary.prototype.setBillid = function(value) {
|
|
3819
|
+
jspb.Message.setField(this, 2, value);
|
|
3820
|
+
};
|
|
3821
|
+
|
|
3822
|
+
|
|
3823
|
+
/**
|
|
3824
|
+
* optional double amount = 3;
|
|
3825
|
+
* @return {number}
|
|
3826
|
+
*/
|
|
3827
|
+
proto.realtimemessageapi.BulkPaymentTaskSummary.prototype.getAmount = function() {
|
|
3828
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
|
|
3829
|
+
};
|
|
3830
|
+
|
|
3831
|
+
|
|
3832
|
+
/** @param {number} value */
|
|
3833
|
+
proto.realtimemessageapi.BulkPaymentTaskSummary.prototype.setAmount = function(value) {
|
|
3834
|
+
jspb.Message.setField(this, 3, value);
|
|
3835
|
+
};
|
|
3836
|
+
|
|
3837
|
+
|
|
3838
|
+
/**
|
|
3839
|
+
* optional string status = 4;
|
|
3840
|
+
* @return {string}
|
|
3841
|
+
*/
|
|
3842
|
+
proto.realtimemessageapi.BulkPaymentTaskSummary.prototype.getStatus = function() {
|
|
3843
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
3844
|
+
};
|
|
3845
|
+
|
|
3846
|
+
|
|
3847
|
+
/** @param {string} value */
|
|
3848
|
+
proto.realtimemessageapi.BulkPaymentTaskSummary.prototype.setStatus = function(value) {
|
|
3849
|
+
jspb.Message.setField(this, 4, value);
|
|
3850
|
+
};
|
|
3851
|
+
|
|
3852
|
+
|
|
2786
3853
|
/**
|
|
2787
3854
|
* @enum {number}
|
|
2788
3855
|
*/
|