Class BatchReadFeatureValuesRequest.EntityTypeSpec.Builder (3.47.0)

public static final class BatchReadFeatureValuesRequest.EntityTypeSpec.Builder extends GeneratedMessageV3.Builder<BatchReadFeatureValuesRequest.EntityTypeSpec.Builder> implements BatchReadFeatureValuesRequest.EntityTypeSpecOrBuilder

Selects Features of an EntityType to read values of and specifies read settings.

Protobuf type google.cloud.aiplatform.v1beta1.BatchReadFeatureValuesRequest.EntityTypeSpec

Static Methods

getDescriptor()

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

Methods

addAllSettings(Iterable<? extends DestinationFeatureSetting> values)

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder addAllSettings(Iterable<? extends DestinationFeatureSetting> values)

Per-Feature settings for the batch read.

repeated .google.cloud.aiplatform.v1beta1.DestinationFeatureSetting settings = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.DestinationFeatureSetting>
Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSettings(DestinationFeatureSetting value)

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder addSettings(DestinationFeatureSetting value)

Per-Feature settings for the batch read.

repeated .google.cloud.aiplatform.v1beta1.DestinationFeatureSetting settings = 3;

Parameter
Name Description
value DestinationFeatureSetting
Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

addSettings(DestinationFeatureSetting.Builder builderForValue)

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder addSettings(DestinationFeatureSetting.Builder builderForValue)

Per-Feature settings for the batch read.

repeated .google.cloud.aiplatform.v1beta1.DestinationFeatureSetting settings = 3;

Parameter
Name Description
builderForValue DestinationFeatureSetting.Builder
Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

addSettings(int index, DestinationFeatureSetting value)

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder addSettings(int index, DestinationFeatureSetting value)

Per-Feature settings for the batch read.

repeated .google.cloud.aiplatform.v1beta1.DestinationFeatureSetting settings = 3;

Parameters
Name Description
index int
value DestinationFeatureSetting
Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

addSettings(int index, DestinationFeatureSetting.Builder builderForValue)

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder addSettings(int index, DestinationFeatureSetting.Builder builderForValue)

Per-Feature settings for the batch read.

repeated .google.cloud.aiplatform.v1beta1.DestinationFeatureSetting settings = 3;

Parameters
Name Description
index int
builderForValue DestinationFeatureSetting.Builder
Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

addSettingsBuilder()

public DestinationFeatureSetting.Builder addSettingsBuilder()

Per-Feature settings for the batch read.

repeated .google.cloud.aiplatform.v1beta1.DestinationFeatureSetting settings = 3;

Returns
Type Description
DestinationFeatureSetting.Builder

addSettingsBuilder(int index)

public DestinationFeatureSetting.Builder addSettingsBuilder(int index)

Per-Feature settings for the batch read.

repeated .google.cloud.aiplatform.v1beta1.DestinationFeatureSetting settings = 3;

Parameter
Name Description
index int
Returns
Type Description
DestinationFeatureSetting.Builder

build()

public BatchReadFeatureValuesRequest.EntityTypeSpec build()
Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec

buildPartial()

public BatchReadFeatureValuesRequest.EntityTypeSpec buildPartial()
Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec

clear()

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder clear()
Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder
Overrides

clearEntityTypeId()

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder clearEntityTypeId()

Required. ID of the EntityType to select Features. The EntityType id is the entity_type_id specified during EntityType creation.

string entity_type_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

This builder for chaining.

clearFeatureSelector()

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder clearFeatureSelector()

Required. Selectors choosing which Feature values to read from the EntityType.

.google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSettings()

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder clearSettings()

Per-Feature settings for the batch read.

repeated .google.cloud.aiplatform.v1beta1.DestinationFeatureSetting settings = 3;

Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

clone()

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder clone()
Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder
Overrides

getDefaultInstanceForType()

public BatchReadFeatureValuesRequest.EntityTypeSpec getDefaultInstanceForType()
Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec

getDescriptorForType()

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

getEntityTypeId()

public String getEntityTypeId()

Required. ID of the EntityType to select Features. The EntityType id is the entity_type_id specified during EntityType creation.

string entity_type_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The entityTypeId.

getEntityTypeIdBytes()

public ByteString getEntityTypeIdBytes()

Required. ID of the EntityType to select Features. The EntityType id is the entity_type_id specified during EntityType creation.

string entity_type_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for entityTypeId.

getFeatureSelector()

public FeatureSelector getFeatureSelector()

Required. Selectors choosing which Feature values to read from the EntityType.

.google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeatureSelector

The featureSelector.

getFeatureSelectorBuilder()

public FeatureSelector.Builder getFeatureSelectorBuilder()

Required. Selectors choosing which Feature values to read from the EntityType.

