@miradorlabs/web-grpc 3.3.0 → 3.5.0

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.
@@ -30,6 +30,14 @@ goog.exportSymbol('proto.gateway.web.v1.GetAdminStatusResponse', null, global);
30
30
  goog.exportSymbol('proto.gateway.web.v1.InviteCode', null, global);
31
31
  goog.exportSymbol('proto.gateway.web.v1.ListInviteCodesRequest', null, global);
32
32
  goog.exportSymbol('proto.gateway.web.v1.ListInviteCodesResponse', null, global);
33
+ goog.exportSymbol('proto.gateway.web.v1.UpdateAIBillerRequest', null, global);
34
+ goog.exportSymbol('proto.gateway.web.v1.UpdateAIBillerResponse', null, global);
35
+ goog.exportSymbol('proto.gateway.web.v1.UpdateAIEffortRequest', null, global);
36
+ goog.exportSymbol('proto.gateway.web.v1.UpdateAIEffortResponse', null, global);
37
+ goog.exportSymbol('proto.gateway.web.v1.UpdateAIModelRequest', null, global);
38
+ goog.exportSymbol('proto.gateway.web.v1.UpdateAIModelResponse', null, global);
39
+ goog.exportSymbol('proto.gateway.web.v1.UpdateAIProviderRequest', null, global);
40
+ goog.exportSymbol('proto.gateway.web.v1.UpdateAIProviderResponse', null, global);
33
41
  /**
34
42
  * Generated by JsPbCodeGenerator.
35
43
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -177,6 +185,174 @@ if (goog.DEBUG && !COMPILED) {
177
185
  */
178
186
  proto.gateway.web.v1.ListInviteCodesResponse.displayName = 'proto.gateway.web.v1.ListInviteCodesResponse';
179
187
  }
188
+ /**
189
+ * Generated by JsPbCodeGenerator.
190
+ * @param {Array=} opt_data Optional initial data array, typically from a
191
+ * server response, or constructed directly in Javascript. The array is used
192
+ * in place and becomes part of the constructed object. It is not cloned.
193
+ * If no data is provided, the constructed object will be empty, but still
194
+ * valid.
195
+ * @extends {jspb.Message}
196
+ * @constructor
197
+ */
198
+ proto.gateway.web.v1.UpdateAIProviderRequest = function(opt_data) {
199
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
200
+ };
201
+ goog.inherits(proto.gateway.web.v1.UpdateAIProviderRequest, jspb.Message);
202
+ if (goog.DEBUG && !COMPILED) {
203
+ /**
204
+ * @public
205
+ * @override
206
+ */
207
+ proto.gateway.web.v1.UpdateAIProviderRequest.displayName = 'proto.gateway.web.v1.UpdateAIProviderRequest';
208
+ }
209
+ /**
210
+ * Generated by JsPbCodeGenerator.
211
+ * @param {Array=} opt_data Optional initial data array, typically from a
212
+ * server response, or constructed directly in Javascript. The array is used
213
+ * in place and becomes part of the constructed object. It is not cloned.
214
+ * If no data is provided, the constructed object will be empty, but still
215
+ * valid.
216
+ * @extends {jspb.Message}
217
+ * @constructor
218
+ */
219
+ proto.gateway.web.v1.UpdateAIProviderResponse = function(opt_data) {
220
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
221
+ };
222
+ goog.inherits(proto.gateway.web.v1.UpdateAIProviderResponse, jspb.Message);
223
+ if (goog.DEBUG && !COMPILED) {
224
+ /**
225
+ * @public
226
+ * @override
227
+ */
228
+ proto.gateway.web.v1.UpdateAIProviderResponse.displayName = 'proto.gateway.web.v1.UpdateAIProviderResponse';
229
+ }
230
+ /**
231
+ * Generated by JsPbCodeGenerator.
232
+ * @param {Array=} opt_data Optional initial data array, typically from a
233
+ * server response, or constructed directly in Javascript. The array is used
234
+ * in place and becomes part of the constructed object. It is not cloned.
235
+ * If no data is provided, the constructed object will be empty, but still
236
+ * valid.
237
+ * @extends {jspb.Message}
238
+ * @constructor
239
+ */
240
+ proto.gateway.web.v1.UpdateAIModelRequest = function(opt_data) {
241
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
242
+ };
243
+ goog.inherits(proto.gateway.web.v1.UpdateAIModelRequest, jspb.Message);
244
+ if (goog.DEBUG && !COMPILED) {
245
+ /**
246
+ * @public
247
+ * @override
248
+ */
249
+ proto.gateway.web.v1.UpdateAIModelRequest.displayName = 'proto.gateway.web.v1.UpdateAIModelRequest';
250
+ }
251
+ /**
252
+ * Generated by JsPbCodeGenerator.
253
+ * @param {Array=} opt_data Optional initial data array, typically from a
254
+ * server response, or constructed directly in Javascript. The array is used
255
+ * in place and becomes part of the constructed object. It is not cloned.
256
+ * If no data is provided, the constructed object will be empty, but still
257
+ * valid.
258
+ * @extends {jspb.Message}
259
+ * @constructor
260
+ */
261
+ proto.gateway.web.v1.UpdateAIModelResponse = function(opt_data) {
262
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
263
+ };
264
+ goog.inherits(proto.gateway.web.v1.UpdateAIModelResponse, jspb.Message);
265
+ if (goog.DEBUG && !COMPILED) {
266
+ /**
267
+ * @public
268
+ * @override
269
+ */
270
+ proto.gateway.web.v1.UpdateAIModelResponse.displayName = 'proto.gateway.web.v1.UpdateAIModelResponse';
271
+ }
272
+ /**
273
+ * Generated by JsPbCodeGenerator.
274
+ * @param {Array=} opt_data Optional initial data array, typically from a
275
+ * server response, or constructed directly in Javascript. The array is used
276
+ * in place and becomes part of the constructed object. It is not cloned.
277
+ * If no data is provided, the constructed object will be empty, but still
278
+ * valid.
279
+ * @extends {jspb.Message}
280
+ * @constructor
281
+ */
282
+ proto.gateway.web.v1.UpdateAIEffortRequest = function(opt_data) {
283
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
284
+ };
285
+ goog.inherits(proto.gateway.web.v1.UpdateAIEffortRequest, jspb.Message);
286
+ if (goog.DEBUG && !COMPILED) {
287
+ /**
288
+ * @public
289
+ * @override
290
+ */
291
+ proto.gateway.web.v1.UpdateAIEffortRequest.displayName = 'proto.gateway.web.v1.UpdateAIEffortRequest';
292
+ }
293
+ /**
294
+ * Generated by JsPbCodeGenerator.
295
+ * @param {Array=} opt_data Optional initial data array, typically from a
296
+ * server response, or constructed directly in Javascript. The array is used
297
+ * in place and becomes part of the constructed object. It is not cloned.
298
+ * If no data is provided, the constructed object will be empty, but still
299
+ * valid.
300
+ * @extends {jspb.Message}
301
+ * @constructor
302
+ */
303
+ proto.gateway.web.v1.UpdateAIEffortResponse = function(opt_data) {
304
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
305
+ };
306
+ goog.inherits(proto.gateway.web.v1.UpdateAIEffortResponse, jspb.Message);
307
+ if (goog.DEBUG && !COMPILED) {
308
+ /**
309
+ * @public
310
+ * @override
311
+ */
312
+ proto.gateway.web.v1.UpdateAIEffortResponse.displayName = 'proto.gateway.web.v1.UpdateAIEffortResponse';
313
+ }
314
+ /**
315
+ * Generated by JsPbCodeGenerator.
316
+ * @param {Array=} opt_data Optional initial data array, typically from a
317
+ * server response, or constructed directly in Javascript. The array is used
318
+ * in place and becomes part of the constructed object. It is not cloned.
319
+ * If no data is provided, the constructed object will be empty, but still
320
+ * valid.
321
+ * @extends {jspb.Message}
322
+ * @constructor
323
+ */
324
+ proto.gateway.web.v1.UpdateAIBillerRequest = function(opt_data) {
325
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
326
+ };
327
+ goog.inherits(proto.gateway.web.v1.UpdateAIBillerRequest, jspb.Message);
328
+ if (goog.DEBUG && !COMPILED) {
329
+ /**
330
+ * @public
331
+ * @override
332
+ */
333
+ proto.gateway.web.v1.UpdateAIBillerRequest.displayName = 'proto.gateway.web.v1.UpdateAIBillerRequest';
334
+ }
335
+ /**
336
+ * Generated by JsPbCodeGenerator.
337
+ * @param {Array=} opt_data Optional initial data array, typically from a
338
+ * server response, or constructed directly in Javascript. The array is used
339
+ * in place and becomes part of the constructed object. It is not cloned.
340
+ * If no data is provided, the constructed object will be empty, but still
341
+ * valid.
342
+ * @extends {jspb.Message}
343
+ * @constructor
344
+ */
345
+ proto.gateway.web.v1.UpdateAIBillerResponse = function(opt_data) {
346
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
347
+ };
348
+ goog.inherits(proto.gateway.web.v1.UpdateAIBillerResponse, jspb.Message);
349
+ if (goog.DEBUG && !COMPILED) {
350
+ /**
351
+ * @public
352
+ * @override
353
+ */
354
+ proto.gateway.web.v1.UpdateAIBillerResponse.displayName = 'proto.gateway.web.v1.UpdateAIBillerResponse';
355
+ }
180
356
 
