Class MetadataStore.Builder (3.45.0)

public static final class MetadataStore.Builder extends GeneratedMessageV3.Builder<MetadataStore.Builder> implements MetadataStoreOrBuilder

Instance of a metadata store. Contains a set of metadata that can be queried.

Protobuf type google.cloud.aiplatform.v1.MetadataStore

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MetadataStore build()
Returns
Type Description
MetadataStore

buildPartial()

public MetadataStore buildPartial()
Returns
Type Description
MetadataStore

clear()

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

clearCreateTime()

public MetadataStore.Builder clearCreateTime()

Output only. Timestamp when this MetadataStore was created.

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

Returns
Type Description
MetadataStore.Builder

clearDescription()

public MetadataStore.Builder clearDescription()

Description of the MetadataStore.

string description = 6;

Returns
Type Description
MetadataStore.Builder

This builder for chaining.

clearEncryptionSpec()

public MetadataStore.Builder clearEncryptionSpec()

Customer-managed encryption key spec for a Metadata Store. If set, this Metadata Store and all sub-resources of this Metadata Store are secured using this key.

.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 5;

Returns
Type Description
MetadataStore.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public MetadataStore.Builder clearName()

Output only. The resource name of the MetadataStore instance.

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

Returns
Type Description
MetadataStore.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public MetadataStore.Builder clearState()

Output only. State information of the MetadataStore.

.google.cloud.aiplatform.v1.MetadataStore.MetadataStoreState state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MetadataStore.Builder

clearUpdateTime()

public MetadataStore.Builder clearUpdateTime()

Output only. Timestamp when this MetadataStore was last updated.

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

Returns
Type Description
MetadataStore.Builder

clone()

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

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp when this MetadataStore 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 MetadataStore 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 MetadataStore was created.

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public MetadataStore getDefaultInstanceForType()
Returns
Type Description
MetadataStore

getDescription()

public String getDescription()

Description of the MetadataStore.

string description = 6;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the MetadataStore.

string description = 6;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getEncryptionSpec()

public EncryptionSpec getEncryptionSpec()

Customer-managed encryption key spec for a Metadata Store. If set, this Metadata Store and all sub-resources of this Metadata Store are secured using this key.

.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 5;

Returns
Type Description
EncryptionSpec

The encryptionSpec.

getEncryptionSpecBuilder()

public EncryptionSpec.Builder getEncryptionSpecBuilder()

Customer-managed encryption key spec for a Metadata Store. If set, this Metadata Store and all sub-resources of this Metadata Store are secured using this key.

.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 5;

Returns
Type Description
EncryptionSpec.Builder

getEncryptionSpecOrBuilder()

public EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()

Customer-managed encryption key spec for a Metadata Store. If set, this Metadata Store and all sub-resources of this Metadata Store are secured using this key.

.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 5;

Returns
Type Description
EncryptionSpecOrBuilder

getName()

public String getName()

Output only. The resource name of the MetadataStore instance.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name of the MetadataStore instance.

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

Returns
Type Description
ByteString

The bytes for name.

getState()

public MetadataStore.MetadataStoreState getState()

Output only. State information of the MetadataStore.

.google.cloud.aiplatform.v1.MetadataStore.MetadataStoreState state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MetadataStore.MetadataStoreState

The state.

getStateBuilder()

public MetadataStore.MetadataStoreState.Builder getStateBuilder()

Output only. State information of the MetadataStore.

.google.cloud.aiplatform.v1.MetadataStore.MetadataStoreState state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MetadataStore.MetadataStoreState.Builder

getStateOrBuilder()

public MetadataStore.MetadataStoreStateOrBuilder getStateOrBuilder()

Output only. State information of the MetadataStore.

.google.cloud.aiplatform.v1.MetadataStore.MetadataStoreState state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MetadataStore.MetadataStoreStateOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Timestamp when this MetadataStore 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 MetadataStore 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 MetadataStore 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 MetadataStore 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()

Customer-managed encryption key spec for a Metadata Store. If set, this Metadata Store and all sub-resources of this Metadata Store are secured using this key.

