Class IdMatcher.Builder (3.53.0)

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.v1.IdMatcher

Implements

IdMatcherOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllIds(Iterable<String> values)

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
Name Description
values Iterable<String>

The ids to add.

Returns
Type Description
IdMatcher.Builder

This builder for chaining.

addIds(String value)

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
Type Description
IdMatcher.Builder

This builder for chaining.

addIdsBytes(ByteString value)

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
Type Description
IdMatcher.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IdMatcher.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IdMatcher.Builder
Overrides

build()

public IdMatcher build()
Returns
Type Description
IdMatcher

buildPartial()

public IdMatcher buildPartial()
Returns
Type Description
IdMatcher

clear()

public IdMatcher.Builder clear()
Returns
Type Description
IdMatcher.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public IdMatcher.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
IdMatcher.Builder
Overrides

clearIds()

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
Type Description
IdMatcher.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public IdMatcher.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
IdMatcher.Builder
Overrides

clone()

public IdMatcher.Builder clone()
Returns
Type Description
IdMatcher.Builder
Overrides

getDefaultInstanceForType()

public IdMatcher getDefaultInstanceForType()
Returns
Type Description
IdMatcher

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIds(int index)

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.

getIdsBytes(int 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.

getIdsCount()

public int getIdsCount()

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.

getIdsList()

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
Type Description
ProtocolStringList

A list containing the ids.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IdMatcher other)

public IdMatcher.Builder mergeFrom(IdMatcher other)
Parameter
Name Description
other IdMatcher
Returns
Type Description
IdMatcher.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IdMatcher.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IdMatcher.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IdMatcher.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IdMatcher.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IdMatcher.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IdMatcher.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public IdMatcher.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IdMatcher.Builder
Overrides

setIds(int index, String value)

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
Type Description
IdMatcher.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public IdMatcher.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
IdMatcher.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final IdMatcher.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IdMatcher.Builder
Overrides