Class FeatureGroup.Builder (3.29.0)

public static final class FeatureGroup.Builder extends GeneratedMessageV3.Builder<FeatureGroup.Builder> implements FeatureGroupOrBuilder

Vertex AI Feature Group.

Protobuf type google.cloud.aiplatform.v1beta1.FeatureGroup

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FeatureGroup build()
Returns
TypeDescription
FeatureGroup

buildPartial()

public FeatureGroup buildPartial()
Returns
TypeDescription
FeatureGroup

clear()

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

clearBigQuery()

public FeatureGroup.Builder clearBigQuery()

Indicates that features for this group come from BigQuery Table/View. By default treats the source as a sparse time series source, which is required to have an entity_id and a feature_timestamp column in the source.

.google.cloud.aiplatform.v1beta1.FeatureGroup.BigQuery big_query = 7;

Returns
TypeDescription
FeatureGroup.Builder

clearCreateTime()

public FeatureGroup.Builder clearCreateTime()

Output only. Timestamp when this FeatureGroup was created.

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

Returns
TypeDescription
FeatureGroup.Builder

clearDescription()

public FeatureGroup.Builder clearDescription()

Optional. Description of the FeatureGroup.

string description = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FeatureGroup.Builder

This builder for chaining.

clearEtag()

public FeatureGroup.Builder clearEtag()

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

string etag = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FeatureGroup.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLabels()

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

clearName()

public FeatureGroup.Builder clearName()

Output only. Name of the FeatureGroup. Format: projects/{project}/locations/{location}/featureGroups/{featureGroup}

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

Returns
TypeDescription
FeatureGroup.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSource()

public FeatureGroup.Builder clearSource()
Returns
TypeDescription
FeatureGroup.Builder

clearUpdateTime()

public FeatureGroup.Builder clearUpdateTime()

Output only. Timestamp when this FeatureGroup was last updated.

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

Returns
TypeDescription
FeatureGroup.Builder

clone()

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

containsLabels(String key)

