Class IdMatcher.Builder (3.10.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
TypeDescription
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
NameDescription
valuesIterable<String>

The ids to add.

Returns
TypeDescription
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
NameDescription
valueString

The ids to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the ids to add.

Returns
TypeDescription
IdMatcher.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IdMatcher.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IdMatcher.Builder
Overrides

build()

public IdMatcher build()
Returns
TypeDescription
IdMatcher

buildPartial()

public IdMatcher buildPartial()
Returns
TypeDescription
IdMatcher

clear()

public IdMatcher.Builder clear()
Returns
TypeDescription
IdMatcher.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public IdMatcher.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
IdMatcher.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public IdMatcher.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
IdMatcher.Builder
Overrides

clone()

public IdMatcher.Builder clone()
Returns
TypeDescription
IdMatcher.Builder
Overrides

getDefaultInstanceForType()

public IdMatcher getDefaultInstanceForType()
Returns
TypeDescription
IdMatcher

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the ids.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(IdMatcher other)

public IdMatcher.Builder mergeFrom(IdMatcher other)
Parameter
NameDescription
otherIdMatcher
Returns
TypeDescription
IdMatcher.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IdMatcher.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IdMatcher.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public IdMatcher.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
IdMatcher.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IdMatcher.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IdMatcher.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public IdMatcher.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The ids to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
IdMatcher.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final IdMatcher.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IdMatcher.Builder
Overrides