@sniipwebmaster/agent-billing-client-grpcweb 23.6.238 → 23.6.256
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dependancies/service_grpc_web_pb.js +160 -0
- package/dependancies/service_pb.js +1022 -180
- package/package.json +1 -1
|
@@ -20,8 +20,12 @@ goog.exportSymbol('proto.agentbillingserviceapi.Client', null, global);
|
|
|
20
20
|
goog.exportSymbol('proto.agentbillingserviceapi.ConnectAgentRequest', null, global);
|
|
21
21
|
goog.exportSymbol('proto.agentbillingserviceapi.DisconnectAgentRequest', null, global);
|
|
22
22
|
goog.exportSymbol('proto.agentbillingserviceapi.DisconnectClientRequest', null, global);
|
|
23
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedAgentRequest', null, global);
|
|
24
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedAgentResponse', null, global);
|
|
23
25
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedAgentsRequest', null, global);
|
|
24
26
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedAgentsResponse', null, global);
|
|
27
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientRequest', null, global);
|
|
28
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientResponse', null, global);
|
|
25
29
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientsRequest', null, global);
|
|
26
30
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientsResponse', null, global);
|
|
27
31
|
goog.exportSymbol('proto.agentbillingserviceapi.InviteAgentRequest', null, global);
|
|
@@ -153,6 +157,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
153
157
|
*/
|
|
154
158
|
proto.agentbillingserviceapi.DisconnectClientRequest.displayName = 'proto.agentbillingserviceapi.DisconnectClientRequest';
|
|
155
159
|
}
|
|
160
|
+
/**
|
|
161
|
+
* Generated by JsPbCodeGenerator.
|
|
162
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
163
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
164
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
165
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
166
|
+
* valid.
|
|
167
|
+
* @extends {jspb.Message}
|
|
168
|
+
* @constructor
|
|
169
|
+
*/
|
|
170
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest = function(opt_data) {
|
|
171
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
172
|
+
};
|
|
173
|
+
goog.inherits(proto.agentbillingserviceapi.GetAssociatedAgentRequest, jspb.Message);
|
|
174
|
+
if (goog.DEBUG && !COMPILED) {
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
* @override
|
|
178
|
+
*/
|
|
179
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.displayName = 'proto.agentbillingserviceapi.GetAssociatedAgentRequest';
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Generated by JsPbCodeGenerator.
|
|
183
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
184
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
185
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
186
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
187
|
+
* valid.
|
|
188
|
+
* @extends {jspb.Message}
|
|
189
|
+
* @constructor
|
|
190
|
+
*/
|
|
191
|
+
proto.agentbillingserviceapi.GetAssociatedAgentResponse = function(opt_data) {
|
|
192
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
193
|
+
};
|
|
194
|
+
goog.inherits(proto.agentbillingserviceapi.GetAssociatedAgentResponse, jspb.Message);
|
|
195
|
+
if (goog.DEBUG && !COMPILED) {
|
|
196
|
+
/**
|
|
197
|
+
* @public
|
|
198
|
+
* @override
|
|
199
|
+
*/
|
|
200
|
+
proto.agentbillingserviceapi.GetAssociatedAgentResponse.displayName = 'proto.agentbillingserviceapi.GetAssociatedAgentResponse';
|
|
201
|
+
}
|
|
156
202
|
/**
|
|
157
203
|
* Generated by JsPbCodeGenerator.
|
|
158
204
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -195,6 +241,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
195
241
|
*/
|
|
196
242
|
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.displayName = 'proto.agentbillingserviceapi.GetAssociatedAgentsResponse';
|
|
197
243
|
}
|
|
244
|
+
/**
|
|
245
|
+
* Generated by JsPbCodeGenerator.
|
|
246
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
247
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
248
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
249
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
250
|
+
* valid.
|
|
251
|
+
* @extends {jspb.Message}
|
|
252
|
+
* @constructor
|
|
253
|
+
*/
|
|
254
|
+
proto.agentbillingserviceapi.GetAssociatedClientRequest = function(opt_data) {
|
|
255
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
256
|
+
};
|
|
257
|
+
goog.inherits(proto.agentbillingserviceapi.GetAssociatedClientRequest, jspb.Message);
|
|
258
|
+
if (goog.DEBUG && !COMPILED) {
|
|
259
|
+
/**
|
|
260
|
+
* @public
|
|
261
|
+
* @override
|
|
262
|
+
*/
|
|
263
|
+
proto.agentbillingserviceapi.GetAssociatedClientRequest.displayName = 'proto.agentbillingserviceapi.GetAssociatedClientRequest';
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* Generated by JsPbCodeGenerator.
|
|
267
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
268
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
269
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
270
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
271
|
+
* valid.
|
|
272
|
+
* @extends {jspb.Message}
|
|
273
|
+
* @constructor
|
|
274
|
+
*/
|
|
275
|
+
proto.agentbillingserviceapi.GetAssociatedClientResponse = function(opt_data) {
|
|
276
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
277
|
+
};
|
|
278
|
+
goog.inherits(proto.agentbillingserviceapi.GetAssociatedClientResponse, jspb.Message);
|
|
279
|
+
if (goog.DEBUG && !COMPILED) {
|
|
280
|
+
/**
|
|
281
|
+
* @public
|
|
282
|
+
* @override
|
|
283
|
+
*/
|
|
284
|
+
proto.agentbillingserviceapi.GetAssociatedClientResponse.displayName = 'proto.agentbillingserviceapi.GetAssociatedClientResponse';
|
|
285
|
+
}
|
|
198
286
|
/**
|
|
199
287
|
* Generated by JsPbCodeGenerator.
|
|
200
288
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1636,8 +1724,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1636
1724
|
* http://goto/soy-param-migration
|
|
1637
1725
|
* @return {!Object}
|
|
1638
1726
|
*/
|
|
1639
|
-
proto.agentbillingserviceapi.
|
|
1640
|
-
return proto.agentbillingserviceapi.
|
|
1727
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1728
|
+
return proto.agentbillingserviceapi.GetAssociatedAgentRequest.toObject(opt_includeInstance, this);
|
|
1641
1729
|
};
|
|
1642
1730
|
|
|
1643
1731
|
|
|
@@ -1646,15 +1734,15 @@ proto.agentbillingserviceapi.GetAssociatedAgentsRequest.prototype.toObject = fun
|
|
|
1646
1734
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1647
1735
|
* the JSPB instance for transitional soy proto support:
|
|
1648
1736
|
* http://goto/soy-param-migration
|
|
1649
|
-
* @param {!proto.agentbillingserviceapi.
|
|
1737
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedAgentRequest} msg The msg instance to transform.
|
|
1650
1738
|
* @return {!Object}
|
|
1651
1739
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1652
1740
|
*/
|
|
1653
|
-
proto.agentbillingserviceapi.
|
|
1741
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.toObject = function(includeInstance, msg) {
|
|
1654
1742
|
var f, obj = {
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1743
|
+
agentuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1744
|
+
clientuserid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1745
|
+
invitedagentemail: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1658
1746
|
};
|
|
1659
1747
|
|
|
1660
1748
|
if (includeInstance) {
|
|
@@ -1668,23 +1756,23 @@ proto.agentbillingserviceapi.GetAssociatedAgentsRequest.toObject = function(incl
|
|
|
1668
1756
|
/**
|
|
1669
1757
|
* Deserializes binary data (in protobuf wire format).
|
|
1670
1758
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1671
|
-
* @return {!proto.agentbillingserviceapi.
|
|
1759
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentRequest}
|
|
1672
1760
|
*/
|
|
1673
|
-
proto.agentbillingserviceapi.
|
|
1761
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.deserializeBinary = function(bytes) {
|
|
1674
1762
|
var reader = new jspb.BinaryReader(bytes);
|
|
1675
|
-
var msg = new proto.agentbillingserviceapi.
|
|
1676
|
-
return proto.agentbillingserviceapi.
|
|
1763
|
+
var msg = new proto.agentbillingserviceapi.GetAssociatedAgentRequest;
|
|
1764
|
+
return proto.agentbillingserviceapi.GetAssociatedAgentRequest.deserializeBinaryFromReader(msg, reader);
|
|
1677
1765
|
};
|
|
1678
1766
|
|
|
1679
1767
|
|
|
1680
1768
|
/**
|
|
1681
1769
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1682
1770
|
* given reader into the given message object.
|
|
1683
|
-
* @param {!proto.agentbillingserviceapi.
|
|
1771
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedAgentRequest} msg The message object to deserialize into.
|
|
1684
1772
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1685
|
-
* @return {!proto.agentbillingserviceapi.
|
|
1773
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentRequest}
|
|
1686
1774
|
*/
|
|
1687
|
-
proto.agentbillingserviceapi.
|
|
1775
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1688
1776
|
while (reader.nextField()) {
|
|
1689
1777
|
if (reader.isEndGroup()) {
|
|
1690
1778
|
break;
|
|
@@ -1692,16 +1780,16 @@ proto.agentbillingserviceapi.GetAssociatedAgentsRequest.deserializeBinaryFromRea
|
|
|
1692
1780
|
var field = reader.getFieldNumber();
|
|
1693
1781
|
switch (field) {
|
|
1694
1782
|
case 1:
|
|
1695
|
-
var value = /** @type {number} */ (reader.
|
|
1696
|
-
msg.
|
|
1783
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1784
|
+
msg.setAgentuserid(value);
|
|
1697
1785
|
break;
|
|
1698
1786
|
case 2:
|
|
1699
|
-
var value = /** @type {number} */ (reader.
|
|
1700
|
-
msg.
|
|
1787
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1788
|
+
msg.setClientuserid(value);
|
|
1701
1789
|
break;
|
|
1702
1790
|
case 3:
|
|
1703
|
-
var value = /** @type {
|
|
1704
|
-
msg.
|
|
1791
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1792
|
+
msg.setInvitedagentemail(value);
|
|
1705
1793
|
break;
|
|
1706
1794
|
default:
|
|
1707
1795
|
reader.skipField();
|
|
@@ -1716,9 +1804,9 @@ proto.agentbillingserviceapi.GetAssociatedAgentsRequest.deserializeBinaryFromRea
|
|
|
1716
1804
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1717
1805
|
* @return {!Uint8Array}
|
|
1718
1806
|
*/
|
|
1719
|
-
proto.agentbillingserviceapi.
|
|
1807
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.prototype.serializeBinary = function() {
|
|
1720
1808
|
var writer = new jspb.BinaryWriter();
|
|
1721
|
-
proto.agentbillingserviceapi.
|
|
1809
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.serializeBinaryToWriter(this, writer);
|
|
1722
1810
|
return writer.getResultBuffer();
|
|
1723
1811
|
};
|
|
1724
1812
|
|
|
@@ -1726,29 +1814,29 @@ proto.agentbillingserviceapi.GetAssociatedAgentsRequest.prototype.serializeBinar
|
|
|
1726
1814
|
/**
|
|
1727
1815
|
* Serializes the given message to binary data (in protobuf wire
|
|
1728
1816
|
* format), writing to the given BinaryWriter.
|
|
1729
|
-
* @param {!proto.agentbillingserviceapi.
|
|
1817
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedAgentRequest} message
|
|
1730
1818
|
* @param {!jspb.BinaryWriter} writer
|
|
1731
1819
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1732
1820
|
*/
|
|
1733
|
-
proto.agentbillingserviceapi.
|
|
1821
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1734
1822
|
var f = undefined;
|
|
1735
|
-
f = message.
|
|
1823
|
+
f = message.getAgentuserid();
|
|
1736
1824
|
if (f !== 0) {
|
|
1737
|
-
writer.
|
|
1825
|
+
writer.writeInt64(
|
|
1738
1826
|
1,
|
|
1739
1827
|
f
|
|
1740
1828
|
);
|
|
1741
1829
|
}
|
|
1742
|
-
f = message.
|
|
1830
|
+
f = message.getClientuserid();
|
|
1743
1831
|
if (f !== 0) {
|
|
1744
|
-
writer.
|
|
1832
|
+
writer.writeInt64(
|
|
1745
1833
|
2,
|
|
1746
1834
|
f
|
|
1747
1835
|
);
|
|
1748
1836
|
}
|
|
1749
|
-
f = message.
|
|
1750
|
-
if (f
|
|
1751
|
-
writer.
|
|
1837
|
+
f = message.getInvitedagentemail();
|
|
1838
|
+
if (f.length > 0) {
|
|
1839
|
+
writer.writeString(
|
|
1752
1840
|
3,
|
|
1753
1841
|
f
|
|
1754
1842
|
);
|
|
@@ -1757,67 +1845,60 @@ proto.agentbillingserviceapi.GetAssociatedAgentsRequest.serializeBinaryToWriter
|
|
|
1757
1845
|
|
|
1758
1846
|
|
|
1759
1847
|
/**
|
|
1760
|
-
* optional
|
|
1848
|
+
* optional int64 agentUserId = 1;
|
|
1761
1849
|
* @return {number}
|
|
1762
1850
|
*/
|
|
1763
|
-
proto.agentbillingserviceapi.
|
|
1851
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.prototype.getAgentuserid = function() {
|
|
1764
1852
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1765
1853
|
};
|
|
1766
1854
|
|
|
1767
1855
|
|
|
1768
1856
|
/**
|
|
1769
1857
|
* @param {number} value
|
|
1770
|
-
* @return {!proto.agentbillingserviceapi.
|
|
1858
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentRequest} returns this
|
|
1771
1859
|
*/
|
|
1772
|
-
proto.agentbillingserviceapi.
|
|
1860
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.prototype.setAgentuserid = function(value) {
|
|
1773
1861
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1774
1862
|
};
|
|
1775
1863
|
|
|
1776
1864
|
|
|
1777
1865
|
/**
|
|
1778
|
-
* optional
|
|
1866
|
+
* optional int64 clientUserId = 2;
|
|
1779
1867
|
* @return {number}
|
|
1780
1868
|
*/
|
|
1781
|
-
proto.agentbillingserviceapi.
|
|
1869
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.prototype.getClientuserid = function() {
|
|
1782
1870
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1783
1871
|
};
|
|
1784
1872
|
|
|
1785
1873
|
|
|
1786
1874
|
/**
|
|
1787
1875
|
* @param {number} value
|
|
1788
|
-
* @return {!proto.agentbillingserviceapi.
|
|
1876
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentRequest} returns this
|
|
1789
1877
|
*/
|
|
1790
|
-
proto.agentbillingserviceapi.
|
|
1878
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.prototype.setClientuserid = function(value) {
|
|
1791
1879
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
1792
1880
|
};
|
|
1793
1881
|
|
|
1794
1882
|
|
|
1795
1883
|
/**
|
|
1796
|
-
* optional
|
|
1797
|
-
* @return {
|
|
1884
|
+
* optional string invitedAgentEmail = 3;
|
|
1885
|
+
* @return {string}
|
|
1798
1886
|
*/
|
|
1799
|
-
proto.agentbillingserviceapi.
|
|
1800
|
-
return /** @type {
|
|
1887
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.prototype.getInvitedagentemail = function() {
|
|
1888
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1801
1889
|
};
|
|
1802
1890
|
|
|
1803
1891
|
|
|
1804
1892
|
/**
|
|
1805
|
-
* @param {
|
|
1806
|
-
* @return {!proto.agentbillingserviceapi.
|
|
1893
|
+
* @param {string} value
|
|
1894
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentRequest} returns this
|
|
1807
1895
|
*/
|
|
1808
|
-
proto.agentbillingserviceapi.
|
|
1809
|
-
return jspb.Message.
|
|
1896
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.prototype.setInvitedagentemail = function(value) {
|
|
1897
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1810
1898
|
};
|
|
1811
1899
|
|
|
1812
1900
|
|
|
1813
1901
|
|
|
1814
|
-
/**
|
|
1815
|
-
* List of repeated fields within this message type.
|
|
1816
|
-
* @private {!Array<number>}
|
|
1817
|
-
* @const
|
|
1818
|
-
*/
|
|
1819
|
-
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.repeatedFields_ = [2];
|
|
1820
|
-
|
|
1821
1902
|
|
|
1822
1903
|
|
|
1823
1904
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1833,8 +1914,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1833
1914
|
* http://goto/soy-param-migration
|
|
1834
1915
|
* @return {!Object}
|
|
1835
1916
|
*/
|
|
1836
|
-
proto.agentbillingserviceapi.
|
|
1837
|
-
return proto.agentbillingserviceapi.
|
|
1917
|
+
proto.agentbillingserviceapi.GetAssociatedAgentResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1918
|
+
return proto.agentbillingserviceapi.GetAssociatedAgentResponse.toObject(opt_includeInstance, this);
|
|
1838
1919
|
};
|
|
1839
1920
|
|
|
1840
1921
|
|
|
@@ -1843,19 +1924,14 @@ proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.toObject = fu
|
|
|
1843
1924
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1844
1925
|
* the JSPB instance for transitional soy proto support:
|
|
1845
1926
|
* http://goto/soy-param-migration
|
|
1846
|
-
* @param {!proto.agentbillingserviceapi.
|
|
1927
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedAgentResponse} msg The msg instance to transform.
|
|
1847
1928
|
* @return {!Object}
|
|
1848
1929
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1849
1930
|
*/
|
|
1850
|
-
proto.agentbillingserviceapi.
|
|
1931
|
+
proto.agentbillingserviceapi.GetAssociatedAgentResponse.toObject = function(includeInstance, msg) {
|
|
1851
1932
|
var f, obj = {
|
|
1852
1933
|
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
1853
|
-
|
|
1854
|
-
proto.agentbillingserviceapi.Agent.toObject, includeInstance),
|
|
1855
|
-
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
1856
|
-
size: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
1857
|
-
totalpages: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
1858
|
-
totalsize: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
1934
|
+
associatedagent: (f = msg.getAssociatedagent()) && proto.agentbillingserviceapi.Agent.toObject(includeInstance, f)
|
|
1859
1935
|
};
|
|
1860
1936
|
|
|
1861
1937
|
if (includeInstance) {
|
|
@@ -1869,23 +1945,23 @@ proto.agentbillingserviceapi.GetAssociatedAgentsResponse.toObject = function(inc
|
|
|
1869
1945
|
/**
|
|
1870
1946
|
* Deserializes binary data (in protobuf wire format).
|
|
1871
1947
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1872
|
-
* @return {!proto.agentbillingserviceapi.
|
|
1948
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentResponse}
|
|
1873
1949
|
*/
|
|
1874
|
-
proto.agentbillingserviceapi.
|
|
1950
|
+
proto.agentbillingserviceapi.GetAssociatedAgentResponse.deserializeBinary = function(bytes) {
|
|
1875
1951
|
var reader = new jspb.BinaryReader(bytes);
|
|
1876
|
-
var msg = new proto.agentbillingserviceapi.
|
|
1877
|
-
return proto.agentbillingserviceapi.
|
|
1952
|
+
var msg = new proto.agentbillingserviceapi.GetAssociatedAgentResponse;
|
|
1953
|
+
return proto.agentbillingserviceapi.GetAssociatedAgentResponse.deserializeBinaryFromReader(msg, reader);
|
|
1878
1954
|
};
|
|
1879
1955
|
|
|
1880
1956
|
|
|
1881
1957
|
/**
|
|
1882
1958
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1883
1959
|
* given reader into the given message object.
|
|
1884
|
-
* @param {!proto.agentbillingserviceapi.
|
|
1960
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedAgentResponse} msg The message object to deserialize into.
|
|
1885
1961
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1886
|
-
* @return {!proto.agentbillingserviceapi.
|
|
1962
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentResponse}
|
|
1887
1963
|
*/
|
|
1888
|
-
proto.agentbillingserviceapi.
|
|
1964
|
+
proto.agentbillingserviceapi.GetAssociatedAgentResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1889
1965
|
while (reader.nextField()) {
|
|
1890
1966
|
if (reader.isEndGroup()) {
|
|
1891
1967
|
break;
|
|
@@ -1900,23 +1976,7 @@ proto.agentbillingserviceapi.GetAssociatedAgentsResponse.deserializeBinaryFromRe
|
|
|
1900
1976
|
case 2:
|
|
1901
1977
|
var value = new proto.agentbillingserviceapi.Agent;
|
|
1902
1978
|
reader.readMessage(value,proto.agentbillingserviceapi.Agent.deserializeBinaryFromReader);
|
|
1903
|
-
msg.
|
|
1904
|
-
break;
|
|
1905
|
-
case 3:
|
|
1906
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
1907
|
-
msg.setPage(value);
|
|
1908
|
-
break;
|
|
1909
|
-
case 4:
|
|
1910
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
1911
|
-
msg.setSize(value);
|
|
1912
|
-
break;
|
|
1913
|
-
case 5:
|
|
1914
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
1915
|
-
msg.setTotalpages(value);
|
|
1916
|
-
break;
|
|
1917
|
-
case 6:
|
|
1918
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
1919
|
-
msg.setTotalsize(value);
|
|
1979
|
+
msg.setAssociatedagent(value);
|
|
1920
1980
|
break;
|
|
1921
1981
|
default:
|
|
1922
1982
|
reader.skipField();
|
|
@@ -1931,9 +1991,9 @@ proto.agentbillingserviceapi.GetAssociatedAgentsResponse.deserializeBinaryFromRe
|
|
|
1931
1991
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1932
1992
|
* @return {!Uint8Array}
|
|
1933
1993
|
*/
|
|
1934
|
-
proto.agentbillingserviceapi.
|
|
1994
|
+
proto.agentbillingserviceapi.GetAssociatedAgentResponse.prototype.serializeBinary = function() {
|
|
1935
1995
|
var writer = new jspb.BinaryWriter();
|
|
1936
|
-
proto.agentbillingserviceapi.
|
|
1996
|
+
proto.agentbillingserviceapi.GetAssociatedAgentResponse.serializeBinaryToWriter(this, writer);
|
|
1937
1997
|
return writer.getResultBuffer();
|
|
1938
1998
|
};
|
|
1939
1999
|
|
|
@@ -1941,11 +2001,11 @@ proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.serializeBina
|
|
|
1941
2001
|
/**
|
|
1942
2002
|
* Serializes the given message to binary data (in protobuf wire
|
|
1943
2003
|
* format), writing to the given BinaryWriter.
|
|
1944
|
-
* @param {!proto.agentbillingserviceapi.
|
|
2004
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedAgentResponse} message
|
|
1945
2005
|
* @param {!jspb.BinaryWriter} writer
|
|
1946
2006
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1947
2007
|
*/
|
|
1948
|
-
proto.agentbillingserviceapi.
|
|
2008
|
+
proto.agentbillingserviceapi.GetAssociatedAgentResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1949
2009
|
var f = undefined;
|
|
1950
2010
|
f = message.getResponsecode();
|
|
1951
2011
|
if (f != null) {
|
|
@@ -1955,42 +2015,14 @@ proto.agentbillingserviceapi.GetAssociatedAgentsResponse.serializeBinaryToWriter
|
|
|
1955
2015
|
proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
|
|
1956
2016
|
);
|
|
1957
2017
|
}
|
|
1958
|
-
f = message.
|
|
1959
|
-
if (f
|
|
1960
|
-
writer.
|
|
2018
|
+
f = message.getAssociatedagent();
|
|
2019
|
+
if (f != null) {
|
|
2020
|
+
writer.writeMessage(
|
|
1961
2021
|
2,
|
|
1962
2022
|
f,
|
|
1963
2023
|
proto.agentbillingserviceapi.Agent.serializeBinaryToWriter
|
|
1964
2024
|
);
|
|
1965
2025
|
}
|
|
1966
|
-
f = message.getPage();
|
|
1967
|
-
if (f !== 0) {
|
|
1968
|
-
writer.writeInt32(
|
|
1969
|
-
3,
|
|
1970
|
-
f
|
|
1971
|
-
);
|
|
1972
|
-
}
|
|
1973
|
-
f = message.getSize();
|
|
1974
|
-
if (f !== 0) {
|
|
1975
|
-
writer.writeInt32(
|
|
1976
|
-
4,
|
|
1977
|
-
f
|
|
1978
|
-
);
|
|
1979
|
-
}
|
|
1980
|
-
f = message.getTotalpages();
|
|
1981
|
-
if (f !== 0) {
|
|
1982
|
-
writer.writeInt32(
|
|
1983
|
-
5,
|
|
1984
|
-
f
|
|
1985
|
-
);
|
|
1986
|
-
}
|
|
1987
|
-
f = message.getTotalsize();
|
|
1988
|
-
if (f !== 0) {
|
|
1989
|
-
writer.writeInt64(
|
|
1990
|
-
6,
|
|
1991
|
-
f
|
|
1992
|
-
);
|
|
1993
|
-
}
|
|
1994
2026
|
};
|
|
1995
2027
|
|
|
1996
2028
|
|
|
@@ -1998,7 +2030,7 @@ proto.agentbillingserviceapi.GetAssociatedAgentsResponse.serializeBinaryToWriter
|
|
|
1998
2030
|
* optional ResponseCode responseCode = 1;
|
|
1999
2031
|
* @return {?proto.agentbillingserviceapi.ResponseCode}
|
|
2000
2032
|
*/
|
|
2001
|
-
proto.agentbillingserviceapi.
|
|
2033
|
+
proto.agentbillingserviceapi.GetAssociatedAgentResponse.prototype.getResponsecode = function() {
|
|
2002
2034
|
return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
|
|
2003
2035
|
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
|
|
2004
2036
|
};
|
|
@@ -2006,18 +2038,18 @@ proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.getResponseco
|
|
|
2006
2038
|
|
|
2007
2039
|
/**
|
|
2008
2040
|
* @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
|
|
2009
|
-
* @return {!proto.agentbillingserviceapi.
|
|
2041
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentResponse} returns this
|
|
2010
2042
|
*/
|
|
2011
|
-
proto.agentbillingserviceapi.
|
|
2043
|
+
proto.agentbillingserviceapi.GetAssociatedAgentResponse.prototype.setResponsecode = function(value) {
|
|
2012
2044
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
2013
2045
|
};
|
|
2014
2046
|
|
|
2015
2047
|
|
|
2016
2048
|
/**
|
|
2017
2049
|
* Clears the message field making it undefined.
|
|
2018
|
-
* @return {!proto.agentbillingserviceapi.
|
|
2050
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentResponse} returns this
|
|
2019
2051
|
*/
|
|
2020
|
-
proto.agentbillingserviceapi.
|
|
2052
|
+
proto.agentbillingserviceapi.GetAssociatedAgentResponse.prototype.clearResponsecode = function() {
|
|
2021
2053
|
return this.setResponsecode(undefined);
|
|
2022
2054
|
};
|
|
2023
2055
|
|
|
@@ -2026,118 +2058,928 @@ proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.clearResponse
|
|
|
2026
2058
|
* Returns whether this field is set.
|
|
2027
2059
|
* @return {boolean}
|
|
2028
2060
|
*/
|
|
2029
|
-
proto.agentbillingserviceapi.
|
|
2061
|
+
proto.agentbillingserviceapi.GetAssociatedAgentResponse.prototype.hasResponsecode = function() {
|
|
2030
2062
|
return jspb.Message.getField(this, 1) != null;
|
|
2031
2063
|
};
|
|
2032
2064
|
|
|
2033
2065
|
|
|
2034
2066
|
/**
|
|
2035
|
-
*
|
|
2036
|
-
* @return {
|
|
2067
|
+
* optional Agent associatedAgent = 2;
|
|
2068
|
+
* @return {?proto.agentbillingserviceapi.Agent}
|
|
2037
2069
|
*/
|
|
2038
|
-
proto.agentbillingserviceapi.
|
|
2039
|
-
return /** @type{
|
|
2040
|
-
jspb.Message.
|
|
2070
|
+
proto.agentbillingserviceapi.GetAssociatedAgentResponse.prototype.getAssociatedagent = function() {
|
|
2071
|
+
return /** @type{?proto.agentbillingserviceapi.Agent} */ (
|
|
2072
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.Agent, 2));
|
|
2041
2073
|
};
|
|
2042
2074
|
|
|
2043
2075
|
|
|
2044
2076
|
/**
|
|
2045
|
-
* @param {
|
|
2046
|
-
* @return {!proto.agentbillingserviceapi.
|
|
2077
|
+
* @param {?proto.agentbillingserviceapi.Agent|undefined} value
|
|
2078
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentResponse} returns this
|
|
2047
2079
|
*/
|
|
2048
|
-
proto.agentbillingserviceapi.
|
|
2049
|
-
return jspb.Message.
|
|
2080
|
+
proto.agentbillingserviceapi.GetAssociatedAgentResponse.prototype.setAssociatedagent = function(value) {
|
|
2081
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2050
2082
|
};
|
|
2051
2083
|
|
|
2052
2084
|
|
|
2053
2085
|
/**
|
|
2054
|
-
*
|
|
2055
|
-
* @
|
|
2056
|
-
* @return {!proto.agentbillingserviceapi.Agent}
|
|
2086
|
+
* Clears the message field making it undefined.
|
|
2087
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentResponse} returns this
|
|
2057
2088
|
*/
|
|
2058
|
-
proto.agentbillingserviceapi.
|
|
2059
|
-
return
|
|
2089
|
+
proto.agentbillingserviceapi.GetAssociatedAgentResponse.prototype.clearAssociatedagent = function() {
|
|
2090
|
+
return this.setAssociatedagent(undefined);
|
|
2060
2091
|
};
|
|
2061
2092
|
|
|
2062
2093
|
|
|
2063
2094
|
/**
|
|
2064
|
-
*
|
|
2065
|
-
* @return {
|
|
2095
|
+
* Returns whether this field is set.
|
|
2096
|
+
* @return {boolean}
|
|
2066
2097
|
*/
|
|
2067
|
-
proto.agentbillingserviceapi.
|
|
2068
|
-
return
|
|
2098
|
+
proto.agentbillingserviceapi.GetAssociatedAgentResponse.prototype.hasAssociatedagent = function() {
|
|
2099
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2069
2100
|
};
|
|
2070
2101
|
|
|
2071
2102
|
|
|
2072
|
-
/**
|
|
2073
|
-
* optional int32 page = 3;
|
|
2074
|
-
* @return {number}
|
|
2075
|
-
*/
|
|
2076
|
-
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.getPage = function() {
|
|
2077
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
2078
|
-
};
|
|
2079
|
-
|
|
2080
2103
|
|
|
2081
|
-
/**
|
|
2082
|
-
* @param {number} value
|
|
2083
|
-
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentsResponse} returns this
|
|
2084
|
-
*/
|
|
2085
|
-
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.setPage = function(value) {
|
|
2086
|
-
return jspb.Message.setProto3IntField(this, 3, value);
|
|
2087
|
-
};
|
|
2088
2104
|
|
|
2089
2105
|
|
|
2106
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2090
2107
|
/**
|
|
2091
|
-
*
|
|
2108
|
+
* Creates an object representation of this proto.
|
|
2109
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2110
|
+
* Optional fields that are not set will be set to undefined.
|
|
2111
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2112
|
+
* For the list of reserved names please see:
|
|
2113
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2114
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2115
|
+
* JSPB instance for transitional soy proto support:
|
|
2116
|
+
* http://goto/soy-param-migration
|
|
2117
|
+
* @return {!Object}
|
|
2118
|
+
*/
|
|
2119
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2120
|
+
return proto.agentbillingserviceapi.GetAssociatedAgentsRequest.toObject(opt_includeInstance, this);
|
|
2121
|
+
};
|
|
2122
|
+
|
|
2123
|
+
|
|
2124
|
+
/**
|
|
2125
|
+
* Static version of the {@see toObject} method.
|
|
2126
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2127
|
+
* the JSPB instance for transitional soy proto support:
|
|
2128
|
+
* http://goto/soy-param-migration
|
|
2129
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedAgentsRequest} msg The msg instance to transform.
|
|
2130
|
+
* @return {!Object}
|
|
2131
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2132
|
+
*/
|
|
2133
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsRequest.toObject = function(includeInstance, msg) {
|
|
2134
|
+
var f, obj = {
|
|
2135
|
+
page: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2136
|
+
size: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2137
|
+
userid: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
2138
|
+
};
|
|
2139
|
+
|
|
2140
|
+
if (includeInstance) {
|
|
2141
|
+
obj.$jspbMessageInstance = msg;
|
|
2142
|
+
}
|
|
2143
|
+
return obj;
|
|
2144
|
+
};
|
|
2145
|
+
}
|
|
2146
|
+
|
|
2147
|
+
|
|
2148
|
+
/**
|
|
2149
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2150
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2151
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentsRequest}
|
|
2152
|
+
*/
|
|
2153
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsRequest.deserializeBinary = function(bytes) {
|
|
2154
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2155
|
+
var msg = new proto.agentbillingserviceapi.GetAssociatedAgentsRequest;
|
|
2156
|
+
return proto.agentbillingserviceapi.GetAssociatedAgentsRequest.deserializeBinaryFromReader(msg, reader);
|
|
2157
|
+
};
|
|
2158
|
+
|
|
2159
|
+
|
|
2160
|
+
/**
|
|
2161
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2162
|
+
* given reader into the given message object.
|
|
2163
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedAgentsRequest} msg The message object to deserialize into.
|
|
2164
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2165
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentsRequest}
|
|
2166
|
+
*/
|
|
2167
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2168
|
+
while (reader.nextField()) {
|
|
2169
|
+
if (reader.isEndGroup()) {
|
|
2170
|
+
break;
|
|
2171
|
+
}
|
|
2172
|
+
var field = reader.getFieldNumber();
|
|
2173
|
+
switch (field) {
|
|
2174
|
+
case 1:
|
|
2175
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2176
|
+
msg.setPage(value);
|
|
2177
|
+
break;
|
|
2178
|
+
case 2:
|
|
2179
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2180
|
+
msg.setSize(value);
|
|
2181
|
+
break;
|
|
2182
|
+
case 3:
|
|
2183
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2184
|
+
msg.setUserid(value);
|
|
2185
|
+
break;
|
|
2186
|
+
default:
|
|
2187
|
+
reader.skipField();
|
|
2188
|
+
break;
|
|
2189
|
+
}
|
|
2190
|
+
}
|
|
2191
|
+
return msg;
|
|
2192
|
+
};
|
|
2193
|
+
|
|
2194
|
+
|
|
2195
|
+
/**
|
|
2196
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2197
|
+
* @return {!Uint8Array}
|
|
2198
|
+
*/
|
|
2199
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsRequest.prototype.serializeBinary = function() {
|
|
2200
|
+
var writer = new jspb.BinaryWriter();
|
|
2201
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsRequest.serializeBinaryToWriter(this, writer);
|
|
2202
|
+
return writer.getResultBuffer();
|
|
2203
|
+
};
|
|
2204
|
+
|
|
2205
|
+
|
|
2206
|
+
/**
|
|
2207
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2208
|
+
* format), writing to the given BinaryWriter.
|
|
2209
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedAgentsRequest} message
|
|
2210
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2211
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2212
|
+
*/
|
|
2213
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2214
|
+
var f = undefined;
|
|
2215
|
+
f = message.getPage();
|
|
2216
|
+
if (f !== 0) {
|
|
2217
|
+
writer.writeInt32(
|
|
2218
|
+
1,
|
|
2219
|
+
f
|
|
2220
|
+
);
|
|
2221
|
+
}
|
|
2222
|
+
f = message.getSize();
|
|
2223
|
+
if (f !== 0) {
|
|
2224
|
+
writer.writeInt32(
|
|
2225
|
+
2,
|
|
2226
|
+
f
|
|
2227
|
+
);
|
|
2228
|
+
}
|
|
2229
|
+
f = message.getUserid();
|
|
2230
|
+
if (f !== 0) {
|
|
2231
|
+
writer.writeInt64(
|
|
2232
|
+
3,
|
|
2233
|
+
f
|
|
2234
|
+
);
|
|
2235
|
+
}
|
|
2236
|
+
};
|
|
2237
|
+
|
|
2238
|
+
|
|
2239
|
+
/**
|
|
2240
|
+
* optional int32 page = 1;
|
|
2092
2241
|
* @return {number}
|
|
2093
2242
|
*/
|
|
2094
|
-
proto.agentbillingserviceapi.
|
|
2095
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
2243
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsRequest.prototype.getPage = function() {
|
|
2244
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2096
2245
|
};
|
|
2097
2246
|
|
|
2098
2247
|
|
|
2099
2248
|
/**
|
|
2100
2249
|
* @param {number} value
|
|
2101
|
-
* @return {!proto.agentbillingserviceapi.
|
|
2250
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentsRequest} returns this
|
|
2102
2251
|
*/
|
|
2103
|
-
proto.agentbillingserviceapi.
|
|
2104
|
-
return jspb.Message.setProto3IntField(this,
|
|
2252
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsRequest.prototype.setPage = function(value) {
|
|
2253
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
2105
2254
|
};
|
|
2106
2255
|
|
|
2107
2256
|
|
|
2108
2257
|
/**
|
|
2109
|
-
* optional int32
|
|
2258
|
+
* optional int32 size = 2;
|
|
2110
2259
|
* @return {number}
|
|
2111
2260
|
*/
|
|
2112
|
-
proto.agentbillingserviceapi.
|
|
2113
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
2261
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsRequest.prototype.getSize = function() {
|
|
2262
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2114
2263
|
};
|
|
2115
2264
|
|
|
2116
2265
|
|
|
2117
2266
|
/**
|
|
2118
2267
|
* @param {number} value
|
|
2119
|
-
* @return {!proto.agentbillingserviceapi.
|
|
2268
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentsRequest} returns this
|
|
2120
2269
|
*/
|
|
2121
|
-
proto.agentbillingserviceapi.
|
|
2122
|
-
return jspb.Message.setProto3IntField(this,
|
|
2270
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsRequest.prototype.setSize = function(value) {
|
|
2271
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
2123
2272
|
};
|
|
2124
2273
|
|
|
2125
2274
|
|
|
2126
2275
|
/**
|
|
2127
|
-
* optional int64
|
|
2276
|
+
* optional int64 userId = 3;
|
|
2128
2277
|
* @return {number}
|
|
2129
2278
|
*/
|
|
2130
|
-
proto.agentbillingserviceapi.
|
|
2131
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
2279
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsRequest.prototype.getUserid = function() {
|
|
2280
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
2132
2281
|
};
|
|
2133
2282
|
|
|
2134
2283
|
|
|
2135
2284
|
/**
|
|
2136
2285
|
* @param {number} value
|
|
2137
|
-
* @return {!proto.agentbillingserviceapi.
|
|
2286
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentsRequest} returns this
|
|
2138
2287
|
*/
|
|
2139
|
-
proto.agentbillingserviceapi.
|
|
2140
|
-
return jspb.Message.setProto3IntField(this,
|
|
2288
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsRequest.prototype.setUserid = function(value) {
|
|
2289
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
2290
|
+
};
|
|
2291
|
+
|
|
2292
|
+
|
|
2293
|
+
|
|
2294
|
+
/**
|
|
2295
|
+
* List of repeated fields within this message type.
|
|
2296
|
+
* @private {!Array<number>}
|
|
2297
|
+
* @const
|
|
2298
|
+
*/
|
|
2299
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.repeatedFields_ = [2];
|
|
2300
|
+
|
|
2301
|
+
|
|
2302
|
+
|
|
2303
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2304
|
+
/**
|
|
2305
|
+
* Creates an object representation of this proto.
|
|
2306
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2307
|
+
* Optional fields that are not set will be set to undefined.
|
|
2308
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2309
|
+
* For the list of reserved names please see:
|
|
2310
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2311
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2312
|
+
* JSPB instance for transitional soy proto support:
|
|
2313
|
+
* http://goto/soy-param-migration
|
|
2314
|
+
* @return {!Object}
|
|
2315
|
+
*/
|
|
2316
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2317
|
+
return proto.agentbillingserviceapi.GetAssociatedAgentsResponse.toObject(opt_includeInstance, this);
|
|
2318
|
+
};
|
|
2319
|
+
|
|
2320
|
+
|
|
2321
|
+
/**
|
|
2322
|
+
* Static version of the {@see toObject} method.
|
|
2323
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2324
|
+
* the JSPB instance for transitional soy proto support:
|
|
2325
|
+
* http://goto/soy-param-migration
|
|
2326
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedAgentsResponse} msg The msg instance to transform.
|
|
2327
|
+
* @return {!Object}
|
|
2328
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2329
|
+
*/
|
|
2330
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.toObject = function(includeInstance, msg) {
|
|
2331
|
+
var f, obj = {
|
|
2332
|
+
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
2333
|
+
associatedagentsList: jspb.Message.toObjectList(msg.getAssociatedagentsList(),
|
|
2334
|
+
proto.agentbillingserviceapi.Agent.toObject, includeInstance),
|
|
2335
|
+
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
2336
|
+
size: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
2337
|
+
totalpages: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
2338
|
+
totalsize: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
2339
|
+
};
|
|
2340
|
+
|
|
2341
|
+
if (includeInstance) {
|
|
2342
|
+
obj.$jspbMessageInstance = msg;
|
|
2343
|
+
}
|
|
2344
|
+
return obj;
|
|
2345
|
+
};
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
|
|
2349
|
+
/**
|
|
2350
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2351
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2352
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentsResponse}
|
|
2353
|
+
*/
|
|
2354
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.deserializeBinary = function(bytes) {
|
|
2355
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2356
|
+
var msg = new proto.agentbillingserviceapi.GetAssociatedAgentsResponse;
|
|
2357
|
+
return proto.agentbillingserviceapi.GetAssociatedAgentsResponse.deserializeBinaryFromReader(msg, reader);
|
|
2358
|
+
};
|
|
2359
|
+
|
|
2360
|
+
|
|
2361
|
+
/**
|
|
2362
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2363
|
+
* given reader into the given message object.
|
|
2364
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedAgentsResponse} msg The message object to deserialize into.
|
|
2365
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2366
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentsResponse}
|
|
2367
|
+
*/
|
|
2368
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2369
|
+
while (reader.nextField()) {
|
|
2370
|
+
if (reader.isEndGroup()) {
|
|
2371
|
+
break;
|
|
2372
|
+
}
|
|
2373
|
+
var field = reader.getFieldNumber();
|
|
2374
|
+
switch (field) {
|
|
2375
|
+
case 1:
|
|
2376
|
+
var value = new proto.agentbillingserviceapi.ResponseCode;
|
|
2377
|
+
reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
2378
|
+
msg.setResponsecode(value);
|
|
2379
|
+
break;
|
|
2380
|
+
case 2:
|
|
2381
|
+
var value = new proto.agentbillingserviceapi.Agent;
|
|
2382
|
+
reader.readMessage(value,proto.agentbillingserviceapi.Agent.deserializeBinaryFromReader);
|
|
2383
|
+
msg.addAssociatedagents(value);
|
|
2384
|
+
break;
|
|
2385
|
+
case 3:
|
|
2386
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2387
|
+
msg.setPage(value);
|
|
2388
|
+
break;
|
|
2389
|
+
case 4:
|
|
2390
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2391
|
+
msg.setSize(value);
|
|
2392
|
+
break;
|
|
2393
|
+
case 5:
|
|
2394
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2395
|
+
msg.setTotalpages(value);
|
|
2396
|
+
break;
|
|
2397
|
+
case 6:
|
|
2398
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2399
|
+
msg.setTotalsize(value);
|
|
2400
|
+
break;
|
|
2401
|
+
default:
|
|
2402
|
+
reader.skipField();
|
|
2403
|
+
break;
|
|
2404
|
+
}
|
|
2405
|
+
}
|
|
2406
|
+
return msg;
|
|
2407
|
+
};
|
|
2408
|
+
|
|
2409
|
+
|
|
2410
|
+
/**
|
|
2411
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2412
|
+
* @return {!Uint8Array}
|
|
2413
|
+
*/
|
|
2414
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.serializeBinary = function() {
|
|
2415
|
+
var writer = new jspb.BinaryWriter();
|
|
2416
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.serializeBinaryToWriter(this, writer);
|
|
2417
|
+
return writer.getResultBuffer();
|
|
2418
|
+
};
|
|
2419
|
+
|
|
2420
|
+
|
|
2421
|
+
/**
|
|
2422
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2423
|
+
* format), writing to the given BinaryWriter.
|
|
2424
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedAgentsResponse} message
|
|
2425
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2426
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2427
|
+
*/
|
|
2428
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2429
|
+
var f = undefined;
|
|
2430
|
+
f = message.getResponsecode();
|
|
2431
|
+
if (f != null) {
|
|
2432
|
+
writer.writeMessage(
|
|
2433
|
+
1,
|
|
2434
|
+
f,
|
|
2435
|
+
proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
|
|
2436
|
+
);
|
|
2437
|
+
}
|
|
2438
|
+
f = message.getAssociatedagentsList();
|
|
2439
|
+
if (f.length > 0) {
|
|
2440
|
+
writer.writeRepeatedMessage(
|
|
2441
|
+
2,
|
|
2442
|
+
f,
|
|
2443
|
+
proto.agentbillingserviceapi.Agent.serializeBinaryToWriter
|
|
2444
|
+
);
|
|
2445
|
+
}
|
|
2446
|
+
f = message.getPage();
|
|
2447
|
+
if (f !== 0) {
|
|
2448
|
+
writer.writeInt32(
|
|
2449
|
+
3,
|
|
2450
|
+
f
|
|
2451
|
+
);
|
|
2452
|
+
}
|
|
2453
|
+
f = message.getSize();
|
|
2454
|
+
if (f !== 0) {
|
|
2455
|
+
writer.writeInt32(
|
|
2456
|
+
4,
|
|
2457
|
+
f
|
|
2458
|
+
);
|
|
2459
|
+
}
|
|
2460
|
+
f = message.getTotalpages();
|
|
2461
|
+
if (f !== 0) {
|
|
2462
|
+
writer.writeInt32(
|
|
2463
|
+
5,
|
|
2464
|
+
f
|
|
2465
|
+
);
|
|
2466
|
+
}
|
|
2467
|
+
f = message.getTotalsize();
|
|
2468
|
+
if (f !== 0) {
|
|
2469
|
+
writer.writeInt64(
|
|
2470
|
+
6,
|
|
2471
|
+
f
|
|
2472
|
+
);
|
|
2473
|
+
}
|
|
2474
|
+
};
|
|
2475
|
+
|
|
2476
|
+
|
|
2477
|
+
/**
|
|
2478
|
+
* optional ResponseCode responseCode = 1;
|
|
2479
|
+
* @return {?proto.agentbillingserviceapi.ResponseCode}
|
|
2480
|
+
*/
|
|
2481
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.getResponsecode = function() {
|
|
2482
|
+
return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
|
|
2483
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
|
|
2484
|
+
};
|
|
2485
|
+
|
|
2486
|
+
|
|
2487
|
+
/**
|
|
2488
|
+
* @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
|
|
2489
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentsResponse} returns this
|
|
2490
|
+
*/
|
|
2491
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.setResponsecode = function(value) {
|
|
2492
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2493
|
+
};
|
|
2494
|
+
|
|
2495
|
+
|
|
2496
|
+
/**
|
|
2497
|
+
* Clears the message field making it undefined.
|
|
2498
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentsResponse} returns this
|
|
2499
|
+
*/
|
|
2500
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.clearResponsecode = function() {
|
|
2501
|
+
return this.setResponsecode(undefined);
|
|
2502
|
+
};
|
|
2503
|
+
|
|
2504
|
+
|
|
2505
|
+
/**
|
|
2506
|
+
* Returns whether this field is set.
|
|
2507
|
+
* @return {boolean}
|
|
2508
|
+
*/
|
|
2509
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.hasResponsecode = function() {
|
|
2510
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2511
|
+
};
|
|
2512
|
+
|
|
2513
|
+
|
|
2514
|
+
/**
|
|
2515
|
+
* repeated Agent associatedAgents = 2;
|
|
2516
|
+
* @return {!Array<!proto.agentbillingserviceapi.Agent>}
|
|
2517
|
+
*/
|
|
2518
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.getAssociatedagentsList = function() {
|
|
2519
|
+
return /** @type{!Array<!proto.agentbillingserviceapi.Agent>} */ (
|
|
2520
|
+
jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.Agent, 2));
|
|
2521
|
+
};
|
|
2522
|
+
|
|
2523
|
+
|
|
2524
|
+
/**
|
|
2525
|
+
* @param {!Array<!proto.agentbillingserviceapi.Agent>} value
|
|
2526
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentsResponse} returns this
|
|
2527
|
+
*/
|
|
2528
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.setAssociatedagentsList = function(value) {
|
|
2529
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
2530
|
+
};
|
|
2531
|
+
|
|
2532
|
+
|
|
2533
|
+
/**
|
|
2534
|
+
* @param {!proto.agentbillingserviceapi.Agent=} opt_value
|
|
2535
|
+
* @param {number=} opt_index
|
|
2536
|
+
* @return {!proto.agentbillingserviceapi.Agent}
|
|
2537
|
+
*/
|
|
2538
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.addAssociatedagents = function(opt_value, opt_index) {
|
|
2539
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.agentbillingserviceapi.Agent, opt_index);
|
|
2540
|
+
};
|
|
2541
|
+
|
|
2542
|
+
|
|
2543
|
+
/**
|
|
2544
|
+
* Clears the list making it empty but non-null.
|
|
2545
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentsResponse} returns this
|
|
2546
|
+
*/
|
|
2547
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.clearAssociatedagentsList = function() {
|
|
2548
|
+
return this.setAssociatedagentsList([]);
|
|
2549
|
+
};
|
|
2550
|
+
|
|
2551
|
+
|
|
2552
|
+
/**
|
|
2553
|
+
* optional int32 page = 3;
|
|
2554
|
+
* @return {number}
|
|
2555
|
+
*/
|
|
2556
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.getPage = function() {
|
|
2557
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
2558
|
+
};
|
|
2559
|
+
|
|
2560
|
+
|
|
2561
|
+
/**
|
|
2562
|
+
* @param {number} value
|
|
2563
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentsResponse} returns this
|
|
2564
|
+
*/
|
|
2565
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.setPage = function(value) {
|
|
2566
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
2567
|
+
};
|
|
2568
|
+
|
|
2569
|
+
|
|
2570
|
+
/**
|
|
2571
|
+
* optional int32 size = 4;
|
|
2572
|
+
* @return {number}
|
|
2573
|
+
*/
|
|
2574
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.getSize = function() {
|
|
2575
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
2576
|
+
};
|
|
2577
|
+
|
|
2578
|
+
|
|
2579
|
+
/**
|
|
2580
|
+
* @param {number} value
|
|
2581
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentsResponse} returns this
|
|
2582
|
+
*/
|
|
2583
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.setSize = function(value) {
|
|
2584
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
2585
|
+
};
|
|
2586
|
+
|
|
2587
|
+
|
|
2588
|
+
/**
|
|
2589
|
+
* optional int32 totalPages = 5;
|
|
2590
|
+
* @return {number}
|
|
2591
|
+
*/
|
|
2592
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.getTotalpages = function() {
|
|
2593
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
2594
|
+
};
|
|
2595
|
+
|
|
2596
|
+
|
|
2597
|
+
/**
|
|
2598
|
+
* @param {number} value
|
|
2599
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentsResponse} returns this
|
|
2600
|
+
*/
|
|
2601
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.setTotalpages = function(value) {
|
|
2602
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
2603
|
+
};
|
|
2604
|
+
|
|
2605
|
+
|
|
2606
|
+
/**
|
|
2607
|
+
* optional int64 totalSize = 6;
|
|
2608
|
+
* @return {number}
|
|
2609
|
+
*/
|
|
2610
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.getTotalsize = function() {
|
|
2611
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
2612
|
+
};
|
|
2613
|
+
|
|
2614
|
+
|
|
2615
|
+
/**
|
|
2616
|
+
* @param {number} value
|
|
2617
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentsResponse} returns this
|
|
2618
|
+
*/
|
|
2619
|
+
proto.agentbillingserviceapi.GetAssociatedAgentsResponse.prototype.setTotalsize = function(value) {
|
|
2620
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
2621
|
+
};
|
|
2622
|
+
|
|
2623
|
+
|
|
2624
|
+
|
|
2625
|
+
|
|
2626
|
+
|
|
2627
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2628
|
+
/**
|
|
2629
|
+
* Creates an object representation of this proto.
|
|
2630
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2631
|
+
* Optional fields that are not set will be set to undefined.
|
|
2632
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2633
|
+
* For the list of reserved names please see:
|
|
2634
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2635
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2636
|
+
* JSPB instance for transitional soy proto support:
|
|
2637
|
+
* http://goto/soy-param-migration
|
|
2638
|
+
* @return {!Object}
|
|
2639
|
+
*/
|
|
2640
|
+
proto.agentbillingserviceapi.GetAssociatedClientRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2641
|
+
return proto.agentbillingserviceapi.GetAssociatedClientRequest.toObject(opt_includeInstance, this);
|
|
2642
|
+
};
|
|
2643
|
+
|
|
2644
|
+
|
|
2645
|
+
/**
|
|
2646
|
+
* Static version of the {@see toObject} method.
|
|
2647
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2648
|
+
* the JSPB instance for transitional soy proto support:
|
|
2649
|
+
* http://goto/soy-param-migration
|
|
2650
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedClientRequest} msg The msg instance to transform.
|
|
2651
|
+
* @return {!Object}
|
|
2652
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2653
|
+
*/
|
|
2654
|
+
proto.agentbillingserviceapi.GetAssociatedClientRequest.toObject = function(includeInstance, msg) {
|
|
2655
|
+
var f, obj = {
|
|
2656
|
+
agentuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2657
|
+
clientuserid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
2658
|
+
};
|
|
2659
|
+
|
|
2660
|
+
if (includeInstance) {
|
|
2661
|
+
obj.$jspbMessageInstance = msg;
|
|
2662
|
+
}
|
|
2663
|
+
return obj;
|
|
2664
|
+
};
|
|
2665
|
+
}
|
|
2666
|
+
|
|
2667
|
+
|
|
2668
|
+
/**
|
|
2669
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2670
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2671
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedClientRequest}
|
|
2672
|
+
*/
|
|
2673
|
+
proto.agentbillingserviceapi.GetAssociatedClientRequest.deserializeBinary = function(bytes) {
|
|
2674
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2675
|
+
var msg = new proto.agentbillingserviceapi.GetAssociatedClientRequest;
|
|
2676
|
+
return proto.agentbillingserviceapi.GetAssociatedClientRequest.deserializeBinaryFromReader(msg, reader);
|
|
2677
|
+
};
|
|
2678
|
+
|
|
2679
|
+
|
|
2680
|
+
/**
|
|
2681
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2682
|
+
* given reader into the given message object.
|
|
2683
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedClientRequest} msg The message object to deserialize into.
|
|
2684
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2685
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedClientRequest}
|
|
2686
|
+
*/
|
|
2687
|
+
proto.agentbillingserviceapi.GetAssociatedClientRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2688
|
+
while (reader.nextField()) {
|
|
2689
|
+
if (reader.isEndGroup()) {
|
|
2690
|
+
break;
|
|
2691
|
+
}
|
|
2692
|
+
var field = reader.getFieldNumber();
|
|
2693
|
+
switch (field) {
|
|
2694
|
+
case 1:
|
|
2695
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2696
|
+
msg.setAgentuserid(value);
|
|
2697
|
+
break;
|
|
2698
|
+
case 2:
|
|
2699
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2700
|
+
msg.setClientuserid(value);
|
|
2701
|
+
break;
|
|
2702
|
+
default:
|
|
2703
|
+
reader.skipField();
|
|
2704
|
+
break;
|
|
2705
|
+
}
|
|
2706
|
+
}
|
|
2707
|
+
return msg;
|
|
2708
|
+
};
|
|
2709
|
+
|
|
2710
|
+
|
|
2711
|
+
/**
|
|
2712
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2713
|
+
* @return {!Uint8Array}
|
|
2714
|
+
*/
|
|
2715
|
+
proto.agentbillingserviceapi.GetAssociatedClientRequest.prototype.serializeBinary = function() {
|
|
2716
|
+
var writer = new jspb.BinaryWriter();
|
|
2717
|
+
proto.agentbillingserviceapi.GetAssociatedClientRequest.serializeBinaryToWriter(this, writer);
|
|
2718
|
+
return writer.getResultBuffer();
|
|
2719
|
+
};
|
|
2720
|
+
|
|
2721
|
+
|
|
2722
|
+
/**
|
|
2723
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2724
|
+
* format), writing to the given BinaryWriter.
|
|
2725
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedClientRequest} message
|
|
2726
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2727
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2728
|
+
*/
|
|
2729
|
+
proto.agentbillingserviceapi.GetAssociatedClientRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2730
|
+
var f = undefined;
|
|
2731
|
+
f = message.getAgentuserid();
|
|
2732
|
+
if (f !== 0) {
|
|
2733
|
+
writer.writeInt64(
|
|
2734
|
+
1,
|
|
2735
|
+
f
|
|
2736
|
+
);
|
|
2737
|
+
}
|
|
2738
|
+
f = message.getClientuserid();
|
|
2739
|
+
if (f !== 0) {
|
|
2740
|
+
writer.writeInt64(
|
|
2741
|
+
2,
|
|
2742
|
+
f
|
|
2743
|
+
);
|
|
2744
|
+
}
|
|
2745
|
+
};
|
|
2746
|
+
|
|
2747
|
+
|
|
2748
|
+
/**
|
|
2749
|
+
* optional int64 agentUserId = 1;
|
|
2750
|
+
* @return {number}
|
|
2751
|
+
*/
|
|
2752
|
+
proto.agentbillingserviceapi.GetAssociatedClientRequest.prototype.getAgentuserid = function() {
|
|
2753
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2754
|
+
};
|
|
2755
|
+
|
|
2756
|
+
|
|
2757
|
+
/**
|
|
2758
|
+
* @param {number} value
|
|
2759
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedClientRequest} returns this
|
|
2760
|
+
*/
|
|
2761
|
+
proto.agentbillingserviceapi.GetAssociatedClientRequest.prototype.setAgentuserid = function(value) {
|
|
2762
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
2763
|
+
};
|
|
2764
|
+
|
|
2765
|
+
|
|
2766
|
+
/**
|
|
2767
|
+
* optional int64 clientUserId = 2;
|
|
2768
|
+
* @return {number}
|
|
2769
|
+
*/
|
|
2770
|
+
proto.agentbillingserviceapi.GetAssociatedClientRequest.prototype.getClientuserid = function() {
|
|
2771
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2772
|
+
};
|
|
2773
|
+
|
|
2774
|
+
|
|
2775
|
+
/**
|
|
2776
|
+
* @param {number} value
|
|
2777
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedClientRequest} returns this
|
|
2778
|
+
*/
|
|
2779
|
+
proto.agentbillingserviceapi.GetAssociatedClientRequest.prototype.setClientuserid = function(value) {
|
|
2780
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
2781
|
+
};
|
|
2782
|
+
|
|
2783
|
+
|
|
2784
|
+
|
|
2785
|
+
|
|
2786
|
+
|
|
2787
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2788
|
+
/**
|
|
2789
|
+
* Creates an object representation of this proto.
|
|
2790
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2791
|
+
* Optional fields that are not set will be set to undefined.
|
|
2792
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2793
|
+
* For the list of reserved names please see:
|
|
2794
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2795
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2796
|
+
* JSPB instance for transitional soy proto support:
|
|
2797
|
+
* http://goto/soy-param-migration
|
|
2798
|
+
* @return {!Object}
|
|
2799
|
+
*/
|
|
2800
|
+
proto.agentbillingserviceapi.GetAssociatedClientResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2801
|
+
return proto.agentbillingserviceapi.GetAssociatedClientResponse.toObject(opt_includeInstance, this);
|
|
2802
|
+
};
|
|
2803
|
+
|
|
2804
|
+
|
|
2805
|
+
/**
|
|
2806
|
+
* Static version of the {@see toObject} method.
|
|
2807
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2808
|
+
* the JSPB instance for transitional soy proto support:
|
|
2809
|
+
* http://goto/soy-param-migration
|
|
2810
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedClientResponse} msg The msg instance to transform.
|
|
2811
|
+
* @return {!Object}
|
|
2812
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2813
|
+
*/
|
|
2814
|
+
proto.agentbillingserviceapi.GetAssociatedClientResponse.toObject = function(includeInstance, msg) {
|
|
2815
|
+
var f, obj = {
|
|
2816
|
+
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
2817
|
+
associatedclient: (f = msg.getAssociatedclient()) && proto.agentbillingserviceapi.Client.toObject(includeInstance, f)
|
|
2818
|
+
};
|
|
2819
|
+
|
|
2820
|
+
if (includeInstance) {
|
|
2821
|
+
obj.$jspbMessageInstance = msg;
|
|
2822
|
+
}
|
|
2823
|
+
return obj;
|
|
2824
|
+
};
|
|
2825
|
+
}
|
|
2826
|
+
|
|
2827
|
+
|
|
2828
|
+
/**
|
|
2829
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2830
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2831
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedClientResponse}
|
|
2832
|
+
*/
|
|
2833
|
+
proto.agentbillingserviceapi.GetAssociatedClientResponse.deserializeBinary = function(bytes) {
|
|
2834
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2835
|
+
var msg = new proto.agentbillingserviceapi.GetAssociatedClientResponse;
|
|
2836
|
+
return proto.agentbillingserviceapi.GetAssociatedClientResponse.deserializeBinaryFromReader(msg, reader);
|
|
2837
|
+
};
|
|
2838
|
+
|
|
2839
|
+
|
|
2840
|
+
/**
|
|
2841
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2842
|
+
* given reader into the given message object.
|
|
2843
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedClientResponse} msg The message object to deserialize into.
|
|
2844
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2845
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedClientResponse}
|
|
2846
|
+
*/
|
|
2847
|
+
proto.agentbillingserviceapi.GetAssociatedClientResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2848
|
+
while (reader.nextField()) {
|
|
2849
|
+
if (reader.isEndGroup()) {
|
|
2850
|
+
break;
|
|
2851
|
+
}
|
|
2852
|
+
var field = reader.getFieldNumber();
|
|
2853
|
+
switch (field) {
|
|
2854
|
+
case 1:
|
|
2855
|
+
var value = new proto.agentbillingserviceapi.ResponseCode;
|
|
2856
|
+
reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
2857
|
+
msg.setResponsecode(value);
|
|
2858
|
+
break;
|
|
2859
|
+
case 2:
|
|
2860
|
+
var value = new proto.agentbillingserviceapi.Client;
|
|
2861
|
+
reader.readMessage(value,proto.agentbillingserviceapi.Client.deserializeBinaryFromReader);
|
|
2862
|
+
msg.setAssociatedclient(value);
|
|
2863
|
+
break;
|
|
2864
|
+
default:
|
|
2865
|
+
reader.skipField();
|
|
2866
|
+
break;
|
|
2867
|
+
}
|
|
2868
|
+
}
|
|
2869
|
+
return msg;
|
|
2870
|
+
};
|
|
2871
|
+
|
|
2872
|
+
|
|
2873
|
+
/**
|
|
2874
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2875
|
+
* @return {!Uint8Array}
|
|
2876
|
+
*/
|
|
2877
|
+
proto.agentbillingserviceapi.GetAssociatedClientResponse.prototype.serializeBinary = function() {
|
|
2878
|
+
var writer = new jspb.BinaryWriter();
|
|
2879
|
+
proto.agentbillingserviceapi.GetAssociatedClientResponse.serializeBinaryToWriter(this, writer);
|
|
2880
|
+
return writer.getResultBuffer();
|
|
2881
|
+
};
|
|
2882
|
+
|
|
2883
|
+
|
|
2884
|
+
/**
|
|
2885
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2886
|
+
* format), writing to the given BinaryWriter.
|
|
2887
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedClientResponse} message
|
|
2888
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2889
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2890
|
+
*/
|
|
2891
|
+
proto.agentbillingserviceapi.GetAssociatedClientResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2892
|
+
var f = undefined;
|
|
2893
|
+
f = message.getResponsecode();
|
|
2894
|
+
if (f != null) {
|
|
2895
|
+
writer.writeMessage(
|
|
2896
|
+
1,
|
|
2897
|
+
f,
|
|
2898
|
+
proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
|
|
2899
|
+
);
|
|
2900
|
+
}
|
|
2901
|
+
f = message.getAssociatedclient();
|
|
2902
|
+
if (f != null) {
|
|
2903
|
+
writer.writeMessage(
|
|
2904
|
+
2,
|
|
2905
|
+
f,
|
|
2906
|
+
proto.agentbillingserviceapi.Client.serializeBinaryToWriter
|
|
2907
|
+
);
|
|
2908
|
+
}
|
|
2909
|
+
};
|
|
2910
|
+
|
|
2911
|
+
|
|
2912
|
+
/**
|
|
2913
|
+
* optional ResponseCode responseCode = 1;
|
|
2914
|
+
* @return {?proto.agentbillingserviceapi.ResponseCode}
|
|
2915
|
+
*/
|
|
2916
|
+
proto.agentbillingserviceapi.GetAssociatedClientResponse.prototype.getResponsecode = function() {
|
|
2917
|
+
return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
|
|
2918
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
|
|
2919
|
+
};
|
|
2920
|
+
|
|
2921
|
+
|
|
2922
|
+
/**
|
|
2923
|
+
* @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
|
|
2924
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedClientResponse} returns this
|
|
2925
|
+
*/
|
|
2926
|
+
proto.agentbillingserviceapi.GetAssociatedClientResponse.prototype.setResponsecode = function(value) {
|
|
2927
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2928
|
+
};
|
|
2929
|
+
|
|
2930
|
+
|
|
2931
|
+
/**
|
|
2932
|
+
* Clears the message field making it undefined.
|
|
2933
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedClientResponse} returns this
|
|
2934
|
+
*/
|
|
2935
|
+
proto.agentbillingserviceapi.GetAssociatedClientResponse.prototype.clearResponsecode = function() {
|
|
2936
|
+
return this.setResponsecode(undefined);
|
|
2937
|
+
};
|
|
2938
|
+
|
|
2939
|
+
|
|
2940
|
+
/**
|
|
2941
|
+
* Returns whether this field is set.
|
|
2942
|
+
* @return {boolean}
|
|
2943
|
+
*/
|
|
2944
|
+
proto.agentbillingserviceapi.GetAssociatedClientResponse.prototype.hasResponsecode = function() {
|
|
2945
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2946
|
+
};
|
|
2947
|
+
|
|
2948
|
+
|
|
2949
|
+
/**
|
|
2950
|
+
* optional Client associatedClient = 2;
|
|
2951
|
+
* @return {?proto.agentbillingserviceapi.Client}
|
|
2952
|
+
*/
|
|
2953
|
+
proto.agentbillingserviceapi.GetAssociatedClientResponse.prototype.getAssociatedclient = function() {
|
|
2954
|
+
return /** @type{?proto.agentbillingserviceapi.Client} */ (
|
|
2955
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.Client, 2));
|
|
2956
|
+
};
|
|
2957
|
+
|
|
2958
|
+
|
|
2959
|
+
/**
|
|
2960
|
+
* @param {?proto.agentbillingserviceapi.Client|undefined} value
|
|
2961
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedClientResponse} returns this
|
|
2962
|
+
*/
|
|
2963
|
+
proto.agentbillingserviceapi.GetAssociatedClientResponse.prototype.setAssociatedclient = function(value) {
|
|
2964
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2965
|
+
};
|
|
2966
|
+
|
|
2967
|
+
|
|
2968
|
+
/**
|
|
2969
|
+
* Clears the message field making it undefined.
|
|
2970
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedClientResponse} returns this
|
|
2971
|
+
*/
|
|
2972
|
+
proto.agentbillingserviceapi.GetAssociatedClientResponse.prototype.clearAssociatedclient = function() {
|
|
2973
|
+
return this.setAssociatedclient(undefined);
|
|
2974
|
+
};
|
|
2975
|
+
|
|
2976
|
+
|
|
2977
|
+
/**
|
|
2978
|
+
* Returns whether this field is set.
|
|
2979
|
+
* @return {boolean}
|
|
2980
|
+
*/
|
|
2981
|
+
proto.agentbillingserviceapi.GetAssociatedClientResponse.prototype.hasAssociatedclient = function() {
|
|
2982
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2141
2983
|
};
|
|
2142
2984
|
|
|
2143
2985
|
|