.google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeatureSelector.Builder

getFeatureSelectorOrBuilder()

public FeatureSelectorOrBuilder getFeatureSelectorOrBuilder()

Required. Selectors choosing which Feature values to read from the EntityType.

.google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeatureSelectorOrBuilder

getSettings(int index)

public DestinationFeatureSetting getSettings(int index)

Per-Feature settings for the batch read.

repeated .google.cloud.aiplatform.v1beta1.DestinationFeatureSetting settings = 3;

Parameter
Name Description
index int
Returns
Type Description
DestinationFeatureSetting

getSettingsBuilder(int index)

public DestinationFeatureSetting.Builder getSettingsBuilder(int index)

Per-Feature settings for the batch read.

repeated .google.cloud.aiplatform.v1beta1.DestinationFeatureSetting settings = 3;

Parameter
Name Description
index int
Returns
Type Description
DestinationFeatureSetting.Builder

getSettingsBuilderList()

public List<DestinationFeatureSetting.Builder> getSettingsBuilderList()

Per-Feature settings for the batch read.

repeated .google.cloud.aiplatform.v1beta1.DestinationFeatureSetting settings = 3;

Returns
Type Description
List<Builder>

getSettingsCount()

public int getSettingsCount()

Per-Feature settings for the batch read.

repeated .google.cloud.aiplatform.v1beta1.DestinationFeatureSetting settings = 3;

Returns
Type Description
int

getSettingsList()

public List<DestinationFeatureSetting> getSettingsList()

Per-Feature settings for the batch read.

repeated .google.cloud.aiplatform.v1beta1.DestinationFeatureSetting settings = 3;

Returns
Type Description
List<DestinationFeatureSetting>

getSettingsOrBuilder(int index)

public DestinationFeatureSettingOrBuilder getSettingsOrBuilder(int index)

Per-Feature settings for the batch read.

repeated .google.cloud.aiplatform.v1beta1.DestinationFeatureSetting settings = 3;

Parameter
Name Description
index int
Returns
Type Description
DestinationFeatureSettingOrBuilder

getSettingsOrBuilderList()

public List<? extends DestinationFeatureSettingOrBuilder> getSettingsOrBuilderList()

Per-Feature settings for the batch read.

repeated .google.cloud.aiplatform.v1beta1.DestinationFeatureSetting settings = 3;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.DestinationFeatureSettingOrBuilder>

hasFeatureSelector()

public boolean hasFeatureSelector()

Required. Selectors choosing which Feature values to read from the EntityType.

.google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the featureSelector field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFeatureSelector(FeatureSelector value)

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder mergeFeatureSelector(FeatureSelector value)

Required. Selectors choosing which Feature values to read from the EntityType.

.google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FeatureSelector
Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

mergeFrom(BatchReadFeatureValuesRequest.EntityTypeSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSettings(int index)

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder removeSettings(int index)

Per-Feature settings for the batch read.

repeated .google.cloud.aiplatform.v1beta1.DestinationFeatureSetting settings = 3;

Parameter
Name Description
index int
Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

setEntityTypeId(String value)

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder setEntityTypeId(String value)

Required. ID of the EntityType to select Features. The EntityType id is the entity_type_id specified during EntityType creation.

string entity_type_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The entityTypeId to set.

Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

This builder for chaining.

setEntityTypeIdBytes(ByteString value)

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder setEntityTypeIdBytes(ByteString value)

Required. ID of the EntityType to select Features. The EntityType id is the entity_type_id specified during EntityType creation.

string entity_type_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for entityTypeId to set.

Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

This builder for chaining.

setFeatureSelector(FeatureSelector value)

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder setFeatureSelector(FeatureSelector value)

Required. Selectors choosing which Feature values to read from the EntityType.

.google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FeatureSelector
Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

setFeatureSelector(FeatureSelector.Builder builderForValue)

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder setFeatureSelector(FeatureSelector.Builder builderForValue)

Required. Selectors choosing which Feature values to read from the EntityType.

.google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue FeatureSelector.Builder
Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSettings(int index, DestinationFeatureSetting value)

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder setSettings(int index, DestinationFeatureSetting value)

Per-Feature settings for the batch read.

repeated .google.cloud.aiplatform.v1beta1.DestinationFeatureSetting settings = 3;

Parameters
Name Description
index int
value DestinationFeatureSetting
Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

setSettings(int index, DestinationFeatureSetting.Builder builderForValue)

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder setSettings(int index, DestinationFeatureSetting.Builder builderForValue)

Per-Feature settings for the batch read.

repeated .google.cloud.aiplatform.v1beta1.DestinationFeatureSetting settings = 3;

Parameters
Name Description
index int
builderForValue DestinationFeatureSetting.Builder
Returns
Type Description
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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