Class FeatureGroup.Builder (3.52.0)

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

Vertex AI Feature Group.

Protobuf type google.cloud.aiplatform.v1.FeatureGroup

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FeatureGroup build()
Returns
Type Description
FeatureGroup

buildPartial()

public FeatureGroup buildPartial()
Returns
Type Description
FeatureGroup

clear()

public FeatureGroup.Builder clear()
Returns
Type Description
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. The BigQuery source table or view must have at least one entity ID column and a column named feature_timestamp.

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

Returns
Type Description
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
Type Description
FeatureGroup.Builder

clearDescription()

public FeatureGroup.Builder clearDescription()

Optional. Description of the FeatureGroup.

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

Returns
Type Description
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
Type Description
FeatureGroup.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLabels()

public FeatureGroup.Builder clearLabels()
Returns
Type Description
FeatureGroup.Builder

clearName()

public FeatureGroup.Builder clearName()

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

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

Returns
Type Description
FeatureGroup.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSource()

public FeatureGroup.Builder clearSource()
Returns
Type Description
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
Type Description
FeatureGroup.Builder

clone()

public FeatureGroup.Builder clone()
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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. The BigQuery source table or view must have at least one entity ID column and a column named feature_timestamp.

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

Returns
Type Description
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. The BigQuery source table or view must have at least one entity ID column and a column named feature_timestamp.

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

Returns
Type Description
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. The BigQuery source table or view must have at least one entity ID column and a column named feature_timestamp.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public FeatureGroup getDefaultInstanceForType()
Returns
Type Description
FeatureGroup

getDescription()

public String getDescription()

Optional. Description of the FeatureGroup.

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

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Description of the FeatureGroup.

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

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

The bytes for etag.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

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

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

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

Returns
Type Description
ByteString

The bytes for name.

getSourceCase()

public FeatureGroup.SourceCase getSourceCase()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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. The BigQuery source table or view must have at least one entity ID column and a column named feature_timestamp.

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

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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. The BigQuery source table or view must have at least one entity ID column and a column named feature_timestamp.

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

Parameter
Name Description
value FeatureGroup.BigQuery
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
FeatureGroup.Builder

mergeFrom(FeatureGroup other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
values Map<String,String>
Returns
Type Description
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
Name Description
key String
value String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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. The BigQuery source table or view must have at least one entity ID column and a column named feature_timestamp.

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

Parameter
Name Description
value FeatureGroup.BigQuery
Returns
Type Description
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. The BigQuery source table or view must have at least one entity ID column and a column named feature_timestamp.

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

Parameter
Name Description
builderForValue FeatureGroup.BigQuery.Builder
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value String

The description to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
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
Name Description
value String

The etag to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
FeatureGroup.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public FeatureGroup.Builder setName(String value)

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

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
FeatureGroup.Builder

This builder for chaining.

setNameBytes(ByteString value)

public FeatureGroup.Builder setNameBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FeatureGroup.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FeatureGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
FeatureGroup.Builder