@miradorlabs/web-grpc 3.3.0 → 3.4.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.
- package/package.json +1 -1
- package/proto/gateway/web/v1/admin_gateway.ts +818 -107
- package/proto/gateway/web/v1/admin_gateway_grpc_pb.js +103 -103
- package/proto/gateway/web/v1/admin_gateway_pb.js +1624 -0
- package/proto/gateway/web/v1/ai_gateway.ts +182 -61
- package/proto/gateway/web/v1/ai_gateway_grpc_pb.js +2 -2
- package/proto/gateway/web/v1/ai_gateway_pb.js +216 -47
- package/proto/gateway/web/v1/reference_gateway.ts +681 -223
- package/proto/gateway/web/v1/reference_gateway_grpc_pb.js +105 -39
- package/proto/gateway/web/v1/reference_gateway_pb.js +1196 -320
- package/proto/gateway/web/v1/model_gateway.ts +0 -728
- package/proto/gateway/web/v1/model_gateway_grpc_pb.js +0 -85
- package/proto/gateway/web/v1/model_gateway_pb.js +0 -1261
|
@@ -23,13 +23,17 @@ goog.exportSymbol('proto.gateway.web.v1.AIPrincipal', null, global);
|
|
|
23
23
|
goog.exportSymbol('proto.gateway.web.v1.AIPrincipalKind', null, global);
|
|
24
24
|
goog.exportSymbol('proto.gateway.web.v1.AIReferenceName', null, global);
|
|
25
25
|
goog.exportSymbol('proto.gateway.web.v1.AIReferenceNameOrigin', null, global);
|
|
26
|
-
goog.exportSymbol('proto.gateway.web.v1.
|
|
27
|
-
goog.exportSymbol('proto.gateway.web.v1.
|
|
28
|
-
goog.exportSymbol('proto.gateway.web.v1.
|
|
26
|
+
goog.exportSymbol('proto.gateway.web.v1.AIReferenceNameScope', null, global);
|
|
27
|
+
goog.exportSymbol('proto.gateway.web.v1.ListAIBillersRequest', null, global);
|
|
28
|
+
goog.exportSymbol('proto.gateway.web.v1.ListAIBillersResponse', null, global);
|
|
29
|
+
goog.exportSymbol('proto.gateway.web.v1.ListAIEffortsRequest', null, global);
|
|
30
|
+
goog.exportSymbol('proto.gateway.web.v1.ListAIEffortsResponse', null, global);
|
|
31
|
+
goog.exportSymbol('proto.gateway.web.v1.ListAIModelsRequest', null, global);
|
|
32
|
+
goog.exportSymbol('proto.gateway.web.v1.ListAIModelsResponse', null, global);
|
|
33
|
+
goog.exportSymbol('proto.gateway.web.v1.ListAIProvidersRequest', null, global);
|
|
34
|
+
goog.exportSymbol('proto.gateway.web.v1.ListAIProvidersResponse', null, global);
|
|
29
35
|
goog.exportSymbol('proto.gateway.web.v1.ListPrincipalsRequest', null, global);
|
|
30
36
|
goog.exportSymbol('proto.gateway.web.v1.ListPrincipalsResponse', null, global);
|
|
31
|
-
goog.exportSymbol('proto.gateway.web.v1.UpdateAIReferenceNameRequest', null, global);
|
|
32
|
-
goog.exportSymbol('proto.gateway.web.v1.UpdateAIReferenceNameResponse', null, global);
|
|
33
37
|
goog.exportSymbol('proto.gateway.web.v1.UpdatePrincipalRequest', null, global);
|
|
34
38
|
goog.exportSymbol('proto.gateway.web.v1.UpdatePrincipalResponse', null, global);
|
|
35
39
|
/**
|
|
@@ -147,16 +151,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
147
151
|
* @extends {jspb.Message}
|
|
148
152
|
* @constructor
|
|
149
153
|
*/
|
|
150
|
-
proto.gateway.web.v1.
|
|
154
|
+
proto.gateway.web.v1.ListAIProvidersRequest = function(opt_data) {
|
|
151
155
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
152
156
|
};
|
|
153
|
-
goog.inherits(proto.gateway.web.v1.
|
|
157
|
+
goog.inherits(proto.gateway.web.v1.ListAIProvidersRequest, jspb.Message);
|
|
154
158
|
if (goog.DEBUG && !COMPILED) {
|
|
155
159
|
/**
|
|
156
160
|
* @public
|
|
157
161
|
* @override
|
|
158
162
|
*/
|
|
159
|
-
proto.gateway.web.v1.
|
|
163
|
+
proto.gateway.web.v1.ListAIProvidersRequest.displayName = 'proto.gateway.web.v1.ListAIProvidersRequest';
|
|
160
164
|
}
|
|
161
165
|
/**
|
|
162
166
|
* Generated by JsPbCodeGenerator.
|
|
@@ -168,16 +172,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
168
172
|
* @extends {jspb.Message}
|
|
169
173
|
* @constructor
|
|
170
174
|
*/
|
|
171
|
-
proto.gateway.web.v1.
|
|
172
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.
|
|
175
|
+
proto.gateway.web.v1.ListAIProvidersResponse = function(opt_data) {
|
|
176
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListAIProvidersResponse.repeatedFields_, null);
|
|
173
177
|
};
|
|
174
|
-
goog.inherits(proto.gateway.web.v1.
|
|
178
|
+
goog.inherits(proto.gateway.web.v1.ListAIProvidersResponse, jspb.Message);
|
|
175
179
|
if (goog.DEBUG && !COMPILED) {
|
|
176
180
|
/**
|
|
177
181
|
* @public
|
|
178
182
|
* @override
|
|
179
183
|
*/
|
|
180
|
-
proto.gateway.web.v1.
|
|
184
|
+
proto.gateway.web.v1.ListAIProvidersResponse.displayName = 'proto.gateway.web.v1.ListAIProvidersResponse';
|
|
181
185
|
}
|
|
182
186
|
/**
|
|
183
187
|
* Generated by JsPbCodeGenerator.
|
|
@@ -189,16 +193,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
189
193
|
* @extends {jspb.Message}
|
|
190
194
|
* @constructor
|
|
191
195
|
*/
|
|
192
|
-
proto.gateway.web.v1.
|
|
193
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
196
|
+
proto.gateway.web.v1.ListAIModelsRequest = function(opt_data) {
|
|
197
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
194
198
|
};
|
|
195
|
-
goog.inherits(proto.gateway.web.v1.
|
|
199
|
+
goog.inherits(proto.gateway.web.v1.ListAIModelsRequest, jspb.Message);
|
|
196
200
|
if (goog.DEBUG && !COMPILED) {
|
|
197
201
|
/**
|
|
198
202
|
* @public
|
|
199
203
|
* @override
|
|
200
204
|
*/
|
|
201
|
-
proto.gateway.web.v1.
|
|
205
|
+
proto.gateway.web.v1.ListAIModelsRequest.displayName = 'proto.gateway.web.v1.ListAIModelsRequest';
|
|
202
206
|
}
|
|
203
207
|
/**
|
|
204
208
|
* Generated by JsPbCodeGenerator.
|
|
@@ -210,16 +214,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
210
214
|
* @extends {jspb.Message}
|
|
211
215
|
* @constructor
|
|
212
216
|
*/
|
|
213
|
-
proto.gateway.web.v1.
|
|
214
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
217
|
+
proto.gateway.web.v1.ListAIModelsResponse = function(opt_data) {
|
|
218
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListAIModelsResponse.repeatedFields_, null);
|
|
215
219
|
};
|
|
216
|
-
goog.inherits(proto.gateway.web.v1.
|
|
220
|
+
goog.inherits(proto.gateway.web.v1.ListAIModelsResponse, jspb.Message);
|
|
217
221
|
if (goog.DEBUG && !COMPILED) {
|
|
218
222
|
/**
|
|
219
223
|
* @public
|
|
220
224
|
* @override
|
|
221
225
|
*/
|
|
222
|
-
proto.gateway.web.v1.
|
|
226
|
+
proto.gateway.web.v1.ListAIModelsResponse.displayName = 'proto.gateway.web.v1.ListAIModelsResponse';
|
|
223
227
|
}
|
|
224
228
|
/**
|
|
225
229
|
* Generated by JsPbCodeGenerator.
|
|
@@ -231,16 +235,37 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
231
235
|
* @extends {jspb.Message}
|
|
232
236
|
* @constructor
|
|
233
237
|
*/
|
|
234
|
-
proto.gateway.web.v1.
|
|
238
|
+
proto.gateway.web.v1.ListAIEffortsRequest = function(opt_data) {
|
|
235
239
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
236
240
|
};
|
|
237
|
-
goog.inherits(proto.gateway.web.v1.
|
|
241
|
+
goog.inherits(proto.gateway.web.v1.ListAIEffortsRequest, jspb.Message);
|
|
242
|
+
if (goog.DEBUG && !COMPILED) {
|
|
243
|
+
/**
|
|
244
|
+
* @public
|
|
245
|
+
* @override
|
|
246
|
+
*/
|
|
247
|
+
proto.gateway.web.v1.ListAIEffortsRequest.displayName = 'proto.gateway.web.v1.ListAIEffortsRequest';
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Generated by JsPbCodeGenerator.
|
|
251
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
252
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
253
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
254
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
255
|
+
* valid.
|
|
256
|
+
* @extends {jspb.Message}
|
|
257
|
+
* @constructor
|
|
258
|
+
*/
|
|
259
|
+
proto.gateway.web.v1.ListAIEffortsResponse = function(opt_data) {
|
|
260
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListAIEffortsResponse.repeatedFields_, null);
|
|
261
|
+
};
|
|
262
|
+
goog.inherits(proto.gateway.web.v1.ListAIEffortsResponse, jspb.Message);
|
|
238
263
|
if (goog.DEBUG && !COMPILED) {
|
|
239
264
|
/**
|
|
240
265
|
* @public
|
|
241
266
|
* @override
|
|
242
267
|
*/
|
|
243
|
-
proto.gateway.web.v1.
|
|
268
|
+
proto.gateway.web.v1.ListAIEffortsResponse.displayName = 'proto.gateway.web.v1.ListAIEffortsResponse';
|
|
244
269
|
}
|
|
245
270
|
/**
|
|
246
271
|
* Generated by JsPbCodeGenerator.
|
|
@@ -252,16 +277,58 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
252
277
|
* @extends {jspb.Message}
|
|
253
278
|
* @constructor
|
|
254
279
|
*/
|
|
255
|
-
proto.gateway.web.v1.
|
|
280
|
+
proto.gateway.web.v1.ListAIBillersRequest = function(opt_data) {
|
|
256
281
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
257
282
|
};
|
|
258
|
-
goog.inherits(proto.gateway.web.v1.
|
|
283
|
+
goog.inherits(proto.gateway.web.v1.ListAIBillersRequest, jspb.Message);
|
|
284
|
+
if (goog.DEBUG && !COMPILED) {
|
|
285
|
+
/**
|
|
286
|
+
* @public
|
|
287
|
+
* @override
|
|
288
|
+
*/
|
|
289
|
+
proto.gateway.web.v1.ListAIBillersRequest.displayName = 'proto.gateway.web.v1.ListAIBillersRequest';
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Generated by JsPbCodeGenerator.
|
|
293
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
294
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
295
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
296
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
297
|
+
* valid.
|
|
298
|
+
* @extends {jspb.Message}
|
|
299
|
+
* @constructor
|
|
300
|
+
*/
|
|
301
|
+
proto.gateway.web.v1.ListAIBillersResponse = function(opt_data) {
|
|
302
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListAIBillersResponse.repeatedFields_, null);
|
|
303
|
+
};
|
|
304
|
+
goog.inherits(proto.gateway.web.v1.ListAIBillersResponse, jspb.Message);
|
|
305
|
+
if (goog.DEBUG && !COMPILED) {
|
|
306
|
+
/**
|
|
307
|
+
* @public
|
|
308
|
+
* @override
|
|
309
|
+
*/
|
|
310
|
+
proto.gateway.web.v1.ListAIBillersResponse.displayName = 'proto.gateway.web.v1.ListAIBillersResponse';
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* Generated by JsPbCodeGenerator.
|
|
314
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
315
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
316
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
317
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
318
|
+
* valid.
|
|
319
|
+
* @extends {jspb.Message}
|
|
320
|
+
* @constructor
|
|
321
|
+
*/
|
|
322
|
+
proto.gateway.web.v1.AIReferenceName = function(opt_data) {
|
|
323
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.AIReferenceName.repeatedFields_, null);
|
|
324
|
+
};
|
|
325
|
+
goog.inherits(proto.gateway.web.v1.AIReferenceName, jspb.Message);
|
|
259
326
|
if (goog.DEBUG && !COMPILED) {
|
|
260
327
|
/**
|
|
261
328
|
* @public
|
|
262
329
|
* @override
|
|
263
330
|
*/
|
|
264
|
-
proto.gateway.web.v1.
|
|
331
|
+
proto.gateway.web.v1.AIReferenceName.displayName = 'proto.gateway.web.v1.AIReferenceName';
|
|
265
332
|
}
|
|
266
333
|
|
|
267
334
|
|
|
@@ -1694,8 +1761,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1694
1761
|
* http://goto/soy-param-migration
|
|
1695
1762
|
* @return {!Object}
|
|
1696
1763
|
*/
|
|
1697
|
-
proto.gateway.web.v1.
|
|
1698
|
-
return proto.gateway.web.v1.
|
|
1764
|
+
proto.gateway.web.v1.ListAIProvidersRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1765
|
+
return proto.gateway.web.v1.ListAIProvidersRequest.toObject(opt_includeInstance, this);
|
|
1699
1766
|
};
|
|
1700
1767
|
|
|
1701
1768
|
|
|
@@ -1704,14 +1771,15 @@ proto.gateway.web.v1.ListAIReferenceNamesRequest.prototype.toObject = function(o
|
|
|
1704
1771
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1705
1772
|
* the JSPB instance for transitional soy proto support:
|
|
1706
1773
|
* http://goto/soy-param-migration
|
|
1707
|
-
* @param {!proto.gateway.web.v1.
|
|
1774
|
+
* @param {!proto.gateway.web.v1.ListAIProvidersRequest} msg The msg instance to transform.
|
|
1708
1775
|
* @return {!Object}
|
|
1709
1776
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1710
1777
|
*/
|
|
1711
|
-
proto.gateway.web.v1.
|
|
1778
|
+
proto.gateway.web.v1.ListAIProvidersRequest.toObject = function(includeInstance, msg) {
|
|
1712
1779
|
var f, obj = {
|
|
1713
1780
|
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1714
|
-
projectId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1781
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1782
|
+
scope: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
1715
1783
|
};
|
|
1716
1784
|
|
|
1717
1785
|
if (includeInstance) {
|
|
@@ -1725,23 +1793,23 @@ projectId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
|
1725
1793
|
/**
|
|
1726
1794
|
* Deserializes binary data (in protobuf wire format).
|
|
1727
1795
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
1728
|
-
* @return {!proto.gateway.web.v1.
|
|
1796
|
+
* @return {!proto.gateway.web.v1.ListAIProvidersRequest}
|
|
1729
1797
|
*/
|
|
1730
|
-
proto.gateway.web.v1.
|
|
1798
|
+
proto.gateway.web.v1.ListAIProvidersRequest.deserializeBinary = function(bytes) {
|
|
1731
1799
|
var reader = new jspb.BinaryReader(bytes);
|
|
1732
|
-
var msg = new proto.gateway.web.v1.
|
|
1733
|
-
return proto.gateway.web.v1.
|
|
1800
|
+
var msg = new proto.gateway.web.v1.ListAIProvidersRequest;
|
|
1801
|
+
return proto.gateway.web.v1.ListAIProvidersRequest.deserializeBinaryFromReader(msg, reader);
|
|
1734
1802
|
};
|
|
1735
1803
|
|
|
1736
1804
|
|
|
1737
1805
|
/**
|
|
1738
1806
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1739
1807
|
* given reader into the given message object.
|
|
1740
|
-
* @param {!proto.gateway.web.v1.
|
|
1808
|
+
* @param {!proto.gateway.web.v1.ListAIProvidersRequest} msg The message object to deserialize into.
|
|
1741
1809
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1742
|
-
* @return {!proto.gateway.web.v1.
|
|
1810
|
+
* @return {!proto.gateway.web.v1.ListAIProvidersRequest}
|
|
1743
1811
|
*/
|
|
1744
|
-
proto.gateway.web.v1.
|
|
1812
|
+
proto.gateway.web.v1.ListAIProvidersRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1745
1813
|
while (reader.nextField()) {
|
|
1746
1814
|
if (reader.isEndGroup()) {
|
|
1747
1815
|
break;
|
|
@@ -1756,6 +1824,10 @@ proto.gateway.web.v1.ListAIReferenceNamesRequest.deserializeBinaryFromReader = f
|
|
|
1756
1824
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1757
1825
|
msg.setProjectId(value);
|
|
1758
1826
|
break;
|
|
1827
|
+
case 3:
|
|
1828
|
+
var value = /** @type {!proto.gateway.web.v1.AIReferenceNameScope} */ (reader.readEnum());
|
|
1829
|
+
msg.setScope(value);
|
|
1830
|
+
break;
|
|
1759
1831
|
default:
|
|
1760
1832
|
reader.skipField();
|
|
1761
1833
|
break;
|
|
@@ -1769,9 +1841,9 @@ proto.gateway.web.v1.ListAIReferenceNamesRequest.deserializeBinaryFromReader = f
|
|
|
1769
1841
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1770
1842
|
* @return {!Uint8Array}
|
|
1771
1843
|
*/
|
|
1772
|
-
proto.gateway.web.v1.
|
|
1844
|
+
proto.gateway.web.v1.ListAIProvidersRequest.prototype.serializeBinary = function() {
|
|
1773
1845
|
var writer = new jspb.BinaryWriter();
|
|
1774
|
-
proto.gateway.web.v1.
|
|
1846
|
+
proto.gateway.web.v1.ListAIProvidersRequest.serializeBinaryToWriter(this, writer);
|
|
1775
1847
|
return writer.getResultBuffer();
|
|
1776
1848
|
};
|
|
1777
1849
|
|
|
@@ -1779,11 +1851,11 @@ proto.gateway.web.v1.ListAIReferenceNamesRequest.prototype.serializeBinary = fun
|
|
|
1779
1851
|
/**
|
|
1780
1852
|
* Serializes the given message to binary data (in protobuf wire
|
|
1781
1853
|
* format), writing to the given BinaryWriter.
|
|
1782
|
-
* @param {!proto.gateway.web.v1.
|
|
1854
|
+
* @param {!proto.gateway.web.v1.ListAIProvidersRequest} message
|
|
1783
1855
|
* @param {!jspb.BinaryWriter} writer
|
|
1784
1856
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1785
1857
|
*/
|
|
1786
|
-
proto.gateway.web.v1.
|
|
1858
|
+
proto.gateway.web.v1.ListAIProvidersRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1787
1859
|
var f = undefined;
|
|
1788
1860
|
f = message.getOrganizationId();
|
|
1789
1861
|
if (f.length > 0) {
|
|
@@ -1799,6 +1871,13 @@ proto.gateway.web.v1.ListAIReferenceNamesRequest.serializeBinaryToWriter = funct
|
|
|
1799
1871
|
f
|
|
1800
1872
|
);
|
|
1801
1873
|
}
|
|
1874
|
+
f = message.getScope();
|
|
1875
|
+
if (f !== 0.0) {
|
|
1876
|
+
writer.writeEnum(
|
|
1877
|
+
3,
|
|
1878
|
+
f
|
|
1879
|
+
);
|
|
1880
|
+
}
|
|
1802
1881
|
};
|
|
1803
1882
|
|
|
1804
1883
|
|
|
@@ -1806,16 +1885,16 @@ proto.gateway.web.v1.ListAIReferenceNamesRequest.serializeBinaryToWriter = funct
|
|
|
1806
1885
|
* optional string organization_id = 1;
|
|
1807
1886
|
* @return {string}
|
|
1808
1887
|
*/
|
|
1809
|
-
proto.gateway.web.v1.
|
|
1888
|
+
proto.gateway.web.v1.ListAIProvidersRequest.prototype.getOrganizationId = function() {
|
|
1810
1889
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1811
1890
|
};
|
|
1812
1891
|
|
|
1813
1892
|
|
|
1814
1893
|
/**
|
|
1815
1894
|
* @param {string} value
|
|
1816
|
-
* @return {!proto.gateway.web.v1.
|
|
1895
|
+
* @return {!proto.gateway.web.v1.ListAIProvidersRequest} returns this
|
|
1817
1896
|
*/
|
|
1818
|
-
proto.gateway.web.v1.
|
|
1897
|
+
proto.gateway.web.v1.ListAIProvidersRequest.prototype.setOrganizationId = function(value) {
|
|
1819
1898
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1820
1899
|
};
|
|
1821
1900
|
|
|
@@ -1824,27 +1903,45 @@ proto.gateway.web.v1.ListAIReferenceNamesRequest.prototype.setOrganizationId = f
|
|
|
1824
1903
|
* optional string project_id = 2;
|
|
1825
1904
|
* @return {string}
|
|
1826
1905
|
*/
|
|
1827
|
-
proto.gateway.web.v1.
|
|
1906
|
+
proto.gateway.web.v1.ListAIProvidersRequest.prototype.getProjectId = function() {
|
|
1828
1907
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1829
1908
|
};
|
|
1830
1909
|
|
|
1831
1910
|
|
|
1832
1911
|
/**
|
|
1833
1912
|
* @param {string} value
|
|
1834
|
-
* @return {!proto.gateway.web.v1.
|
|
1913
|
+
* @return {!proto.gateway.web.v1.ListAIProvidersRequest} returns this
|
|
1835
1914
|
*/
|
|
1836
|
-
proto.gateway.web.v1.
|
|
1915
|
+
proto.gateway.web.v1.ListAIProvidersRequest.prototype.setProjectId = function(value) {
|
|
1837
1916
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1838
1917
|
};
|
|
1839
1918
|
|
|
1840
1919
|
|
|
1920
|
+
/**
|
|
1921
|
+
* optional AIReferenceNameScope scope = 3;
|
|
1922
|
+
* @return {!proto.gateway.web.v1.AIReferenceNameScope}
|
|
1923
|
+
*/
|
|
1924
|
+
proto.gateway.web.v1.ListAIProvidersRequest.prototype.getScope = function() {
|
|
1925
|
+
return /** @type {!proto.gateway.web.v1.AIReferenceNameScope} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
1926
|
+
};
|
|
1927
|
+
|
|
1928
|
+
|
|
1929
|
+
/**
|
|
1930
|
+
* @param {!proto.gateway.web.v1.AIReferenceNameScope} value
|
|
1931
|
+
* @return {!proto.gateway.web.v1.ListAIProvidersRequest} returns this
|
|
1932
|
+
*/
|
|
1933
|
+
proto.gateway.web.v1.ListAIProvidersRequest.prototype.setScope = function(value) {
|
|
1934
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
1935
|
+
};
|
|
1936
|
+
|
|
1937
|
+
|
|
1841
1938
|
|
|
1842
1939
|
/**
|
|
1843
1940
|
* List of repeated fields within this message type.
|
|
1844
1941
|
* @private {!Array<number>}
|
|
1845
1942
|
* @const
|
|
1846
1943
|
*/
|
|
1847
|
-
proto.gateway.web.v1.
|
|
1944
|
+
proto.gateway.web.v1.ListAIProvidersResponse.repeatedFields_ = [2];
|
|
1848
1945
|
|
|
1849
1946
|
|
|
1850
1947
|
|
|
@@ -1861,8 +1958,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1861
1958
|
* http://goto/soy-param-migration
|
|
1862
1959
|
* @return {!Object}
|
|
1863
1960
|
*/
|
|
1864
|
-
proto.gateway.web.v1.
|
|
1865
|
-
return proto.gateway.web.v1.
|
|
1961
|
+
proto.gateway.web.v1.ListAIProvidersResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1962
|
+
return proto.gateway.web.v1.ListAIProvidersResponse.toObject(opt_includeInstance, this);
|
|
1866
1963
|
};
|
|
1867
1964
|
|
|
1868
1965
|
|
|
@@ -1871,14 +1968,14 @@ proto.gateway.web.v1.ListAIReferenceNamesResponse.prototype.toObject = function(
|
|
|
1871
1968
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1872
1969
|
* the JSPB instance for transitional soy proto support:
|
|
1873
1970
|
* http://goto/soy-param-migration
|
|
1874
|
-
* @param {!proto.gateway.web.v1.
|
|
1971
|
+
* @param {!proto.gateway.web.v1.ListAIProvidersResponse} msg The msg instance to transform.
|
|
1875
1972
|
* @return {!Object}
|
|
1876
1973
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1877
1974
|
*/
|
|
1878
|
-
proto.gateway.web.v1.
|
|
1975
|
+
proto.gateway.web.v1.ListAIProvidersResponse.toObject = function(includeInstance, msg) {
|
|
1879
1976
|
var f, obj = {
|
|
1880
1977
|
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
1881
|
-
|
|
1978
|
+
providersList: jspb.Message.toObjectList(msg.getProvidersList(),
|
|
1882
1979
|
proto.gateway.web.v1.AIReferenceName.toObject, includeInstance)
|
|
1883
1980
|
};
|
|
1884
1981
|
|
|
@@ -1893,23 +1990,23 @@ namesList: jspb.Message.toObjectList(msg.getNamesList(),
|
|
|
1893
1990
|
/**
|
|
1894
1991
|
* Deserializes binary data (in protobuf wire format).
|
|
1895
1992
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
1896
|
-
* @return {!proto.gateway.web.v1.
|
|
1993
|
+
* @return {!proto.gateway.web.v1.ListAIProvidersResponse}
|
|
1897
1994
|
*/
|
|
1898
|
-
proto.gateway.web.v1.
|
|
1995
|
+
proto.gateway.web.v1.ListAIProvidersResponse.deserializeBinary = function(bytes) {
|
|
1899
1996
|
var reader = new jspb.BinaryReader(bytes);
|
|
1900
|
-
var msg = new proto.gateway.web.v1.
|
|
1901
|
-
return proto.gateway.web.v1.
|
|
1997
|
+
var msg = new proto.gateway.web.v1.ListAIProvidersResponse;
|
|
1998
|
+
return proto.gateway.web.v1.ListAIProvidersResponse.deserializeBinaryFromReader(msg, reader);
|
|
1902
1999
|
};
|
|
1903
2000
|
|
|
1904
2001
|
|
|
1905
2002
|
/**
|
|
1906
2003
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1907
2004
|
* given reader into the given message object.
|
|
1908
|
-
* @param {!proto.gateway.web.v1.
|
|
2005
|
+
* @param {!proto.gateway.web.v1.ListAIProvidersResponse} msg The message object to deserialize into.
|
|
1909
2006
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1910
|
-
* @return {!proto.gateway.web.v1.
|
|
2007
|
+
* @return {!proto.gateway.web.v1.ListAIProvidersResponse}
|
|
1911
2008
|
*/
|
|
1912
|
-
proto.gateway.web.v1.
|
|
2009
|
+
proto.gateway.web.v1.ListAIProvidersResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1913
2010
|
while (reader.nextField()) {
|
|
1914
2011
|
if (reader.isEndGroup()) {
|
|
1915
2012
|
break;
|
|
@@ -1924,7 +2021,7 @@ proto.gateway.web.v1.ListAIReferenceNamesResponse.deserializeBinaryFromReader =
|
|
|
1924
2021
|
case 2:
|
|
1925
2022
|
var value = new proto.gateway.web.v1.AIReferenceName;
|
|
1926
2023
|
reader.readMessage(value,proto.gateway.web.v1.AIReferenceName.deserializeBinaryFromReader);
|
|
1927
|
-
msg.
|
|
2024
|
+
msg.addProviders(value);
|
|
1928
2025
|
break;
|
|
1929
2026
|
default:
|
|
1930
2027
|
reader.skipField();
|
|
@@ -1939,9 +2036,9 @@ proto.gateway.web.v1.ListAIReferenceNamesResponse.deserializeBinaryFromReader =
|
|
|
1939
2036
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1940
2037
|
* @return {!Uint8Array}
|
|
1941
2038
|
*/
|
|
1942
|
-
proto.gateway.web.v1.
|
|
2039
|
+
proto.gateway.web.v1.ListAIProvidersResponse.prototype.serializeBinary = function() {
|
|
1943
2040
|
var writer = new jspb.BinaryWriter();
|
|
1944
|
-
proto.gateway.web.v1.
|
|
2041
|
+
proto.gateway.web.v1.ListAIProvidersResponse.serializeBinaryToWriter(this, writer);
|
|
1945
2042
|
return writer.getResultBuffer();
|
|
1946
2043
|
};
|
|
1947
2044
|
|
|
@@ -1949,11 +2046,11 @@ proto.gateway.web.v1.ListAIReferenceNamesResponse.prototype.serializeBinary = fu
|
|
|
1949
2046
|
/**
|
|
1950
2047
|
* Serializes the given message to binary data (in protobuf wire
|
|
1951
2048
|
* format), writing to the given BinaryWriter.
|
|
1952
|
-
* @param {!proto.gateway.web.v1.
|
|
2049
|
+
* @param {!proto.gateway.web.v1.ListAIProvidersResponse} message
|
|
1953
2050
|
* @param {!jspb.BinaryWriter} writer
|
|
1954
2051
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1955
2052
|
*/
|
|
1956
|
-
proto.gateway.web.v1.
|
|
2053
|
+
proto.gateway.web.v1.ListAIProvidersResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1957
2054
|
var f = undefined;
|
|
1958
2055
|
f = message.getStatus();
|
|
1959
2056
|
if (f != null) {
|
|
@@ -1963,7 +2060,7 @@ proto.gateway.web.v1.ListAIReferenceNamesResponse.serializeBinaryToWriter = func
|
|
|
1963
2060
|
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
1964
2061
|
);
|
|
1965
2062
|
}
|
|
1966
|
-
f = message.
|
|
2063
|
+
f = message.getProvidersList();
|
|
1967
2064
|
if (f.length > 0) {
|
|
1968
2065
|
writer.writeRepeatedMessage(
|
|
1969
2066
|
2,
|
|
@@ -1978,7 +2075,7 @@ proto.gateway.web.v1.ListAIReferenceNamesResponse.serializeBinaryToWriter = func
|
|
|
1978
2075
|
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
1979
2076
|
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
1980
2077
|
*/
|
|
1981
|
-
proto.gateway.web.v1.
|
|
2078
|
+
proto.gateway.web.v1.ListAIProvidersResponse.prototype.getStatus = function() {
|
|
1982
2079
|
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
1983
2080
|
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
1984
2081
|
};
|
|
@@ -1986,18 +2083,18 @@ proto.gateway.web.v1.ListAIReferenceNamesResponse.prototype.getStatus = function
|
|
|
1986
2083
|
|
|
1987
2084
|
/**
|
|
1988
2085
|
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
1989
|
-
* @return {!proto.gateway.web.v1.
|
|
2086
|
+
* @return {!proto.gateway.web.v1.ListAIProvidersResponse} returns this
|
|
1990
2087
|
*/
|
|
1991
|
-
proto.gateway.web.v1.
|
|
2088
|
+
proto.gateway.web.v1.ListAIProvidersResponse.prototype.setStatus = function(value) {
|
|
1992
2089
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
1993
2090
|
};
|
|
1994
2091
|
|
|
1995
2092
|
|
|
1996
2093
|
/**
|
|
1997
2094
|
* Clears the message field making it undefined.
|
|
1998
|
-
* @return {!proto.gateway.web.v1.
|
|
2095
|
+
* @return {!proto.gateway.web.v1.ListAIProvidersResponse} returns this
|
|
1999
2096
|
*/
|
|
2000
|
-
proto.gateway.web.v1.
|
|
2097
|
+
proto.gateway.web.v1.ListAIProvidersResponse.prototype.clearStatus = function() {
|
|
2001
2098
|
return this.setStatus(undefined);
|
|
2002
2099
|
};
|
|
2003
2100
|
|
|
@@ -2006,16 +2103,16 @@ proto.gateway.web.v1.ListAIReferenceNamesResponse.prototype.clearStatus = functi
|
|
|
2006
2103
|
* Returns whether this field is set.
|
|
2007
2104
|
* @return {boolean}
|
|
2008
2105
|
*/
|
|
2009
|
-
proto.gateway.web.v1.
|
|
2106
|
+
proto.gateway.web.v1.ListAIProvidersResponse.prototype.hasStatus = function() {
|
|
2010
2107
|
return jspb.Message.getField(this, 1) != null;
|
|
2011
2108
|
};
|
|
2012
2109
|
|
|
2013
2110
|
|
|
2014
2111
|
/**
|
|
2015
|
-
* repeated AIReferenceName
|
|
2112
|
+
* repeated AIReferenceName providers = 2;
|
|
2016
2113
|
* @return {!Array<!proto.gateway.web.v1.AIReferenceName>}
|
|
2017
2114
|
*/
|
|
2018
|
-
proto.gateway.web.v1.
|
|
2115
|
+
proto.gateway.web.v1.ListAIProvidersResponse.prototype.getProvidersList = function() {
|
|
2019
2116
|
return /** @type{!Array<!proto.gateway.web.v1.AIReferenceName>} */ (
|
|
2020
2117
|
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIReferenceName, 2));
|
|
2021
2118
|
};
|
|
@@ -2023,9 +2120,9 @@ proto.gateway.web.v1.ListAIReferenceNamesResponse.prototype.getNamesList = funct
|
|
|
2023
2120
|
|
|
2024
2121
|
/**
|
|
2025
2122
|
* @param {!Array<!proto.gateway.web.v1.AIReferenceName>} value
|
|
2026
|
-
* @return {!proto.gateway.web.v1.
|
|
2123
|
+
* @return {!proto.gateway.web.v1.ListAIProvidersResponse} returns this
|
|
2027
2124
|
*/
|
|
2028
|
-
proto.gateway.web.v1.
|
|
2125
|
+
proto.gateway.web.v1.ListAIProvidersResponse.prototype.setProvidersList = function(value) {
|
|
2029
2126
|
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
2030
2127
|
};
|
|
2031
2128
|
|
|
@@ -2035,28 +2132,21 @@ proto.gateway.web.v1.ListAIReferenceNamesResponse.prototype.setNamesList = funct
|
|
|
2035
2132
|
* @param {number=} opt_index
|
|
2036
2133
|
* @return {!proto.gateway.web.v1.AIReferenceName}
|
|
2037
2134
|
*/
|
|
2038
|
-
proto.gateway.web.v1.
|
|
2135
|
+
proto.gateway.web.v1.ListAIProvidersResponse.prototype.addProviders = function(opt_value, opt_index) {
|
|
2039
2136
|
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIReferenceName, opt_index);
|
|
2040
2137
|
};
|
|
2041
2138
|
|
|
2042
2139
|
|
|
2043
2140
|
/**
|
|
2044
2141
|
* Clears the list making it empty but non-null.
|
|
2045
|
-
* @return {!proto.gateway.web.v1.
|
|
2142
|
+
* @return {!proto.gateway.web.v1.ListAIProvidersResponse} returns this
|
|
2046
2143
|
*/
|
|
2047
|
-
proto.gateway.web.v1.
|
|
2048
|
-
return this.
|
|
2144
|
+
proto.gateway.web.v1.ListAIProvidersResponse.prototype.clearProvidersList = function() {
|
|
2145
|
+
return this.setProvidersList([]);
|
|
2049
2146
|
};
|
|
2050
2147
|
|
|
2051
2148
|
|
|
2052
2149
|
|
|
2053
|
-
/**
|
|
2054
|
-
* List of repeated fields within this message type.
|
|
2055
|
-
* @private {!Array<number>}
|
|
2056
|
-
* @const
|
|
2057
|
-
*/
|
|
2058
|
-
proto.gateway.web.v1.AIReferenceName.repeatedFields_ = [3];
|
|
2059
|
-
|
|
2060
2150
|
|
|
2061
2151
|
|
|
2062
2152
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2072,8 +2162,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2072
2162
|
* http://goto/soy-param-migration
|
|
2073
2163
|
* @return {!Object}
|
|
2074
2164
|
*/
|
|
2075
|
-
proto.gateway.web.v1.
|
|
2076
|
-
return proto.gateway.web.v1.
|
|
2165
|
+
proto.gateway.web.v1.ListAIModelsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2166
|
+
return proto.gateway.web.v1.ListAIModelsRequest.toObject(opt_includeInstance, this);
|
|
2077
2167
|
};
|
|
2078
2168
|
|
|
2079
2169
|
|
|
@@ -2082,17 +2172,15 @@ proto.gateway.web.v1.AIReferenceName.prototype.toObject = function(opt_includeIn
|
|
|
2082
2172
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2083
2173
|
* the JSPB instance for transitional soy proto support:
|
|
2084
2174
|
* http://goto/soy-param-migration
|
|
2085
|
-
* @param {!proto.gateway.web.v1.
|
|
2175
|
+
* @param {!proto.gateway.web.v1.ListAIModelsRequest} msg The msg instance to transform.
|
|
2086
2176
|
* @return {!Object}
|
|
2087
2177
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2088
2178
|
*/
|
|
2089
|
-
proto.gateway.web.v1.
|
|
2179
|
+
proto.gateway.web.v1.ListAIModelsRequest.toObject = function(includeInstance, msg) {
|
|
2090
2180
|
var f, obj = {
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
origin: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
2095
|
-
updatedAt: (f = msg.getUpdatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
2181
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2182
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2183
|
+
scope: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
2096
2184
|
};
|
|
2097
2185
|
|
|
2098
2186
|
if (includeInstance) {
|
|
@@ -2106,23 +2194,23 @@ updatedAt: (f = msg.getUpdatedAt()) && google_protobuf_timestamp_pb.Timestamp.to
|
|
|
2106
2194
|
/**
|
|
2107
2195
|
* Deserializes binary data (in protobuf wire format).
|
|
2108
2196
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
2109
|
-
* @return {!proto.gateway.web.v1.
|
|
2197
|
+
* @return {!proto.gateway.web.v1.ListAIModelsRequest}
|
|
2110
2198
|
*/
|
|
2111
|
-
proto.gateway.web.v1.
|
|
2199
|
+
proto.gateway.web.v1.ListAIModelsRequest.deserializeBinary = function(bytes) {
|
|
2112
2200
|
var reader = new jspb.BinaryReader(bytes);
|
|
2113
|
-
var msg = new proto.gateway.web.v1.
|
|
2114
|
-
return proto.gateway.web.v1.
|
|
2201
|
+
var msg = new proto.gateway.web.v1.ListAIModelsRequest;
|
|
2202
|
+
return proto.gateway.web.v1.ListAIModelsRequest.deserializeBinaryFromReader(msg, reader);
|
|
2115
2203
|
};
|
|
2116
2204
|
|
|
2117
2205
|
|
|
2118
2206
|
/**
|
|
2119
2207
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2120
2208
|
* given reader into the given message object.
|
|
2121
|
-
* @param {!proto.gateway.web.v1.
|
|
2209
|
+
* @param {!proto.gateway.web.v1.ListAIModelsRequest} msg The message object to deserialize into.
|
|
2122
2210
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2123
|
-
* @return {!proto.gateway.web.v1.
|
|
2211
|
+
* @return {!proto.gateway.web.v1.ListAIModelsRequest}
|
|
2124
2212
|
*/
|
|
2125
|
-
proto.gateway.web.v1.
|
|
2213
|
+
proto.gateway.web.v1.ListAIModelsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2126
2214
|
while (reader.nextField()) {
|
|
2127
2215
|
if (reader.isEndGroup()) {
|
|
2128
2216
|
break;
|
|
@@ -2131,24 +2219,15 @@ proto.gateway.web.v1.AIReferenceName.deserializeBinaryFromReader = function(msg,
|
|
|
2131
2219
|
switch (field) {
|
|
2132
2220
|
case 1:
|
|
2133
2221
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2134
|
-
msg.
|
|
2222
|
+
msg.setOrganizationId(value);
|
|
2135
2223
|
break;
|
|
2136
2224
|
case 2:
|
|
2137
2225
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2138
|
-
msg.
|
|
2226
|
+
msg.setProjectId(value);
|
|
2139
2227
|
break;
|
|
2140
2228
|
case 3:
|
|
2141
|
-
var value = /** @type {
|
|
2142
|
-
msg.
|
|
2143
|
-
break;
|
|
2144
|
-
case 4:
|
|
2145
|
-
var value = /** @type {!proto.gateway.web.v1.AIReferenceNameOrigin} */ (reader.readEnum());
|
|
2146
|
-
msg.setOrigin(value);
|
|
2147
|
-
break;
|
|
2148
|
-
case 5:
|
|
2149
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
2150
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
2151
|
-
msg.setUpdatedAt(value);
|
|
2229
|
+
var value = /** @type {!proto.gateway.web.v1.AIReferenceNameScope} */ (reader.readEnum());
|
|
2230
|
+
msg.setScope(value);
|
|
2152
2231
|
break;
|
|
2153
2232
|
default:
|
|
2154
2233
|
reader.skipField();
|
|
@@ -2163,9 +2242,9 @@ proto.gateway.web.v1.AIReferenceName.deserializeBinaryFromReader = function(msg,
|
|
|
2163
2242
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2164
2243
|
* @return {!Uint8Array}
|
|
2165
2244
|
*/
|
|
2166
|
-
proto.gateway.web.v1.
|
|
2245
|
+
proto.gateway.web.v1.ListAIModelsRequest.prototype.serializeBinary = function() {
|
|
2167
2246
|
var writer = new jspb.BinaryWriter();
|
|
2168
|
-
proto.gateway.web.v1.
|
|
2247
|
+
proto.gateway.web.v1.ListAIModelsRequest.serializeBinaryToWriter(this, writer);
|
|
2169
2248
|
return writer.getResultBuffer();
|
|
2170
2249
|
};
|
|
2171
2250
|
|
|
@@ -2173,179 +2252,97 @@ proto.gateway.web.v1.AIReferenceName.prototype.serializeBinary = function() {
|
|
|
2173
2252
|
/**
|
|
2174
2253
|
* Serializes the given message to binary data (in protobuf wire
|
|
2175
2254
|
* format), writing to the given BinaryWriter.
|
|
2176
|
-
* @param {!proto.gateway.web.v1.
|
|
2255
|
+
* @param {!proto.gateway.web.v1.ListAIModelsRequest} message
|
|
2177
2256
|
* @param {!jspb.BinaryWriter} writer
|
|
2178
2257
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2179
2258
|
*/
|
|
2180
|
-
proto.gateway.web.v1.
|
|
2259
|
+
proto.gateway.web.v1.ListAIModelsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2181
2260
|
var f = undefined;
|
|
2182
|
-
f = message.
|
|
2261
|
+
f = message.getOrganizationId();
|
|
2183
2262
|
if (f.length > 0) {
|
|
2184
2263
|
writer.writeString(
|
|
2185
2264
|
1,
|
|
2186
2265
|
f
|
|
2187
2266
|
);
|
|
2188
2267
|
}
|
|
2189
|
-
f = message.
|
|
2268
|
+
f = message.getProjectId();
|
|
2190
2269
|
if (f.length > 0) {
|
|
2191
2270
|
writer.writeString(
|
|
2192
2271
|
2,
|
|
2193
2272
|
f
|
|
2194
2273
|
);
|
|
2195
2274
|
}
|
|
2196
|
-
f = message.
|
|
2197
|
-
if (f.length > 0) {
|
|
2198
|
-
writer.writeRepeatedString(
|
|
2199
|
-
3,
|
|
2200
|
-
f
|
|
2201
|
-
);
|
|
2202
|
-
}
|
|
2203
|
-
f = message.getOrigin();
|
|
2275
|
+
f = message.getScope();
|
|
2204
2276
|
if (f !== 0.0) {
|
|
2205
2277
|
writer.writeEnum(
|
|
2206
|
-
|
|
2278
|
+
3,
|
|
2207
2279
|
f
|
|
2208
2280
|
);
|
|
2209
2281
|
}
|
|
2210
|
-
f = message.getUpdatedAt();
|
|
2211
|
-
if (f != null) {
|
|
2212
|
-
writer.writeMessage(
|
|
2213
|
-
5,
|
|
2214
|
-
f,
|
|
2215
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
2216
|
-
);
|
|
2217
|
-
}
|
|
2218
2282
|
};
|
|
2219
2283
|
|
|
2220
2284
|
|
|
2221
2285
|
/**
|
|
2222
|
-
* optional string
|
|
2286
|
+
* optional string organization_id = 1;
|
|
2223
2287
|
* @return {string}
|
|
2224
2288
|
*/
|
|
2225
|
-
proto.gateway.web.v1.
|
|
2289
|
+
proto.gateway.web.v1.ListAIModelsRequest.prototype.getOrganizationId = function() {
|
|
2226
2290
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2227
2291
|
};
|
|
2228
2292
|
|
|
2229
2293
|
|
|
2230
2294
|
/**
|
|
2231
2295
|
* @param {string} value
|
|
2232
|
-
* @return {!proto.gateway.web.v1.
|
|
2296
|
+
* @return {!proto.gateway.web.v1.ListAIModelsRequest} returns this
|
|
2233
2297
|
*/
|
|
2234
|
-
proto.gateway.web.v1.
|
|
2298
|
+
proto.gateway.web.v1.ListAIModelsRequest.prototype.setOrganizationId = function(value) {
|
|
2235
2299
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2236
2300
|
};
|
|
2237
2301
|
|
|
2238
2302
|
|
|
2239
2303
|
/**
|
|
2240
|
-
* optional string
|
|
2304
|
+
* optional string project_id = 2;
|
|
2241
2305
|
* @return {string}
|
|
2242
2306
|
*/
|
|
2243
|
-
proto.gateway.web.v1.
|
|
2307
|
+
proto.gateway.web.v1.ListAIModelsRequest.prototype.getProjectId = function() {
|
|
2244
2308
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2245
2309
|
};
|
|
2246
2310
|
|
|
2247
2311
|
|
|
2248
2312
|
/**
|
|
2249
2313
|
* @param {string} value
|
|
2250
|
-
* @return {!proto.gateway.web.v1.
|
|
2314
|
+
* @return {!proto.gateway.web.v1.ListAIModelsRequest} returns this
|
|
2251
2315
|
*/
|
|
2252
|
-
proto.gateway.web.v1.
|
|
2316
|
+
proto.gateway.web.v1.ListAIModelsRequest.prototype.setProjectId = function(value) {
|
|
2253
2317
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2254
2318
|
};
|
|
2255
2319
|
|
|
2256
2320
|
|
|
2257
2321
|
/**
|
|
2258
|
-
*
|
|
2259
|
-
* @return {!
|
|
2260
|
-
*/
|
|
2261
|
-
proto.gateway.web.v1.AIReferenceName.prototype.getSourceSystemsList = function() {
|
|
2262
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
2263
|
-
};
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
/**
|
|
2267
|
-
* @param {!Array<string>} value
|
|
2268
|
-
* @return {!proto.gateway.web.v1.AIReferenceName} returns this
|
|
2269
|
-
*/
|
|
2270
|
-
proto.gateway.web.v1.AIReferenceName.prototype.setSourceSystemsList = function(value) {
|
|
2271
|
-
return jspb.Message.setField(this, 3, value || []);
|
|
2272
|
-
};
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
/**
|
|
2276
|
-
* @param {string} value
|
|
2277
|
-
* @param {number=} opt_index
|
|
2278
|
-
* @return {!proto.gateway.web.v1.AIReferenceName} returns this
|
|
2279
|
-
*/
|
|
2280
|
-
proto.gateway.web.v1.AIReferenceName.prototype.addSourceSystems = function(value, opt_index) {
|
|
2281
|
-
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
2282
|
-
};
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
/**
|
|
2286
|
-
* Clears the list making it empty but non-null.
|
|
2287
|
-
* @return {!proto.gateway.web.v1.AIReferenceName} returns this
|
|
2288
|
-
*/
|
|
2289
|
-
proto.gateway.web.v1.AIReferenceName.prototype.clearSourceSystemsList = function() {
|
|
2290
|
-
return this.setSourceSystemsList([]);
|
|
2291
|
-
};
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
/**
|
|
2295
|
-
* optional AIReferenceNameOrigin origin = 4;
|
|
2296
|
-
* @return {!proto.gateway.web.v1.AIReferenceNameOrigin}
|
|
2297
|
-
*/
|
|
2298
|
-
proto.gateway.web.v1.AIReferenceName.prototype.getOrigin = function() {
|
|
2299
|
-
return /** @type {!proto.gateway.web.v1.AIReferenceNameOrigin} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
2300
|
-
};
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
/**
|
|
2304
|
-
* @param {!proto.gateway.web.v1.AIReferenceNameOrigin} value
|
|
2305
|
-
* @return {!proto.gateway.web.v1.AIReferenceName} returns this
|
|
2322
|
+
* optional AIReferenceNameScope scope = 3;
|
|
2323
|
+
* @return {!proto.gateway.web.v1.AIReferenceNameScope}
|
|
2306
2324
|
*/
|
|
2307
|
-
proto.gateway.web.v1.
|
|
2308
|
-
return jspb.Message.
|
|
2325
|
+
proto.gateway.web.v1.ListAIModelsRequest.prototype.getScope = function() {
|
|
2326
|
+
return /** @type {!proto.gateway.web.v1.AIReferenceNameScope} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
2309
2327
|
};
|
|
2310
2328
|
|
|
2311
2329
|
|
|
2312
2330
|
/**
|
|
2313
|
-
*
|
|
2314
|
-
* @return {
|
|
2331
|
+
* @param {!proto.gateway.web.v1.AIReferenceNameScope} value
|
|
2332
|
+
* @return {!proto.gateway.web.v1.ListAIModelsRequest} returns this
|
|
2315
2333
|
*/
|
|
2316
|
-
proto.gateway.web.v1.
|
|
2317
|
-
return
|
|
2318
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
|
|
2319
|
-
};
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
/**
|
|
2323
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
2324
|
-
* @return {!proto.gateway.web.v1.AIReferenceName} returns this
|
|
2325
|
-
*/
|
|
2326
|
-
proto.gateway.web.v1.AIReferenceName.prototype.setUpdatedAt = function(value) {
|
|
2327
|
-
return jspb.Message.setWrapperField(this, 5, value);
|
|
2334
|
+
proto.gateway.web.v1.ListAIModelsRequest.prototype.setScope = function(value) {
|
|
2335
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
2328
2336
|
};
|
|
2329
2337
|
|
|
2330
2338
|
|
|
2331
|
-
/**
|
|
2332
|
-
* Clears the message field making it undefined.
|
|
2333
|
-
* @return {!proto.gateway.web.v1.AIReferenceName} returns this
|
|
2334
|
-
*/
|
|
2335
|
-
proto.gateway.web.v1.AIReferenceName.prototype.clearUpdatedAt = function() {
|
|
2336
|
-
return this.setUpdatedAt(undefined);
|
|
2337
|
-
};
|
|
2338
|
-
|
|
2339
2339
|
|
|
2340
2340
|
/**
|
|
2341
|
-
*
|
|
2342
|
-
* @
|
|
2341
|
+
* List of repeated fields within this message type.
|
|
2342
|
+
* @private {!Array<number>}
|
|
2343
|
+
* @const
|
|
2343
2344
|
*/
|
|
2344
|
-
proto.gateway.web.v1.
|
|
2345
|
-
return jspb.Message.getField(this, 5) != null;
|
|
2346
|
-
};
|
|
2347
|
-
|
|
2348
|
-
|
|
2345
|
+
proto.gateway.web.v1.ListAIModelsResponse.repeatedFields_ = [2];
|
|
2349
2346
|
|
|
2350
2347
|
|
|
2351
2348
|
|
|
@@ -2362,8 +2359,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2362
2359
|
* http://goto/soy-param-migration
|
|
2363
2360
|
* @return {!Object}
|
|
2364
2361
|
*/
|
|
2365
|
-
proto.gateway.web.v1.
|
|
2366
|
-
return proto.gateway.web.v1.
|
|
2362
|
+
proto.gateway.web.v1.ListAIModelsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2363
|
+
return proto.gateway.web.v1.ListAIModelsResponse.toObject(opt_includeInstance, this);
|
|
2367
2364
|
};
|
|
2368
2365
|
|
|
2369
2366
|
|
|
@@ -2372,13 +2369,15 @@ proto.gateway.web.v1.ListAllAIReferenceNamesRequest.prototype.toObject = functio
|
|
|
2372
2369
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2373
2370
|
* the JSPB instance for transitional soy proto support:
|
|
2374
2371
|
* http://goto/soy-param-migration
|
|
2375
|
-
* @param {!proto.gateway.web.v1.
|
|
2372
|
+
* @param {!proto.gateway.web.v1.ListAIModelsResponse} msg The msg instance to transform.
|
|
2376
2373
|
* @return {!Object}
|
|
2377
2374
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2378
2375
|
*/
|
|
2379
|
-
proto.gateway.web.v1.
|
|
2376
|
+
proto.gateway.web.v1.ListAIModelsResponse.toObject = function(includeInstance, msg) {
|
|
2380
2377
|
var f, obj = {
|
|
2381
|
-
|
|
2378
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
2379
|
+
modelsList: jspb.Message.toObjectList(msg.getModelsList(),
|
|
2380
|
+
proto.gateway.web.v1.AIReferenceName.toObject, includeInstance)
|
|
2382
2381
|
};
|
|
2383
2382
|
|
|
2384
2383
|
if (includeInstance) {
|
|
@@ -2392,29 +2391,39 @@ proto.gateway.web.v1.ListAllAIReferenceNamesRequest.toObject = function(includeI
|
|
|
2392
2391
|
/**
|
|
2393
2392
|
* Deserializes binary data (in protobuf wire format).
|
|
2394
2393
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
2395
|
-
* @return {!proto.gateway.web.v1.
|
|
2394
|
+
* @return {!proto.gateway.web.v1.ListAIModelsResponse}
|
|
2396
2395
|
*/
|
|
2397
|
-
proto.gateway.web.v1.
|
|
2396
|
+
proto.gateway.web.v1.ListAIModelsResponse.deserializeBinary = function(bytes) {
|
|
2398
2397
|
var reader = new jspb.BinaryReader(bytes);
|
|
2399
|
-
var msg = new proto.gateway.web.v1.
|
|
2400
|
-
return proto.gateway.web.v1.
|
|
2398
|
+
var msg = new proto.gateway.web.v1.ListAIModelsResponse;
|
|
2399
|
+
return proto.gateway.web.v1.ListAIModelsResponse.deserializeBinaryFromReader(msg, reader);
|
|
2401
2400
|
};
|
|
2402
2401
|
|
|
2403
2402
|
|
|
2404
2403
|
/**
|
|
2405
2404
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2406
2405
|
* given reader into the given message object.
|
|
2407
|
-
* @param {!proto.gateway.web.v1.
|
|
2406
|
+
* @param {!proto.gateway.web.v1.ListAIModelsResponse} msg The message object to deserialize into.
|
|
2408
2407
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2409
|
-
* @return {!proto.gateway.web.v1.
|
|
2408
|
+
* @return {!proto.gateway.web.v1.ListAIModelsResponse}
|
|
2410
2409
|
*/
|
|
2411
|
-
proto.gateway.web.v1.
|
|
2410
|
+
proto.gateway.web.v1.ListAIModelsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2412
2411
|
while (reader.nextField()) {
|
|
2413
2412
|
if (reader.isEndGroup()) {
|
|
2414
2413
|
break;
|
|
2415
2414
|
}
|
|
2416
2415
|
var field = reader.getFieldNumber();
|
|
2417
2416
|
switch (field) {
|
|
2417
|
+
case 1:
|
|
2418
|
+
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
2419
|
+
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
2420
|
+
msg.setStatus(value);
|
|
2421
|
+
break;
|
|
2422
|
+
case 2:
|
|
2423
|
+
var value = new proto.gateway.web.v1.AIReferenceName;
|
|
2424
|
+
reader.readMessage(value,proto.gateway.web.v1.AIReferenceName.deserializeBinaryFromReader);
|
|
2425
|
+
msg.addModels(value);
|
|
2426
|
+
break;
|
|
2418
2427
|
default:
|
|
2419
2428
|
reader.skipField();
|
|
2420
2429
|
break;
|
|
@@ -2428,9 +2437,9 @@ proto.gateway.web.v1.ListAllAIReferenceNamesRequest.deserializeBinaryFromReader
|
|
|
2428
2437
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2429
2438
|
* @return {!Uint8Array}
|
|
2430
2439
|
*/
|
|
2431
|
-
proto.gateway.web.v1.
|
|
2440
|
+
proto.gateway.web.v1.ListAIModelsResponse.prototype.serializeBinary = function() {
|
|
2432
2441
|
var writer = new jspb.BinaryWriter();
|
|
2433
|
-
proto.gateway.web.v1.
|
|
2442
|
+
proto.gateway.web.v1.ListAIModelsResponse.serializeBinaryToWriter(this, writer);
|
|
2434
2443
|
return writer.getResultBuffer();
|
|
2435
2444
|
};
|
|
2436
2445
|
|
|
@@ -2438,17 +2447,108 @@ proto.gateway.web.v1.ListAllAIReferenceNamesRequest.prototype.serializeBinary =
|
|
|
2438
2447
|
/**
|
|
2439
2448
|
* Serializes the given message to binary data (in protobuf wire
|
|
2440
2449
|
* format), writing to the given BinaryWriter.
|
|
2441
|
-
* @param {!proto.gateway.web.v1.
|
|
2450
|
+
* @param {!proto.gateway.web.v1.ListAIModelsResponse} message
|
|
2442
2451
|
* @param {!jspb.BinaryWriter} writer
|
|
2443
2452
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2444
2453
|
*/
|
|
2445
|
-
proto.gateway.web.v1.
|
|
2454
|
+
proto.gateway.web.v1.ListAIModelsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2446
2455
|
var f = undefined;
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2456
|
+
f = message.getStatus();
|
|
2457
|
+
if (f != null) {
|
|
2458
|
+
writer.writeMessage(
|
|
2459
|
+
1,
|
|
2460
|
+
f,
|
|
2461
|
+
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
2462
|
+
);
|
|
2463
|
+
}
|
|
2464
|
+
f = message.getModelsList();
|
|
2465
|
+
if (f.length > 0) {
|
|
2466
|
+
writer.writeRepeatedMessage(
|
|
2467
|
+
2,
|
|
2468
|
+
f,
|
|
2469
|
+
proto.gateway.web.v1.AIReferenceName.serializeBinaryToWriter
|
|
2470
|
+
);
|
|
2471
|
+
}
|
|
2472
|
+
};
|
|
2473
|
+
|
|
2474
|
+
|
|
2475
|
+
/**
|
|
2476
|
+
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
2477
|
+
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
2478
|
+
*/
|
|
2479
|
+
proto.gateway.web.v1.ListAIModelsResponse.prototype.getStatus = function() {
|
|
2480
|
+
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
2481
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
2482
|
+
};
|
|
2483
|
+
|
|
2484
|
+
|
|
2485
|
+
/**
|
|
2486
|
+
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
2487
|
+
* @return {!proto.gateway.web.v1.ListAIModelsResponse} returns this
|
|
2488
|
+
*/
|
|
2489
|
+
proto.gateway.web.v1.ListAIModelsResponse.prototype.setStatus = function(value) {
|
|
2490
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2491
|
+
};
|
|
2492
|
+
|
|
2493
|
+
|
|
2494
|
+
/**
|
|
2495
|
+
* Clears the message field making it undefined.
|
|
2496
|
+
* @return {!proto.gateway.web.v1.ListAIModelsResponse} returns this
|
|
2497
|
+
*/
|
|
2498
|
+
proto.gateway.web.v1.ListAIModelsResponse.prototype.clearStatus = function() {
|
|
2499
|
+
return this.setStatus(undefined);
|
|
2500
|
+
};
|
|
2501
|
+
|
|
2502
|
+
|
|
2503
|
+
/**
|
|
2504
|
+
* Returns whether this field is set.
|
|
2505
|
+
* @return {boolean}
|
|
2506
|
+
*/
|
|
2507
|
+
proto.gateway.web.v1.ListAIModelsResponse.prototype.hasStatus = function() {
|
|
2508
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2509
|
+
};
|
|
2510
|
+
|
|
2511
|
+
|
|
2512
|
+
/**
|
|
2513
|
+
* repeated AIReferenceName models = 2;
|
|
2514
|
+
* @return {!Array<!proto.gateway.web.v1.AIReferenceName>}
|
|
2515
|
+
*/
|
|
2516
|
+
proto.gateway.web.v1.ListAIModelsResponse.prototype.getModelsList = function() {
|
|
2517
|
+
return /** @type{!Array<!proto.gateway.web.v1.AIReferenceName>} */ (
|
|
2518
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIReferenceName, 2));
|
|
2519
|
+
};
|
|
2520
|
+
|
|
2521
|
+
|
|
2522
|
+
/**
|
|
2523
|
+
* @param {!Array<!proto.gateway.web.v1.AIReferenceName>} value
|
|
2524
|
+
* @return {!proto.gateway.web.v1.ListAIModelsResponse} returns this
|
|
2525
|
+
*/
|
|
2526
|
+
proto.gateway.web.v1.ListAIModelsResponse.prototype.setModelsList = function(value) {
|
|
2527
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
2528
|
+
};
|
|
2529
|
+
|
|
2530
|
+
|
|
2531
|
+
/**
|
|
2532
|
+
* @param {!proto.gateway.web.v1.AIReferenceName=} opt_value
|
|
2533
|
+
* @param {number=} opt_index
|
|
2534
|
+
* @return {!proto.gateway.web.v1.AIReferenceName}
|
|
2535
|
+
*/
|
|
2536
|
+
proto.gateway.web.v1.ListAIModelsResponse.prototype.addModels = function(opt_value, opt_index) {
|
|
2537
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIReferenceName, opt_index);
|
|
2538
|
+
};
|
|
2539
|
+
|
|
2540
|
+
|
|
2541
|
+
/**
|
|
2542
|
+
* Clears the list making it empty but non-null.
|
|
2543
|
+
* @return {!proto.gateway.web.v1.ListAIModelsResponse} returns this
|
|
2544
|
+
*/
|
|
2545
|
+
proto.gateway.web.v1.ListAIModelsResponse.prototype.clearModelsList = function() {
|
|
2546
|
+
return this.setModelsList([]);
|
|
2547
|
+
};
|
|
2548
|
+
|
|
2549
|
+
|
|
2550
|
+
|
|
2551
|
+
|
|
2452
2552
|
|
|
2453
2553
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2454
2554
|
/**
|
|
@@ -2463,8 +2563,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2463
2563
|
* http://goto/soy-param-migration
|
|
2464
2564
|
* @return {!Object}
|
|
2465
2565
|
*/
|
|
2466
|
-
proto.gateway.web.v1.
|
|
2467
|
-
return proto.gateway.web.v1.
|
|
2566
|
+
proto.gateway.web.v1.ListAIEffortsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2567
|
+
return proto.gateway.web.v1.ListAIEffortsRequest.toObject(opt_includeInstance, this);
|
|
2468
2568
|
};
|
|
2469
2569
|
|
|
2470
2570
|
|
|
@@ -2473,14 +2573,15 @@ proto.gateway.web.v1.UpdateAIReferenceNameRequest.prototype.toObject = function(
|
|
|
2473
2573
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2474
2574
|
* the JSPB instance for transitional soy proto support:
|
|
2475
2575
|
* http://goto/soy-param-migration
|
|
2476
|
-
* @param {!proto.gateway.web.v1.
|
|
2576
|
+
* @param {!proto.gateway.web.v1.ListAIEffortsRequest} msg The msg instance to transform.
|
|
2477
2577
|
* @return {!Object}
|
|
2478
2578
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2479
2579
|
*/
|
|
2480
|
-
proto.gateway.web.v1.
|
|
2580
|
+
proto.gateway.web.v1.ListAIEffortsRequest.toObject = function(includeInstance, msg) {
|
|
2481
2581
|
var f, obj = {
|
|
2482
|
-
|
|
2483
|
-
|
|
2582
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2583
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2584
|
+
scope: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
2484
2585
|
};
|
|
2485
2586
|
|
|
2486
2587
|
if (includeInstance) {
|
|
@@ -2494,23 +2595,23 @@ displayName: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
|
2494
2595
|
/**
|
|
2495
2596
|
* Deserializes binary data (in protobuf wire format).
|
|
2496
2597
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
2497
|
-
* @return {!proto.gateway.web.v1.
|
|
2598
|
+
* @return {!proto.gateway.web.v1.ListAIEffortsRequest}
|
|
2498
2599
|
*/
|
|
2499
|
-
proto.gateway.web.v1.
|
|
2600
|
+
proto.gateway.web.v1.ListAIEffortsRequest.deserializeBinary = function(bytes) {
|
|
2500
2601
|
var reader = new jspb.BinaryReader(bytes);
|
|
2501
|
-
var msg = new proto.gateway.web.v1.
|
|
2502
|
-
return proto.gateway.web.v1.
|
|
2602
|
+
var msg = new proto.gateway.web.v1.ListAIEffortsRequest;
|
|
2603
|
+
return proto.gateway.web.v1.ListAIEffortsRequest.deserializeBinaryFromReader(msg, reader);
|
|
2503
2604
|
};
|
|
2504
2605
|
|
|
2505
2606
|
|
|
2506
2607
|
/**
|
|
2507
2608
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2508
2609
|
* given reader into the given message object.
|
|
2509
|
-
* @param {!proto.gateway.web.v1.
|
|
2610
|
+
* @param {!proto.gateway.web.v1.ListAIEffortsRequest} msg The message object to deserialize into.
|
|
2510
2611
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2511
|
-
* @return {!proto.gateway.web.v1.
|
|
2612
|
+
* @return {!proto.gateway.web.v1.ListAIEffortsRequest}
|
|
2512
2613
|
*/
|
|
2513
|
-
proto.gateway.web.v1.
|
|
2614
|
+
proto.gateway.web.v1.ListAIEffortsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2514
2615
|
while (reader.nextField()) {
|
|
2515
2616
|
if (reader.isEndGroup()) {
|
|
2516
2617
|
break;
|
|
@@ -2519,11 +2620,15 @@ proto.gateway.web.v1.UpdateAIReferenceNameRequest.deserializeBinaryFromReader =
|
|
|
2519
2620
|
switch (field) {
|
|
2520
2621
|
case 1:
|
|
2521
2622
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2522
|
-
msg.
|
|
2623
|
+
msg.setOrganizationId(value);
|
|
2523
2624
|
break;
|
|
2524
2625
|
case 2:
|
|
2525
2626
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2526
|
-
msg.
|
|
2627
|
+
msg.setProjectId(value);
|
|
2628
|
+
break;
|
|
2629
|
+
case 3:
|
|
2630
|
+
var value = /** @type {!proto.gateway.web.v1.AIReferenceNameScope} */ (reader.readEnum());
|
|
2631
|
+
msg.setScope(value);
|
|
2527
2632
|
break;
|
|
2528
2633
|
default:
|
|
2529
2634
|
reader.skipField();
|
|
@@ -2538,9 +2643,9 @@ proto.gateway.web.v1.UpdateAIReferenceNameRequest.deserializeBinaryFromReader =
|
|
|
2538
2643
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2539
2644
|
* @return {!Uint8Array}
|
|
2540
2645
|
*/
|
|
2541
|
-
proto.gateway.web.v1.
|
|
2646
|
+
proto.gateway.web.v1.ListAIEffortsRequest.prototype.serializeBinary = function() {
|
|
2542
2647
|
var writer = new jspb.BinaryWriter();
|
|
2543
|
-
proto.gateway.web.v1.
|
|
2648
|
+
proto.gateway.web.v1.ListAIEffortsRequest.serializeBinaryToWriter(this, writer);
|
|
2544
2649
|
return writer.getResultBuffer();
|
|
2545
2650
|
};
|
|
2546
2651
|
|
|
@@ -2548,65 +2653,97 @@ proto.gateway.web.v1.UpdateAIReferenceNameRequest.prototype.serializeBinary = fu
|
|
|
2548
2653
|
/**
|
|
2549
2654
|
* Serializes the given message to binary data (in protobuf wire
|
|
2550
2655
|
* format), writing to the given BinaryWriter.
|
|
2551
|
-
* @param {!proto.gateway.web.v1.
|
|
2656
|
+
* @param {!proto.gateway.web.v1.ListAIEffortsRequest} message
|
|
2552
2657
|
* @param {!jspb.BinaryWriter} writer
|
|
2553
2658
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2554
2659
|
*/
|
|
2555
|
-
proto.gateway.web.v1.
|
|
2660
|
+
proto.gateway.web.v1.ListAIEffortsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2556
2661
|
var f = undefined;
|
|
2557
|
-
f = message.
|
|
2662
|
+
f = message.getOrganizationId();
|
|
2558
2663
|
if (f.length > 0) {
|
|
2559
2664
|
writer.writeString(
|
|
2560
2665
|
1,
|
|
2561
2666
|
f
|
|
2562
2667
|
);
|
|
2563
2668
|
}
|
|
2564
|
-
f = message.
|
|
2669
|
+
f = message.getProjectId();
|
|
2565
2670
|
if (f.length > 0) {
|
|
2566
2671
|
writer.writeString(
|
|
2567
2672
|
2,
|
|
2568
2673
|
f
|
|
2569
2674
|
);
|
|
2570
2675
|
}
|
|
2676
|
+
f = message.getScope();
|
|
2677
|
+
if (f !== 0.0) {
|
|
2678
|
+
writer.writeEnum(
|
|
2679
|
+
3,
|
|
2680
|
+
f
|
|
2681
|
+
);
|
|
2682
|
+
}
|
|
2571
2683
|
};
|
|
2572
2684
|
|
|
2573
2685
|
|
|
2574
2686
|
/**
|
|
2575
|
-
* optional string
|
|
2687
|
+
* optional string organization_id = 1;
|
|
2576
2688
|
* @return {string}
|
|
2577
2689
|
*/
|
|
2578
|
-
proto.gateway.web.v1.
|
|
2690
|
+
proto.gateway.web.v1.ListAIEffortsRequest.prototype.getOrganizationId = function() {
|
|
2579
2691
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2580
2692
|
};
|
|
2581
2693
|
|
|
2582
2694
|
|
|
2583
2695
|
/**
|
|
2584
2696
|
* @param {string} value
|
|
2585
|
-
* @return {!proto.gateway.web.v1.
|
|
2697
|
+
* @return {!proto.gateway.web.v1.ListAIEffortsRequest} returns this
|
|
2586
2698
|
*/
|
|
2587
|
-
proto.gateway.web.v1.
|
|
2699
|
+
proto.gateway.web.v1.ListAIEffortsRequest.prototype.setOrganizationId = function(value) {
|
|
2588
2700
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2589
2701
|
};
|
|
2590
2702
|
|
|
2591
2703
|
|
|
2592
2704
|
/**
|
|
2593
|
-
* optional string
|
|
2705
|
+
* optional string project_id = 2;
|
|
2594
2706
|
* @return {string}
|
|
2595
2707
|
*/
|
|
2596
|
-
proto.gateway.web.v1.
|
|
2708
|
+
proto.gateway.web.v1.ListAIEffortsRequest.prototype.getProjectId = function() {
|
|
2597
2709
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2598
2710
|
};
|
|
2599
2711
|
|
|
2600
2712
|
|
|
2601
2713
|
/**
|
|
2602
2714
|
* @param {string} value
|
|
2603
|
-
* @return {!proto.gateway.web.v1.
|
|
2715
|
+
* @return {!proto.gateway.web.v1.ListAIEffortsRequest} returns this
|
|
2604
2716
|
*/
|
|
2605
|
-
proto.gateway.web.v1.
|
|
2717
|
+
proto.gateway.web.v1.ListAIEffortsRequest.prototype.setProjectId = function(value) {
|
|
2606
2718
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2607
2719
|
};
|
|
2608
2720
|
|
|
2609
2721
|
|
|
2722
|
+
/**
|
|
2723
|
+
* optional AIReferenceNameScope scope = 3;
|
|
2724
|
+
* @return {!proto.gateway.web.v1.AIReferenceNameScope}
|
|
2725
|
+
*/
|
|
2726
|
+
proto.gateway.web.v1.ListAIEffortsRequest.prototype.getScope = function() {
|
|
2727
|
+
return /** @type {!proto.gateway.web.v1.AIReferenceNameScope} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
2728
|
+
};
|
|
2729
|
+
|
|
2730
|
+
|
|
2731
|
+
/**
|
|
2732
|
+
* @param {!proto.gateway.web.v1.AIReferenceNameScope} value
|
|
2733
|
+
* @return {!proto.gateway.web.v1.ListAIEffortsRequest} returns this
|
|
2734
|
+
*/
|
|
2735
|
+
proto.gateway.web.v1.ListAIEffortsRequest.prototype.setScope = function(value) {
|
|
2736
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
2737
|
+
};
|
|
2738
|
+
|
|
2739
|
+
|
|
2740
|
+
|
|
2741
|
+
/**
|
|
2742
|
+
* List of repeated fields within this message type.
|
|
2743
|
+
* @private {!Array<number>}
|
|
2744
|
+
* @const
|
|
2745
|
+
*/
|
|
2746
|
+
proto.gateway.web.v1.ListAIEffortsResponse.repeatedFields_ = [2];
|
|
2610
2747
|
|
|
2611
2748
|
|
|
2612
2749
|
|
|
@@ -2623,8 +2760,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2623
2760
|
* http://goto/soy-param-migration
|
|
2624
2761
|
* @return {!Object}
|
|
2625
2762
|
*/
|
|
2626
|
-
proto.gateway.web.v1.
|
|
2627
|
-
return proto.gateway.web.v1.
|
|
2763
|
+
proto.gateway.web.v1.ListAIEffortsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2764
|
+
return proto.gateway.web.v1.ListAIEffortsResponse.toObject(opt_includeInstance, this);
|
|
2628
2765
|
};
|
|
2629
2766
|
|
|
2630
2767
|
|
|
@@ -2633,14 +2770,15 @@ proto.gateway.web.v1.UpdateAIReferenceNameResponse.prototype.toObject = function
|
|
|
2633
2770
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2634
2771
|
* the JSPB instance for transitional soy proto support:
|
|
2635
2772
|
* http://goto/soy-param-migration
|
|
2636
|
-
* @param {!proto.gateway.web.v1.
|
|
2773
|
+
* @param {!proto.gateway.web.v1.ListAIEffortsResponse} msg The msg instance to transform.
|
|
2637
2774
|
* @return {!Object}
|
|
2638
2775
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2639
2776
|
*/
|
|
2640
|
-
proto.gateway.web.v1.
|
|
2777
|
+
proto.gateway.web.v1.ListAIEffortsResponse.toObject = function(includeInstance, msg) {
|
|
2641
2778
|
var f, obj = {
|
|
2642
2779
|
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
2643
|
-
|
|
2780
|
+
effortsList: jspb.Message.toObjectList(msg.getEffortsList(),
|
|
2781
|
+
proto.gateway.web.v1.AIReferenceName.toObject, includeInstance)
|
|
2644
2782
|
};
|
|
2645
2783
|
|
|
2646
2784
|
if (includeInstance) {
|
|
@@ -2654,23 +2792,23 @@ name: (f = msg.getName()) && proto.gateway.web.v1.AIReferenceName.toObject(inclu
|
|
|
2654
2792
|
/**
|
|
2655
2793
|
* Deserializes binary data (in protobuf wire format).
|
|
2656
2794
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
2657
|
-
* @return {!proto.gateway.web.v1.
|
|
2795
|
+
* @return {!proto.gateway.web.v1.ListAIEffortsResponse}
|
|
2658
2796
|
*/
|
|
2659
|
-
proto.gateway.web.v1.
|
|
2797
|
+
proto.gateway.web.v1.ListAIEffortsResponse.deserializeBinary = function(bytes) {
|
|
2660
2798
|
var reader = new jspb.BinaryReader(bytes);
|
|
2661
|
-
var msg = new proto.gateway.web.v1.
|
|
2662
|
-
return proto.gateway.web.v1.
|
|
2799
|
+
var msg = new proto.gateway.web.v1.ListAIEffortsResponse;
|
|
2800
|
+
return proto.gateway.web.v1.ListAIEffortsResponse.deserializeBinaryFromReader(msg, reader);
|
|
2663
2801
|
};
|
|
2664
2802
|
|
|
2665
2803
|
|
|
2666
2804
|
/**
|
|
2667
2805
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2668
2806
|
* given reader into the given message object.
|
|
2669
|
-
* @param {!proto.gateway.web.v1.
|
|
2807
|
+
* @param {!proto.gateway.web.v1.ListAIEffortsResponse} msg The message object to deserialize into.
|
|
2670
2808
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2671
|
-
* @return {!proto.gateway.web.v1.
|
|
2809
|
+
* @return {!proto.gateway.web.v1.ListAIEffortsResponse}
|
|
2672
2810
|
*/
|
|
2673
|
-
proto.gateway.web.v1.
|
|
2811
|
+
proto.gateway.web.v1.ListAIEffortsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2674
2812
|
while (reader.nextField()) {
|
|
2675
2813
|
if (reader.isEndGroup()) {
|
|
2676
2814
|
break;
|
|
@@ -2685,7 +2823,7 @@ proto.gateway.web.v1.UpdateAIReferenceNameResponse.deserializeBinaryFromReader =
|
|
|
2685
2823
|
case 2:
|
|
2686
2824
|
var value = new proto.gateway.web.v1.AIReferenceName;
|
|
2687
2825
|
reader.readMessage(value,proto.gateway.web.v1.AIReferenceName.deserializeBinaryFromReader);
|
|
2688
|
-
msg.
|
|
2826
|
+
msg.addEfforts(value);
|
|
2689
2827
|
break;
|
|
2690
2828
|
default:
|
|
2691
2829
|
reader.skipField();
|
|
@@ -2700,9 +2838,9 @@ proto.gateway.web.v1.UpdateAIReferenceNameResponse.deserializeBinaryFromReader =
|
|
|
2700
2838
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2701
2839
|
* @return {!Uint8Array}
|
|
2702
2840
|
*/
|
|
2703
|
-
proto.gateway.web.v1.
|
|
2841
|
+
proto.gateway.web.v1.ListAIEffortsResponse.prototype.serializeBinary = function() {
|
|
2704
2842
|
var writer = new jspb.BinaryWriter();
|
|
2705
|
-
proto.gateway.web.v1.
|
|
2843
|
+
proto.gateway.web.v1.ListAIEffortsResponse.serializeBinaryToWriter(this, writer);
|
|
2706
2844
|
return writer.getResultBuffer();
|
|
2707
2845
|
};
|
|
2708
2846
|
|
|
@@ -2710,11 +2848,11 @@ proto.gateway.web.v1.UpdateAIReferenceNameResponse.prototype.serializeBinary = f
|
|
|
2710
2848
|
/**
|
|
2711
2849
|
* Serializes the given message to binary data (in protobuf wire
|
|
2712
2850
|
* format), writing to the given BinaryWriter.
|
|
2713
|
-
* @param {!proto.gateway.web.v1.
|
|
2851
|
+
* @param {!proto.gateway.web.v1.ListAIEffortsResponse} message
|
|
2714
2852
|
* @param {!jspb.BinaryWriter} writer
|
|
2715
2853
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2716
2854
|
*/
|
|
2717
|
-
proto.gateway.web.v1.
|
|
2855
|
+
proto.gateway.web.v1.ListAIEffortsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2718
2856
|
var f = undefined;
|
|
2719
2857
|
f = message.getStatus();
|
|
2720
2858
|
if (f != null) {
|
|
@@ -2724,9 +2862,9 @@ proto.gateway.web.v1.UpdateAIReferenceNameResponse.serializeBinaryToWriter = fun
|
|
|
2724
2862
|
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
2725
2863
|
);
|
|
2726
2864
|
}
|
|
2727
|
-
f = message.
|
|
2728
|
-
if (f
|
|
2729
|
-
writer.
|
|
2865
|
+
f = message.getEffortsList();
|
|
2866
|
+
if (f.length > 0) {
|
|
2867
|
+
writer.writeRepeatedMessage(
|
|
2730
2868
|
2,
|
|
2731
2869
|
f,
|
|
2732
2870
|
proto.gateway.web.v1.AIReferenceName.serializeBinaryToWriter
|
|
@@ -2739,7 +2877,7 @@ proto.gateway.web.v1.UpdateAIReferenceNameResponse.serializeBinaryToWriter = fun
|
|
|
2739
2877
|
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
2740
2878
|
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
2741
2879
|
*/
|
|
2742
|
-
proto.gateway.web.v1.
|
|
2880
|
+
proto.gateway.web.v1.ListAIEffortsResponse.prototype.getStatus = function() {
|
|
2743
2881
|
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
2744
2882
|
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
2745
2883
|
};
|
|
@@ -2747,18 +2885,18 @@ proto.gateway.web.v1.UpdateAIReferenceNameResponse.prototype.getStatus = functio
|
|
|
2747
2885
|
|
|
2748
2886
|
/**
|
|
2749
2887
|
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
2750
|
-
* @return {!proto.gateway.web.v1.
|
|
2888
|
+
* @return {!proto.gateway.web.v1.ListAIEffortsResponse} returns this
|
|
2751
2889
|
*/
|
|
2752
|
-
proto.gateway.web.v1.
|
|
2890
|
+
proto.gateway.web.v1.ListAIEffortsResponse.prototype.setStatus = function(value) {
|
|
2753
2891
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
2754
2892
|
};
|
|
2755
2893
|
|
|
2756
2894
|
|
|
2757
2895
|
/**
|
|
2758
2896
|
* Clears the message field making it undefined.
|
|
2759
|
-
* @return {!proto.gateway.web.v1.
|
|
2897
|
+
* @return {!proto.gateway.web.v1.ListAIEffortsResponse} returns this
|
|
2760
2898
|
*/
|
|
2761
|
-
proto.gateway.web.v1.
|
|
2899
|
+
proto.gateway.web.v1.ListAIEffortsResponse.prototype.clearStatus = function() {
|
|
2762
2900
|
return this.setStatus(undefined);
|
|
2763
2901
|
};
|
|
2764
2902
|
|
|
@@ -2767,48 +2905,786 @@ proto.gateway.web.v1.UpdateAIReferenceNameResponse.prototype.clearStatus = funct
|
|
|
2767
2905
|
* Returns whether this field is set.
|
|
2768
2906
|
* @return {boolean}
|
|
2769
2907
|
*/
|
|
2770
|
-
proto.gateway.web.v1.
|
|
2908
|
+
proto.gateway.web.v1.ListAIEffortsResponse.prototype.hasStatus = function() {
|
|
2771
2909
|
return jspb.Message.getField(this, 1) != null;
|
|
2772
2910
|
};
|
|
2773
2911
|
|
|
2774
2912
|
|
|
2775
2913
|
/**
|
|
2776
|
-
*
|
|
2777
|
-
* @return {
|
|
2914
|
+
* repeated AIReferenceName efforts = 2;
|
|
2915
|
+
* @return {!Array<!proto.gateway.web.v1.AIReferenceName>}
|
|
2778
2916
|
*/
|
|
2779
|
-
proto.gateway.web.v1.
|
|
2780
|
-
return /** @type{
|
|
2781
|
-
jspb.Message.
|
|
2917
|
+
proto.gateway.web.v1.ListAIEffortsResponse.prototype.getEffortsList = function() {
|
|
2918
|
+
return /** @type{!Array<!proto.gateway.web.v1.AIReferenceName>} */ (
|
|
2919
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIReferenceName, 2));
|
|
2782
2920
|
};
|
|
2783
2921
|
|
|
2784
2922
|
|
|
2785
2923
|
/**
|
|
2786
|
-
* @param {
|
|
2787
|
-
* @return {!proto.gateway.web.v1.
|
|
2924
|
+
* @param {!Array<!proto.gateway.web.v1.AIReferenceName>} value
|
|
2925
|
+
* @return {!proto.gateway.web.v1.ListAIEffortsResponse} returns this
|
|
2788
2926
|
*/
|
|
2789
|
-
proto.gateway.web.v1.
|
|
2790
|
-
return jspb.Message.
|
|
2927
|
+
proto.gateway.web.v1.ListAIEffortsResponse.prototype.setEffortsList = function(value) {
|
|
2928
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
2791
2929
|
};
|
|
2792
2930
|
|
|
2793
2931
|
|
|
2794
2932
|
/**
|
|
2795
|
-
*
|
|
2796
|
-
* @
|
|
2933
|
+
* @param {!proto.gateway.web.v1.AIReferenceName=} opt_value
|
|
2934
|
+
* @param {number=} opt_index
|
|
2935
|
+
* @return {!proto.gateway.web.v1.AIReferenceName}
|
|
2797
2936
|
*/
|
|
2798
|
-
proto.gateway.web.v1.
|
|
2799
|
-
return this.
|
|
2937
|
+
proto.gateway.web.v1.ListAIEffortsResponse.prototype.addEfforts = function(opt_value, opt_index) {
|
|
2938
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIReferenceName, opt_index);
|
|
2800
2939
|
};
|
|
2801
2940
|
|
|
2802
2941
|
|
|
2803
2942
|
/**
|
|
2804
|
-
*
|
|
2805
|
-
* @return {
|
|
2943
|
+
* Clears the list making it empty but non-null.
|
|
2944
|
+
* @return {!proto.gateway.web.v1.ListAIEffortsResponse} returns this
|
|
2806
2945
|
*/
|
|
2807
|
-
proto.gateway.web.v1.
|
|
2808
|
-
return
|
|
2946
|
+
proto.gateway.web.v1.ListAIEffortsResponse.prototype.clearEffortsList = function() {
|
|
2947
|
+
return this.setEffortsList([]);
|
|
2948
|
+
};
|
|
2949
|
+
|
|
2950
|
+
|
|
2951
|
+
|
|
2952
|
+
|
|
2953
|
+
|
|
2954
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2955
|
+
/**
|
|
2956
|
+
* Creates an object representation of this proto.
|
|
2957
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2958
|
+
* Optional fields that are not set will be set to undefined.
|
|
2959
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2960
|
+
* For the list of reserved names please see:
|
|
2961
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2962
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2963
|
+
* JSPB instance for transitional soy proto support:
|
|
2964
|
+
* http://goto/soy-param-migration
|
|
2965
|
+
* @return {!Object}
|
|
2966
|
+
*/
|
|
2967
|
+
proto.gateway.web.v1.ListAIBillersRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2968
|
+
return proto.gateway.web.v1.ListAIBillersRequest.toObject(opt_includeInstance, this);
|
|
2969
|
+
};
|
|
2970
|
+
|
|
2971
|
+
|
|
2972
|
+
/**
|
|
2973
|
+
* Static version of the {@see toObject} method.
|
|
2974
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2975
|
+
* the JSPB instance for transitional soy proto support:
|
|
2976
|
+
* http://goto/soy-param-migration
|
|
2977
|
+
* @param {!proto.gateway.web.v1.ListAIBillersRequest} msg The msg instance to transform.
|
|
2978
|
+
* @return {!Object}
|
|
2979
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2980
|
+
*/
|
|
2981
|
+
proto.gateway.web.v1.ListAIBillersRequest.toObject = function(includeInstance, msg) {
|
|
2982
|
+
var f, obj = {
|
|
2983
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2984
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2985
|
+
scope: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
2986
|
+
};
|
|
2987
|
+
|
|
2988
|
+
if (includeInstance) {
|
|
2989
|
+
obj.$jspbMessageInstance = msg;
|
|
2990
|
+
}
|
|
2991
|
+
return obj;
|
|
2992
|
+
};
|
|
2993
|
+
}
|
|
2994
|
+
|
|
2995
|
+
|
|
2996
|
+
/**
|
|
2997
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2998
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
2999
|
+
* @return {!proto.gateway.web.v1.ListAIBillersRequest}
|
|
3000
|
+
*/
|
|
3001
|
+
proto.gateway.web.v1.ListAIBillersRequest.deserializeBinary = function(bytes) {
|
|
3002
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3003
|
+
var msg = new proto.gateway.web.v1.ListAIBillersRequest;
|
|
3004
|
+
return proto.gateway.web.v1.ListAIBillersRequest.deserializeBinaryFromReader(msg, reader);
|
|
3005
|
+
};
|
|
3006
|
+
|
|
3007
|
+
|
|
3008
|
+
/**
|
|
3009
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3010
|
+
* given reader into the given message object.
|
|
3011
|
+
* @param {!proto.gateway.web.v1.ListAIBillersRequest} msg The message object to deserialize into.
|
|
3012
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3013
|
+
* @return {!proto.gateway.web.v1.ListAIBillersRequest}
|
|
3014
|
+
*/
|
|
3015
|
+
proto.gateway.web.v1.ListAIBillersRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3016
|
+
while (reader.nextField()) {
|
|
3017
|
+
if (reader.isEndGroup()) {
|
|
3018
|
+
break;
|
|
3019
|
+
}
|
|
3020
|
+
var field = reader.getFieldNumber();
|
|
3021
|
+
switch (field) {
|
|
3022
|
+
case 1:
|
|
3023
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3024
|
+
msg.setOrganizationId(value);
|
|
3025
|
+
break;
|
|
3026
|
+
case 2:
|
|
3027
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3028
|
+
msg.setProjectId(value);
|
|
3029
|
+
break;
|
|
3030
|
+
case 3:
|
|
3031
|
+
var value = /** @type {!proto.gateway.web.v1.AIReferenceNameScope} */ (reader.readEnum());
|
|
3032
|
+
msg.setScope(value);
|
|
3033
|
+
break;
|
|
3034
|
+
default:
|
|
3035
|
+
reader.skipField();
|
|
3036
|
+
break;
|
|
3037
|
+
}
|
|
3038
|
+
}
|
|
3039
|
+
return msg;
|
|
3040
|
+
};
|
|
3041
|
+
|
|
3042
|
+
|
|
3043
|
+
/**
|
|
3044
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3045
|
+
* @return {!Uint8Array}
|
|
3046
|
+
*/
|
|
3047
|
+
proto.gateway.web.v1.ListAIBillersRequest.prototype.serializeBinary = function() {
|
|
3048
|
+
var writer = new jspb.BinaryWriter();
|
|
3049
|
+
proto.gateway.web.v1.ListAIBillersRequest.serializeBinaryToWriter(this, writer);
|
|
3050
|
+
return writer.getResultBuffer();
|
|
2809
3051
|
};
|
|
2810
3052
|
|
|
2811
3053
|
|
|
3054
|
+
/**
|
|
3055
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3056
|
+
* format), writing to the given BinaryWriter.
|
|
3057
|
+
* @param {!proto.gateway.web.v1.ListAIBillersRequest} message
|
|
3058
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3059
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3060
|
+
*/
|
|
3061
|
+
proto.gateway.web.v1.ListAIBillersRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3062
|
+
var f = undefined;
|
|
3063
|
+
f = message.getOrganizationId();
|
|
3064
|
+
if (f.length > 0) {
|
|
3065
|
+
writer.writeString(
|
|
3066
|
+
1,
|
|
3067
|
+
f
|
|
3068
|
+
);
|
|
3069
|
+
}
|
|
3070
|
+
f = message.getProjectId();
|
|
3071
|
+
if (f.length > 0) {
|
|
3072
|
+
writer.writeString(
|
|
3073
|
+
2,
|
|
3074
|
+
f
|
|
3075
|
+
);
|
|
3076
|
+
}
|
|
3077
|
+
f = message.getScope();
|
|
3078
|
+
if (f !== 0.0) {
|
|
3079
|
+
writer.writeEnum(
|
|
3080
|
+
3,
|
|
3081
|
+
f
|
|
3082
|
+
);
|
|
3083
|
+
}
|
|
3084
|
+
};
|
|
3085
|
+
|
|
3086
|
+
|
|
3087
|
+
/**
|
|
3088
|
+
* optional string organization_id = 1;
|
|
3089
|
+
* @return {string}
|
|
3090
|
+
*/
|
|
3091
|
+
proto.gateway.web.v1.ListAIBillersRequest.prototype.getOrganizationId = function() {
|
|
3092
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3093
|
+
};
|
|
3094
|
+
|
|
3095
|
+
|
|
3096
|
+
/**
|
|
3097
|
+
* @param {string} value
|
|
3098
|
+
* @return {!proto.gateway.web.v1.ListAIBillersRequest} returns this
|
|
3099
|
+
*/
|
|
3100
|
+
proto.gateway.web.v1.ListAIBillersRequest.prototype.setOrganizationId = function(value) {
|
|
3101
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3102
|
+
};
|
|
3103
|
+
|
|
3104
|
+
|
|
3105
|
+
/**
|
|
3106
|
+
* optional string project_id = 2;
|
|
3107
|
+
* @return {string}
|
|
3108
|
+
*/
|
|
3109
|
+
proto.gateway.web.v1.ListAIBillersRequest.prototype.getProjectId = function() {
|
|
3110
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3111
|
+
};
|
|
3112
|
+
|
|
3113
|
+
|
|
3114
|
+
/**
|
|
3115
|
+
* @param {string} value
|
|
3116
|
+
* @return {!proto.gateway.web.v1.ListAIBillersRequest} returns this
|
|
3117
|
+
*/
|
|
3118
|
+
proto.gateway.web.v1.ListAIBillersRequest.prototype.setProjectId = function(value) {
|
|
3119
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3120
|
+
};
|
|
3121
|
+
|
|
3122
|
+
|
|
3123
|
+
/**
|
|
3124
|
+
* optional AIReferenceNameScope scope = 3;
|
|
3125
|
+
* @return {!proto.gateway.web.v1.AIReferenceNameScope}
|
|
3126
|
+
*/
|
|
3127
|
+
proto.gateway.web.v1.ListAIBillersRequest.prototype.getScope = function() {
|
|
3128
|
+
return /** @type {!proto.gateway.web.v1.AIReferenceNameScope} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
3129
|
+
};
|
|
3130
|
+
|
|
3131
|
+
|
|
3132
|
+
/**
|
|
3133
|
+
* @param {!proto.gateway.web.v1.AIReferenceNameScope} value
|
|
3134
|
+
* @return {!proto.gateway.web.v1.ListAIBillersRequest} returns this
|
|
3135
|
+
*/
|
|
3136
|
+
proto.gateway.web.v1.ListAIBillersRequest.prototype.setScope = function(value) {
|
|
3137
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
3138
|
+
};
|
|
3139
|
+
|
|
3140
|
+
|
|
3141
|
+
|
|
3142
|
+
/**
|
|
3143
|
+
* List of repeated fields within this message type.
|
|
3144
|
+
* @private {!Array<number>}
|
|
3145
|
+
* @const
|
|
3146
|
+
*/
|
|
3147
|
+
proto.gateway.web.v1.ListAIBillersResponse.repeatedFields_ = [2];
|
|
3148
|
+
|
|
3149
|
+
|
|
3150
|
+
|
|
3151
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3152
|
+
/**
|
|
3153
|
+
* Creates an object representation of this proto.
|
|
3154
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3155
|
+
* Optional fields that are not set will be set to undefined.
|
|
3156
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3157
|
+
* For the list of reserved names please see:
|
|
3158
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3159
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3160
|
+
* JSPB instance for transitional soy proto support:
|
|
3161
|
+
* http://goto/soy-param-migration
|
|
3162
|
+
* @return {!Object}
|
|
3163
|
+
*/
|
|
3164
|
+
proto.gateway.web.v1.ListAIBillersResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3165
|
+
return proto.gateway.web.v1.ListAIBillersResponse.toObject(opt_includeInstance, this);
|
|
3166
|
+
};
|
|
3167
|
+
|
|
3168
|
+
|
|
3169
|
+
/**
|
|
3170
|
+
* Static version of the {@see toObject} method.
|
|
3171
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3172
|
+
* the JSPB instance for transitional soy proto support:
|
|
3173
|
+
* http://goto/soy-param-migration
|
|
3174
|
+
* @param {!proto.gateway.web.v1.ListAIBillersResponse} msg The msg instance to transform.
|
|
3175
|
+
* @return {!Object}
|
|
3176
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3177
|
+
*/
|
|
3178
|
+
proto.gateway.web.v1.ListAIBillersResponse.toObject = function(includeInstance, msg) {
|
|
3179
|
+
var f, obj = {
|
|
3180
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
3181
|
+
billersList: jspb.Message.toObjectList(msg.getBillersList(),
|
|
3182
|
+
proto.gateway.web.v1.AIReferenceName.toObject, includeInstance)
|
|
3183
|
+
};
|
|
3184
|
+
|
|
3185
|
+
if (includeInstance) {
|
|
3186
|
+
obj.$jspbMessageInstance = msg;
|
|
3187
|
+
}
|
|
3188
|
+
return obj;
|
|
3189
|
+
};
|
|
3190
|
+
}
|
|
3191
|
+
|
|
3192
|
+
|
|
3193
|
+
/**
|
|
3194
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3195
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
3196
|
+
* @return {!proto.gateway.web.v1.ListAIBillersResponse}
|
|
3197
|
+
*/
|
|
3198
|
+
proto.gateway.web.v1.ListAIBillersResponse.deserializeBinary = function(bytes) {
|
|
3199
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3200
|
+
var msg = new proto.gateway.web.v1.ListAIBillersResponse;
|
|
3201
|
+
return proto.gateway.web.v1.ListAIBillersResponse.deserializeBinaryFromReader(msg, reader);
|
|
3202
|
+
};
|
|
3203
|
+
|
|
3204
|
+
|
|
3205
|
+
/**
|
|
3206
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3207
|
+
* given reader into the given message object.
|
|
3208
|
+
* @param {!proto.gateway.web.v1.ListAIBillersResponse} msg The message object to deserialize into.
|
|
3209
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3210
|
+
* @return {!proto.gateway.web.v1.ListAIBillersResponse}
|
|
3211
|
+
*/
|
|
3212
|
+
proto.gateway.web.v1.ListAIBillersResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3213
|
+
while (reader.nextField()) {
|
|
3214
|
+
if (reader.isEndGroup()) {
|
|
3215
|
+
break;
|
|
3216
|
+
}
|
|
3217
|
+
var field = reader.getFieldNumber();
|
|
3218
|
+
switch (field) {
|
|
3219
|
+
case 1:
|
|
3220
|
+
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
3221
|
+
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
3222
|
+
msg.setStatus(value);
|
|
3223
|
+
break;
|
|
3224
|
+
case 2:
|
|
3225
|
+
var value = new proto.gateway.web.v1.AIReferenceName;
|
|
3226
|
+
reader.readMessage(value,proto.gateway.web.v1.AIReferenceName.deserializeBinaryFromReader);
|
|
3227
|
+
msg.addBillers(value);
|
|
3228
|
+
break;
|
|
3229
|
+
default:
|
|
3230
|
+
reader.skipField();
|
|
3231
|
+
break;
|
|
3232
|
+
}
|
|
3233
|
+
}
|
|
3234
|
+
return msg;
|
|
3235
|
+
};
|
|
3236
|
+
|
|
3237
|
+
|
|
3238
|
+
/**
|
|
3239
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3240
|
+
* @return {!Uint8Array}
|
|
3241
|
+
*/
|
|
3242
|
+
proto.gateway.web.v1.ListAIBillersResponse.prototype.serializeBinary = function() {
|
|
3243
|
+
var writer = new jspb.BinaryWriter();
|
|
3244
|
+
proto.gateway.web.v1.ListAIBillersResponse.serializeBinaryToWriter(this, writer);
|
|
3245
|
+
return writer.getResultBuffer();
|
|
3246
|
+
};
|
|
3247
|
+
|
|
3248
|
+
|
|
3249
|
+
/**
|
|
3250
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3251
|
+
* format), writing to the given BinaryWriter.
|
|
3252
|
+
* @param {!proto.gateway.web.v1.ListAIBillersResponse} message
|
|
3253
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3254
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3255
|
+
*/
|
|
3256
|
+
proto.gateway.web.v1.ListAIBillersResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3257
|
+
var f = undefined;
|
|
3258
|
+
f = message.getStatus();
|
|
3259
|
+
if (f != null) {
|
|
3260
|
+
writer.writeMessage(
|
|
3261
|
+
1,
|
|
3262
|
+
f,
|
|
3263
|
+
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
3264
|
+
);
|
|
3265
|
+
}
|
|
3266
|
+
f = message.getBillersList();
|
|
3267
|
+
if (f.length > 0) {
|
|
3268
|
+
writer.writeRepeatedMessage(
|
|
3269
|
+
2,
|
|
3270
|
+
f,
|
|
3271
|
+
proto.gateway.web.v1.AIReferenceName.serializeBinaryToWriter
|
|
3272
|
+
);
|
|
3273
|
+
}
|
|
3274
|
+
};
|
|
3275
|
+
|
|
3276
|
+
|
|
3277
|
+
/**
|
|
3278
|
+
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
3279
|
+
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
3280
|
+
*/
|
|
3281
|
+
proto.gateway.web.v1.ListAIBillersResponse.prototype.getStatus = function() {
|
|
3282
|
+
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
3283
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
3284
|
+
};
|
|
3285
|
+
|
|
3286
|
+
|
|
3287
|
+
/**
|
|
3288
|
+
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
3289
|
+
* @return {!proto.gateway.web.v1.ListAIBillersResponse} returns this
|
|
3290
|
+
*/
|
|
3291
|
+
proto.gateway.web.v1.ListAIBillersResponse.prototype.setStatus = function(value) {
|
|
3292
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
3293
|
+
};
|
|
3294
|
+
|
|
3295
|
+
|
|
3296
|
+
/**
|
|
3297
|
+
* Clears the message field making it undefined.
|
|
3298
|
+
* @return {!proto.gateway.web.v1.ListAIBillersResponse} returns this
|
|
3299
|
+
*/
|
|
3300
|
+
proto.gateway.web.v1.ListAIBillersResponse.prototype.clearStatus = function() {
|
|
3301
|
+
return this.setStatus(undefined);
|
|
3302
|
+
};
|
|
3303
|
+
|
|
3304
|
+
|
|
3305
|
+
/**
|
|
3306
|
+
* Returns whether this field is set.
|
|
3307
|
+
* @return {boolean}
|
|
3308
|
+
*/
|
|
3309
|
+
proto.gateway.web.v1.ListAIBillersResponse.prototype.hasStatus = function() {
|
|
3310
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3311
|
+
};
|
|
3312
|
+
|
|
3313
|
+
|
|
3314
|
+
/**
|
|
3315
|
+
* repeated AIReferenceName billers = 2;
|
|
3316
|
+
* @return {!Array<!proto.gateway.web.v1.AIReferenceName>}
|
|
3317
|
+
*/
|
|
3318
|
+
proto.gateway.web.v1.ListAIBillersResponse.prototype.getBillersList = function() {
|
|
3319
|
+
return /** @type{!Array<!proto.gateway.web.v1.AIReferenceName>} */ (
|
|
3320
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIReferenceName, 2));
|
|
3321
|
+
};
|
|
3322
|
+
|
|
3323
|
+
|
|
3324
|
+
/**
|
|
3325
|
+
* @param {!Array<!proto.gateway.web.v1.AIReferenceName>} value
|
|
3326
|
+
* @return {!proto.gateway.web.v1.ListAIBillersResponse} returns this
|
|
3327
|
+
*/
|
|
3328
|
+
proto.gateway.web.v1.ListAIBillersResponse.prototype.setBillersList = function(value) {
|
|
3329
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
3330
|
+
};
|
|
3331
|
+
|
|
3332
|
+
|
|
3333
|
+
/**
|
|
3334
|
+
* @param {!proto.gateway.web.v1.AIReferenceName=} opt_value
|
|
3335
|
+
* @param {number=} opt_index
|
|
3336
|
+
* @return {!proto.gateway.web.v1.AIReferenceName}
|
|
3337
|
+
*/
|
|
3338
|
+
proto.gateway.web.v1.ListAIBillersResponse.prototype.addBillers = function(opt_value, opt_index) {
|
|
3339
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIReferenceName, opt_index);
|
|
3340
|
+
};
|
|
3341
|
+
|
|
3342
|
+
|
|
3343
|
+
/**
|
|
3344
|
+
* Clears the list making it empty but non-null.
|
|
3345
|
+
* @return {!proto.gateway.web.v1.ListAIBillersResponse} returns this
|
|
3346
|
+
*/
|
|
3347
|
+
proto.gateway.web.v1.ListAIBillersResponse.prototype.clearBillersList = function() {
|
|
3348
|
+
return this.setBillersList([]);
|
|
3349
|
+
};
|
|
3350
|
+
|
|
3351
|
+
|
|
3352
|
+
|
|
3353
|
+
/**
|
|
3354
|
+
* List of repeated fields within this message type.
|
|
3355
|
+
* @private {!Array<number>}
|
|
3356
|
+
* @const
|
|
3357
|
+
*/
|
|
3358
|
+
proto.gateway.web.v1.AIReferenceName.repeatedFields_ = [3];
|
|
3359
|
+
|
|
3360
|
+
|
|
3361
|
+
|
|
3362
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3363
|
+
/**
|
|
3364
|
+
* Creates an object representation of this proto.
|
|
3365
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3366
|
+
* Optional fields that are not set will be set to undefined.
|
|
3367
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3368
|
+
* For the list of reserved names please see:
|
|
3369
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3370
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3371
|
+
* JSPB instance for transitional soy proto support:
|
|
3372
|
+
* http://goto/soy-param-migration
|
|
3373
|
+
* @return {!Object}
|
|
3374
|
+
*/
|
|
3375
|
+
proto.gateway.web.v1.AIReferenceName.prototype.toObject = function(opt_includeInstance) {
|
|
3376
|
+
return proto.gateway.web.v1.AIReferenceName.toObject(opt_includeInstance, this);
|
|
3377
|
+
};
|
|
3378
|
+
|
|
3379
|
+
|
|
3380
|
+
/**
|
|
3381
|
+
* Static version of the {@see toObject} method.
|
|
3382
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3383
|
+
* the JSPB instance for transitional soy proto support:
|
|
3384
|
+
* http://goto/soy-param-migration
|
|
3385
|
+
* @param {!proto.gateway.web.v1.AIReferenceName} msg The msg instance to transform.
|
|
3386
|
+
* @return {!Object}
|
|
3387
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3388
|
+
*/
|
|
3389
|
+
proto.gateway.web.v1.AIReferenceName.toObject = function(includeInstance, msg) {
|
|
3390
|
+
var f, obj = {
|
|
3391
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3392
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3393
|
+
sourceSystemsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
3394
|
+
origin: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
3395
|
+
updatedAt: (f = msg.getUpdatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
3396
|
+
observed: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
3397
|
+
};
|
|
3398
|
+
|
|
3399
|
+
if (includeInstance) {
|
|
3400
|
+
obj.$jspbMessageInstance = msg;
|
|
3401
|
+
}
|
|
3402
|
+
return obj;
|
|
3403
|
+
};
|
|
3404
|
+
}
|
|
3405
|
+
|
|
3406
|
+
|
|
3407
|
+
/**
|
|
3408
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3409
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
3410
|
+
* @return {!proto.gateway.web.v1.AIReferenceName}
|
|
3411
|
+
*/
|
|
3412
|
+
proto.gateway.web.v1.AIReferenceName.deserializeBinary = function(bytes) {
|
|
3413
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3414
|
+
var msg = new proto.gateway.web.v1.AIReferenceName;
|
|
3415
|
+
return proto.gateway.web.v1.AIReferenceName.deserializeBinaryFromReader(msg, reader);
|
|
3416
|
+
};
|
|
3417
|
+
|
|
3418
|
+
|
|
3419
|
+
/**
|
|
3420
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3421
|
+
* given reader into the given message object.
|
|
3422
|
+
* @param {!proto.gateway.web.v1.AIReferenceName} msg The message object to deserialize into.
|
|
3423
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3424
|
+
* @return {!proto.gateway.web.v1.AIReferenceName}
|
|
3425
|
+
*/
|
|
3426
|
+
proto.gateway.web.v1.AIReferenceName.deserializeBinaryFromReader = function(msg, reader) {
|
|
3427
|
+
while (reader.nextField()) {
|
|
3428
|
+
if (reader.isEndGroup()) {
|
|
3429
|
+
break;
|
|
3430
|
+
}
|
|
3431
|
+
var field = reader.getFieldNumber();
|
|
3432
|
+
switch (field) {
|
|
3433
|
+
case 1:
|
|
3434
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3435
|
+
msg.setName(value);
|
|
3436
|
+
break;
|
|
3437
|
+
case 2:
|
|
3438
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3439
|
+
msg.setDisplayName(value);
|
|
3440
|
+
break;
|
|
3441
|
+
case 3:
|
|
3442
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3443
|
+
msg.addSourceSystems(value);
|
|
3444
|
+
break;
|
|
3445
|
+
case 4:
|
|
3446
|
+
var value = /** @type {!proto.gateway.web.v1.AIReferenceNameOrigin} */ (reader.readEnum());
|
|
3447
|
+
msg.setOrigin(value);
|
|
3448
|
+
break;
|
|
3449
|
+
case 5:
|
|
3450
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
3451
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
3452
|
+
msg.setUpdatedAt(value);
|
|
3453
|
+
break;
|
|
3454
|
+
case 6:
|
|
3455
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3456
|
+
msg.setObserved(value);
|
|
3457
|
+
break;
|
|
3458
|
+
default:
|
|
3459
|
+
reader.skipField();
|
|
3460
|
+
break;
|
|
3461
|
+
}
|
|
3462
|
+
}
|
|
3463
|
+
return msg;
|
|
3464
|
+
};
|
|
3465
|
+
|
|
3466
|
+
|
|
3467
|
+
/**
|
|
3468
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3469
|
+
* @return {!Uint8Array}
|
|
3470
|
+
*/
|
|
3471
|
+
proto.gateway.web.v1.AIReferenceName.prototype.serializeBinary = function() {
|
|
3472
|
+
var writer = new jspb.BinaryWriter();
|
|
3473
|
+
proto.gateway.web.v1.AIReferenceName.serializeBinaryToWriter(this, writer);
|
|
3474
|
+
return writer.getResultBuffer();
|
|
3475
|
+
};
|
|
3476
|
+
|
|
3477
|
+
|
|
3478
|
+
/**
|
|
3479
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3480
|
+
* format), writing to the given BinaryWriter.
|
|
3481
|
+
* @param {!proto.gateway.web.v1.AIReferenceName} message
|
|
3482
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3483
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3484
|
+
*/
|
|
3485
|
+
proto.gateway.web.v1.AIReferenceName.serializeBinaryToWriter = function(message, writer) {
|
|
3486
|
+
var f = undefined;
|
|
3487
|
+
f = message.getName();
|
|
3488
|
+
if (f.length > 0) {
|
|
3489
|
+
writer.writeString(
|
|
3490
|
+
1,
|
|
3491
|
+
f
|
|
3492
|
+
);
|
|
3493
|
+
}
|
|
3494
|
+
f = message.getDisplayName();
|
|
3495
|
+
if (f.length > 0) {
|
|
3496
|
+
writer.writeString(
|
|
3497
|
+
2,
|
|
3498
|
+
f
|
|
3499
|
+
);
|
|
3500
|
+
}
|
|
3501
|
+
f = message.getSourceSystemsList();
|
|
3502
|
+
if (f.length > 0) {
|
|
3503
|
+
writer.writeRepeatedString(
|
|
3504
|
+
3,
|
|
3505
|
+
f
|
|
3506
|
+
);
|
|
3507
|
+
}
|
|
3508
|
+
f = message.getOrigin();
|
|
3509
|
+
if (f !== 0.0) {
|
|
3510
|
+
writer.writeEnum(
|
|
3511
|
+
4,
|
|
3512
|
+
f
|
|
3513
|
+
);
|
|
3514
|
+
}
|
|
3515
|
+
f = message.getUpdatedAt();
|
|
3516
|
+
if (f != null) {
|
|
3517
|
+
writer.writeMessage(
|
|
3518
|
+
5,
|
|
3519
|
+
f,
|
|
3520
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
3521
|
+
);
|
|
3522
|
+
}
|
|
3523
|
+
f = message.getObserved();
|
|
3524
|
+
if (f) {
|
|
3525
|
+
writer.writeBool(
|
|
3526
|
+
6,
|
|
3527
|
+
f
|
|
3528
|
+
);
|
|
3529
|
+
}
|
|
3530
|
+
};
|
|
3531
|
+
|
|
3532
|
+
|
|
3533
|
+
/**
|
|
3534
|
+
* optional string name = 1;
|
|
3535
|
+
* @return {string}
|
|
3536
|
+
*/
|
|
3537
|
+
proto.gateway.web.v1.AIReferenceName.prototype.getName = function() {
|
|
3538
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3539
|
+
};
|
|
3540
|
+
|
|
3541
|
+
|
|
3542
|
+
/**
|
|
3543
|
+
* @param {string} value
|
|
3544
|
+
* @return {!proto.gateway.web.v1.AIReferenceName} returns this
|
|
3545
|
+
*/
|
|
3546
|
+
proto.gateway.web.v1.AIReferenceName.prototype.setName = function(value) {
|
|
3547
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3548
|
+
};
|
|
3549
|
+
|
|
3550
|
+
|
|
3551
|
+
/**
|
|
3552
|
+
* optional string display_name = 2;
|
|
3553
|
+
* @return {string}
|
|
3554
|
+
*/
|
|
3555
|
+
proto.gateway.web.v1.AIReferenceName.prototype.getDisplayName = function() {
|
|
3556
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3557
|
+
};
|
|
3558
|
+
|
|
3559
|
+
|
|
3560
|
+
/**
|
|
3561
|
+
* @param {string} value
|
|
3562
|
+
* @return {!proto.gateway.web.v1.AIReferenceName} returns this
|
|
3563
|
+
*/
|
|
3564
|
+
proto.gateway.web.v1.AIReferenceName.prototype.setDisplayName = function(value) {
|
|
3565
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3566
|
+
};
|
|
3567
|
+
|
|
3568
|
+
|
|
3569
|
+
/**
|
|
3570
|
+
* repeated string source_systems = 3;
|
|
3571
|
+
* @return {!Array<string>}
|
|
3572
|
+
*/
|
|
3573
|
+
proto.gateway.web.v1.AIReferenceName.prototype.getSourceSystemsList = function() {
|
|
3574
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
3575
|
+
};
|
|
3576
|
+
|
|
3577
|
+
|
|
3578
|
+
/**
|
|
3579
|
+
* @param {!Array<string>} value
|
|
3580
|
+
* @return {!proto.gateway.web.v1.AIReferenceName} returns this
|
|
3581
|
+
*/
|
|
3582
|
+
proto.gateway.web.v1.AIReferenceName.prototype.setSourceSystemsList = function(value) {
|
|
3583
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
3584
|
+
};
|
|
3585
|
+
|
|
3586
|
+
|
|
3587
|
+
/**
|
|
3588
|
+
* @param {string} value
|
|
3589
|
+
* @param {number=} opt_index
|
|
3590
|
+
* @return {!proto.gateway.web.v1.AIReferenceName} returns this
|
|
3591
|
+
*/
|
|
3592
|
+
proto.gateway.web.v1.AIReferenceName.prototype.addSourceSystems = function(value, opt_index) {
|
|
3593
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
3594
|
+
};
|
|
3595
|
+
|
|
3596
|
+
|
|
3597
|
+
/**
|
|
3598
|
+
* Clears the list making it empty but non-null.
|
|
3599
|
+
* @return {!proto.gateway.web.v1.AIReferenceName} returns this
|
|
3600
|
+
*/
|
|
3601
|
+
proto.gateway.web.v1.AIReferenceName.prototype.clearSourceSystemsList = function() {
|
|
3602
|
+
return this.setSourceSystemsList([]);
|
|
3603
|
+
};
|
|
3604
|
+
|
|
3605
|
+
|
|
3606
|
+
/**
|
|
3607
|
+
* optional AIReferenceNameOrigin origin = 4;
|
|
3608
|
+
* @return {!proto.gateway.web.v1.AIReferenceNameOrigin}
|
|
3609
|
+
*/
|
|
3610
|
+
proto.gateway.web.v1.AIReferenceName.prototype.getOrigin = function() {
|
|
3611
|
+
return /** @type {!proto.gateway.web.v1.AIReferenceNameOrigin} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
3612
|
+
};
|
|
3613
|
+
|
|
3614
|
+
|
|
3615
|
+
/**
|
|
3616
|
+
* @param {!proto.gateway.web.v1.AIReferenceNameOrigin} value
|
|
3617
|
+
* @return {!proto.gateway.web.v1.AIReferenceName} returns this
|
|
3618
|
+
*/
|
|
3619
|
+
proto.gateway.web.v1.AIReferenceName.prototype.setOrigin = function(value) {
|
|
3620
|
+
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
3621
|
+
};
|
|
3622
|
+
|
|
3623
|
+
|
|
3624
|
+
/**
|
|
3625
|
+
* optional google.protobuf.Timestamp updated_at = 5;
|
|
3626
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
3627
|
+
*/
|
|
3628
|
+
proto.gateway.web.v1.AIReferenceName.prototype.getUpdatedAt = function() {
|
|
3629
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
3630
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
|
|
3631
|
+
};
|
|
3632
|
+
|
|
3633
|
+
|
|
3634
|
+
/**
|
|
3635
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
3636
|
+
* @return {!proto.gateway.web.v1.AIReferenceName} returns this
|
|
3637
|
+
*/
|
|
3638
|
+
proto.gateway.web.v1.AIReferenceName.prototype.setUpdatedAt = function(value) {
|
|
3639
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
3640
|
+
};
|
|
3641
|
+
|
|
3642
|
+
|
|
3643
|
+
/**
|
|
3644
|
+
* Clears the message field making it undefined.
|
|
3645
|
+
* @return {!proto.gateway.web.v1.AIReferenceName} returns this
|
|
3646
|
+
*/
|
|
3647
|
+
proto.gateway.web.v1.AIReferenceName.prototype.clearUpdatedAt = function() {
|
|
3648
|
+
return this.setUpdatedAt(undefined);
|
|
3649
|
+
};
|
|
3650
|
+
|
|
3651
|
+
|
|
3652
|
+
/**
|
|
3653
|
+
* Returns whether this field is set.
|
|
3654
|
+
* @return {boolean}
|
|
3655
|
+
*/
|
|
3656
|
+
proto.gateway.web.v1.AIReferenceName.prototype.hasUpdatedAt = function() {
|
|
3657
|
+
return jspb.Message.getField(this, 5) != null;
|
|
3658
|
+
};
|
|
3659
|
+
|
|
3660
|
+
|
|
3661
|
+
/**
|
|
3662
|
+
* optional bool observed = 6;
|
|
3663
|
+
* @return {boolean}
|
|
3664
|
+
*/
|
|
3665
|
+
proto.gateway.web.v1.AIReferenceName.prototype.getObserved = function() {
|
|
3666
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
3667
|
+
};
|
|
3668
|
+
|
|
3669
|
+
|
|
3670
|
+
/**
|
|
3671
|
+
* @param {boolean} value
|
|
3672
|
+
* @return {!proto.gateway.web.v1.AIReferenceName} returns this
|
|
3673
|
+
*/
|
|
3674
|
+
proto.gateway.web.v1.AIReferenceName.prototype.setObserved = function(value) {
|
|
3675
|
+
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
3676
|
+
};
|
|
3677
|
+
|
|
3678
|
+
|
|
3679
|
+
/**
|
|
3680
|
+
* @enum {number}
|
|
3681
|
+
*/
|
|
3682
|
+
proto.gateway.web.v1.AIReferenceNameScope = {
|
|
3683
|
+
AI_REFERENCE_NAME_SCOPE_UNSPECIFIED: 0,
|
|
3684
|
+
AI_REFERENCE_NAME_SCOPE_ORGANIZATION: 1,
|
|
3685
|
+
AI_REFERENCE_NAME_SCOPE_ALL: 2
|
|
3686
|
+
};
|
|
3687
|
+
|
|
2812
3688
|
/**
|
|
2813
3689
|
* @enum {number}
|
|
2814
3690
|
*/
|