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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public CreateMetadataStoreRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateMetadataStoreRequest build()
public CreateMetadataStoreRequest buildPartial()
public CreateMetadataStoreRequest.Builder clear()
Overrides
public CreateMetadataStoreRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateMetadataStoreRequest.Builder clearMetadataStore()
Required. The MetadataStore to create.
.google.cloud.aiplatform.v1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];
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;
public CreateMetadataStoreRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
public CreateMetadataStoreRequest.Builder clone()
Overrides
public CreateMetadataStoreRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public MetadataStore getMetadataStore()
Required. The MetadataStore to create.
.google.cloud.aiplatform.v1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];
public MetadataStore.Builder getMetadataStoreBuilder()
Required. The MetadataStore to create.
.google.cloud.aiplatform.v1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];
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.v1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];
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 |
Type |
Description |
ByteString |
The bytes for parent.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CreateMetadataStoreRequest.Builder mergeFrom(CreateMetadataStoreRequest other)
public CreateMetadataStoreRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateMetadataStoreRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public CreateMetadataStoreRequest.Builder mergeMetadataStore(MetadataStore value)
Required. The MetadataStore to create.
.google.cloud.aiplatform.v1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];
public final CreateMetadataStoreRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CreateMetadataStoreRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateMetadataStoreRequest.Builder setMetadataStore(MetadataStore value)
Required. The MetadataStore to create.
.google.cloud.aiplatform.v1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED];
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];
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.
|
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.
|
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.
|
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.
|
public CreateMetadataStoreRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final CreateMetadataStoreRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides