Class MetadataStore.Builder (3.8.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MetadataStore build()
Returns
TypeDescription
MetadataStore

buildPartial()

public MetadataStore buildPartial()
Returns
TypeDescription
MetadataStore

clear()

public MetadataStore.Builder clear()
Returns
TypeDescription
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
TypeDescription
MetadataStore.Builder

clearDescription()

public MetadataStore.Builder clearDescription()

Description of the MetadataStore.

string description = 6;

Returns
TypeDescription
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
TypeDescription
MetadataStore.Builder

clearField(Descriptors.FieldDescriptor field)

public MetadataStore.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
MetadataStore.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public MetadataStore.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
MetadataStore.Builder

clone()

public MetadataStore.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public MetadataStore getDefaultInstanceForType()
Returns
TypeDescription
MetadataStore

getDescription()

public String getDescription()

Description of the MetadataStore.

string description = 6;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the MetadataStore.

string description = 6;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
EncryptionSpecOrBuilder

getName()

public String getName()

Output only. The resource name of the MetadataStore instance.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueEncryptionSpec
Returns
TypeDescription
MetadataStore.Builder

mergeFrom(MetadataStore other)

public MetadataStore.Builder mergeFrom(MetadataStore other)
Parameter
NameDescription
otherMetadataStore
Returns
TypeDescription
MetadataStore.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public MetadataStore.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueMetadataStore.MetadataStoreState
Returns
TypeDescription
MetadataStore.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MetadataStore.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
MetadataStore.Builder

setDescription(String value)

public MetadataStore.Builder setDescription(String value)

Description of the MetadataStore.

string description = 6;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
MetadataStore.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public MetadataStore.Builder setDescriptionBytes(ByteString value)

Description of the MetadataStore.

string description = 6;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valueEncryptionSpec
Returns
TypeDescription
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
NameDescription
builderForValueEncryptionSpec.Builder
Returns
TypeDescription
MetadataStore.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public MetadataStore.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueMetadataStore.MetadataStoreState
Returns
TypeDescription
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
NameDescription
builderForValueMetadataStore.MetadataStoreState.Builder
Returns
TypeDescription
MetadataStore.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final MetadataStore.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
MetadataStore.Builder