.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 5;

Returns
Type Description
boolean

Whether the encryptionSpec field is set.

hasState()

public boolean hasState()

Output only. State information of the MetadataStore.

.google.cloud.aiplatform.v1.MetadataStore.MetadataStoreState state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the state field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Timestamp when this MetadataStore 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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public MetadataStore.Builder mergeCreateTime(Timestamp value)

Output only. Timestamp when this MetadataStore was created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
MetadataStore.Builder

mergeEncryptionSpec(EncryptionSpec value)

public MetadataStore.Builder mergeEncryptionSpec(EncryptionSpec value)

Customer-managed encryption key spec for a Metadata Store. If set, this Metadata Store and all sub-resources of this Metadata Store are secured using this key.

.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 5;

Parameter
Name Description
value EncryptionSpec
Returns
Type Description
MetadataStore.Builder

mergeFrom(MetadataStore other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeState(MetadataStore.MetadataStoreState value)

public MetadataStore.Builder mergeState(MetadataStore.MetadataStoreState value)

Output only. State information of the MetadataStore.

.google.cloud.aiplatform.v1.MetadataStore.MetadataStoreState state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MetadataStore.MetadataStoreState
Returns
Type Description
MetadataStore.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public MetadataStore.Builder mergeUpdateTime(Timestamp value)

Output only. Timestamp when this MetadataStore was last updated.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
MetadataStore.Builder

setCreateTime(Timestamp value)

public MetadataStore.Builder setCreateTime(Timestamp value)

Output only. Timestamp when this MetadataStore was created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
MetadataStore.Builder

setCreateTime(Timestamp.Builder builderForValue)

public MetadataStore.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this MetadataStore was created.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
MetadataStore.Builder

setDescription(String value)

public MetadataStore.Builder setDescription(String value)

Description of the MetadataStore.

string description = 6;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
MetadataStore.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public MetadataStore.Builder setDescriptionBytes(ByteString value)

Description of the MetadataStore.

string description = 6;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
MetadataStore.Builder

This builder for chaining.

setEncryptionSpec(EncryptionSpec value)

public MetadataStore.Builder setEncryptionSpec(EncryptionSpec value)

Customer-managed encryption key spec for a Metadata Store. If set, this Metadata Store and all sub-resources of this Metadata Store are secured using this key.

.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 5;

Parameter
Name Description
value EncryptionSpec
Returns
Type Description
MetadataStore.Builder

setEncryptionSpec(EncryptionSpec.Builder builderForValue)

public MetadataStore.Builder setEncryptionSpec(EncryptionSpec.Builder builderForValue)

Customer-managed encryption key spec for a Metadata Store. If set, this Metadata Store and all sub-resources of this Metadata Store are secured using this key.

.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 5;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public MetadataStore.Builder setName(String value)

Output only. The resource name of the MetadataStore instance.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
MetadataStore.Builder

This builder for chaining.

setNameBytes(ByteString value)

public MetadataStore.Builder setNameBytes(ByteString value)

Output only. The resource name of the MetadataStore instance.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
MetadataStore.Builder

This builder for chaining.

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

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

setState(MetadataStore.MetadataStoreState value)

public MetadataStore.Builder setState(MetadataStore.MetadataStoreState value)

Output only. State information of the MetadataStore.

.google.cloud.aiplatform.v1.MetadataStore.MetadataStoreState state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MetadataStore.MetadataStoreState
Returns
Type Description
MetadataStore.Builder

setState(MetadataStore.MetadataStoreState.Builder builderForValue)

public MetadataStore.Builder setState(MetadataStore.MetadataStoreState.Builder builderForValue)

Output only. State information of the MetadataStore.

.google.cloud.aiplatform.v1.MetadataStore.MetadataStoreState state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue MetadataStore.MetadataStoreState.Builder
Returns
Type Description
MetadataStore.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public MetadataStore.Builder setUpdateTime(Timestamp value)

Output only. Timestamp when this MetadataStore was last updated.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
MetadataStore.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public MetadataStore.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this MetadataStore was last updated.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
MetadataStore.Builder