public static final class CreateMetadataStoreRequest.Builder extends GeneratedMessageV3.Builder<CreateMetadataStoreRequest.Builder> implements CreateMetadataStoreRequestOrBuilder
Request message for MetadataService.CreateMetadataStore.
Protobuf type google.cloud.aiplatform.v1beta1.CreateMetadataStoreRequest
Methods
public CreateMetadataStoreRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateMetadataStoreRequest build()
Returns
public CreateMetadataStoreRequest buildPartial()
Returns
public CreateMetadataStoreRequest.Builder clear()
Returns
Overrides
public CreateMetadataStoreRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CreateMetadataStoreRequest.Builder clearMetadataStore()
Required. The MetadataStore to create.
.google.cloud.aiplatform.v1beta1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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
public CreateMetadataStoreRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public CreateMetadataStoreRequest.Builder clone()
Returns
Overrides
public CreateMetadataStoreRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public MetadataStore getMetadataStore()
Required. The MetadataStore to create.
.google.cloud.aiplatform.v1beta1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public MetadataStore.Builder getMetadataStoreBuilder()
Required. The MetadataStore to create.
.google.cloud.aiplatform.v1beta1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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.
|
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.
|
public MetadataStoreOrBuilder getMetadataStoreOrBuilder()
Required. The MetadataStore to create.
.google.cloud.aiplatform.v1beta1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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.
|
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
public boolean hasMetadataStore()
Required. The MetadataStore to create.
.google.cloud.aiplatform.v1beta1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the metadataStore field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateMetadataStoreRequest.Builder mergeFrom(CreateMetadataStoreRequest other)
Parameter
Returns
public CreateMetadataStoreRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateMetadataStoreRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public CreateMetadataStoreRequest.Builder mergeMetadataStore(MetadataStore value)
Required. The MetadataStore to create.
.google.cloud.aiplatform.v1beta1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public final CreateMetadataStoreRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CreateMetadataStoreRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateMetadataStoreRequest.Builder setMetadataStore(MetadataStore value)
Required. The MetadataStore to create.
.google.cloud.aiplatform.v1beta1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateMetadataStoreRequest.Builder setMetadataStore(MetadataStore.Builder builderForValue)
Required. The MetadataStore to create.
.google.cloud.aiplatform.v1beta1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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
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
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
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
public CreateMetadataStoreRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CreateMetadataStoreRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides