Class EntityIdSelector.Builder (3.20.0)

public static final class EntityIdSelector.Builder extends GeneratedMessageV3.Builder<EntityIdSelector.Builder> implements EntityIdSelectorOrBuilder

Selector for entityId. Getting ids from the given source.

Protobuf type google.cloud.aiplatform.v1.EntityIdSelector

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EntityIdSelector build()
Returns
TypeDescription
EntityIdSelector

buildPartial()

public EntityIdSelector buildPartial()
Returns
TypeDescription
EntityIdSelector

clear()

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

clearCsvSource()

public EntityIdSelector.Builder clearCsvSource()

Source of Csv

.google.cloud.aiplatform.v1.CsvSource csv_source = 3;

Returns
TypeDescription
EntityIdSelector.Builder

clearEntityIdField()

public EntityIdSelector.Builder clearEntityIdField()

Source column that holds entity IDs. If not provided, entity IDs are extracted from the column named entity_id.

string entity_id_field = 5;

Returns
TypeDescription
EntityIdSelector.Builder

This builder for chaining.

clearEntityIdsSource()

public EntityIdSelector.Builder clearEntityIdsSource()
Returns
TypeDescription
EntityIdSelector.Builder

clearField(Descriptors.FieldDescriptor field)

public EntityIdSelector.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EntityIdSelector.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCsvSource()

public CsvSource getCsvSource()

Source of Csv

.google.cloud.aiplatform.v1.CsvSource csv_source = 3;

Returns
TypeDescription
CsvSource

The csvSource.

getCsvSourceBuilder()

public CsvSource.Builder getCsvSourceBuilder()

Source of Csv

.google.cloud.aiplatform.v1.CsvSource csv_source = 3;

Returns
TypeDescription
CsvSource.Builder

getCsvSourceOrBuilder()

public CsvSourceOrBuilder getCsvSourceOrBuilder()

Source of Csv

.google.cloud.aiplatform.v1.CsvSource csv_source = 3;

Returns
TypeDescription
CsvSourceOrBuilder

getDefaultInstanceForType()

public EntityIdSelector getDefaultInstanceForType()
Returns
TypeDescription
EntityIdSelector

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntityIdField()

public String getEntityIdField()

Source column that holds entity IDs. If not provided, entity IDs are extracted from the column named entity_id.

string entity_id_field = 5;

Returns
TypeDescription
String

The entityIdField.

getEntityIdFieldBytes()

public ByteString getEntityIdFieldBytes()

Source column that holds entity IDs. If not provided, entity IDs are extracted from the column named entity_id.

string entity_id_field = 5;

Returns
TypeDescription
ByteString

The bytes for entityIdField.

getEntityIdsSourceCase()

public EntityIdSelector.EntityIdsSourceCase getEntityIdsSourceCase()
Returns
TypeDescription
EntityIdSelector.EntityIdsSourceCase

hasCsvSource()

public boolean hasCsvSource()

Source of Csv

.google.cloud.aiplatform.v1.CsvSource csv_source = 3;

Returns
TypeDescription
boolean

Whether the csvSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCsvSource(CsvSource value)

public EntityIdSelector.Builder mergeCsvSource(CsvSource value)

Source of Csv

.google.cloud.aiplatform.v1.CsvSource csv_source = 3;

Parameter
NameDescription
valueCsvSource
Returns
TypeDescription
EntityIdSelector.Builder

mergeFrom(EntityIdSelector other)

public EntityIdSelector.Builder mergeFrom(EntityIdSelector other)
Parameter
NameDescription
otherEntityIdSelector
Returns
TypeDescription
EntityIdSelector.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCsvSource(CsvSource value)

public EntityIdSelector.Builder setCsvSource(CsvSource value)

Source of Csv

.google.cloud.aiplatform.v1.CsvSource csv_source = 3;

Parameter
NameDescription
valueCsvSource
Returns
TypeDescription
EntityIdSelector.Builder

setCsvSource(CsvSource.Builder builderForValue)

public EntityIdSelector.Builder setCsvSource(CsvSource.Builder builderForValue)

Source of Csv

.google.cloud.aiplatform.v1.CsvSource csv_source = 3;

Parameter
NameDescription
builderForValueCsvSource.Builder
Returns
TypeDescription
EntityIdSelector.Builder

setEntityIdField(String value)

public EntityIdSelector.Builder setEntityIdField(String value)

Source column that holds entity IDs. If not provided, entity IDs are extracted from the column named entity_id.

string entity_id_field = 5;

Parameter
NameDescription
valueString

The entityIdField to set.

Returns
TypeDescription
EntityIdSelector.Builder

This builder for chaining.

setEntityIdFieldBytes(ByteString value)

public EntityIdSelector.Builder setEntityIdFieldBytes(ByteString value)

Source column that holds entity IDs. If not provided, entity IDs are extracted from the column named entity_id.

string entity_id_field = 5;

Parameter
NameDescription
valueByteString

The bytes for entityIdField to set.

Returns
TypeDescription
EntityIdSelector.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public EntityIdSelector.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EntityIdSelector.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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