Send feedback
Class IdMatcher.Builder (2.9.8)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.9.8 keyboard_arrow_down
public static final class IdMatcher . Builder extends GeneratedMessageV3 . Builder<IdMatcher . Builder > implements IdMatcherOrBuilder
Matcher for Features of an EntityType by Feature ID.
Protobuf type google.cloud.aiplatform.v1beta1.IdMatcher
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
public IdMatcher . Builder addAllIds ( Iterable<String> values )
Required. The following are accepted as ids
:
A single-element list containing only *
, which selects all Features
in the target EntityType, or
A list containing only Feature IDs, which selects only Features with
those IDs in the target EntityType.
repeated string ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public IdMatcher . Builder addIds ( String value )
Required. The following are accepted as ids
:
A single-element list containing only *
, which selects all Features
in the target EntityType, or
A list containing only Feature IDs, which selects only Features with
those IDs in the target EntityType.
repeated string ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name Description value String
The ids to add.
Returns
public IdMatcher . Builder addIdsBytes ( ByteString value )
Required. The following are accepted as ids
:
A single-element list containing only *
, which selects all Features
in the target EntityType, or
A list containing only Feature IDs, which selects only Features with
those IDs in the target EntityType.
repeated string ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name Description value ByteString
The bytes of the ids to add.
Returns
public IdMatcher . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
Returns
public IdMatcher buildPartial ()
Returns
public IdMatcher . Builder clear ()
Returns
Overrides
public IdMatcher . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public IdMatcher . Builder clearIds ()
Required. The following are accepted as ids
:
A single-element list containing only *
, which selects all Features
in the target EntityType, or
A list containing only Feature IDs, which selects only Features with
those IDs in the target EntityType.
repeated string ids = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public IdMatcher . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public IdMatcher . Builder clone ()
Returns
Overrides
public IdMatcher getDefaultInstanceForType ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
public String getIds ( int index )
Required. The following are accepted as ids
:
A single-element list containing only *
, which selects all Features
in the target EntityType, or
A list containing only Feature IDs, which selects only Features with
those IDs in the target EntityType.
repeated string ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name Description index int
The index of the element to return.
Returns
Type Description String The ids at the given index.
public ByteString getIdsBytes ( int index )
Required. The following are accepted as ids
:
A single-element list containing only *
, which selects all Features
in the target EntityType, or
A list containing only Feature IDs, which selects only Features with
those IDs in the target EntityType.
repeated string ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name Description index int
The index of the value to return.
Returns
Type Description ByteString The bytes of the ids at the given index.
Required. The following are accepted as ids
:
A single-element list containing only *
, which selects all Features
in the target EntityType, or
A list containing only Feature IDs, which selects only Features with
those IDs in the target EntityType.
repeated string ids = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description int The count of ids.
public ProtocolStringList getIdsList ()
Required. The following are accepted as ids
:
A single-element list containing only *
, which selects all Features
in the target EntityType, or
A list containing only Feature IDs, which selects only Features with
those IDs in the target EntityType.
repeated string ids = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public IdMatcher . Builder mergeFrom ( IdMatcher other )
Parameter
Returns
public IdMatcher . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public IdMatcher . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public final IdMatcher . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public IdMatcher . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public IdMatcher . Builder setIds ( int index , String value )
Required. The following are accepted as ids
:
A single-element list containing only *
, which selects all Features
in the target EntityType, or
A list containing only Feature IDs, which selects only Features with
those IDs in the target EntityType.
repeated string ids = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Name Description index int
The index to set the value at.
value String
The ids to set.
Returns
public IdMatcher . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public final IdMatcher . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]