181
357
 
182
358
 
@@ -1647,4 +1823,1452 @@ proto.gateway.web.v1.ListInviteCodesResponse.prototype.clearCodesList = function
1647
1823
  };
1648
1824
 
1649
1825
 
1826
+
1827
+
1828
+
1829
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1830
+ /**
1831
+ * Creates an object representation of this proto.
1832
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1833
+ * Optional fields that are not set will be set to undefined.
1834
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1835
+ * For the list of reserved names please see:
1836
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1837
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1838
+ * JSPB instance for transitional soy proto support:
1839
+ * http://goto/soy-param-migration
1840
+ * @return {!Object}
1841
+ */
1842
+ proto.gateway.web.v1.UpdateAIProviderRequest.prototype.toObject = function(opt_includeInstance) {
1843
+ return proto.gateway.web.v1.UpdateAIProviderRequest.toObject(opt_includeInstance, this);
1844
+ };
1845
+
1846
+
1847
+ /**
1848
+ * Static version of the {@see toObject} method.
1849
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1850
+ * the JSPB instance for transitional soy proto support:
1851
+ * http://goto/soy-param-migration
1852
+ * @param {!proto.gateway.web.v1.UpdateAIProviderRequest} msg The msg instance to transform.
1853
+ * @return {!Object}
1854
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1855
+ */
1856
+ proto.gateway.web.v1.UpdateAIProviderRequest.toObject = function(includeInstance, msg) {
1857
+ var f, obj = {
1858
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
1859
+ displayName: jspb.Message.getFieldWithDefault(msg, 2, "")
1860
+ };
1861
+
1862
+ if (includeInstance) {
1863
+ obj.$jspbMessageInstance = msg;
1864
+ }
1865
+ return obj;
1866
+ };
1867
+ }
1868
+
1869
+
1870
+ /**
1871
+ * Deserializes binary data (in protobuf wire format).
1872
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
1873
+ * @return {!proto.gateway.web.v1.UpdateAIProviderRequest}
1874
+ */
1875
+ proto.gateway.web.v1.UpdateAIProviderRequest.deserializeBinary = function(bytes) {
1876
+ var reader = new jspb.BinaryReader(bytes);
1877
+ var msg = new proto.gateway.web.v1.UpdateAIProviderRequest;
1878
+ return proto.gateway.web.v1.UpdateAIProviderRequest.deserializeBinaryFromReader(msg, reader);
1879
+ };
1880
+
1881
+
1882
+ /**
1883
+ * Deserializes binary data (in protobuf wire format) from the
1884
+ * given reader into the given message object.
1885
+ * @param {!proto.gateway.web.v1.UpdateAIProviderRequest} msg The message object to deserialize into.
1886
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1887
+ * @return {!proto.gateway.web.v1.UpdateAIProviderRequest}
1888
+ */
1889
+ proto.gateway.web.v1.UpdateAIProviderRequest.deserializeBinaryFromReader = function(msg, reader) {
1890
+ while (reader.nextField()) {
1891
+ if (reader.isEndGroup()) {
1892
+ break;
1893
+ }
1894
+ var field = reader.getFieldNumber();
1895
+ switch (field) {
1896
+ case 1:
1897
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1898
+ msg.setName(value);
1899
+ break;
1900
+ case 2:
1901
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1902
+ msg.setDisplayName(value);
1903
+ break;
1904
+ default:
1905
+ reader.skipField();
1906
+ break;
1907
+ }
1908
+ }
1909
+ return msg;
1910
+ };
1911
+
1912
+
1913
+ /**
1914
+ * Serializes the message to binary data (in protobuf wire format).
1915
+ * @return {!Uint8Array}
1916
+ */
1917
+ proto.gateway.web.v1.UpdateAIProviderRequest.prototype.serializeBinary = function() {
1918
+ var writer = new jspb.BinaryWriter();
1919
+ proto.gateway.web.v1.UpdateAIProviderRequest.serializeBinaryToWriter(this, writer);
1920
+ return writer.getResultBuffer();
1921
+ };
1922
+
1923
+
1924
+ /**
1925
+ * Serializes the given message to binary data (in protobuf wire
1926
+ * format), writing to the given BinaryWriter.
1927
+ * @param {!proto.gateway.web.v1.UpdateAIProviderRequest} message
1928
+ * @param {!jspb.BinaryWriter} writer
1929
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1930
+ */
1931
+ proto.gateway.web.v1.UpdateAIProviderRequest.serializeBinaryToWriter = function(message, writer) {
1932
+ var f = undefined;
1933
+ f = message.getName();
1934
+ if (f.length > 0) {
1935
+ writer.writeString(
1936
+ 1,
1937
+ f
1938
+ );
1939
+ }
1940
+ f = message.getDisplayName();
1941
+ if (f.length > 0) {
1942
+ writer.writeString(
1943
+ 2,
1944
+ f
1945
+ );
1946
+ }
1947
+ };
1948
+
1949
+
1950
+ /**
1951
+ * optional string name = 1;
1952
+ * @return {string}
1953
+ */
1954
+ proto.gateway.web.v1.UpdateAIProviderRequest.prototype.getName = function() {
1955
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1956
+ };
1957
+
1958
+
1959
+ /**
1960
+ * @param {string} value
1961
+ * @return {!proto.gateway.web.v1.UpdateAIProviderRequest} returns this
1962
+ */
1963
+ proto.gateway.web.v1.UpdateAIProviderRequest.prototype.setName = function(value) {
1964
+ return jspb.Message.setProto3StringField(this, 1, value);
1965
+ };
1966
+
1967
+
1968
+ /**
1969
+ * optional string display_name = 2;
1970
+ * @return {string}
1971
+ */
1972
+ proto.gateway.web.v1.UpdateAIProviderRequest.prototype.getDisplayName = function() {
1973
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1974
+ };
1975
+
1976
+
1977
+ /**
1978
+ * @param {string} value
1979
+ * @return {!proto.gateway.web.v1.UpdateAIProviderRequest} returns this
1980
+ */
1981
+ proto.gateway.web.v1.UpdateAIProviderRequest.prototype.setDisplayName = function(value) {
1982
+ return jspb.Message.setProto3StringField(this, 2, value);
1983
+ };
1984
+
1985
+
1986
+
1987
+
1988
+
1989
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1990
+ /**
1991
+ * Creates an object representation of this proto.
1992
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1993
+ * Optional fields that are not set will be set to undefined.
1994
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1995
+ * For the list of reserved names please see:
1996
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1997
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1998
+ * JSPB instance for transitional soy proto support:
1999
+ * http://goto/soy-param-migration
2000
+ * @return {!Object}
2001
+ */
2002
+ proto.gateway.web.v1.UpdateAIProviderResponse.prototype.toObject = function(opt_includeInstance) {
2003
+ return proto.gateway.web.v1.UpdateAIProviderResponse.toObject(opt_includeInstance, this);
2004
+ };
2005
+
2006
+
2007
+ /**
2008
+ * Static version of the {@see toObject} method.
2009
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2010
+ * the JSPB instance for transitional soy proto support:
2011
+ * http://goto/soy-param-migration
2012
+ * @param {!proto.gateway.web.v1.UpdateAIProviderResponse} msg The msg instance to transform.
2013
+ * @return {!Object}
2014
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2015
+ */
2016
+ proto.gateway.web.v1.UpdateAIProviderResponse.toObject = function(includeInstance, msg) {
2017
+ var f, obj = {
2018
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
2019
+ provider: (f = msg.getProvider()) && proto_gateway_web_v1_reference_gateway_pb.AIReferenceName.toObject(includeInstance, f)
2020
+ };
2021
+
2022
+ if (includeInstance) {
2023
+ obj.$jspbMessageInstance = msg;
2024
+ }
2025
+ return obj;
2026
+ };
2027
+ }
2028
+
2029
+
2030
+ /**
2031
+ * Deserializes binary data (in protobuf wire format).
2032
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
2033
+ * @return {!proto.gateway.web.v1.UpdateAIProviderResponse}
2034
+ */
2035
+ proto.gateway.web.v1.UpdateAIProviderResponse.deserializeBinary = function(bytes) {
2036
+ var reader = new jspb.BinaryReader(bytes);
2037
+ var msg = new proto.gateway.web.v1.UpdateAIProviderResponse;
2038
+ return proto.gateway.web.v1.UpdateAIProviderResponse.deserializeBinaryFromReader(msg, reader);
2039
+ };
2040
+
2041
+
2042
+ /**
2043
+ * Deserializes binary data (in protobuf wire format) from the
2044
+ * given reader into the given message object.
2045
+ * @param {!proto.gateway.web.v1.UpdateAIProviderResponse} msg The message object to deserialize into.
2046
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2047
+ * @return {!proto.gateway.web.v1.UpdateAIProviderResponse}
2048
+ */
2049
+ proto.gateway.web.v1.UpdateAIProviderResponse.deserializeBinaryFromReader = function(msg, reader) {
2050
+ while (reader.nextField()) {
2051
+ if (reader.isEndGroup()) {
2052
+ break;
2053
+ }
2054
+ var field = reader.getFieldNumber();
2055
+ switch (field) {
2056
+ case 1:
2057
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
2058
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
2059
+ msg.setStatus(value);
2060
+ break;
2061
+ case 2:
2062
+ var value = new proto_gateway_web_v1_reference_gateway_pb.AIReferenceName;
2063
+ reader.readMessage(value,proto_gateway_web_v1_reference_gateway_pb.AIReferenceName.deserializeBinaryFromReader);
2064
+ msg.setProvider(value);
2065
+ break;
2066
+ default:
2067
+ reader.skipField();
2068
+ break;
2069
+ }
2070
+ }
2071
+ return msg;
2072
+ };
2073
+
2074
+
2075
+ /**
2076
+ * Serializes the message to binary data (in protobuf wire format).
2077
+ * @return {!Uint8Array}
2078
+ */
2079
+ proto.gateway.web.v1.UpdateAIProviderResponse.prototype.serializeBinary = function() {
2080
+ var writer = new jspb.BinaryWriter();
2081
+ proto.gateway.web.v1.UpdateAIProviderResponse.serializeBinaryToWriter(this, writer);
2082
+ return writer.getResultBuffer();
2083
+ };
2084
+
2085
+
2086
+ /**
2087
+ * Serializes the given message to binary data (in protobuf wire
2088
+ * format), writing to the given BinaryWriter.
2089
+ * @param {!proto.gateway.web.v1.UpdateAIProviderResponse} message
2090
+ * @param {!jspb.BinaryWriter} writer
2091
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2092
+ */
2093
+ proto.gateway.web.v1.UpdateAIProviderResponse.serializeBinaryToWriter = function(message, writer) {
2094
+ var f = undefined;
2095
+ f = message.getStatus();
2096
+ if (f != null) {
2097
+ writer.writeMessage(
2098
+ 1,
2099
+ f,
2100
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
2101
+ );
2102
+ }
2103
+ f = message.getProvider();
2104
+ if (f != null) {
2105
+ writer.writeMessage(
2106
+ 2,
2107
+ f,
2108
+ proto_gateway_web_v1_reference_gateway_pb.AIReferenceName.serializeBinaryToWriter
2109
+ );
2110
+ }
2111
+ };
2112
+
2113
+
2114
+ /**
2115
+ * optional gateway.common.v1.ResponseStatus status = 1;
2116
+ * @return {?proto.gateway.common.v1.ResponseStatus}
2117
+ */
2118
+ proto.gateway.web.v1.UpdateAIProviderResponse.prototype.getStatus = function() {
2119
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
2120
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
2121
+ };
2122
+
2123
+
2124
+ /**
2125
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
2126
+ * @return {!proto.gateway.web.v1.UpdateAIProviderResponse} returns this
2127
+ */
2128
+ proto.gateway.web.v1.UpdateAIProviderResponse.prototype.setStatus = function(value) {
2129
+ return jspb.Message.setWrapperField(this, 1, value);
2130
+ };
2131
+
2132
+
2133
+ /**
2134
+ * Clears the message field making it undefined.
2135
+ * @return {!proto.gateway.web.v1.UpdateAIProviderResponse} returns this
2136
+ */
2137
+ proto.gateway.web.v1.UpdateAIProviderResponse.prototype.clearStatus = function() {
2138
+ return this.setStatus(undefined);
2139
+ };
2140
+
2141
+
2142
+ /**
2143
+ * Returns whether this field is set.
2144
+ * @return {boolean}
2145
+ */
2146
+ proto.gateway.web.v1.UpdateAIProviderResponse.prototype.hasStatus = function() {
2147
+ return jspb.Message.getField(this, 1) != null;
2148
+ };
2149
+
2150
+
2151
+ /**
2152
+ * optional AIReferenceName provider = 2;
2153
+ * @return {?proto.gateway.web.v1.AIReferenceName}
2154
+ */
2155
+ proto.gateway.web.v1.UpdateAIProviderResponse.prototype.getProvider = function() {
2156
+ return /** @type{?proto.gateway.web.v1.AIReferenceName} */ (
2157
+ jspb.Message.getWrapperField(this, proto_gateway_web_v1_reference_gateway_pb.AIReferenceName, 2));
2158
+ };
2159
+
2160
+
2161
+ /**
2162
+ * @param {?proto.gateway.web.v1.AIReferenceName|undefined} value
2163
+ * @return {!proto.gateway.web.v1.UpdateAIProviderResponse} returns this
2164
+ */
2165
+ proto.gateway.web.v1.UpdateAIProviderResponse.prototype.setProvider = function(value) {
2166
+ return jspb.Message.setWrapperField(this, 2, value);
2167
+ };
2168
+
2169
+
2170
+ /**
2171
+ * Clears the message field making it undefined.
2172
+ * @return {!proto.gateway.web.v1.UpdateAIProviderResponse} returns this
2173
+ */
2174
+ proto.gateway.web.v1.UpdateAIProviderResponse.prototype.clearProvider = function() {
2175
+ return this.setProvider(undefined);
2176
+ };
2177
+
2178
+
2179
+ /**
2180
+ * Returns whether this field is set.
2181
+ * @return {boolean}
2182
+ */
2183
+ proto.gateway.web.v1.UpdateAIProviderResponse.prototype.hasProvider = function() {
2184
+ return jspb.Message.getField(this, 2) != null;
2185
+ };
2186
+
2187
+
2188
+
2189
+
2190
+
2191
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2192
+ /**
2193
+ * Creates an object representation of this proto.
2194
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2195
+ * Optional fields that are not set will be set to undefined.
2196
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2197
+ * For the list of reserved names please see:
2198
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2199
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2200
+ * JSPB instance for transitional soy proto support:
2201
+ * http://goto/soy-param-migration
2202
+ * @return {!Object}
2203
+ */
2204
+ proto.gateway.web.v1.UpdateAIModelRequest.prototype.toObject = function(opt_includeInstance) {
2205
+ return proto.gateway.web.v1.UpdateAIModelRequest.toObject(opt_includeInstance, this);
2206
+ };
2207
+
2208
+
2209
+ /**
2210
+ * Static version of the {@see toObject} method.
2211
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2212
+ * the JSPB instance for transitional soy proto support:
2213
+ * http://goto/soy-param-migration
2214
+ * @param {!proto.gateway.web.v1.UpdateAIModelRequest} msg The msg instance to transform.
2215
+ * @return {!Object}
2216
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2217
+ */
2218
+ proto.gateway.web.v1.UpdateAIModelRequest.toObject = function(includeInstance, msg) {
2219
+ var f, obj = {
2220
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
2221
+ displayName: jspb.Message.getFieldWithDefault(msg, 2, "")
2222
+ };
2223
+
2224
+ if (includeInstance) {
2225
+ obj.$jspbMessageInstance = msg;
2226
+ }
2227
+ return obj;
2228
+ };
2229
+ }
2230
+
2231
+
2232
+ /**
2233
+ * Deserializes binary data (in protobuf wire format).
2234
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
2235
+ * @return {!proto.gateway.web.v1.UpdateAIModelRequest}
2236
+ */
2237
+ proto.gateway.web.v1.UpdateAIModelRequest.deserializeBinary = function(bytes) {
2238
+ var reader = new jspb.BinaryReader(bytes);
2239
+ var msg = new proto.gateway.web.v1.UpdateAIModelRequest;
2240
+ return proto.gateway.web.v1.UpdateAIModelRequest.deserializeBinaryFromReader(msg, reader);
2241
+ };
2242
+
2243
+
2244
+ /**
2245
+ * Deserializes binary data (in protobuf wire format) from the
2246
+ * given reader into the given message object.
2247
+ * @param {!proto.gateway.web.v1.UpdateAIModelRequest} msg The message object to deserialize into.
2248
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2249
+ * @return {!proto.gateway.web.v1.UpdateAIModelRequest}
2250
+ */
2251
+ proto.gateway.web.v1.UpdateAIModelRequest.deserializeBinaryFromReader = function(msg, reader) {
2252
+ while (reader.nextField()) {
2253
+ if (reader.isEndGroup()) {
2254
+ break;
2255
+ }
2256
+ var field = reader.getFieldNumber();
2257
+ switch (field) {
2258
+ case 1:
2259
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2260
+ msg.setName(value);
2261
+ break;
2262
+ case 2:
2263
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2264
+ msg.setDisplayName(value);
2265
+ break;
2266
+ default:
2267
+ reader.skipField();
2268
+ break;
2269
+ }
2270
+ }
2271
+ return msg;
2272
+ };
2273
+
2274
+
2275
+ /**
2276
+ * Serializes the message to binary data (in protobuf wire format).
2277
+ * @return {!Uint8Array}
2278
+ */
2279
+ proto.gateway.web.v1.UpdateAIModelRequest.prototype.serializeBinary = function() {
2280
+ var writer = new jspb.BinaryWriter();
2281
+ proto.gateway.web.v1.UpdateAIModelRequest.serializeBinaryToWriter(this, writer);
2282
+ return writer.getResultBuffer();
2283
+ };
2284
+
2285
+
2286
+ /**
2287
+ * Serializes the given message to binary data (in protobuf wire
2288
+ * format), writing to the given BinaryWriter.
2289
+ * @param {!proto.gateway.web.v1.UpdateAIModelRequest} message
2290
+ * @param {!jspb.BinaryWriter} writer
2291
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2292
+ */
2293
+ proto.gateway.web.v1.UpdateAIModelRequest.serializeBinaryToWriter = function(message, writer) {
2294
+ var f = undefined;
2295
+ f = message.getName();
2296
+ if (f.length > 0) {
2297
+ writer.writeString(
2298
+ 1,
2299
+ f
2300
+ );
2301
+ }
2302
+ f = message.getDisplayName();
2303
+ if (f.length > 0) {
2304
+ writer.writeString(
2305
+ 2,
2306
+ f
2307
+ );
2308
+ }
2309
+ };
2310
+
2311
+
2312
+ /**
2313
+ * optional string name = 1;
2314
+ * @return {string}
2315
+ */
2316
+ proto.gateway.web.v1.UpdateAIModelRequest.prototype.getName = function() {
2317
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2318
+ };
2319
+
2320
+
2321
+ /**
2322
+ * @param {string} value
2323
+ * @return {!proto.gateway.web.v1.UpdateAIModelRequest} returns this
2324
+ */
2325
+ proto.gateway.web.v1.UpdateAIModelRequest.prototype.setName = function(value) {
2326
+ return jspb.Message.setProto3StringField(this, 1, value);
2327
+ };
2328
+
2329
+
2330
+ /**
2331
+ * optional string display_name = 2;
2332
+ * @return {string}
2333
+ */
2334
+ proto.gateway.web.v1.UpdateAIModelRequest.prototype.getDisplayName = function() {
2335
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2336
+ };
2337
+
2338
+
2339
+ /**
2340
+ * @param {string} value
2341
+ * @return {!proto.gateway.web.v1.UpdateAIModelRequest} returns this
2342
+ */
2343
+ proto.gateway.web.v1.UpdateAIModelRequest.prototype.setDisplayName = function(value) {
2344
+ return jspb.Message.setProto3StringField(this, 2, value);
2345
+ };
2346
+
2347
+
2348
+
2349
+
2350
+
2351
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2352
+ /**
2353
+ * Creates an object representation of this proto.
2354
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2355
+ * Optional fields that are not set will be set to undefined.
2356
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2357
+ * For the list of reserved names please see:
2358
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2359
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2360
+ * JSPB instance for transitional soy proto support:
2361
+ * http://goto/soy-param-migration
2362
+ * @return {!Object}
2363
+ */
2364
+ proto.gateway.web.v1.UpdateAIModelResponse.prototype.toObject = function(opt_includeInstance) {
2365
+ return proto.gateway.web.v1.UpdateAIModelResponse.toObject(opt_includeInstance, this);
2366
+ };
2367
+
2368
+
2369
+ /**
2370
+ * Static version of the {@see toObject} method.
2371
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2372
+ * the JSPB instance for transitional soy proto support:
2373
+ * http://goto/soy-param-migration
2374
+ * @param {!proto.gateway.web.v1.UpdateAIModelResponse} msg The msg instance to transform.
2375
+ * @return {!Object}
2376
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2377
+ */
2378
+ proto.gateway.web.v1.UpdateAIModelResponse.toObject = function(includeInstance, msg) {
2379
+ var f, obj = {
2380
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
2381
+ model: (f = msg.getModel()) && proto_gateway_web_v1_reference_gateway_pb.AIReferenceName.toObject(includeInstance, f)
2382
+ };
2383
+
2384
+ if (includeInstance) {
2385
+ obj.$jspbMessageInstance = msg;
2386
+ }
2387
+ return obj;
2388
+ };
2389
+ }
2390
+
2391
+
2392
+ /**
2393
+ * Deserializes binary data (in protobuf wire format).
2394
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
2395
+ * @return {!proto.gateway.web.v1.UpdateAIModelResponse}
2396
+ */
2397
+ proto.gateway.web.v1.UpdateAIModelResponse.deserializeBinary = function(bytes) {
2398
+ var reader = new jspb.BinaryReader(bytes);
2399
+ var msg = new proto.gateway.web.v1.UpdateAIModelResponse;
2400
+ return proto.gateway.web.v1.UpdateAIModelResponse.deserializeBinaryFromReader(msg, reader);
2401
+ };
2402
+
2403
+
2404
+ /**
2405
+ * Deserializes binary data (in protobuf wire format) from the
2406
+ * given reader into the given message object.
2407
+ * @param {!proto.gateway.web.v1.UpdateAIModelResponse} msg The message object to deserialize into.
2408
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2409
+ * @return {!proto.gateway.web.v1.UpdateAIModelResponse}
2410
+ */
2411
+ proto.gateway.web.v1.UpdateAIModelResponse.deserializeBinaryFromReader = function(msg, reader) {
2412
+ while (reader.nextField()) {
2413
+ if (reader.isEndGroup()) {
2414
+ break;
2415
+ }
2416
+ var field = reader.getFieldNumber();
2417
+ switch (field) {
2418
+ case 1:
2419
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
2420
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
2421
+ msg.setStatus(value);
2422
+ break;
2423
+ case 2:
2424
+ var value = new proto_gateway_web_v1_reference_gateway_pb.AIReferenceName;
2425
+ reader.readMessage(value,proto_gateway_web_v1_reference_gateway_pb.AIReferenceName.deserializeBinaryFromReader);
2426
+ msg.setModel(value);
2427
+ break;
2428
+ default:
2429
+ reader.skipField();
2430
+ break;
2431
+ }
2432
+ }
2433
+ return msg;
2434
+ };
2435
+
2436
+
2437
+ /**
2438
+ * Serializes the message to binary data (in protobuf wire format).
2439
+ * @return {!Uint8Array}
2440
+ */
2441
+ proto.gateway.web.v1.UpdateAIModelResponse.prototype.serializeBinary = function() {
2442
+ var writer = new jspb.BinaryWriter();
2443
+ proto.gateway.web.v1.UpdateAIModelResponse.serializeBinaryToWriter(this, writer);
2444
+ return writer.getResultBuffer();
2445
+ };
2446
+
2447
+
2448
+ /**
2449
+ * Serializes the given message to binary data (in protobuf wire
2450
+ * format), writing to the given BinaryWriter.
2451
+ * @param {!proto.gateway.web.v1.UpdateAIModelResponse} message
2452
+ * @param {!jspb.BinaryWriter} writer
2453
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2454
+ */
2455
+ proto.gateway.web.v1.UpdateAIModelResponse.serializeBinaryToWriter = function(message, writer) {
2456
+ var f = undefined;
2457
+ f = message.getStatus();
2458
+ if (f != null) {
2459
+ writer.writeMessage(
2460
+ 1,
2461
+ f,
2462
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
2463
+ );
2464
+ }
2465
+ f = message.getModel();
2466
+ if (f != null) {
2467
+ writer.writeMessage(
2468
+ 2,
2469
+ f,
2470
+ proto_gateway_web_v1_reference_gateway_pb.AIReferenceName.serializeBinaryToWriter
2471
+ );
2472
+ }
2473
+ };
2474
+
2475
+
2476
+ /**
2477
+ * optional gateway.common.v1.ResponseStatus status = 1;
2478
+ * @return {?proto.gateway.common.v1.ResponseStatus}
2479
+ */
2480
+ proto.gateway.web.v1.UpdateAIModelResponse.prototype.getStatus = function() {
2481
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
2482
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
2483
+ };
2484
+
2485
+
2486
+ /**
2487
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
2488
+ * @return {!proto.gateway.web.v1.UpdateAIModelResponse} returns this
2489
+ */
2490
+ proto.gateway.web.v1.UpdateAIModelResponse.prototype.setStatus = function(value) {
2491
+ return jspb.Message.setWrapperField(this, 1, value);
2492
+ };
2493
+
2494
+
2495
+ /**
2496
+ * Clears the message field making it undefined.
2497
+ * @return {!proto.gateway.web.v1.UpdateAIModelResponse} returns this
2498
+ */
2499
+ proto.gateway.web.v1.UpdateAIModelResponse.prototype.clearStatus = function() {
2500
+ return this.setStatus(undefined);
2501
+ };
2502
+
2503
+
2504
+ /**
2505
+ * Returns whether this field is set.
2506
+ * @return {boolean}
2507
+ */
2508
+ proto.gateway.web.v1.UpdateAIModelResponse.prototype.hasStatus = function() {
2509
+ return jspb.Message.getField(this, 1) != null;
2510
+ };
2511
+
2512
+
2513
+ /**
2514
+ * optional AIReferenceName model = 2;
2515
+ * @return {?proto.gateway.web.v1.AIReferenceName}
2516
+ */
2517
+ proto.gateway.web.v1.UpdateAIModelResponse.prototype.getModel = function() {
2518
+ return /** @type{?proto.gateway.web.v1.AIReferenceName} */ (
2519
+ jspb.Message.getWrapperField(this, proto_gateway_web_v1_reference_gateway_pb.AIReferenceName, 2));
2520
+ };
2521
+
2522
+
2523
+ /**
2524
+ * @param {?proto.gateway.web.v1.AIReferenceName|undefined} value
2525
+ * @return {!proto.gateway.web.v1.UpdateAIModelResponse} returns this
2526
+ */
2527
+ proto.gateway.web.v1.UpdateAIModelResponse.prototype.setModel = function(value) {
2528
+ return jspb.Message.setWrapperField(this, 2, value);
2529
+ };
2530
+
2531
+
2532
+ /**
2533
+ * Clears the message field making it undefined.
2534
+ * @return {!proto.gateway.web.v1.UpdateAIModelResponse} returns this
2535
+ */
2536
+ proto.gateway.web.v1.UpdateAIModelResponse.prototype.clearModel = function() {
2537
+ return this.setModel(undefined);
2538
+ };
2539
+
2540
+
2541
+ /**
2542
+ * Returns whether this field is set.
2543
+ * @return {boolean}
2544
+ */
2545
+ proto.gateway.web.v1.UpdateAIModelResponse.prototype.hasModel = function() {
2546
+ return jspb.Message.getField(this, 2) != null;
2547
+ };
2548
+
2549
+
2550
+
2551
+
2552
+
2553
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2554
+ /**
2555
+ * Creates an object representation of this proto.
2556
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2557
+ * Optional fields that are not set will be set to undefined.
2558
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2559
+ * For the list of reserved names please see:
2560
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2561
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2562
+ * JSPB instance for transitional soy proto support:
2563
+ * http://goto/soy-param-migration
2564
+ * @return {!Object}
2565
+ */
2566
+ proto.gateway.web.v1.UpdateAIEffortRequest.prototype.toObject = function(opt_includeInstance) {
2567
+ return proto.gateway.web.v1.UpdateAIEffortRequest.toObject(opt_includeInstance, this);
2568
+ };
2569
+
2570
+
2571
+ /**
2572
+ * Static version of the {@see toObject} method.
2573
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2574
+ * the JSPB instance for transitional soy proto support:
2575
+ * http://goto/soy-param-migration
2576
+ * @param {!proto.gateway.web.v1.UpdateAIEffortRequest} msg The msg instance to transform.
2577
+ * @return {!Object}
2578
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2579
+ */
2580
+ proto.gateway.web.v1.UpdateAIEffortRequest.toObject = function(includeInstance, msg) {
2581
+ var f, obj = {
2582
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
2583
+ displayName: jspb.Message.getFieldWithDefault(msg, 2, "")
2584
+ };
2585
+
2586
+ if (includeInstance) {
2587
+ obj.$jspbMessageInstance = msg;
2588
+ }
2589
+ return obj;
2590
+ };
2591
+ }
2592
+
2593
+
2594
+ /**
2595
+ * Deserializes binary data (in protobuf wire format).
2596
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
2597
+ * @return {!proto.gateway.web.v1.UpdateAIEffortRequest}
2598
+ */
2599
+ proto.gateway.web.v1.UpdateAIEffortRequest.deserializeBinary = function(bytes) {
2600
+ var reader = new jspb.BinaryReader(bytes);
2601
+ var msg = new proto.gateway.web.v1.UpdateAIEffortRequest;
2602
+ return proto.gateway.web.v1.UpdateAIEffortRequest.deserializeBinaryFromReader(msg, reader);
2603
+ };
2604
+
2605
+
2606
+ /**
2607
+ * Deserializes binary data (in protobuf wire format) from the
2608
+ * given reader into the given message object.
2609
+ * @param {!proto.gateway.web.v1.UpdateAIEffortRequest} msg The message object to deserialize into.
2610
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2611
+ * @return {!proto.gateway.web.v1.UpdateAIEffortRequest}
2612
+ */
2613
+ proto.gateway.web.v1.UpdateAIEffortRequest.deserializeBinaryFromReader = function(msg, reader) {
2614
+ while (reader.nextField()) {
2615
+ if (reader.isEndGroup()) {
2616
+ break;
2617
+ }
2618
+ var field = reader.getFieldNumber();
2619
+ switch (field) {
2620
+ case 1:
2621
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2622
+ msg.setName(value);
2623
+ break;
2624
+ case 2:
2625
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2626
+ msg.setDisplayName(value);
2627
+ break;
2628
+ default:
2629
+ reader.skipField();
2630
+ break;
2631
+ }
2632
+ }
2633
+ return msg;
2634
+ };
2635
+
2636
+
2637
+ /**
2638
+ * Serializes the message to binary data (in protobuf wire format).
2639
+ * @return {!Uint8Array}
2640
+ */
2641
+ proto.gateway.web.v1.UpdateAIEffortRequest.prototype.serializeBinary = function() {
2642
+ var writer = new jspb.BinaryWriter();
2643
+ proto.gateway.web.v1.UpdateAIEffortRequest.serializeBinaryToWriter(this, writer);
2644
+ return writer.getResultBuffer();
2645
+ };
2646
+
2647
+
2648
+ /**
2649
+ * Serializes the given message to binary data (in protobuf wire
2650
+ * format), writing to the given BinaryWriter.
2651
+ * @param {!proto.gateway.web.v1.UpdateAIEffortRequest} message
2652
+ * @param {!jspb.BinaryWriter} writer
2653
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2654
+ */
2655
+ proto.gateway.web.v1.UpdateAIEffortRequest.serializeBinaryToWriter = function(message, writer) {
2656
+ var f = undefined;
2657
+ f = message.getName();
2658
+ if (f.length > 0) {
2659
+ writer.writeString(
2660
+ 1,
2661
+ f
2662
+ );
2663
+ }
2664
+ f = message.getDisplayName();
2665
+ if (f.length > 0) {
2666
+ writer.writeString(
2667
+ 2,
2668
+ f
2669
+ );
2670
+ }
2671
+ };
2672
+
2673
+
2674
+ /**
2675
+ * optional string name = 1;
2676
+ * @return {string}
2677
+ */
2678
+ proto.gateway.web.v1.UpdateAIEffortRequest.prototype.getName = function() {
2679
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2680
+ };
2681
+
2682
+
2683
+ /**
2684
+ * @param {string} value
2685
+ * @return {!proto.gateway.web.v1.UpdateAIEffortRequest} returns this
2686
+ */
2687
+ proto.gateway.web.v1.UpdateAIEffortRequest.prototype.setName = function(value) {
2688
+ return jspb.Message.setProto3StringField(this, 1, value);
2689
+ };
2690
+
2691
+
2692
+ /**
2693
+ * optional string display_name = 2;
2694
+ * @return {string}
2695
+ */
2696
+ proto.gateway.web.v1.UpdateAIEffortRequest.prototype.getDisplayName = function() {
2697
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2698
+ };
2699
+
2700
+
2701
+ /**
2702
+ * @param {string} value
2703
+ * @return {!proto.gateway.web.v1.UpdateAIEffortRequest} returns this
2704
+ */
2705
+ proto.gateway.web.v1.UpdateAIEffortRequest.prototype.setDisplayName = function(value) {
2706
+ return jspb.Message.setProto3StringField(this, 2, value);
2707
+ };
2708
+
2709
+
2710
+
2711
+
2712
+
2713
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2714
+ /**
2715
+ * Creates an object representation of this proto.
2716
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2717
+ * Optional fields that are not set will be set to undefined.
2718
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2719
+ * For the list of reserved names please see:
2720
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2721
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2722
+ * JSPB instance for transitional soy proto support:
2723
+ * http://goto/soy-param-migration
2724
+ * @return {!Object}
2725
+ */
2726
+ proto.gateway.web.v1.UpdateAIEffortResponse.prototype.toObject = function(opt_includeInstance) {
2727
+ return proto.gateway.web.v1.UpdateAIEffortResponse.toObject(opt_includeInstance, this);
2728
+ };
2729
+
2730
+
2731
+ /**
2732
+ * Static version of the {@see toObject} method.
2733
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2734
+ * the JSPB instance for transitional soy proto support:
2735
+ * http://goto/soy-param-migration
2736
+ * @param {!proto.gateway.web.v1.UpdateAIEffortResponse} msg The msg instance to transform.
2737
+ * @return {!Object}
2738
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2739
+ */
2740
+ proto.gateway.web.v1.UpdateAIEffortResponse.toObject = function(includeInstance, msg) {
2741
+ var f, obj = {
2742
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
2743
+ effort: (f = msg.getEffort()) && proto_gateway_web_v1_reference_gateway_pb.AIReferenceName.toObject(includeInstance, f)
2744
+ };
2745
+
2746
+ if (includeInstance) {
2747
+ obj.$jspbMessageInstance = msg;
2748
+ }
2749
+ return obj;
2750
+ };
2751
+ }
2752
+
2753
+
2754
+ /**
2755
+ * Deserializes binary data (in protobuf wire format).
2756
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
2757
+ * @return {!proto.gateway.web.v1.UpdateAIEffortResponse}
2758
+ */
2759
+ proto.gateway.web.v1.UpdateAIEffortResponse.deserializeBinary = function(bytes) {
2760
+ var reader = new jspb.BinaryReader(bytes);
2761
+ var msg = new proto.gateway.web.v1.UpdateAIEffortResponse;
2762
+ return proto.gateway.web.v1.UpdateAIEffortResponse.deserializeBinaryFromReader(msg, reader);
2763
+ };
2764
+
2765
+
2766
+ /**
2767
+ * Deserializes binary data (in protobuf wire format) from the
2768
+ * given reader into the given message object.
2769
+ * @param {!proto.gateway.web.v1.UpdateAIEffortResponse} msg The message object to deserialize into.
2770
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2771
+ * @return {!proto.gateway.web.v1.UpdateAIEffortResponse}
2772
+ */
2773
+ proto.gateway.web.v1.UpdateAIEffortResponse.deserializeBinaryFromReader = function(msg, reader) {
2774
+ while (reader.nextField()) {
2775
+ if (reader.isEndGroup()) {
2776
+ break;
2777
+ }
2778
+ var field = reader.getFieldNumber();
2779
+ switch (field) {
2780
+ case 1:
2781
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
2782
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
2783
+ msg.setStatus(value);
2784
+ break;
2785
+ case 2:
2786
+ var value = new proto_gateway_web_v1_reference_gateway_pb.AIReferenceName;
2787
+ reader.readMessage(value,proto_gateway_web_v1_reference_gateway_pb.AIReferenceName.deserializeBinaryFromReader);
2788
+ msg.setEffort(value);
2789
+ break;
2790
+ default:
2791
+ reader.skipField();
2792
+ break;
2793
+ }
2794
+ }
2795
+ return msg;
2796
+ };
2797
+
2798
+
2799
+ /**
2800
+ * Serializes the message to binary data (in protobuf wire format).
2801
+ * @return {!Uint8Array}
2802
+ */
2803
+ proto.gateway.web.v1.UpdateAIEffortResponse.prototype.serializeBinary = function() {
2804
+ var writer = new jspb.BinaryWriter();
2805
+ proto.gateway.web.v1.UpdateAIEffortResponse.serializeBinaryToWriter(this, writer);
2806
+ return writer.getResultBuffer();
2807
+ };
2808
+
2809
+
2810
+ /**
2811
+ * Serializes the given message to binary data (in protobuf wire
2812
+ * format), writing to the given BinaryWriter.
2813
+ * @param {!proto.gateway.web.v1.UpdateAIEffortResponse} message
2814
+ * @param {!jspb.BinaryWriter} writer
2815
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2816
+ */
2817
+ proto.gateway.web.v1.UpdateAIEffortResponse.serializeBinaryToWriter = function(message, writer) {
2818
+ var f = undefined;
2819
+ f = message.getStatus();
2820
+ if (f != null) {
2821
+ writer.writeMessage(
2822
+ 1,
2823
+ f,
2824
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
2825
+ );
2826
+ }
2827
+ f = message.getEffort();
2828
+ if (f != null) {
2829
+ writer.writeMessage(
2830
+ 2,
2831
+ f,
2832
+ proto_gateway_web_v1_reference_gateway_pb.AIReferenceName.serializeBinaryToWriter
2833
+ );
2834
+ }
2835
+ };
2836
+
2837
+
2838
+ /**
2839
+ * optional gateway.common.v1.ResponseStatus status = 1;
2840
+ * @return {?proto.gateway.common.v1.ResponseStatus}
2841
+ */
2842
+ proto.gateway.web.v1.UpdateAIEffortResponse.prototype.getStatus = function() {
2843
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
2844
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
2845
+ };
2846
+
2847
+
2848
+ /**
2849
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
2850
+ * @return {!proto.gateway.web.v1.UpdateAIEffortResponse} returns this
2851
+ */
2852
+ proto.gateway.web.v1.UpdateAIEffortResponse.prototype.setStatus = function(value) {
2853
+ return jspb.Message.setWrapperField(this, 1, value);
2854
+ };
2855
+
2856
+
2857
+ /**
2858
+ * Clears the message field making it undefined.
2859
+ * @return {!proto.gateway.web.v1.UpdateAIEffortResponse} returns this
2860
+ */
2861
+ proto.gateway.web.v1.UpdateAIEffortResponse.prototype.clearStatus = function() {
2862
+ return this.setStatus(undefined);
2863
+ };
2864
+
2865
+
2866
+ /**
2867
+ * Returns whether this field is set.
2868
+ * @return {boolean}
2869
+ */
2870
+ proto.gateway.web.v1.UpdateAIEffortResponse.prototype.hasStatus = function() {
2871
+ return jspb.Message.getField(this, 1) != null;
2872
+ };
2873
+
2874
+
2875
+ /**
2876
+ * optional AIReferenceName effort = 2;
2877
+ * @return {?proto.gateway.web.v1.AIReferenceName}
2878
+ */
2879
+ proto.gateway.web.v1.UpdateAIEffortResponse.prototype.getEffort = function() {
2880
+ return /** @type{?proto.gateway.web.v1.AIReferenceName} */ (
2881
+ jspb.Message.getWrapperField(this, proto_gateway_web_v1_reference_gateway_pb.AIReferenceName, 2));
2882
+ };
2883
+
2884
+
2885
+ /**
2886
+ * @param {?proto.gateway.web.v1.AIReferenceName|undefined} value
2887
+ * @return {!proto.gateway.web.v1.UpdateAIEffortResponse} returns this
2888
+ */
2889
+ proto.gateway.web.v1.UpdateAIEffortResponse.prototype.setEffort = function(value) {
2890
+ return jspb.Message.setWrapperField(this, 2, value);
2891
+ };
2892
+
2893
+
2894
+ /**
2895
+ * Clears the message field making it undefined.
2896
+ * @return {!proto.gateway.web.v1.UpdateAIEffortResponse} returns this
2897
+ */
2898
+ proto.gateway.web.v1.UpdateAIEffortResponse.prototype.clearEffort = function() {
2899
+ return this.setEffort(undefined);
2900
+ };
2901
+
2902
+
2903
+ /**
2904
+ * Returns whether this field is set.
2905
+ * @return {boolean}
2906
+ */
2907
+ proto.gateway.web.v1.UpdateAIEffortResponse.prototype.hasEffort = function() {
2908
+ return jspb.Message.getField(this, 2) != null;
2909
+ };
2910
+
2911
+
2912
+
2913
+
2914
+
2915
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2916
+ /**
2917
+ * Creates an object representation of this proto.
2918
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2919
+ * Optional fields that are not set will be set to undefined.
2920
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2921
+ * For the list of reserved names please see:
2922
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2923
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2924
+ * JSPB instance for transitional soy proto support:
2925
+ * http://goto/soy-param-migration
2926
+ * @return {!Object}
2927
+ */
2928
+ proto.gateway.web.v1.UpdateAIBillerRequest.prototype.toObject = function(opt_includeInstance) {
2929
+ return proto.gateway.web.v1.UpdateAIBillerRequest.toObject(opt_includeInstance, this);
2930
+ };
2931
+
2932
+
2933
+ /**
2934
+ * Static version of the {@see toObject} method.
2935
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2936
+ * the JSPB instance for transitional soy proto support:
2937
+ * http://goto/soy-param-migration
2938
+ * @param {!proto.gateway.web.v1.UpdateAIBillerRequest} msg The msg instance to transform.
2939
+ * @return {!Object}
2940
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2941
+ */
2942
+ proto.gateway.web.v1.UpdateAIBillerRequest.toObject = function(includeInstance, msg) {
2943
+ var f, obj = {
2944
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
2945
+ displayName: jspb.Message.getFieldWithDefault(msg, 2, "")
2946
+ };
2947
+
2948
+ if (includeInstance) {
2949
+ obj.$jspbMessageInstance = msg;
2950
+ }
2951
+ return obj;
2952
+ };
2953
+ }
2954
+
2955
+
2956
+ /**
2957
+ * Deserializes binary data (in protobuf wire format).
2958
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
2959
+ * @return {!proto.gateway.web.v1.UpdateAIBillerRequest}
2960
+ */
2961
+ proto.gateway.web.v1.UpdateAIBillerRequest.deserializeBinary = function(bytes) {
2962
+ var reader = new jspb.BinaryReader(bytes);
2963
+ var msg = new proto.gateway.web.v1.UpdateAIBillerRequest;
2964
+ return proto.gateway.web.v1.UpdateAIBillerRequest.deserializeBinaryFromReader(msg, reader);
2965
+ };
2966
+
2967
+
2968
+ /**
2969
+ * Deserializes binary data (in protobuf wire format) from the
2970
+ * given reader into the given message object.
2971
+ * @param {!proto.gateway.web.v1.UpdateAIBillerRequest} msg The message object to deserialize into.
2972
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2973
+ * @return {!proto.gateway.web.v1.UpdateAIBillerRequest}
2974
+ */
2975
+ proto.gateway.web.v1.UpdateAIBillerRequest.deserializeBinaryFromReader = function(msg, reader) {
2976
+ while (reader.nextField()) {
2977
+ if (reader.isEndGroup()) {
2978
+ break;
2979
+ }
2980
+ var field = reader.getFieldNumber();
2981
+ switch (field) {
2982
+ case 1:
2983
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2984
+ msg.setName(value);
2985
+ break;
2986
+ case 2:
2987
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2988
+ msg.setDisplayName(value);
2989
+ break;
2990
+ default:
2991
+ reader.skipField();
2992
+ break;
2993
+ }
2994
+ }
2995
+ return msg;
2996
+ };
2997
+
2998
+
2999
+ /**
3000
+ * Serializes the message to binary data (in protobuf wire format).
3001
+ * @return {!Uint8Array}
3002
+ */
3003
+ proto.gateway.web.v1.UpdateAIBillerRequest.prototype.serializeBinary = function() {
3004
+ var writer = new jspb.BinaryWriter();
3005
+ proto.gateway.web.v1.UpdateAIBillerRequest.serializeBinaryToWriter(this, writer);
3006
+ return writer.getResultBuffer();
3007
+ };
3008
+
3009
+
3010
+ /**
3011
+ * Serializes the given message to binary data (in protobuf wire
3012
+ * format), writing to the given BinaryWriter.
3013
+ * @param {!proto.gateway.web.v1.UpdateAIBillerRequest} message
3014
+ * @param {!jspb.BinaryWriter} writer
3015
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3016
+ */
3017
+ proto.gateway.web.v1.UpdateAIBillerRequest.serializeBinaryToWriter = function(message, writer) {
3018
+ var f = undefined;
3019
+ f = message.getName();
3020
+ if (f.length > 0) {
3021
+ writer.writeString(
3022
+ 1,
3023
+ f
3024
+ );
3025
+ }
3026
+ f = message.getDisplayName();
3027
+ if (f.length > 0) {
3028
+ writer.writeString(
3029
+ 2,
3030
+ f
3031
+ );
3032
+ }
3033
+ };
3034
+
3035
+
3036
+ /**
3037
+ * optional string name = 1;
3038
+ * @return {string}
3039
+ */
3040
+ proto.gateway.web.v1.UpdateAIBillerRequest.prototype.getName = function() {
3041
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3042
+ };
3043
+
3044
+
3045
+ /**
3046
+ * @param {string} value
3047
+ * @return {!proto.gateway.web.v1.UpdateAIBillerRequest} returns this
3048
+ */
3049
+ proto.gateway.web.v1.UpdateAIBillerRequest.prototype.setName = function(value) {
3050
+ return jspb.Message.setProto3StringField(this, 1, value);
3051
+ };
3052
+
3053
+
3054
+ /**
3055
+ * optional string display_name = 2;
3056
+ * @return {string}
3057
+ */
3058
+ proto.gateway.web.v1.UpdateAIBillerRequest.prototype.getDisplayName = function() {
3059
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3060
+ };
3061
+
3062
+
3063
+ /**
3064
+ * @param {string} value
3065
+ * @return {!proto.gateway.web.v1.UpdateAIBillerRequest} returns this
3066
+ */
3067
+ proto.gateway.web.v1.UpdateAIBillerRequest.prototype.setDisplayName = function(value) {
3068
+ return jspb.Message.setProto3StringField(this, 2, value);
3069
+ };
3070
+
3071
+
3072
+
3073
+
3074
+
3075
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3076
+ /**
3077
+ * Creates an object representation of this proto.
3078
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3079
+ * Optional fields that are not set will be set to undefined.
3080
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3081
+ * For the list of reserved names please see:
3082
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3083
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3084
+ * JSPB instance for transitional soy proto support:
3085
+ * http://goto/soy-param-migration
3086
+ * @return {!Object}
3087
+ */
3088
+ proto.gateway.web.v1.UpdateAIBillerResponse.prototype.toObject = function(opt_includeInstance) {
3089
+ return proto.gateway.web.v1.UpdateAIBillerResponse.toObject(opt_includeInstance, this);
3090
+ };
3091
+
3092
+
3093
+ /**
3094
+ * Static version of the {@see toObject} method.
3095
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3096
+ * the JSPB instance for transitional soy proto support:
3097
+ * http://goto/soy-param-migration
3098
+ * @param {!proto.gateway.web.v1.UpdateAIBillerResponse} msg The msg instance to transform.
3099
+ * @return {!Object}
3100
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3101
+ */
3102
+ proto.gateway.web.v1.UpdateAIBillerResponse.toObject = function(includeInstance, msg) {
3103
+ var f, obj = {
3104
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
3105
+ biller: (f = msg.getBiller()) && proto_gateway_web_v1_reference_gateway_pb.AIReferenceName.toObject(includeInstance, f)
3106
+ };
3107
+
3108
+ if (includeInstance) {
3109
+ obj.$jspbMessageInstance = msg;
3110
+ }
3111
+ return obj;
3112
+ };
3113
+ }
3114
+
3115
+
3116
+ /**
3117
+ * Deserializes binary data (in protobuf wire format).
3118
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
3119
+ * @return {!proto.gateway.web.v1.UpdateAIBillerResponse}
3120
+ */
3121
+ proto.gateway.web.v1.UpdateAIBillerResponse.deserializeBinary = function(bytes) {
3122
+ var reader = new jspb.BinaryReader(bytes);
3123
+ var msg = new proto.gateway.web.v1.UpdateAIBillerResponse;
3124
+ return proto.gateway.web.v1.UpdateAIBillerResponse.deserializeBinaryFromReader(msg, reader);
3125
+ };
3126
+
3127
+
3128
+ /**
3129
+ * Deserializes binary data (in protobuf wire format) from the
3130
+ * given reader into the given message object.
3131
+ * @param {!proto.gateway.web.v1.UpdateAIBillerResponse} msg The message object to deserialize into.
3132
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3133
+ * @return {!proto.gateway.web.v1.UpdateAIBillerResponse}
3134
+ */
3135
+ proto.gateway.web.v1.UpdateAIBillerResponse.deserializeBinaryFromReader = function(msg, reader) {
3136
+ while (reader.nextField()) {
3137
+ if (reader.isEndGroup()) {
3138
+ break;
3139
+ }
3140
+ var field = reader.getFieldNumber();
3141
+ switch (field) {
3142
+ case 1:
3143
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
3144
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
3145
+ msg.setStatus(value);
3146
+ break;
3147
+ case 2:
3148
+ var value = new proto_gateway_web_v1_reference_gateway_pb.AIReferenceName;
3149
+ reader.readMessage(value,proto_gateway_web_v1_reference_gateway_pb.AIReferenceName.deserializeBinaryFromReader);
3150
+ msg.setBiller(value);
3151
+ break;
3152
+ default:
3153
+ reader.skipField();
3154
+ break;
3155
+ }
3156
+ }
3157
+ return msg;
3158
+ };
3159
+
3160
+
3161
+ /**
3162
+ * Serializes the message to binary data (in protobuf wire format).
3163
+ * @return {!Uint8Array}
3164
+ */
3165
+ proto.gateway.web.v1.UpdateAIBillerResponse.prototype.serializeBinary = function() {
3166
+ var writer = new jspb.BinaryWriter();
3167
+ proto.gateway.web.v1.UpdateAIBillerResponse.serializeBinaryToWriter(this, writer);
3168
+ return writer.getResultBuffer();
3169
+ };
3170
+
3171
+
3172
+ /**
3173
+ * Serializes the given message to binary data (in protobuf wire
3174
+ * format), writing to the given BinaryWriter.
3175
+ * @param {!proto.gateway.web.v1.UpdateAIBillerResponse} message
3176
+ * @param {!jspb.BinaryWriter} writer
3177
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3178
+ */
3179
+ proto.gateway.web.v1.UpdateAIBillerResponse.serializeBinaryToWriter = function(message, writer) {
3180
+ var f = undefined;
3181
+ f = message.getStatus();
3182
+ if (f != null) {
3183
+ writer.writeMessage(
3184
+ 1,
3185
+ f,
3186
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
3187
+ );
3188
+ }
3189
+ f = message.getBiller();
3190
+ if (f != null) {
3191
+ writer.writeMessage(
3192
+ 2,
3193
+ f,
3194
+ proto_gateway_web_v1_reference_gateway_pb.AIReferenceName.serializeBinaryToWriter
3195
+ );
3196
+ }
3197
+ };
3198
+
3199
+
3200
+ /**
3201
+ * optional gateway.common.v1.ResponseStatus status = 1;
3202
+ * @return {?proto.gateway.common.v1.ResponseStatus}
3203
+ */
3204
+ proto.gateway.web.v1.UpdateAIBillerResponse.prototype.getStatus = function() {
3205
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
3206
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
3207
+ };
3208
+
3209
+
3210
+ /**
3211
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
3212
+ * @return {!proto.gateway.web.v1.UpdateAIBillerResponse} returns this
3213
+ */
3214
+ proto.gateway.web.v1.UpdateAIBillerResponse.prototype.setStatus = function(value) {
3215
+ return jspb.Message.setWrapperField(this, 1, value);
3216
+ };
3217
+
3218
+
3219
+ /**
3220
+ * Clears the message field making it undefined.
3221
+ * @return {!proto.gateway.web.v1.UpdateAIBillerResponse} returns this
3222
+ */
3223
+ proto.gateway.web.v1.UpdateAIBillerResponse.prototype.clearStatus = function() {
3224
+ return this.setStatus(undefined);
3225
+ };
3226
+
3227
+
3228
+ /**
3229
+ * Returns whether this field is set.
3230
+ * @return {boolean}
3231
+ */
3232
+ proto.gateway.web.v1.UpdateAIBillerResponse.prototype.hasStatus = function() {
3233
+ return jspb.Message.getField(this, 1) != null;
3234
+ };
3235
+
3236
+
3237
+ /**
3238
+ * optional AIReferenceName biller = 2;
3239
+ * @return {?proto.gateway.web.v1.AIReferenceName}
3240
+ */
3241
+ proto.gateway.web.v1.UpdateAIBillerResponse.prototype.getBiller = function() {
3242
+ return /** @type{?proto.gateway.web.v1.AIReferenceName} */ (
3243
+ jspb.Message.getWrapperField(this, proto_gateway_web_v1_reference_gateway_pb.AIReferenceName, 2));
3244
+ };
3245
+
3246
+
3247
+ /**
3248
+ * @param {?proto.gateway.web.v1.AIReferenceName|undefined} value
3249
+ * @return {!proto.gateway.web.v1.UpdateAIBillerResponse} returns this
3250
+ */
3251
+ proto.gateway.web.v1.UpdateAIBillerResponse.prototype.setBiller = function(value) {
3252
+ return jspb.Message.setWrapperField(this, 2, value);
3253
+ };
3254
+
3255
+
3256
+ /**
3257
+ * Clears the message field making it undefined.
3258
+ * @return {!proto.gateway.web.v1.UpdateAIBillerResponse} returns this
3259
+ */
3260
+ proto.gateway.web.v1.UpdateAIBillerResponse.prototype.clearBiller = function() {
3261
+ return this.setBiller(undefined);
3262
+ };
3263
+
3264
+
3265
+ /**
3266
+ * Returns whether this field is set.
3267
+ * @return {boolean}
3268
+ */
3269
+ proto.gateway.web.v1.UpdateAIBillerResponse.prototype.hasBiller = function() {
3270
+ return jspb.Message.getField(this, 2) != null;
3271
+ };
3272
+
3273
+
1650
3274
  goog.object.extend(exports, proto.gateway.web.v1);