Class CreateMetadataStoreRequest.Builder (3.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateMetadataStoreRequest build()
Returns
TypeDescription
CreateMetadataStoreRequest

buildPartial()

public CreateMetadataStoreRequest buildPartial()
Returns
TypeDescription
CreateMetadataStoreRequest

clear()

public CreateMetadataStoreRequest.Builder clear()
Returns
TypeDescription
CreateMetadataStoreRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public CreateMetadataStoreRequest.Builder clone()
Returns
TypeDescription
CreateMetadataStoreRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateMetadataStoreRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateMetadataStoreRequest

getDescriptorForType()

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

Whether the metadataStore field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateMetadataStoreRequest other)

public CreateMetadataStoreRequest.Builder mergeFrom(CreateMetadataStoreRequest other)
Parameter
NameDescription
otherCreateMetadataStoreRequest
Returns
TypeDescription
CreateMetadataStoreRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateMetadataStoreRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateMetadataStoreRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The metadataStoreId to set.

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

The bytes for metadataStoreId to set.

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

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateMetadataStoreRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateMetadataStoreRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateMetadataStoreRequest.Builder
Overrides