public boolean containsLabels(String key)

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

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 FeatureGroup(System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

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

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getBigQuery()

public FeatureGroup.BigQuery getBigQuery()

Indicates that features for this group come from BigQuery Table/View. By default treats the source as a sparse time series source, which is required to have an entity_id and a feature_timestamp column in the source.

.google.cloud.aiplatform.v1beta1.FeatureGroup.BigQuery big_query = 7;

Returns
TypeDescription
FeatureGroup.BigQuery

The bigQuery.

getBigQueryBuilder()

public FeatureGroup.BigQuery.Builder getBigQueryBuilder()

Indicates that features for this group come from BigQuery Table/View. By default treats the source as a sparse time series source, which is required to have an entity_id and a feature_timestamp column in the source.

.google.cloud.aiplatform.v1beta1.FeatureGroup.BigQuery big_query = 7;

Returns
TypeDescription
FeatureGroup.BigQuery.Builder

getBigQueryOrBuilder()

public FeatureGroup.BigQueryOrBuilder getBigQueryOrBuilder()

Indicates that features for this group come from BigQuery Table/View. By default treats the source as a sparse time series source, which is required to have an entity_id and a feature_timestamp column in the source.

.google.cloud.aiplatform.v1beta1.FeatureGroup.BigQuery big_query = 7;

Returns
TypeDescription
FeatureGroup.BigQueryOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp when this FeatureGroup was created.

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

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Timestamp when this FeatureGroup was created.

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

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when this FeatureGroup was created.

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

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public FeatureGroup getDefaultInstanceForType()
Returns
TypeDescription
FeatureGroup

getDescription()

public String getDescription()

Optional. Description of the FeatureGroup.

string description = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Description of the FeatureGroup.

string description = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEtag()

public String getEtag()

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

string etag = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

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

string etag = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for etag.

getLabels()

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 FeatureGroup.

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 FeatureGroup(System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

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

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

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

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 FeatureGroup(System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

map<string, string> labels = 5 [(.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 FeatureGroup.

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 FeatureGroup(System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

map<string, string> labels = 5 [(.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 FeatureGroup.

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 FeatureGroup(System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

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

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

Output only. Name of the FeatureGroup. Format: projects/{project}/locations/{location}/featureGroups/{featureGroup}

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Name of the FeatureGroup. Format: projects/{project}/locations/{location}/featureGroups/{featureGroup}

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

Returns
TypeDescription
ByteString

The bytes for name.

getSourceCase()

public FeatureGroup.SourceCase getSourceCase()
Returns
TypeDescription
FeatureGroup.SourceCase

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Timestamp when this FeatureGroup was last updated.

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

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Timestamp when this FeatureGroup was last updated.

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

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp when this FeatureGroup was last updated.

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

Returns
TypeDescription
TimestampOrBuilder

hasBigQuery()

public boolean hasBigQuery()

Indicates that features for this group come from BigQuery Table/View. By default treats the source as a sparse time series source, which is required to have an entity_id and a feature_timestamp column in the source.

.google.cloud.aiplatform.v1beta1.FeatureGroup.BigQuery big_query = 7;

Returns
TypeDescription
boolean

Whether the bigQuery field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp when this FeatureGroup was created.

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

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Timestamp when this FeatureGroup was last updated.

.google.protobuf.Timestamp update_time = 3 [(.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

mergeBigQuery(FeatureGroup.BigQuery value)

public FeatureGroup.Builder mergeBigQuery(FeatureGroup.BigQuery value)

Indicates that features for this group come from BigQuery Table/View. By default treats the source as a sparse time series source, which is required to have an entity_id and a feature_timestamp column in the source.

.google.cloud.aiplatform.v1beta1.FeatureGroup.BigQuery big_query = 7;

Parameter
NameDescription
valueFeatureGroup.BigQuery
Returns
TypeDescription
FeatureGroup.Builder

mergeCreateTime(Timestamp value)

public FeatureGroup.Builder mergeCreateTime(Timestamp value)

Output only. Timestamp when this FeatureGroup was created.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
FeatureGroup.Builder

mergeFrom(FeatureGroup other)

public FeatureGroup.Builder mergeFrom(FeatureGroup other)
Parameter
NameDescription
otherFeatureGroup
Returns
TypeDescription
FeatureGroup.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public FeatureGroup.Builder mergeUpdateTime(Timestamp value)

Output only. Timestamp when this FeatureGroup was last updated.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
FeatureGroup.Builder

putAllLabels(Map<String,String> values)

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

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

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 FeatureGroup(System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

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

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

putLabels(String key, String value)

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

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

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 FeatureGroup(System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

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

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
FeatureGroup.Builder

removeLabels(String key)

public FeatureGroup.Builder removeLabels(String key)

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

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 FeatureGroup(System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

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

Parameter
NameDescription
keyString
Returns
TypeDescription
FeatureGroup.Builder

setBigQuery(FeatureGroup.BigQuery value)

public FeatureGroup.Builder setBigQuery(FeatureGroup.BigQuery value)

Indicates that features for this group come from BigQuery Table/View. By default treats the source as a sparse time series source, which is required to have an entity_id and a feature_timestamp column in the source.

.google.cloud.aiplatform.v1beta1.FeatureGroup.BigQuery big_query = 7;

Parameter
NameDescription
valueFeatureGroup.BigQuery
Returns
TypeDescription
FeatureGroup.Builder

setBigQuery(FeatureGroup.BigQuery.Builder builderForValue)

public FeatureGroup.Builder setBigQuery(FeatureGroup.BigQuery.Builder builderForValue)

Indicates that features for this group come from BigQuery Table/View. By default treats the source as a sparse time series source, which is required to have an entity_id and a feature_timestamp column in the source.

.google.cloud.aiplatform.v1beta1.FeatureGroup.BigQuery big_query = 7;

Parameter
NameDescription
builderForValueFeatureGroup.BigQuery.Builder
Returns
TypeDescription
FeatureGroup.Builder

setCreateTime(Timestamp value)

public FeatureGroup.Builder setCreateTime(Timestamp value)

Output only. Timestamp when this FeatureGroup was created.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
FeatureGroup.Builder

setCreateTime(Timestamp.Builder builderForValue)

public FeatureGroup.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this FeatureGroup was created.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
FeatureGroup.Builder

setDescription(String value)

public FeatureGroup.Builder setDescription(String value)

Optional. Description of the FeatureGroup.

string description = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
FeatureGroup.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public FeatureGroup.Builder setDescriptionBytes(ByteString value)

Optional. Description of the FeatureGroup.

string description = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
FeatureGroup.Builder

This builder for chaining.

setEtag(String value)

public FeatureGroup.Builder setEtag(String value)

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

string etag = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The etag to set.

Returns
TypeDescription
FeatureGroup.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public FeatureGroup.Builder setEtagBytes(ByteString value)

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

string etag = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
FeatureGroup.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public FeatureGroup.Builder setName(String value)

Output only. Name of the FeatureGroup. Format: projects/{project}/locations/{location}/featureGroups/{featureGroup}

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
FeatureGroup.Builder

This builder for chaining.

setNameBytes(ByteString value)

public FeatureGroup.Builder setNameBytes(ByteString value)

Output only. Name of the FeatureGroup. Format: projects/{project}/locations/{location}/featureGroups/{featureGroup}

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
FeatureGroup.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public FeatureGroup.Builder setUpdateTime(Timestamp value)

Output only. Timestamp when this FeatureGroup was last updated.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
FeatureGroup.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public FeatureGroup.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this FeatureGroup was last updated.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
FeatureGroup.Builder