@sniipwebmaster/biller-service-client-grpcweb 21.11.3751 → 21.11.3772
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.
|
@@ -2180,6 +2180,61 @@ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.notifyCustomer
|
|
|
2180
2180
|
};
|
|
2181
2181
|
|
|
2182
2182
|
|
|
2183
|
+
/**
|
|
2184
|
+
* @const
|
|
2185
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
2186
|
+
* !proto.sniipbillerapi.SearchBillersRequest,
|
|
2187
|
+
* !proto.sniipbillerapi.SearchBillersResponse>}
|
|
2188
|
+
*/
|
|
2189
|
+
const methodInfo_SniipBillerAPIService_SearchBillers = new grpc.web.AbstractClientBase.MethodInfo(
|
|
2190
|
+
proto.sniipbillerapi.SearchBillersResponse,
|
|
2191
|
+
/** @param {!proto.sniipbillerapi.SearchBillersRequest} request */
|
|
2192
|
+
function(request) {
|
|
2193
|
+
return request.serializeBinary();
|
|
2194
|
+
},
|
|
2195
|
+
proto.sniipbillerapi.SearchBillersResponse.deserializeBinary
|
|
2196
|
+
);
|
|
2197
|
+
|
|
2198
|
+
|
|
2199
|
+
/**
|
|
2200
|
+
* @param {!proto.sniipbillerapi.SearchBillersRequest} request The
|
|
2201
|
+
* request proto
|
|
2202
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2203
|
+
* call metadata
|
|
2204
|
+
* @param {function(?grpc.web.Error, ?proto.sniipbillerapi.SearchBillersResponse)}
|
|
2205
|
+
* callback The callback function(error, response)
|
|
2206
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipbillerapi.SearchBillersResponse>|undefined}
|
|
2207
|
+
* The XHR Node Readable Stream
|
|
2208
|
+
*/
|
|
2209
|
+
proto.sniipbillerapi.SniipBillerAPIServiceClient.prototype.searchBillers =
|
|
2210
|
+
function(request, metadata, callback) {
|
|
2211
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2212
|
+
'/sniipbillerapi.SniipBillerAPIService/SearchBillers',
|
|
2213
|
+
request,
|
|
2214
|
+
metadata || {},
|
|
2215
|
+
methodInfo_SniipBillerAPIService_SearchBillers,
|
|
2216
|
+
callback);
|
|
2217
|
+
};
|
|
2218
|
+
|
|
2219
|
+
|
|
2220
|
+
/**
|
|
2221
|
+
* @param {!proto.sniipbillerapi.SearchBillersRequest} request The
|
|
2222
|
+
* request proto
|
|
2223
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2224
|
+
* call metadata
|
|
2225
|
+
* @return {!Promise<!proto.sniipbillerapi.SearchBillersResponse>}
|
|
2226
|
+
* A native promise that resolves to the response
|
|
2227
|
+
*/
|
|
2228
|
+
proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.searchBillers =
|
|
2229
|
+
function(request, metadata) {
|
|
2230
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2231
|
+
'/sniipbillerapi.SniipBillerAPIService/SearchBillers',
|
|
2232
|
+
request,
|
|
2233
|
+
metadata || {},
|
|
2234
|
+
methodInfo_SniipBillerAPIService_SearchBillers);
|
|
2235
|
+
};
|
|
2236
|
+
|
|
2237
|
+
|
|
2183
2238
|
/**
|
|
2184
2239
|
* @const
|
|
2185
2240
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -101,6 +101,8 @@ goog.exportSymbol('proto.sniipbillerapi.QRCodeConfig', null, global);
|
|
|
101
101
|
goog.exportSymbol('proto.sniipbillerapi.QRCodeConfigRoot', null, global);
|
|
102
102
|
goog.exportSymbol('proto.sniipbillerapi.ReportRecipient', null, global);
|
|
103
103
|
goog.exportSymbol('proto.sniipbillerapi.ResponseCode', null, global);
|
|
104
|
+
goog.exportSymbol('proto.sniipbillerapi.SearchBillersRequest', null, global);
|
|
105
|
+
goog.exportSymbol('proto.sniipbillerapi.SearchBillersResponse', null, global);
|
|
104
106
|
goog.exportSymbol('proto.sniipbillerapi.SetBillerAbnRequest', null, global);
|
|
105
107
|
goog.exportSymbol('proto.sniipbillerapi.SetBillerAddressRequest', null, global);
|
|
106
108
|
goog.exportSymbol('proto.sniipbillerapi.SetBillerContactDetailsRequest', null, global);
|
|
@@ -4589,7 +4591,9 @@ proto.sniipbillerapi.Biller.toObject = function(includeInstance, msg) {
|
|
|
4589
4591
|
donationmessage2: msg.getDonationmessage2(),
|
|
4590
4592
|
donationmessage3: msg.getDonationmessage3(),
|
|
4591
4593
|
graceperiod: msg.getGraceperiod(),
|
|
4592
|
-
description: msg.getDescription()
|
|
4594
|
+
description: msg.getDescription(),
|
|
4595
|
+
primaryaddress: (f = msg.getPrimaryaddress()) && proto.sniipbillerapi.AddressResponse.toObject(includeInstance, f),
|
|
4596
|
+
contactphone: msg.getContactphone()
|
|
4593
4597
|
};
|
|
4594
4598
|
|
|
4595
4599
|
if (includeInstance) {
|
|
@@ -4695,6 +4699,15 @@ proto.sniipbillerapi.Biller.deserializeBinaryFromReader = function(msg, reader)
|
|
|
4695
4699
|
var value = /** @type {string} */ (reader.readString());
|
|
4696
4700
|
msg.setDescription(value);
|
|
4697
4701
|
break;
|
|
4702
|
+
case 17:
|
|
4703
|
+
var value = new proto.sniipbillerapi.AddressResponse;
|
|
4704
|
+
reader.readMessage(value,proto.sniipbillerapi.AddressResponse.deserializeBinaryFromReader);
|
|
4705
|
+
msg.setPrimaryaddress(value);
|
|
4706
|
+
break;
|
|
4707
|
+
case 18:
|
|
4708
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4709
|
+
msg.setContactphone(value);
|
|
4710
|
+
break;
|
|
4698
4711
|
default:
|
|
4699
4712
|
reader.skipField();
|
|
4700
4713
|
break;
|
|
@@ -4848,6 +4861,21 @@ proto.sniipbillerapi.Biller.prototype.serializeBinaryToWriter = function (writer
|
|
|
4848
4861
|
f
|
|
4849
4862
|
);
|
|
4850
4863
|
}
|
|
4864
|
+
f = this.getPrimaryaddress();
|
|
4865
|
+
if (f != null) {
|
|
4866
|
+
writer.writeMessage(
|
|
4867
|
+
17,
|
|
4868
|
+
f,
|
|
4869
|
+
proto.sniipbillerapi.AddressResponse.serializeBinaryToWriter
|
|
4870
|
+
);
|
|
4871
|
+
}
|
|
4872
|
+
f = this.getContactphone();
|
|
4873
|
+
if (f.length > 0) {
|
|
4874
|
+
writer.writeString(
|
|
4875
|
+
18,
|
|
4876
|
+
f
|
|
4877
|
+
);
|
|
4878
|
+
}
|
|
4851
4879
|
};
|
|
4852
4880
|
|
|
4853
4881
|
|
|
@@ -5133,6 +5161,51 @@ proto.sniipbillerapi.Biller.prototype.setDescription = function(value) {
|
|
|
5133
5161
|
};
|
|
5134
5162
|
|
|
5135
5163
|
|
|
5164
|
+
/**
|
|
5165
|
+
* optional AddressResponse primaryAddress = 17;
|
|
5166
|
+
* @return {proto.sniipbillerapi.AddressResponse}
|
|
5167
|
+
*/
|
|
5168
|
+
proto.sniipbillerapi.Biller.prototype.getPrimaryaddress = function() {
|
|
5169
|
+
return /** @type{proto.sniipbillerapi.AddressResponse} */ (
|
|
5170
|
+
jspb.Message.getWrapperField(this, proto.sniipbillerapi.AddressResponse, 17));
|
|
5171
|
+
};
|
|
5172
|
+
|
|
5173
|
+
|
|
5174
|
+
/** @param {proto.sniipbillerapi.AddressResponse|undefined} value */
|
|
5175
|
+
proto.sniipbillerapi.Biller.prototype.setPrimaryaddress = function(value) {
|
|
5176
|
+
jspb.Message.setWrapperField(this, 17, value);
|
|
5177
|
+
};
|
|
5178
|
+
|
|
5179
|
+
|
|
5180
|
+
proto.sniipbillerapi.Biller.prototype.clearPrimaryaddress = function() {
|
|
5181
|
+
this.setPrimaryaddress(undefined);
|
|
5182
|
+
};
|
|
5183
|
+
|
|
5184
|
+
|
|
5185
|
+
/**
|
|
5186
|
+
* Returns whether this field is set.
|
|
5187
|
+
* @return{!boolean}
|
|
5188
|
+
*/
|
|
5189
|
+
proto.sniipbillerapi.Biller.prototype.hasPrimaryaddress = function() {
|
|
5190
|
+
return jspb.Message.getField(this, 17) != null;
|
|
5191
|
+
};
|
|
5192
|
+
|
|
5193
|
+
|
|
5194
|
+
/**
|
|
5195
|
+
* optional string contactPhone = 18;
|
|
5196
|
+
* @return {string}
|
|
5197
|
+
*/
|
|
5198
|
+
proto.sniipbillerapi.Biller.prototype.getContactphone = function() {
|
|
5199
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 18, ""));
|
|
5200
|
+
};
|
|
5201
|
+
|
|
5202
|
+
|
|
5203
|
+
/** @param {string} value */
|
|
5204
|
+
proto.sniipbillerapi.Biller.prototype.setContactphone = function(value) {
|
|
5205
|
+
jspb.Message.setField(this, 18, value);
|
|
5206
|
+
};
|
|
5207
|
+
|
|
5208
|
+
|
|
5136
5209
|
|
|
5137
5210
|
/**
|
|
5138
5211
|
* Generated by JsPbCodeGenerator.
|
|
@@ -21612,6 +21685,414 @@ proto.sniipbillerapi.ResponseCode.prototype.setMessage = function(value) {
|
|
|
21612
21685
|
|
|
21613
21686
|
|
|
21614
21687
|
|
|
21688
|
+
/**
|
|
21689
|
+
* Generated by JsPbCodeGenerator.
|
|
21690
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
21691
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
21692
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
21693
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
21694
|
+
* valid.
|
|
21695
|
+
* @extends {jspb.Message}
|
|
21696
|
+
* @constructor
|
|
21697
|
+
*/
|
|
21698
|
+
proto.sniipbillerapi.SearchBillersRequest = function(opt_data) {
|
|
21699
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
21700
|
+
};
|
|
21701
|
+
goog.inherits(proto.sniipbillerapi.SearchBillersRequest, jspb.Message);
|
|
21702
|
+
if (goog.DEBUG && !COMPILED) {
|
|
21703
|
+
proto.sniipbillerapi.SearchBillersRequest.displayName = 'proto.sniipbillerapi.SearchBillersRequest';
|
|
21704
|
+
}
|
|
21705
|
+
|
|
21706
|
+
|
|
21707
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21708
|
+
/**
|
|
21709
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
21710
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21711
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21712
|
+
* For the list of reserved names please see:
|
|
21713
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
21714
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
21715
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
21716
|
+
* @return {!Object}
|
|
21717
|
+
*/
|
|
21718
|
+
proto.sniipbillerapi.SearchBillersRequest.prototype.toObject = function(opt_includeInstance) {
|
|
21719
|
+
return proto.sniipbillerapi.SearchBillersRequest.toObject(opt_includeInstance, this);
|
|
21720
|
+
};
|
|
21721
|
+
|
|
21722
|
+
|
|
21723
|
+
/**
|
|
21724
|
+
* Static version of the {@see toObject} method.
|
|
21725
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
21726
|
+
* instance for transitional soy proto support:
|
|
21727
|
+
* http://goto/soy-param-migration
|
|
21728
|
+
* @param {!proto.sniipbillerapi.SearchBillersRequest} msg The msg instance to transform.
|
|
21729
|
+
* @return {!Object}
|
|
21730
|
+
*/
|
|
21731
|
+
proto.sniipbillerapi.SearchBillersRequest.toObject = function(includeInstance, msg) {
|
|
21732
|
+
var f, obj = {
|
|
21733
|
+
query: msg.getQuery()
|
|
21734
|
+
};
|
|
21735
|
+
|
|
21736
|
+
if (includeInstance) {
|
|
21737
|
+
obj.$jspbMessageInstance = msg;
|
|
21738
|
+
}
|
|
21739
|
+
return obj;
|
|
21740
|
+
};
|
|
21741
|
+
}
|
|
21742
|
+
|
|
21743
|
+
|
|
21744
|
+
/**
|
|
21745
|
+
* Deserializes binary data (in protobuf wire format).
|
|
21746
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21747
|
+
* @return {!proto.sniipbillerapi.SearchBillersRequest}
|
|
21748
|
+
*/
|
|
21749
|
+
proto.sniipbillerapi.SearchBillersRequest.deserializeBinary = function(bytes) {
|
|
21750
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
21751
|
+
var msg = new proto.sniipbillerapi.SearchBillersRequest;
|
|
21752
|
+
return proto.sniipbillerapi.SearchBillersRequest.deserializeBinaryFromReader(msg, reader);
|
|
21753
|
+
};
|
|
21754
|
+
|
|
21755
|
+
|
|
21756
|
+
/**
|
|
21757
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
21758
|
+
* given reader into the given message object.
|
|
21759
|
+
* @param {!proto.sniipbillerapi.SearchBillersRequest} msg The message object to deserialize into.
|
|
21760
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21761
|
+
* @return {!proto.sniipbillerapi.SearchBillersRequest}
|
|
21762
|
+
*/
|
|
21763
|
+
proto.sniipbillerapi.SearchBillersRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
21764
|
+
while (reader.nextField()) {
|
|
21765
|
+
if (reader.isEndGroup()) {
|
|
21766
|
+
break;
|
|
21767
|
+
}
|
|
21768
|
+
var field = reader.getFieldNumber();
|
|
21769
|
+
switch (field) {
|
|
21770
|
+
case 1:
|
|
21771
|
+
var value = /** @type {string} */ (reader.readString());
|
|
21772
|
+
msg.setQuery(value);
|
|
21773
|
+
break;
|
|
21774
|
+
default:
|
|
21775
|
+
reader.skipField();
|
|
21776
|
+
break;
|
|
21777
|
+
}
|
|
21778
|
+
}
|
|
21779
|
+
return msg;
|
|
21780
|
+
};
|
|
21781
|
+
|
|
21782
|
+
|
|
21783
|
+
/**
|
|
21784
|
+
* Class method variant: serializes the given message to binary data
|
|
21785
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
21786
|
+
* @param {!proto.sniipbillerapi.SearchBillersRequest} message
|
|
21787
|
+
* @param {!jspb.BinaryWriter} writer
|
|
21788
|
+
*/
|
|
21789
|
+
proto.sniipbillerapi.SearchBillersRequest.serializeBinaryToWriter = function(message, writer) {
|
|
21790
|
+
message.serializeBinaryToWriter(writer);
|
|
21791
|
+
};
|
|
21792
|
+
|
|
21793
|
+
|
|
21794
|
+
/**
|
|
21795
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
21796
|
+
* @return {!Uint8Array}
|
|
21797
|
+
*/
|
|
21798
|
+
proto.sniipbillerapi.SearchBillersRequest.prototype.serializeBinary = function() {
|
|
21799
|
+
var writer = new jspb.BinaryWriter();
|
|
21800
|
+
this.serializeBinaryToWriter(writer);
|
|
21801
|
+
return writer.getResultBuffer();
|
|
21802
|
+
};
|
|
21803
|
+
|
|
21804
|
+
|
|
21805
|
+
/**
|
|
21806
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
21807
|
+
* writing to the given BinaryWriter.
|
|
21808
|
+
* @param {!jspb.BinaryWriter} writer
|
|
21809
|
+
*/
|
|
21810
|
+
proto.sniipbillerapi.SearchBillersRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
21811
|
+
var f = undefined;
|
|
21812
|
+
f = this.getQuery();
|
|
21813
|
+
if (f.length > 0) {
|
|
21814
|
+
writer.writeString(
|
|
21815
|
+
1,
|
|
21816
|
+
f
|
|
21817
|
+
);
|
|
21818
|
+
}
|
|
21819
|
+
};
|
|
21820
|
+
|
|
21821
|
+
|
|
21822
|
+
/**
|
|
21823
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
21824
|
+
* @return {!proto.sniipbillerapi.SearchBillersRequest} The clone.
|
|
21825
|
+
*/
|
|
21826
|
+
proto.sniipbillerapi.SearchBillersRequest.prototype.cloneMessage = function() {
|
|
21827
|
+
return /** @type {!proto.sniipbillerapi.SearchBillersRequest} */ (jspb.Message.cloneMessage(this));
|
|
21828
|
+
};
|
|
21829
|
+
|
|
21830
|
+
|
|
21831
|
+
/**
|
|
21832
|
+
* optional string query = 1;
|
|
21833
|
+
* @return {string}
|
|
21834
|
+
*/
|
|
21835
|
+
proto.sniipbillerapi.SearchBillersRequest.prototype.getQuery = function() {
|
|
21836
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
|
|
21837
|
+
};
|
|
21838
|
+
|
|
21839
|
+
|
|
21840
|
+
/** @param {string} value */
|
|
21841
|
+
proto.sniipbillerapi.SearchBillersRequest.prototype.setQuery = function(value) {
|
|
21842
|
+
jspb.Message.setField(this, 1, value);
|
|
21843
|
+
};
|
|
21844
|
+
|
|
21845
|
+
|
|
21846
|
+
|
|
21847
|
+
/**
|
|
21848
|
+
* Generated by JsPbCodeGenerator.
|
|
21849
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
21850
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
21851
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
21852
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
21853
|
+
* valid.
|
|
21854
|
+
* @extends {jspb.Message}
|
|
21855
|
+
* @constructor
|
|
21856
|
+
*/
|
|
21857
|
+
proto.sniipbillerapi.SearchBillersResponse = function(opt_data) {
|
|
21858
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillerapi.SearchBillersResponse.repeatedFields_, null);
|
|
21859
|
+
};
|
|
21860
|
+
goog.inherits(proto.sniipbillerapi.SearchBillersResponse, jspb.Message);
|
|
21861
|
+
if (goog.DEBUG && !COMPILED) {
|
|
21862
|
+
proto.sniipbillerapi.SearchBillersResponse.displayName = 'proto.sniipbillerapi.SearchBillersResponse';
|
|
21863
|
+
}
|
|
21864
|
+
/**
|
|
21865
|
+
* List of repeated fields within this message type.
|
|
21866
|
+
* @private {!Array<number>}
|
|
21867
|
+
* @const
|
|
21868
|
+
*/
|
|
21869
|
+
proto.sniipbillerapi.SearchBillersResponse.repeatedFields_ = [2];
|
|
21870
|
+
|
|
21871
|
+
|
|
21872
|
+
|
|
21873
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21874
|
+
/**
|
|
21875
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
21876
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21877
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21878
|
+
* For the list of reserved names please see:
|
|
21879
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
21880
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
21881
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
21882
|
+
* @return {!Object}
|
|
21883
|
+
*/
|
|
21884
|
+
proto.sniipbillerapi.SearchBillersResponse.prototype.toObject = function(opt_includeInstance) {
|
|
21885
|
+
return proto.sniipbillerapi.SearchBillersResponse.toObject(opt_includeInstance, this);
|
|
21886
|
+
};
|
|
21887
|
+
|
|
21888
|
+
|
|
21889
|
+
/**
|
|
21890
|
+
* Static version of the {@see toObject} method.
|
|
21891
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
21892
|
+
* instance for transitional soy proto support:
|
|
21893
|
+
* http://goto/soy-param-migration
|
|
21894
|
+
* @param {!proto.sniipbillerapi.SearchBillersResponse} msg The msg instance to transform.
|
|
21895
|
+
* @return {!Object}
|
|
21896
|
+
*/
|
|
21897
|
+
proto.sniipbillerapi.SearchBillersResponse.toObject = function(includeInstance, msg) {
|
|
21898
|
+
var f, obj = {
|
|
21899
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipbillerapi.ResponseCode.toObject(includeInstance, f),
|
|
21900
|
+
billersList: jspb.Message.toObjectList(msg.getBillersList(),
|
|
21901
|
+
proto.sniipbillerapi.Biller.toObject, includeInstance),
|
|
21902
|
+
totalcount: msg.getTotalcount()
|
|
21903
|
+
};
|
|
21904
|
+
|
|
21905
|
+
if (includeInstance) {
|
|
21906
|
+
obj.$jspbMessageInstance = msg;
|
|
21907
|
+
}
|
|
21908
|
+
return obj;
|
|
21909
|
+
};
|
|
21910
|
+
}
|
|
21911
|
+
|
|
21912
|
+
|
|
21913
|
+
/**
|
|
21914
|
+
* Deserializes binary data (in protobuf wire format).
|
|
21915
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21916
|
+
* @return {!proto.sniipbillerapi.SearchBillersResponse}
|
|
21917
|
+
*/
|
|
21918
|
+
proto.sniipbillerapi.SearchBillersResponse.deserializeBinary = function(bytes) {
|
|
21919
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
21920
|
+
var msg = new proto.sniipbillerapi.SearchBillersResponse;
|
|
21921
|
+
return proto.sniipbillerapi.SearchBillersResponse.deserializeBinaryFromReader(msg, reader);
|
|
21922
|
+
};
|
|
21923
|
+
|
|
21924
|
+
|
|
21925
|
+
/**
|
|
21926
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
21927
|
+
* given reader into the given message object.
|
|
21928
|
+
* @param {!proto.sniipbillerapi.SearchBillersResponse} msg The message object to deserialize into.
|
|
21929
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21930
|
+
* @return {!proto.sniipbillerapi.SearchBillersResponse}
|
|
21931
|
+
*/
|
|
21932
|
+
proto.sniipbillerapi.SearchBillersResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
21933
|
+
while (reader.nextField()) {
|
|
21934
|
+
if (reader.isEndGroup()) {
|
|
21935
|
+
break;
|
|
21936
|
+
}
|
|
21937
|
+
var field = reader.getFieldNumber();
|
|
21938
|
+
switch (field) {
|
|
21939
|
+
case 1:
|
|
21940
|
+
var value = new proto.sniipbillerapi.ResponseCode;
|
|
21941
|
+
reader.readMessage(value,proto.sniipbillerapi.ResponseCode.deserializeBinaryFromReader);
|
|
21942
|
+
msg.setResponsecode(value);
|
|
21943
|
+
break;
|
|
21944
|
+
case 2:
|
|
21945
|
+
var value = new proto.sniipbillerapi.Biller;
|
|
21946
|
+
reader.readMessage(value,proto.sniipbillerapi.Biller.deserializeBinaryFromReader);
|
|
21947
|
+
msg.getBillersList().push(value);
|
|
21948
|
+
msg.setBillersList(msg.getBillersList());
|
|
21949
|
+
break;
|
|
21950
|
+
case 3:
|
|
21951
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21952
|
+
msg.setTotalcount(value);
|
|
21953
|
+
break;
|
|
21954
|
+
default:
|
|
21955
|
+
reader.skipField();
|
|
21956
|
+
break;
|
|
21957
|
+
}
|
|
21958
|
+
}
|
|
21959
|
+
return msg;
|
|
21960
|
+
};
|
|
21961
|
+
|
|
21962
|
+
|
|
21963
|
+
/**
|
|
21964
|
+
* Class method variant: serializes the given message to binary data
|
|
21965
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
21966
|
+
* @param {!proto.sniipbillerapi.SearchBillersResponse} message
|
|
21967
|
+
* @param {!jspb.BinaryWriter} writer
|
|
21968
|
+
*/
|
|
21969
|
+
proto.sniipbillerapi.SearchBillersResponse.serializeBinaryToWriter = function(message, writer) {
|
|
21970
|
+
message.serializeBinaryToWriter(writer);
|
|
21971
|
+
};
|
|
21972
|
+
|
|
21973
|
+
|
|
21974
|
+
/**
|
|
21975
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
21976
|
+
* @return {!Uint8Array}
|
|
21977
|
+
*/
|
|
21978
|
+
proto.sniipbillerapi.SearchBillersResponse.prototype.serializeBinary = function() {
|
|
21979
|
+
var writer = new jspb.BinaryWriter();
|
|
21980
|
+
this.serializeBinaryToWriter(writer);
|
|
21981
|
+
return writer.getResultBuffer();
|
|
21982
|
+
};
|
|
21983
|
+
|
|
21984
|
+
|
|
21985
|
+
/**
|
|
21986
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
21987
|
+
* writing to the given BinaryWriter.
|
|
21988
|
+
* @param {!jspb.BinaryWriter} writer
|
|
21989
|
+
*/
|
|
21990
|
+
proto.sniipbillerapi.SearchBillersResponse.prototype.serializeBinaryToWriter = function (writer) {
|
|
21991
|
+
var f = undefined;
|
|
21992
|
+
f = this.getResponsecode();
|
|
21993
|
+
if (f != null) {
|
|
21994
|
+
writer.writeMessage(
|
|
21995
|
+
1,
|
|
21996
|
+
f,
|
|
21997
|
+
proto.sniipbillerapi.ResponseCode.serializeBinaryToWriter
|
|
21998
|
+
);
|
|
21999
|
+
}
|
|
22000
|
+
f = this.getBillersList();
|
|
22001
|
+
if (f.length > 0) {
|
|
22002
|
+
writer.writeRepeatedMessage(
|
|
22003
|
+
2,
|
|
22004
|
+
f,
|
|
22005
|
+
proto.sniipbillerapi.Biller.serializeBinaryToWriter
|
|
22006
|
+
);
|
|
22007
|
+
}
|
|
22008
|
+
f = this.getTotalcount();
|
|
22009
|
+
if (f !== 0) {
|
|
22010
|
+
writer.writeInt32(
|
|
22011
|
+
3,
|
|
22012
|
+
f
|
|
22013
|
+
);
|
|
22014
|
+
}
|
|
22015
|
+
};
|
|
22016
|
+
|
|
22017
|
+
|
|
22018
|
+
/**
|
|
22019
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
22020
|
+
* @return {!proto.sniipbillerapi.SearchBillersResponse} The clone.
|
|
22021
|
+
*/
|
|
22022
|
+
proto.sniipbillerapi.SearchBillersResponse.prototype.cloneMessage = function() {
|
|
22023
|
+
return /** @type {!proto.sniipbillerapi.SearchBillersResponse} */ (jspb.Message.cloneMessage(this));
|
|
22024
|
+
};
|
|
22025
|
+
|
|
22026
|
+
|
|
22027
|
+
/**
|
|
22028
|
+
* optional ResponseCode responseCode = 1;
|
|
22029
|
+
* @return {proto.sniipbillerapi.ResponseCode}
|
|
22030
|
+
*/
|
|
22031
|
+
proto.sniipbillerapi.SearchBillersResponse.prototype.getResponsecode = function() {
|
|
22032
|
+
return /** @type{proto.sniipbillerapi.ResponseCode} */ (
|
|
22033
|
+
jspb.Message.getWrapperField(this, proto.sniipbillerapi.ResponseCode, 1));
|
|
22034
|
+
};
|
|
22035
|
+
|
|
22036
|
+
|
|
22037
|
+
/** @param {proto.sniipbillerapi.ResponseCode|undefined} value */
|
|
22038
|
+
proto.sniipbillerapi.SearchBillersResponse.prototype.setResponsecode = function(value) {
|
|
22039
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
22040
|
+
};
|
|
22041
|
+
|
|
22042
|
+
|
|
22043
|
+
proto.sniipbillerapi.SearchBillersResponse.prototype.clearResponsecode = function() {
|
|
22044
|
+
this.setResponsecode(undefined);
|
|
22045
|
+
};
|
|
22046
|
+
|
|
22047
|
+
|
|
22048
|
+
/**
|
|
22049
|
+
* Returns whether this field is set.
|
|
22050
|
+
* @return{!boolean}
|
|
22051
|
+
*/
|
|
22052
|
+
proto.sniipbillerapi.SearchBillersResponse.prototype.hasResponsecode = function() {
|
|
22053
|
+
return jspb.Message.getField(this, 1) != null;
|
|
22054
|
+
};
|
|
22055
|
+
|
|
22056
|
+
|
|
22057
|
+
/**
|
|
22058
|
+
* repeated Biller billers = 2;
|
|
22059
|
+
* If you change this array by adding, removing or replacing elements, or if you
|
|
22060
|
+
* replace the array itself, then you must call the setter to update it.
|
|
22061
|
+
* @return {!Array.<!proto.sniipbillerapi.Biller>}
|
|
22062
|
+
*/
|
|
22063
|
+
proto.sniipbillerapi.SearchBillersResponse.prototype.getBillersList = function() {
|
|
22064
|
+
return /** @type{!Array.<!proto.sniipbillerapi.Biller>} */ (
|
|
22065
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sniipbillerapi.Biller, 2));
|
|
22066
|
+
};
|
|
22067
|
+
|
|
22068
|
+
|
|
22069
|
+
/** @param {Array.<!proto.sniipbillerapi.Biller>} value */
|
|
22070
|
+
proto.sniipbillerapi.SearchBillersResponse.prototype.setBillersList = function(value) {
|
|
22071
|
+
jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
22072
|
+
};
|
|
22073
|
+
|
|
22074
|
+
|
|
22075
|
+
proto.sniipbillerapi.SearchBillersResponse.prototype.clearBillersList = function() {
|
|
22076
|
+
this.setBillersList([]);
|
|
22077
|
+
};
|
|
22078
|
+
|
|
22079
|
+
|
|
22080
|
+
/**
|
|
22081
|
+
* optional int32 totalCount = 3;
|
|
22082
|
+
* @return {number}
|
|
22083
|
+
*/
|
|
22084
|
+
proto.sniipbillerapi.SearchBillersResponse.prototype.getTotalcount = function() {
|
|
22085
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
|
|
22086
|
+
};
|
|
22087
|
+
|
|
22088
|
+
|
|
22089
|
+
/** @param {number} value */
|
|
22090
|
+
proto.sniipbillerapi.SearchBillersResponse.prototype.setTotalcount = function(value) {
|
|
22091
|
+
jspb.Message.setField(this, 3, value);
|
|
22092
|
+
};
|
|
22093
|
+
|
|
22094
|
+
|
|
22095
|
+
|
|
21615
22096
|
/**
|
|
21616
22097
|
* Generated by JsPbCodeGenerator.
|
|
21617
22098
|
* @param {Array=} opt_data Optional initial data array, typically from a
|