Class Feature.Builder (3.34.0)

public static final class Feature.Builder extends GeneratedMessageV3.Builder<Feature.Builder> implements FeatureOrBuilder

Feature Metadata information. For example, color is a feature that describes an apple.

Protobuf type google.cloud.aiplatform.v1.Feature

Implements

FeatureOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllMonitoringStatsAnomalies(Iterable<? extends Feature.MonitoringStatsAnomaly> values)

public Feature.Builder addAllMonitoringStatsAnomalies(Iterable<? extends Feature.MonitoringStatsAnomaly> values)

Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.

repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly>
Returns
TypeDescription
Feature.Builder

addMonitoringStatsAnomalies(Feature.MonitoringStatsAnomaly value)

public Feature.Builder addMonitoringStatsAnomalies(Feature.MonitoringStatsAnomaly value)

Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.

repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueFeature.MonitoringStatsAnomaly
Returns
TypeDescription
Feature.Builder

addMonitoringStatsAnomalies(Feature.MonitoringStatsAnomaly.Builder builderForValue)

public Feature.Builder addMonitoringStatsAnomalies(Feature.MonitoringStatsAnomaly.Builder builderForValue)

Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.

repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueFeature.MonitoringStatsAnomaly.Builder
Returns
TypeDescription
Feature.Builder

addMonitoringStatsAnomalies(int index, Feature.MonitoringStatsAnomaly value)

public Feature.Builder addMonitoringStatsAnomalies(int index, Feature.MonitoringStatsAnomaly value)

Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.

repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueFeature.MonitoringStatsAnomaly
Returns
TypeDescription
Feature.Builder

addMonitoringStatsAnomalies(int index, Feature.MonitoringStatsAnomaly.Builder builderForValue)

public Feature.Builder addMonitoringStatsAnomalies(int index, Feature.MonitoringStatsAnomaly.Builder builderForValue)

Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.

repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueFeature.MonitoringStatsAnomaly.Builder
Returns
TypeDescription
Feature.Builder

addMonitoringStatsAnomaliesBuilder()

public Feature.MonitoringStatsAnomaly.Builder addMonitoringStatsAnomaliesBuilder()

Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.

repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Feature.MonitoringStatsAnomaly.Builder

addMonitoringStatsAnomaliesBuilder(int index)

public Feature.MonitoringStatsAnomaly.Builder addMonitoringStatsAnomaliesBuilder(int index)

Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.

repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
Feature.MonitoringStatsAnomaly.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Feature build()
Returns
TypeDescription
Feature

buildPartial()

public Feature buildPartial()
Returns
TypeDescription
Feature

clear()

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

clearCreateTime()

public Feature.Builder clearCreateTime()

Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Feature.Builder

clearDescription()

public Feature.Builder clearDescription()

Description of the Feature.

string description = 2;

Returns
TypeDescription
Feature.Builder

This builder for chaining.

clearDisableMonitoring()

public Feature.Builder clearDisableMonitoring()

Optional. Only applicable for Vertex AI Feature Store (Legacy). If not set, use the monitoring_config defined for the EntityType this Feature belongs to. Only Features with type (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can enable monitoring.

If set to true, all types of data monitoring are disabled despite the config on EntityType.

bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Feature.Builder

This builder for chaining.

clearEtag()

public Feature.Builder clearEtag()

Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 7;

Returns
TypeDescription
Feature.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLabels()

public Feature.Builder clearLabels()
Returns
TypeDescription
Feature.Builder

clearMonitoringStatsAnomalies()

public Feature.Builder clearMonitoringStatsAnomalies()

Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.

repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Feature.Builder

clearName()

public Feature.Builder clearName()

Immutable. Name of the Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature} projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}

The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Feature.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateTime()

public Feature.Builder clearUpdateTime()

Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was most recently updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Feature.Builder

clearValueType()

public Feature.Builder clearValueType()

Immutable. Only applicable for Vertex AI Feature Store (Legacy). Type of Feature value.

.google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Feature.Builder

This builder for chaining.

clearVersionColumnName()

public Feature.Builder clearVersionColumnName()

Only applicable for Vertex AI Feature Store. The name of the BigQuery Table/View columnn hosting data for this version. If no value is provided, will use feature_id.

string version_column_name = 106;

Returns
TypeDescription
Feature.Builder

