public static final class CreateMetadataSchemaRequest.Builder extends GeneratedMessageV3.Builder<CreateMetadataSchemaRequest.Builder> implements CreateMetadataSchemaRequestOrBuilder
Request message for MetadataService.CreateMetadataSchema.
Protobuf type google.cloud.aiplatform.v1beta1.CreateMetadataSchemaRequest
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public CreateMetadataSchemaRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateMetadataSchemaRequest build()
Returns
public CreateMetadataSchemaRequest buildPartial()
Returns
public CreateMetadataSchemaRequest.Builder clear()
Returns
Overrides
public CreateMetadataSchemaRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CreateMetadataSchemaRequest.Builder clearMetadataSchema()
Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1beta1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public CreateMetadataSchemaRequest.Builder clearMetadataSchemaId()
The {metadata_schema} portion of the resource name with the format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}
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 MetadataSchemas in the parent Location.
(Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED
if the caller can't view the preexisting MetadataSchema.)
string metadata_schema_id = 3;
Returns
public CreateMetadataSchemaRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public CreateMetadataSchemaRequest.Builder clearParent()
Required. The resource name of the MetadataStore where the MetadataSchema should
be created.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public CreateMetadataSchemaRequest.Builder clone()
Returns
Overrides
public CreateMetadataSchemaRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public MetadataSchema getMetadataSchema()
Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1beta1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public MetadataSchema.Builder getMetadataSchemaBuilder()
Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1beta1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public String getMetadataSchemaId()
The {metadata_schema} portion of the resource name with the format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}
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 MetadataSchemas in the parent Location.
(Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED
if the caller can't view the preexisting MetadataSchema.)
string metadata_schema_id = 3;
Returns
Type | Description |
String | The metadataSchemaId.
|
public ByteString getMetadataSchemaIdBytes()
The {metadata_schema} portion of the resource name with the format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}
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 MetadataSchemas in the parent Location.
(Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED
if the caller can't view the preexisting MetadataSchema.)
string metadata_schema_id = 3;
Returns
Type | Description |
ByteString | The bytes for metadataSchemaId.
|
public MetadataSchemaOrBuilder getMetadataSchemaOrBuilder()
Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1beta1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public String getParent()
Required. The resource name of the MetadataStore where the MetadataSchema should
be created.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}
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 MetadataStore where the MetadataSchema should
be created.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public boolean hasMetadataSchema()
Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1beta1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the metadataSchema field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateMetadataSchemaRequest.Builder mergeFrom(CreateMetadataSchemaRequest other)
Parameter
Returns
public CreateMetadataSchemaRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateMetadataSchemaRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public CreateMetadataSchemaRequest.Builder mergeMetadataSchema(MetadataSchema value)
Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1beta1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public final CreateMetadataSchemaRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CreateMetadataSchemaRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateMetadataSchemaRequest.Builder setMetadataSchema(MetadataSchema value)
Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1beta1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateMetadataSchemaRequest.Builder setMetadataSchema(MetadataSchema.Builder builderForValue)
Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1beta1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateMetadataSchemaRequest.Builder setMetadataSchemaId(String value)
The {metadata_schema} portion of the resource name with the format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}
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 MetadataSchemas in the parent Location.
(Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED
if the caller can't view the preexisting MetadataSchema.)
string metadata_schema_id = 3;
Parameter
Name | Description |
value | String
The metadataSchemaId to set.
|
Returns
public CreateMetadataSchemaRequest.Builder setMetadataSchemaIdBytes(ByteString value)
The {metadata_schema} portion of the resource name with the format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}
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 MetadataSchemas in the parent Location.
(Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED
if the caller can't view the preexisting MetadataSchema.)
string metadata_schema_id = 3;
Parameter
Name | Description |
value | ByteString
The bytes for metadataSchemaId to set.
|
Returns
public CreateMetadataSchemaRequest.Builder setParent(String value)
Required. The resource name of the MetadataStore where the MetadataSchema should
be created.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
public CreateMetadataSchemaRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the MetadataStore where the MetadataSchema should
be created.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}
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 CreateMetadataSchemaRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CreateMetadataSchemaRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides