Class Featurestore.Builder (3.52.0)

public static final class Featurestore.Builder extends GeneratedMessageV3.Builder<Featurestore.Builder> implements FeaturestoreOrBuilder

Vertex AI Feature Store provides a centralized repository for organizing, storing, and serving ML features. The Featurestore is a top-level container for your features and their values.

Protobuf type google.cloud.aiplatform.v1beta1.Featurestore

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Featurestore build()
Returns
Type Description
Featurestore

buildPartial()

public Featurestore buildPartial()
Returns
Type Description
Featurestore

clear()

public Featurestore.Builder clear()
Returns
Type Description
Featurestore.Builder
Overrides

clearCreateTime()

public Featurestore.Builder clearCreateTime()

Output only. Timestamp when this Featurestore was created.

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

Returns
Type Description
Featurestore.Builder

clearEncryptionSpec()

public Featurestore.Builder clearEncryptionSpec()

Optional. Customer-managed encryption key spec for data storage. If set, both of the online and offline data storage will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Featurestore.Builder

clearEtag()

public Featurestore.Builder clearEtag()

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

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

Returns
Type Description
Featurestore.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLabels()

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

clearName()

public Featurestore.Builder clearName()

Output only. Name of the Featurestore. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

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

Returns
Type Description
Featurestore.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOnlineServingConfig()

public Featurestore.Builder clearOnlineServingConfig()

Optional. Config for online storage resources. The field should not co-exist with the field of OnlineStoreReplicationConfig. If both of it and OnlineStoreReplicationConfig are unset, the feature store will not have an online store and cannot be used for online serving.

.google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig online_serving_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Featurestore.Builder

clearOnlineStorageTtlDays()

public Featurestore.Builder clearOnlineStorageTtlDays()

Optional. TTL in days for feature values that will be stored in online serving storage. The Feature Store online storage periodically removes obsolete feature values older than online_storage_ttl_days since the feature generation time. Note that online_storage_ttl_days should be less than or equal to offline_storage_ttl_days for each EntityType under a featurestore. If not set, default to 4000 days

int32 online_storage_ttl_days = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Featurestore.Builder

This builder for chaining.

clearSatisfiesPzi()

public Featurestore.Builder clearSatisfiesPzi()

Output only. Reserved for future use.

bool satisfies_pzi = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Featurestore.Builder

This builder for chaining.

clearSatisfiesPzs()

public Featurestore.Builder clearSatisfiesPzs()

Output only. Reserved for future use.

bool satisfies_pzs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Featurestore.Builder

This builder for chaining.

clearState()

public Featurestore.Builder clearState()

Output only. State of the featurestore.

.google.cloud.aiplatform.v1beta1.Featurestore.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Featurestore.Builder

This builder for chaining.

clearUpdateTime()

public Featurestore.Builder clearUpdateTime()

Output only. Timestamp when this Featurestore was last updated.

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

Returns
Type Description
Featurestore.Builder

clone()

public Featurestore.Builder clone()
Returns
Type Description
Featurestore.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

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

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 Featurestore(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
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp when this Featurestore was created.

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

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Timestamp when this Featurestore was created.

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

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when this Featurestore was created.

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Featurestore getDefaultInstanceForType()
Returns
Type Description
Featurestore

getDescriptorForType()

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

getEncryptionSpec()

public EncryptionSpec getEncryptionSpec()

Optional. Customer-managed encryption key spec for data storage. If set, both of the online and offline data storage will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EncryptionSpec

The encryptionSpec.

getEncryptionSpecBuilder()

public EncryptionSpec.Builder getEncryptionSpecBuilder()

Optional. Customer-managed encryption key spec for data storage. If set, both of the online and offline data storage will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EncryptionSpec.Builder

getEncryptionSpecOrBuilder()

public EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()

Optional. Customer-managed encryption key spec for data storage. If set, both of the online and offline data storage will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EncryptionSpecOrBuilder

getEtag()

public String getEtag()

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

string etag = 5 [(.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 = 5 [(.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 Featurestore.

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 Featurestore(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
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

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

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 Featurestore(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
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 Featurestore.

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 Featurestore(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
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 Featurestore.

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 Featurestore(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
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()

Output only. Name of the Featurestore. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Name of the Featurestore. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

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

Returns
Type Description
ByteString

The bytes for name.

getOnlineServingConfig()

public Featurestore.OnlineServingConfig getOnlineServingConfig()

Optional. Config for online storage resources. The field should not co-exist with the field of OnlineStoreReplicationConfig. If both of it and OnlineStoreReplicationConfig are unset, the feature store will not have an online store and cannot be used for online serving.

.google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig online_serving_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Featurestore.OnlineServingConfig

The onlineServingConfig.

getOnlineServingConfigBuilder()

public Featurestore.OnlineServingConfig.Builder getOnlineServingConfigBuilder()

Optional. Config for online storage resources. The field should not co-exist with the field of OnlineStoreReplicationConfig. If both of it and OnlineStoreReplicationConfig are unset, the feature store will not have an online store and cannot be used for online serving.

.google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig online_serving_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Featurestore.OnlineServingConfig.Builder

getOnlineServingConfigOrBuilder()

public Featurestore.OnlineServingConfigOrBuilder getOnlineServingConfigOrBuilder()

Optional. Config for online storage resources. The field should not co-exist with the field of OnlineStoreReplicationConfig. If both of it and OnlineStoreReplicationConfig are unset, the feature store will not have an online store and cannot be used for online serving.

.google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig online_serving_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Featurestore.OnlineServingConfigOrBuilder

getOnlineStorageTtlDays()

public int getOnlineStorageTtlDays()

Optional. TTL in days for feature values that will be stored in online serving storage. The Feature Store online storage periodically removes obsolete feature values older than online_storage_ttl_days since the feature generation time. Note that online_storage_ttl_days should be less than or equal to offline_storage_ttl_days for each EntityType under a featurestore. If not set, default to 4000 days

int32 online_storage_ttl_days = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The onlineStorageTtlDays.

getSatisfiesPzi()

public boolean getSatisfiesPzi()

Output only. Reserved for future use.

bool satisfies_pzi = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The satisfiesPzi.

getSatisfiesPzs()

public boolean getSatisfiesPzs()

Output only. Reserved for future use.

bool satisfies_pzs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The satisfiesPzs.

getState()

public Featurestore.State getState()

Output only. State of the featurestore.

.google.cloud.aiplatform.v1beta1.Featurestore.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Featurestore.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the featurestore.

.google.cloud.aiplatform.v1beta1.Featurestore.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Timestamp when this Featurestore was last updated.

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

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Timestamp when this Featurestore was last updated.

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

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp when this Featurestore was last updated.

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

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp when this Featurestore was created.

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

Returns
Type Description
boolean

Whether the createTime field is set.

hasEncryptionSpec()

public boolean hasEncryptionSpec()

Optional. Customer-managed encryption key spec for data storage. If set, both of the online and offline data storage will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the encryptionSpec field is set.

hasOnlineServingConfig()

public boolean hasOnlineServingConfig()

Optional. Config for online storage resources. The field should not co-exist with the field of OnlineStoreReplicationConfig. If both of it and OnlineStoreReplicationConfig are unset, the feature store will not have an online store and cannot be used for online serving.

.google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig online_serving_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the onlineServingConfig field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Timestamp when this Featurestore was last updated.

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

mergeCreateTime(Timestamp value)

public Featurestore.Builder mergeCreateTime(Timestamp value)

Output only. Timestamp when this Featurestore was created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Featurestore.Builder

mergeEncryptionSpec(EncryptionSpec value)

public Featurestore.Builder mergeEncryptionSpec(EncryptionSpec value)

Optional. Customer-managed encryption key spec for data storage. If set, both of the online and offline data storage will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EncryptionSpec
Returns
Type Description
Featurestore.Builder

mergeFrom(Featurestore other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOnlineServingConfig(Featurestore.OnlineServingConfig value)

public Featurestore.Builder mergeOnlineServingConfig(Featurestore.OnlineServingConfig value)

Optional. Config for online storage resources. The field should not co-exist with the field of OnlineStoreReplicationConfig. If both of it and OnlineStoreReplicationConfig are unset, the feature store will not have an online store and cannot be used for online serving.

.google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig online_serving_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Featurestore.OnlineServingConfig
Returns
Type Description
Featurestore.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public Featurestore.Builder mergeUpdateTime(Timestamp value)

Output only. Timestamp when this Featurestore was last updated.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Featurestore.Builder

putAllLabels(Map<String,String> values)

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

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

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 Featurestore(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
Name Description
values Map<String,String>
Returns
Type Description
Featurestore.Builder

putLabels(String key, String value)

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

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

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 Featurestore(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
Name Description
key String
value String
Returns
Type Description
Featurestore.Builder

removeLabels(String key)

public Featurestore.Builder removeLabels(String key)

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

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 Featurestore(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
Name Description
key String
Returns
Type Description
Featurestore.Builder

setCreateTime(Timestamp value)

public Featurestore.Builder setCreateTime(Timestamp value)

Output only. Timestamp when this Featurestore was created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Featurestore.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Featurestore.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this Featurestore was created.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Featurestore.Builder

setEncryptionSpec(EncryptionSpec value)

public Featurestore.Builder setEncryptionSpec(EncryptionSpec value)

Optional. Customer-managed encryption key spec for data storage. If set, both of the online and offline data storage will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EncryptionSpec
Returns
Type Description
Featurestore.Builder

setEncryptionSpec(EncryptionSpec.Builder builderForValue)

public Featurestore.Builder setEncryptionSpec(EncryptionSpec.Builder builderForValue)

Optional. Customer-managed encryption key spec for data storage. If set, both of the online and offline data storage will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue EncryptionSpec.Builder
Returns
Type Description
Featurestore.Builder

setEtag(String value)

public Featurestore.Builder setEtag(String value)

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

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

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
Featurestore.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public Featurestore.Builder setEtagBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
Featurestore.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Featurestore.Builder setName(String value)

Output only. Name of the Featurestore. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Featurestore.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Featurestore.Builder setNameBytes(ByteString value)

Output only. Name of the Featurestore. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Featurestore.Builder

This builder for chaining.

setOnlineServingConfig(Featurestore.OnlineServingConfig value)

public Featurestore.Builder setOnlineServingConfig(Featurestore.OnlineServingConfig value)

Optional. Config for online storage resources. The field should not co-exist with the field of OnlineStoreReplicationConfig. If both of it and OnlineStoreReplicationConfig are unset, the feature store will not have an online store and cannot be used for online serving.

.google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig online_serving_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Featurestore.OnlineServingConfig
Returns
Type Description
Featurestore.Builder

setOnlineServingConfig(Featurestore.OnlineServingConfig.Builder builderForValue)

public Featurestore.Builder setOnlineServingConfig(Featurestore.OnlineServingConfig.Builder builderForValue)

Optional. Config for online storage resources. The field should not co-exist with the field of OnlineStoreReplicationConfig. If both of it and OnlineStoreReplicationConfig are unset, the feature store will not have an online store and cannot be used for online serving.

.google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig online_serving_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Featurestore.OnlineServingConfig.Builder
Returns
Type Description
Featurestore.Builder

setOnlineStorageTtlDays(int value)

public Featurestore.Builder setOnlineStorageTtlDays(int value)

Optional. TTL in days for feature values that will be stored in online serving storage. The Feature Store online storage periodically removes obsolete feature values older than online_storage_ttl_days since the feature generation time. Note that online_storage_ttl_days should be less than or equal to offline_storage_ttl_days for each EntityType under a featurestore. If not set, default to 4000 days

int32 online_storage_ttl_days = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The onlineStorageTtlDays to set.

Returns
Type Description
Featurestore.Builder

This builder for chaining.

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

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

setSatisfiesPzi(boolean value)

public Featurestore.Builder setSatisfiesPzi(boolean value)

Output only. Reserved for future use.

bool satisfies_pzi = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The satisfiesPzi to set.

Returns
Type Description
Featurestore.Builder

This builder for chaining.

setSatisfiesPzs(boolean value)

public Featurestore.Builder setSatisfiesPzs(boolean value)

Output only. Reserved for future use.

bool satisfies_pzs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The satisfiesPzs to set.

Returns
Type Description
Featurestore.Builder

This builder for chaining.

setState(Featurestore.State value)

public Featurestore.Builder setState(Featurestore.State value)

Output only. State of the featurestore.

.google.cloud.aiplatform.v1beta1.Featurestore.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Featurestore.State

The state to set.

Returns
Type Description
Featurestore.Builder

This builder for chaining.

setStateValue(int value)

public Featurestore.Builder setStateValue(int value)

Output only. State of the featurestore.

.google.cloud.aiplatform.v1beta1.Featurestore.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
Featurestore.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public Featurestore.Builder setUpdateTime(Timestamp value)

Output only. Timestamp when this Featurestore was last updated.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Featurestore.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Featurestore.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this Featurestore was last updated.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Featurestore.Builder