Class CreateMetadataStoreRequest.Builder (3.43.0)

public static final class CreateMetadataStoreRequest.Builder extends GeneratedMessageV3.Builder<CreateMetadataStoreRequest.Builder> implements CreateMetadataStoreRequestOrBuilder

Request message for MetadataService.CreateMetadataStore.

Protobuf type google.cloud.aiplatform.v1.CreateMetadataStoreRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateMetadataStoreRequest build()
Returns
Type Description
CreateMetadataStoreRequest

buildPartial()

public CreateMetadataStoreRequest buildPartial()
Returns
Type Description
CreateMetadataStoreRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMetadataStore()

public CreateMetadataStoreRequest.Builder clearMetadataStore()

Required. The MetadataStore to create.

.google.cloud.aiplatform.v1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateMetadataStoreRequest.Builder

clearMetadataStoreId()

public CreateMetadataStoreRequest.Builder clearMetadataStoreId()

The {metadatastore} portion of the resource name with the format: projects/{project}/locations/{location}/metadataStores/{metadatastore} If not provided, the MetadataStore's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are /a-z-/. Must be unique across all MetadataStores in the parent Location. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting MetadataStore.)

string metadata_store_id = 3;

Returns
Type Description
CreateMetadataStoreRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateMetadataStoreRequest.Builder clearParent()

Required. The resource name of the Location where the MetadataStore should be created. Format: projects/{project}/locations/{location}/

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateMetadataStoreRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateMetadataStoreRequest getDefaultInstanceForType()
Returns
Type Description
CreateMetadataStoreRequest

getDescriptorForType()

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

getMetadataStore()

public MetadataStore getMetadataStore()

Required. The MetadataStore to create.

.google.cloud.aiplatform.v1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MetadataStore

The metadataStore.

getMetadataStoreBuilder()

public MetadataStore.Builder getMetadataStoreBuilder()

Required. The MetadataStore to create.

.google.cloud.aiplatform.v1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MetadataStore.Builder

getMetadataStoreId()

public String getMetadataStoreId()

The {metadatastore} portion of the resource name with the format: projects/{project}/locations/{location}/metadataStores/{metadatastore} If not provided, the MetadataStore's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are /a-z-/. Must be unique across all MetadataStores in the parent Location. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting MetadataStore.)

string metadata_store_id = 3;

Returns
Type Description
String

The metadataStoreId.

getMetadataStoreIdBytes()

public ByteString getMetadataStoreIdBytes()

The {metadatastore} portion of the resource name with the format: projects/{project}/locations/{location}/metadataStores/{metadatastore} If not provided, the MetadataStore's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are /a-z-/. Must be unique across all MetadataStores in the parent Location. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting MetadataStore.)

string metadata_store_id = 3;

Returns
Type Description
ByteString

The bytes for metadataStoreId.

getMetadataStoreOrBuilder()

public MetadataStoreOrBuilder getMetadataStoreOrBuilder()

Required. The MetadataStore to create.

.google.cloud.aiplatform.v1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MetadataStoreOrBuilder

getParent()

public String getParent()

Required. The resource name of the Location where the MetadataStore should be created. Format: projects/{project}/locations/{location}/

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the Location where the MetadataStore should be created. Format: projects/{project}/locations/{location}/

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasMetadataStore()

public boolean hasMetadataStore()

Required. The MetadataStore to create.

.google.cloud.aiplatform.v1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the metadataStore field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateMetadataStoreRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetadataStore(MetadataStore value)

public CreateMetadataStoreRequest.Builder mergeMetadataStore(MetadataStore value)

Required. The MetadataStore to create.

.google.cloud.aiplatform.v1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MetadataStore
Returns
Type Description
CreateMetadataStoreRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetadataStore(MetadataStore value)

public CreateMetadataStoreRequest.Builder setMetadataStore(MetadataStore value)

Required. The MetadataStore to create.

.google.cloud.aiplatform.v1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MetadataStore
Returns
Type Description
CreateMetadataStoreRequest.Builder

setMetadataStore(MetadataStore.Builder builderForValue)

public CreateMetadataStoreRequest.Builder setMetadataStore(MetadataStore.Builder builderForValue)

Required. The MetadataStore to create.

.google.cloud.aiplatform.v1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];

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

setMetadataStoreId(String value)

public CreateMetadataStoreRequest.Builder setMetadataStoreId(String value)

The {metadatastore} portion of the resource name with the format: projects/{project}/locations/{location}/metadataStores/{metadatastore} If not provided, the MetadataStore's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are /a-z-/. Must be unique across all MetadataStores in the parent Location. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting MetadataStore.)

string metadata_store_id = 3;

Parameter
Name Description
value String

The metadataStoreId to set.

Returns
Type Description
CreateMetadataStoreRequest.Builder

This builder for chaining.

setMetadataStoreIdBytes(ByteString value)

public CreateMetadataStoreRequest.Builder setMetadataStoreIdBytes(ByteString value)

The {metadatastore} portion of the resource name with the format: projects/{project}/locations/{location}/metadataStores/{metadatastore} If not provided, the MetadataStore's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are /a-z-/. Must be unique across all MetadataStores in the parent Location. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting MetadataStore.)

string metadata_store_id = 3;

Parameter
Name Description
value ByteString

The bytes for metadataStoreId to set.

Returns
Type Description
CreateMetadataStoreRequest.Builder

This builder for chaining.

setParent(String value)

public CreateMetadataStoreRequest.Builder setParent(String value)

Required. The resource name of the Location where the MetadataStore should be created. Format: projects/{project}/locations/{location}/

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateMetadataStoreRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateMetadataStoreRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the Location where the MetadataStore should be created. Format: projects/{project}/locations/{location}/

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateMetadataStoreRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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