Class BatchReadFeatureValuesRequest.EntityTypeSpec.Builder (3.37.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.v1.BatchReadFeatureValuesRequest.EntityTypeSpec

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1.DestinationFeatureSetting settings = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.DestinationFeatureSetting>
Returns
TypeDescription
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1.DestinationFeatureSetting settings = 3;

Parameter
NameDescription
valueDestinationFeatureSetting
Returns
TypeDescription
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.v1.DestinationFeatureSetting settings = 3;

Parameter
NameDescription
builderForValueDestinationFeatureSetting.Builder
Returns
TypeDescription
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.v1.DestinationFeatureSetting settings = 3;

Parameters
NameDescription
indexint
valueDestinationFeatureSetting
Returns
TypeDescription
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.v1.DestinationFeatureSetting settings = 3;

Parameters
NameDescription
indexint
builderForValueDestinationFeatureSetting.Builder
Returns
TypeDescription
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

addSettingsBuilder()

public DestinationFeatureSetting.Builder addSettingsBuilder()

Per-Feature settings for the batch read.

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

Returns
TypeDescription
DestinationFeatureSetting.Builder

addSettingsBuilder(int index)

public DestinationFeatureSetting.Builder addSettingsBuilder(int index)

Per-Feature settings for the batch read.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DestinationFeatureSetting.Builder

build()

public BatchReadFeatureValuesRequest.EntityTypeSpec build()
Returns
TypeDescription
BatchReadFeatureValuesRequest.EntityTypeSpec

buildPartial()

public BatchReadFeatureValuesRequest.EntityTypeSpec buildPartial()
Returns
TypeDescription
BatchReadFeatureValuesRequest.EntityTypeSpec

clear()

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder clear()
Returns
TypeDescription
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
TypeDescription
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.v1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSettings()

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder clearSettings()

Per-Feature settings for the batch read.

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

Returns
TypeDescription
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

clone()

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder clone()
Returns
TypeDescription
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder
Overrides

getDefaultInstanceForType()

public BatchReadFeatureValuesRequest.EntityTypeSpec getDefaultInstanceForType()
Returns
TypeDescription
BatchReadFeatureValuesRequest.EntityTypeSpec

getDescriptorForType()

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

The bytes for entityTypeId.

getFeatureSelector()

public FeatureSelector getFeatureSelector()

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

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

Returns
TypeDescription
FeatureSelector

The featureSelector.

getFeatureSelectorBuilder()

public FeatureSelector.Builder getFeatureSelectorBuilder()

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

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

Returns
TypeDescription
FeatureSelector.Builder

getFeatureSelectorOrBuilder()

public FeatureSelectorOrBuilder getFeatureSelectorOrBuilder()

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

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

Returns
TypeDescription
FeatureSelectorOrBuilder

getSettings(int index)

public DestinationFeatureSetting getSettings(int index)

Per-Feature settings for the batch read.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DestinationFeatureSetting

getSettingsBuilder(int index)

public DestinationFeatureSetting.Builder getSettingsBuilder(int index)

Per-Feature settings for the batch read.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DestinationFeatureSetting.Builder

getSettingsBuilderList()

public List<DestinationFeatureSetting.Builder> getSettingsBuilderList()

Per-Feature settings for the batch read.

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

Returns
TypeDescription
List<Builder>

getSettingsCount()

public int getSettingsCount()

Per-Feature settings for the batch read.

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

Returns
TypeDescription
int

getSettingsList()

public List<DestinationFeatureSetting> getSettingsList()

Per-Feature settings for the batch read.

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

Returns
TypeDescription
List<DestinationFeatureSetting>

getSettingsOrBuilder(int index)

public DestinationFeatureSettingOrBuilder getSettingsOrBuilder(int index)

Per-Feature settings for the batch read.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DestinationFeatureSettingOrBuilder

getSettingsOrBuilderList()

public List<? extends DestinationFeatureSettingOrBuilder> getSettingsOrBuilderList()

Per-Feature settings for the batch read.

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

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.DestinationFeatureSettingOrBuilder>

hasFeatureSelector()

public boolean hasFeatureSelector()

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

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

Returns
TypeDescription
boolean

Whether the featureSelector field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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.v1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFeatureSelector
Returns
TypeDescription
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

mergeFrom(BatchReadFeatureValuesRequest.EntityTypeSpec other)

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder mergeFrom(BatchReadFeatureValuesRequest.EntityTypeSpec other)
Parameter
NameDescription
otherBatchReadFeatureValuesRequest.EntityTypeSpec
Returns
TypeDescription
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchReadFeatureValuesRequest.EntityTypeSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1.DestinationFeatureSetting settings = 3;

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

The entityTypeId to set.

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

The bytes for entityTypeId to set.

Returns
TypeDescription
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.v1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFeatureSelector
Returns
TypeDescription
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.v1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueFeatureSelector.Builder
Returns
TypeDescription
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchReadFeatureValuesRequest.EntityTypeSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v1.DestinationFeatureSetting settings = 3;

Parameters
NameDescription
indexint
valueDestinationFeatureSetting
Returns
TypeDescription
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.v1.DestinationFeatureSetting settings = 3;

Parameters
NameDescription
indexint
builderForValueDestinationFeatureSetting.Builder
Returns
TypeDescription
BatchReadFeatureValuesRequest.EntityTypeSpec.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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