@miradorlabs/web-grpc 3.23.0 → 3.24.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
CHANGED
|
@@ -303,6 +303,16 @@ export interface ListAIModelsRequest {
|
|
|
303
303
|
/** Needed unless scope is ALL. */
|
|
304
304
|
projectId: string;
|
|
305
305
|
scope: AIReferenceNameScope;
|
|
306
|
+
filter: AIReferenceNameFilter | undefined;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* AIReferenceNameFilter mirrors telemetry.api.v1.AIReferenceNameFilter. Set fields AND, a repeated field matches
|
|
311
|
+
* any of its values, and an unset or empty field does not filter.
|
|
312
|
+
*/
|
|
313
|
+
export interface AIReferenceNameFilter {
|
|
314
|
+
/** Exact display names (byte comparison): keeps every name shown as one of them, an unrecorded name by its guess. */
|
|
315
|
+
displayNames: string[];
|
|
306
316
|
}
|
|
307
317
|
|
|
308
318
|
export interface ListAIModelsResponse {
|
|
@@ -1502,7 +1512,7 @@ export const ListAIProvidersResponse: MessageFns<ListAIProvidersResponse> = {
|
|
|
1502
1512
|
};
|
|
1503
1513
|
|
|
1504
1514
|
function createBaseListAIModelsRequest(): ListAIModelsRequest {
|
|
1505
|
-
return { organizationId: "", projectId: "", scope: 0 };
|
|
1515
|
+
return { organizationId: "", projectId: "", scope: 0, filter: undefined };
|
|
1506
1516
|
}
|
|
1507
1517
|
|
|
1508
1518
|
export const ListAIModelsRequest: MessageFns<ListAIModelsRequest> = {
|
|
@@ -1516,6 +1526,9 @@ export const ListAIModelsRequest: MessageFns<ListAIModelsRequest> = {
|
|
|
1516
1526
|
if (message.scope !== 0) {
|
|
1517
1527
|
writer.uint32(24).int32(message.scope);
|
|
1518
1528
|
}
|
|
1529
|
+
if (message.filter !== undefined) {
|
|
1530
|
+
AIReferenceNameFilter.encode(message.filter, writer.uint32(34).fork()).join();
|
|
1531
|
+
}
|
|
1519
1532
|
return writer;
|
|
1520
1533
|
},
|
|
1521
1534
|
|
|
@@ -1556,6 +1569,14 @@ export const ListAIModelsRequest: MessageFns<ListAIModelsRequest> = {
|
|
|
1556
1569
|
message.scope = reader.int32() as any;
|
|
1557
1570
|
continue;
|
|
1558
1571
|
}
|
|
1572
|
+
case 4: {
|
|
1573
|
+
if (tag !== 34) {
|
|
1574
|
+
break;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
message.filter = AIReferenceNameFilter.decode(reader, reader.uint32());
|
|
1578
|
+
continue;
|
|
1579
|
+
}
|
|
1559
1580
|
}
|
|
1560
1581
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1561
1582
|
break;
|
|
@@ -1581,6 +1602,7 @@ export const ListAIModelsRequest: MessageFns<ListAIModelsRequest> = {
|
|
|
1581
1602
|
? globalThis.String(object.project_id)
|
|
1582
1603
|
: "",
|
|
1583
1604
|
scope: isSet(object.scope) ? aIReferenceNameScopeFromJSON(object.scope) : 0,
|
|
1605
|
+
filter: isSet(object.filter) ? AIReferenceNameFilter.fromJSON(object.filter) : undefined,
|
|
1584
1606
|
};
|
|
1585
1607
|
},
|
|
1586
1608
|
|
|
@@ -1595,6 +1617,9 @@ export const ListAIModelsRequest: MessageFns<ListAIModelsRequest> = {
|
|
|
1595
1617
|
if (message.scope !== 0) {
|
|
1596
1618
|
obj.scope = aIReferenceNameScopeToJSON(message.scope);
|
|
1597
1619
|
}
|
|
1620
|
+
if (message.filter !== undefined) {
|
|
1621
|
+
obj.filter = AIReferenceNameFilter.toJSON(message.filter);
|
|
1622
|
+
}
|
|
1598
1623
|
return obj;
|
|
1599
1624
|
},
|
|
1600
1625
|
|
|
@@ -1606,6 +1631,82 @@ export const ListAIModelsRequest: MessageFns<ListAIModelsRequest> = {
|
|
|
1606
1631
|
message.organizationId = object.organizationId ?? "";
|
|
1607
1632
|
message.projectId = object.projectId ?? "";
|
|
1608
1633
|
message.scope = object.scope ?? 0;
|
|
1634
|
+
message.filter = (object.filter !== undefined && object.filter !== null)
|
|
1635
|
+
? AIReferenceNameFilter.fromPartial(object.filter)
|
|
1636
|
+
: undefined;
|
|
1637
|
+
return message;
|
|
1638
|
+
},
|
|
1639
|
+
};
|
|
1640
|
+
|
|
1641
|
+
function createBaseAIReferenceNameFilter(): AIReferenceNameFilter {
|
|
1642
|
+
return { displayNames: [] };
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
export const AIReferenceNameFilter: MessageFns<AIReferenceNameFilter> = {
|
|
1646
|
+
encode(message: AIReferenceNameFilter, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
1647
|
+
for (const v of message.displayNames) {
|
|
1648
|
+
writer.uint32(10).string(v!);
|
|
1649
|
+
}
|
|
1650
|
+
return writer;
|
|
1651
|
+
},
|
|
1652
|
+
|
|
1653
|
+
decode(input: BinaryReader | Uint8Array, length?: number): AIReferenceNameFilter {
|
|
1654
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1655
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
1656
|
+
if (previousRecursionDepth >= 100) {
|
|
1657
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1658
|
+
}
|
|
1659
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1660
|
+
try {
|
|
1661
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1662
|
+
const message = createBaseAIReferenceNameFilter();
|
|
1663
|
+
while (reader.pos < end) {
|
|
1664
|
+
const tag = reader.uint32();
|
|
1665
|
+
switch (tag >>> 3) {
|
|
1666
|
+
case 1: {
|
|
1667
|
+
if (tag !== 10) {
|
|
1668
|
+
break;
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
message.displayNames.push(reader.string());
|
|
1672
|
+
continue;
|
|
1673
|
+
}
|
|
1674
|
+
}
|
|
1675
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1676
|
+
break;
|
|
1677
|
+
}
|
|
1678
|
+
reader.skip(tag & 7);
|
|
1679
|
+
}
|
|
1680
|
+
return message;
|
|
1681
|
+
} finally {
|
|
1682
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1683
|
+
}
|
|
1684
|
+
},
|
|
1685
|
+
|
|
1686
|
+
fromJSON(object: any): AIReferenceNameFilter {
|
|
1687
|
+
return {
|
|
1688
|
+
displayNames: globalThis.Array.isArray(object?.displayNames)
|
|
1689
|
+
? object.displayNames.map((e: any) => globalThis.String(e))
|
|
1690
|
+
: globalThis.Array.isArray(object?.display_names)
|
|
1691
|
+
? object.display_names.map((e: any) => globalThis.String(e))
|
|
1692
|
+
: [],
|
|
1693
|
+
};
|
|
1694
|
+
},
|
|
1695
|
+
|
|
1696
|
+
toJSON(message: AIReferenceNameFilter): unknown {
|
|
1697
|
+
const obj: any = {};
|
|
1698
|
+
if (message.displayNames?.length) {
|
|
1699
|
+
obj.displayNames = message.displayNames;
|
|
1700
|
+
}
|
|
1701
|
+
return obj;
|
|
1702
|
+
},
|
|
1703
|
+
|
|
1704
|
+
create<I extends Exact<DeepPartial<AIReferenceNameFilter>, I>>(base?: I): AIReferenceNameFilter {
|
|
1705
|
+
return AIReferenceNameFilter.fromPartial(base ?? ({} as any));
|
|
1706
|
+
},
|
|
1707
|
+
fromPartial<I extends Exact<DeepPartial<AIReferenceNameFilter>, I>>(object: I): AIReferenceNameFilter {
|
|
1708
|
+
const message = createBaseAIReferenceNameFilter();
|
|
1709
|
+
message.displayNames = object.displayNames?.map((e) => e) || [];
|
|
1609
1710
|
return message;
|
|
1610
1711
|
},
|
|
1611
1712
|
};
|
|
@@ -32,6 +32,7 @@ goog.exportSymbol('proto.gateway.web.v1.AIReferenceGroupFilter', null, global);
|
|
|
32
32
|
goog.exportSymbol('proto.gateway.web.v1.AIReferenceGroupObservation', null, global);
|
|
33
33
|
goog.exportSymbol('proto.gateway.web.v1.AIReferenceGroupStatus', null, global);
|
|
34
34
|
goog.exportSymbol('proto.gateway.web.v1.AIReferenceName', null, global);
|
|
35
|
+
goog.exportSymbol('proto.gateway.web.v1.AIReferenceNameFilter', null, global);
|
|
35
36
|
goog.exportSymbol('proto.gateway.web.v1.AIReferenceNameOrigin', null, global);
|
|
36
37
|
goog.exportSymbol('proto.gateway.web.v1.AIReferenceNameScope', null, global);
|
|
37
38
|
goog.exportSymbol('proto.gateway.web.v1.AIReferenceSourceCount', null, global);
|
|
@@ -244,6 +245,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
244
245
|
*/
|
|
245
246
|
proto.gateway.web.v1.ListAIModelsRequest.displayName = 'proto.gateway.web.v1.ListAIModelsRequest';
|
|
246
247
|
}
|
|
248
|
+
/**
|
|
249
|
+
* Generated by JsPbCodeGenerator.
|
|
250
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
251
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
252
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
253
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
254
|
+
* valid.
|
|
255
|
+
* @extends {jspb.Message}
|
|
256
|
+
* @constructor
|
|
257
|
+
*/
|
|
258
|
+
proto.gateway.web.v1.AIReferenceNameFilter = function(opt_data) {
|
|
259
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.AIReferenceNameFilter.repeatedFields_, null);
|
|
260
|
+
};
|
|
261
|
+
goog.inherits(proto.gateway.web.v1.AIReferenceNameFilter, jspb.Message);
|
|
262
|
+
if (goog.DEBUG && !COMPILED) {
|
|
263
|
+
/**
|
|
264
|
+
* @public
|
|
265
|
+
* @override
|
|
266
|
+
*/
|
|
267
|
+
proto.gateway.web.v1.AIReferenceNameFilter.displayName = 'proto.gateway.web.v1.AIReferenceNameFilter';
|
|
268
|
+
}
|
|
247
269
|
/**
|
|
248
270
|
* Generated by JsPbCodeGenerator.
|
|
249
271
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2623,7 +2645,8 @@ proto.gateway.web.v1.ListAIModelsRequest.toObject = function(includeInstance, ms
|
|
|
2623
2645
|
var f, obj = {
|
|
2624
2646
|
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2625
2647
|
projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2626
|
-
scope: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
2648
|
+
scope: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
2649
|
+
filter: (f = msg.getFilter()) && proto.gateway.web.v1.AIReferenceNameFilter.toObject(includeInstance, f)
|
|
2627
2650
|
};
|
|
2628
2651
|
|
|
2629
2652
|
if (includeInstance) {
|
|
@@ -2672,6 +2695,11 @@ proto.gateway.web.v1.ListAIModelsRequest.deserializeBinaryFromReader = function(
|
|
|
2672
2695
|
var value = /** @type {!proto.gateway.web.v1.AIReferenceNameScope} */ (reader.readEnum());
|
|
2673
2696
|
msg.setScope(value);
|
|
2674
2697
|
break;
|
|
2698
|
+
case 4:
|
|
2699
|
+
var value = new proto.gateway.web.v1.AIReferenceNameFilter;
|
|
2700
|
+
reader.readMessage(value,proto.gateway.web.v1.AIReferenceNameFilter.deserializeBinaryFromReader);
|
|
2701
|
+
msg.setFilter(value);
|
|
2702
|
+
break;
|
|
2675
2703
|
default:
|
|
2676
2704
|
reader.skipField();
|
|
2677
2705
|
break;
|
|
@@ -2722,6 +2750,14 @@ proto.gateway.web.v1.ListAIModelsRequest.serializeBinaryToWriter = function(mess
|
|
|
2722
2750
|
f
|
|
2723
2751
|
);
|
|
2724
2752
|
}
|
|
2753
|
+
f = message.getFilter();
|
|
2754
|
+
if (f != null) {
|
|
2755
|
+
writer.writeMessage(
|
|
2756
|
+
4,
|
|
2757
|
+
f,
|
|
2758
|
+
proto.gateway.web.v1.AIReferenceNameFilter.serializeBinaryToWriter
|
|
2759
|
+
);
|
|
2760
|
+
}
|
|
2725
2761
|
};
|
|
2726
2762
|
|
|
2727
2763
|
|
|
@@ -2779,6 +2815,199 @@ proto.gateway.web.v1.ListAIModelsRequest.prototype.setScope = function(value) {
|
|
|
2779
2815
|
};
|
|
2780
2816
|
|
|
2781
2817
|
|
|
2818
|
+
/**
|
|
2819
|
+
* optional AIReferenceNameFilter filter = 4;
|
|
2820
|
+
* @return {?proto.gateway.web.v1.AIReferenceNameFilter}
|
|
2821
|
+
*/
|
|
2822
|
+
proto.gateway.web.v1.ListAIModelsRequest.prototype.getFilter = function() {
|
|
2823
|
+
return /** @type{?proto.gateway.web.v1.AIReferenceNameFilter} */ (
|
|
2824
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIReferenceNameFilter, 4));
|
|
2825
|
+
};
|
|
2826
|
+
|
|
2827
|
+
|
|
2828
|
+
/**
|
|
2829
|
+
* @param {?proto.gateway.web.v1.AIReferenceNameFilter|undefined} value
|
|
2830
|
+
* @return {!proto.gateway.web.v1.ListAIModelsRequest} returns this
|
|
2831
|
+
*/
|
|
2832
|
+
proto.gateway.web.v1.ListAIModelsRequest.prototype.setFilter = function(value) {
|
|
2833
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
2834
|
+
};
|
|
2835
|
+
|
|
2836
|
+
|
|
2837
|
+
/**
|
|
2838
|
+
* Clears the message field making it undefined.
|
|
2839
|
+
* @return {!proto.gateway.web.v1.ListAIModelsRequest} returns this
|
|
2840
|
+
*/
|
|
2841
|
+
proto.gateway.web.v1.ListAIModelsRequest.prototype.clearFilter = function() {
|
|
2842
|
+
return this.setFilter(undefined);
|
|
2843
|
+
};
|
|
2844
|
+
|
|
2845
|
+
|
|
2846
|
+
/**
|
|
2847
|
+
* Returns whether this field is set.
|
|
2848
|
+
* @return {boolean}
|
|
2849
|
+
*/
|
|
2850
|
+
proto.gateway.web.v1.ListAIModelsRequest.prototype.hasFilter = function() {
|
|
2851
|
+
return jspb.Message.getField(this, 4) != null;
|
|
2852
|
+
};
|
|
2853
|
+
|
|
2854
|
+
|
|
2855
|
+
|
|
2856
|
+
/**
|
|
2857
|
+
* List of repeated fields within this message type.
|
|
2858
|
+
* @private {!Array<number>}
|
|
2859
|
+
* @const
|
|
2860
|
+
*/
|
|
2861
|
+
proto.gateway.web.v1.AIReferenceNameFilter.repeatedFields_ = [1];
|
|
2862
|
+
|
|
2863
|
+
|
|
2864
|
+
|
|
2865
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2866
|
+
/**
|
|
2867
|
+
* Creates an object representation of this proto.
|
|
2868
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2869
|
+
* Optional fields that are not set will be set to undefined.
|
|
2870
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2871
|
+
* For the list of reserved names please see:
|
|
2872
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2873
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2874
|
+
* JSPB instance for transitional soy proto support:
|
|
2875
|
+
* http://goto/soy-param-migration
|
|
2876
|
+
* @return {!Object}
|
|
2877
|
+
*/
|
|
2878
|
+
proto.gateway.web.v1.AIReferenceNameFilter.prototype.toObject = function(opt_includeInstance) {
|
|
2879
|
+
return proto.gateway.web.v1.AIReferenceNameFilter.toObject(opt_includeInstance, this);
|
|
2880
|
+
};
|
|
2881
|
+
|
|
2882
|
+
|
|
2883
|
+
/**
|
|
2884
|
+
* Static version of the {@see toObject} method.
|
|
2885
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2886
|
+
* the JSPB instance for transitional soy proto support:
|
|
2887
|
+
* http://goto/soy-param-migration
|
|
2888
|
+
* @param {!proto.gateway.web.v1.AIReferenceNameFilter} msg The msg instance to transform.
|
|
2889
|
+
* @return {!Object}
|
|
2890
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2891
|
+
*/
|
|
2892
|
+
proto.gateway.web.v1.AIReferenceNameFilter.toObject = function(includeInstance, msg) {
|
|
2893
|
+
var f, obj = {
|
|
2894
|
+
displayNamesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
2895
|
+
};
|
|
2896
|
+
|
|
2897
|
+
if (includeInstance) {
|
|
2898
|
+
obj.$jspbMessageInstance = msg;
|
|
2899
|
+
}
|
|
2900
|
+
return obj;
|
|
2901
|
+
};
|
|
2902
|
+
}
|
|
2903
|
+
|
|
2904
|
+
|
|
2905
|
+
/**
|
|
2906
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2907
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
2908
|
+
* @return {!proto.gateway.web.v1.AIReferenceNameFilter}
|
|
2909
|
+
*/
|
|
2910
|
+
proto.gateway.web.v1.AIReferenceNameFilter.deserializeBinary = function(bytes) {
|
|
2911
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2912
|
+
var msg = new proto.gateway.web.v1.AIReferenceNameFilter;
|
|
2913
|
+
return proto.gateway.web.v1.AIReferenceNameFilter.deserializeBinaryFromReader(msg, reader);
|
|
2914
|
+
};
|
|
2915
|
+
|
|
2916
|
+
|
|
2917
|
+
/**
|
|
2918
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2919
|
+
* given reader into the given message object.
|
|
2920
|
+
* @param {!proto.gateway.web.v1.AIReferenceNameFilter} msg The message object to deserialize into.
|
|
2921
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2922
|
+
* @return {!proto.gateway.web.v1.AIReferenceNameFilter}
|
|
2923
|
+
*/
|
|
2924
|
+
proto.gateway.web.v1.AIReferenceNameFilter.deserializeBinaryFromReader = function(msg, reader) {
|
|
2925
|
+
while (reader.nextField()) {
|
|
2926
|
+
if (reader.isEndGroup()) {
|
|
2927
|
+
break;
|
|
2928
|
+
}
|
|
2929
|
+
var field = reader.getFieldNumber();
|
|
2930
|
+
switch (field) {
|
|
2931
|
+
case 1:
|
|
2932
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2933
|
+
msg.addDisplayNames(value);
|
|
2934
|
+
break;
|
|
2935
|
+
default:
|
|
2936
|
+
reader.skipField();
|
|
2937
|
+
break;
|
|
2938
|
+
}
|
|
2939
|
+
}
|
|
2940
|
+
return msg;
|
|
2941
|
+
};
|
|
2942
|
+
|
|
2943
|
+
|
|
2944
|
+
/**
|
|
2945
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2946
|
+
* @return {!Uint8Array}
|
|
2947
|
+
*/
|
|
2948
|
+
proto.gateway.web.v1.AIReferenceNameFilter.prototype.serializeBinary = function() {
|
|
2949
|
+
var writer = new jspb.BinaryWriter();
|
|
2950
|
+
proto.gateway.web.v1.AIReferenceNameFilter.serializeBinaryToWriter(this, writer);
|
|
2951
|
+
return writer.getResultBuffer();
|
|
2952
|
+
};
|
|
2953
|
+
|
|
2954
|
+
|
|
2955
|
+
/**
|
|
2956
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2957
|
+
* format), writing to the given BinaryWriter.
|
|
2958
|
+
* @param {!proto.gateway.web.v1.AIReferenceNameFilter} message
|
|
2959
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2960
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2961
|
+
*/
|
|
2962
|
+
proto.gateway.web.v1.AIReferenceNameFilter.serializeBinaryToWriter = function(message, writer) {
|
|
2963
|
+
var f = undefined;
|
|
2964
|
+
f = message.getDisplayNamesList();
|
|
2965
|
+
if (f.length > 0) {
|
|
2966
|
+
writer.writeRepeatedString(
|
|
2967
|
+
1,
|
|
2968
|
+
f
|
|
2969
|
+
);
|
|
2970
|
+
}
|
|
2971
|
+
};
|
|
2972
|
+
|
|
2973
|
+
|
|
2974
|
+
/**
|
|
2975
|
+
* repeated string display_names = 1;
|
|
2976
|
+
* @return {!Array<string>}
|
|
2977
|
+
*/
|
|
2978
|
+
proto.gateway.web.v1.AIReferenceNameFilter.prototype.getDisplayNamesList = function() {
|
|
2979
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
2980
|
+
};
|
|
2981
|
+
|
|
2982
|
+
|
|
2983
|
+
/**
|
|
2984
|
+
* @param {!Array<string>} value
|
|
2985
|
+
* @return {!proto.gateway.web.v1.AIReferenceNameFilter} returns this
|
|
2986
|
+
*/
|
|
2987
|
+
proto.gateway.web.v1.AIReferenceNameFilter.prototype.setDisplayNamesList = function(value) {
|
|
2988
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
2989
|
+
};
|
|
2990
|
+
|
|
2991
|
+
|
|
2992
|
+
/**
|
|
2993
|
+
* @param {string} value
|
|
2994
|
+
* @param {number=} opt_index
|
|
2995
|
+
* @return {!proto.gateway.web.v1.AIReferenceNameFilter} returns this
|
|
2996
|
+
*/
|
|
2997
|
+
proto.gateway.web.v1.AIReferenceNameFilter.prototype.addDisplayNames = function(value, opt_index) {
|
|
2998
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
2999
|
+
};
|
|
3000
|
+
|
|
3001
|
+
|
|
3002
|
+
/**
|
|
3003
|
+
* Clears the list making it empty but non-null.
|
|
3004
|
+
* @return {!proto.gateway.web.v1.AIReferenceNameFilter} returns this
|
|
3005
|
+
*/
|
|
3006
|
+
proto.gateway.web.v1.AIReferenceNameFilter.prototype.clearDisplayNamesList = function() {
|
|
3007
|
+
return this.setDisplayNamesList([]);
|
|
3008
|
+
};
|
|
3009
|
+
|
|
3010
|
+
|
|
2782
3011
|
|
|
2783
3012
|
/**
|
|
2784
3013
|
* List of repeated fields within this message type.
|