This builder for chaining.

clone()

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

containsLabels(String key)

public boolean containsLabels(String key)

Optional. The labels with user-defined metadata to organize your Features.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one Feature (System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getCreateTime()

public Timestamp getCreateTime()

Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Feature getDefaultInstanceForType()
Returns
TypeDescription
Feature

getDescription()

public String getDescription()

Description of the Feature.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the Feature.

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisableMonitoring()

public boolean getDisableMonitoring()

Optional. Only applicable for Vertex AI Feature Store (Legacy). If not set, use the monitoring_config defined for the EntityType this Feature belongs to. Only Features with type (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can enable monitoring.

If set to true, all types of data monitoring are disabled despite the config on EntityType.

bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The disableMonitoring.

getEtag()

public String getEtag()

Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 7;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 7;

Returns
TypeDescription
ByteString

The bytes for etag.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. The labels with user-defined metadata to organize your Features.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one Feature (System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. The labels with user-defined metadata to organize your Features.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one Feature (System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. The labels with user-defined metadata to organize your Features.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one Feature (System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. The labels with user-defined metadata to organize your Features.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one Feature (System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMonitoringStatsAnomalies(int index)

public Feature.MonitoringStatsAnomaly getMonitoringStatsAnomalies(int index)

Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.

repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
Feature.MonitoringStatsAnomaly

getMonitoringStatsAnomaliesBuilder(int index)

public Feature.MonitoringStatsAnomaly.Builder getMonitoringStatsAnomaliesBuilder(int index)

Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.

repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
Feature.MonitoringStatsAnomaly.Builder

getMonitoringStatsAnomaliesBuilderList()

public List<Feature.MonitoringStatsAnomaly.Builder> getMonitoringStatsAnomaliesBuilderList()

Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.

repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Builder>

getMonitoringStatsAnomaliesCount()

public int getMonitoringStatsAnomaliesCount()

Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.

repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getMonitoringStatsAnomaliesList()

public List<Feature.MonitoringStatsAnomaly> getMonitoringStatsAnomaliesList()

Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.

repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<MonitoringStatsAnomaly>

getMonitoringStatsAnomaliesOrBuilder(int index)

public Feature.MonitoringStatsAnomalyOrBuilder getMonitoringStatsAnomaliesOrBuilder(int index)

Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.

repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
Feature.MonitoringStatsAnomalyOrBuilder

getMonitoringStatsAnomaliesOrBuilderList()

public List<? extends Feature.MonitoringStatsAnomalyOrBuilder> getMonitoringStatsAnomaliesOrBuilderList()

Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.

repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

Immutable. Name of the Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature} projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}

The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Immutable. Name of the Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature} projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}

The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for name.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was most recently updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was most recently updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was most recently updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getValueType()

public Feature.ValueType getValueType()

Immutable. Only applicable for Vertex AI Feature Store (Legacy). Type of Feature value.

.google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Feature.ValueType

The valueType.

getValueTypeValue()

public int getValueTypeValue()

Immutable. Only applicable for Vertex AI Feature Store (Legacy). Type of Feature value.

.google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
int

The enum numeric value on the wire for valueType.

getVersionColumnName()

public String getVersionColumnName()

Only applicable for Vertex AI Feature Store. The name of the BigQuery Table/View columnn hosting data for this version. If no value is provided, will use feature_id.

string version_column_name = 106;

Returns
TypeDescription
String

The versionColumnName.

getVersionColumnNameBytes()

public ByteString getVersionColumnNameBytes()

Only applicable for Vertex AI Feature Store. The name of the BigQuery Table/View columnn hosting data for this version. If no value is provided, will use feature_id.

string version_column_name = 106;

Returns
TypeDescription
ByteString

The bytes for versionColumnName.

hasCreateTime()

public boolean hasCreateTime()

Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was most recently updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public Feature.Builder mergeCreateTime(Timestamp value)

Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Feature.Builder

mergeFrom(Feature other)

public Feature.Builder mergeFrom(Feature other)
Parameter
NameDescription
otherFeature
Returns
TypeDescription
Feature.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public Feature.Builder mergeUpdateTime(Timestamp value)

Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was most recently updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Feature.Builder

putAllLabels(Map<String,String> values)

public Feature.Builder putAllLabels(Map<String,String> values)

Optional. The labels with user-defined metadata to organize your Features.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one Feature (System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
Feature.Builder

putLabels(String key, String value)

public Feature.Builder putLabels(String key, String value)

Optional. The labels with user-defined metadata to organize your Features.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one Feature (System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
Feature.Builder

removeLabels(String key)

public Feature.Builder removeLabels(String key)

Optional. The labels with user-defined metadata to organize your Features.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one Feature (System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
Feature.Builder

removeMonitoringStatsAnomalies(int index)

public Feature.Builder removeMonitoringStatsAnomalies(int index)

Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.

repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
Feature.Builder

setCreateTime(Timestamp value)

public Feature.Builder setCreateTime(Timestamp value)

Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Feature.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Feature.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Feature.Builder

setDescription(String value)

public Feature.Builder setDescription(String value)

Description of the Feature.

string description = 2;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
Feature.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Feature.Builder setDescriptionBytes(ByteString value)

Description of the Feature.

string description = 2;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
Feature.Builder

This builder for chaining.

setDisableMonitoring(boolean value)

public Feature.Builder setDisableMonitoring(boolean value)

Optional. Only applicable for Vertex AI Feature Store (Legacy). If not set, use the monitoring_config defined for the EntityType this Feature belongs to. Only Features with type (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can enable monitoring.

If set to true, all types of data monitoring are disabled despite the config on EntityType.

bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueboolean

The disableMonitoring to set.

Returns
TypeDescription
Feature.Builder

This builder for chaining.

setEtag(String value)

public Feature.Builder setEtag(String value)

Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 7;

Parameter
NameDescription
valueString

The etag to set.

Returns
TypeDescription
Feature.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public Feature.Builder setEtagBytes(ByteString value)

Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 7;

Parameter
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
Feature.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMonitoringStatsAnomalies(int index, Feature.MonitoringStatsAnomaly value)

public Feature.Builder setMonitoringStatsAnomalies(int index, Feature.MonitoringStatsAnomaly value)

Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.

repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueFeature.MonitoringStatsAnomaly
Returns
TypeDescription
Feature.Builder

setMonitoringStatsAnomalies(int index, Feature.MonitoringStatsAnomaly.Builder builderForValue)

public Feature.Builder setMonitoringStatsAnomalies(int index, Feature.MonitoringStatsAnomaly.Builder builderForValue)

Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.

repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueFeature.MonitoringStatsAnomaly.Builder
Returns
TypeDescription
Feature.Builder

setName(String value)

public Feature.Builder setName(String value)

Immutable. Name of the Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature} projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}

The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Feature.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Feature.Builder setNameBytes(ByteString value)

Immutable. Name of the Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature} projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}

The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Feature.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public Feature.Builder setUpdateTime(Timestamp value)

Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was most recently updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Feature.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Feature.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was most recently updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Feature.Builder

setValueType(Feature.ValueType value)

public Feature.Builder setValueType(Feature.ValueType value)

Immutable. Only applicable for Vertex AI Feature Store (Legacy). Type of Feature value.

.google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueFeature.ValueType

The valueType to set.

Returns
TypeDescription
Feature.Builder

This builder for chaining.

setValueTypeValue(int value)

public Feature.Builder setValueTypeValue(int value)

Immutable. Only applicable for Vertex AI Feature Store (Legacy). Type of Feature value.

.google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueint

The enum numeric value on the wire for valueType to set.

Returns
TypeDescription
Feature.Builder

This builder for chaining.

setVersionColumnName(String value)

public Feature.Builder setVersionColumnName(String value)

Only applicable for Vertex AI Feature Store. The name of the BigQuery Table/View columnn hosting data for this version. If no value is provided, will use feature_id.

string version_column_name = 106;

Parameter
NameDescription
valueString

The versionColumnName to set.

Returns
TypeDescription
Feature.Builder

This builder for chaining.

setVersionColumnNameBytes(ByteString value)

public Feature.Builder setVersionColumnNameBytes(ByteString value)

Only applicable for Vertex AI Feature Store. The name of the BigQuery Table/View columnn hosting data for this version. If no value is provided, will use feature_id.

string version_column_name = 106;

Parameter
NameDescription
valueByteString

The bytes for versionColumnName to set.

Returns
TypeDescription
Feature.Builder

This builder for chaining.