public static final class CreateMetadataSchemaRequest.Builder extends GeneratedMessage.Builder<CreateMetadataSchemaRequest.Builder> implements CreateMetadataSchemaRequestOrBuilderRequest message for MetadataService.CreateMetadataSchema.
Protobuf type google.cloud.aiplatform.v1beta1.CreateMetadataSchemaRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateMetadataSchemaRequest.BuilderImplements
CreateMetadataSchemaRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateMetadataSchemaRequest build()| Returns | |
|---|---|
| Type | Description |
CreateMetadataSchemaRequest |
|
buildPartial()
public CreateMetadataSchemaRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateMetadataSchemaRequest |
|
clear()
public CreateMetadataSchemaRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateMetadataSchemaRequest.Builder |
|
clearMetadataSchema()
public CreateMetadataSchemaRequest.Builder clearMetadataSchema()Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1beta1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateMetadataSchemaRequest.Builder |
|
clearMetadataSchemaId()
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 | |
|---|---|
| Type | Description |
CreateMetadataSchemaRequest.Builder |
This builder for chaining. |
clearParent()
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 | |
|---|---|
| Type | Description |
CreateMetadataSchemaRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateMetadataSchemaRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateMetadataSchemaRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMetadataSchema()
public MetadataSchema getMetadataSchema()Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1beta1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
MetadataSchema |
The metadataSchema. |
getMetadataSchemaBuilder()
public MetadataSchema.Builder getMetadataSchemaBuilder()Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1beta1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
MetadataSchema.Builder |
|
getMetadataSchemaId()
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. |
getMetadataSchemaIdBytes()
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. |
getMetadataSchemaOrBuilder()
public MetadataSchemaOrBuilder getMetadataSchemaOrBuilder()Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1beta1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
MetadataSchemaOrBuilder |
|
getParent()
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. |
getParentBytes()
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasMetadataSchema()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateMetadataSchemaRequest other)
public CreateMetadataSchemaRequest.Builder mergeFrom(CreateMetadataSchemaRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateMetadataSchemaRequest |
| Returns | |
|---|---|
| Type | Description |
CreateMetadataSchemaRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateMetadataSchemaRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateMetadataSchemaRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateMetadataSchemaRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateMetadataSchemaRequest.Builder |
|
mergeMetadataSchema(MetadataSchema value)
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 | |
|---|---|
| Name | Description |
value |
MetadataSchema |
| Returns | |
|---|---|
| Type | Description |
CreateMetadataSchemaRequest.Builder |
|
setMetadataSchema(MetadataSchema value)
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 | |
|---|---|
| Name | Description |
value |
MetadataSchema |
| Returns | |
|---|---|
| Type | Description |
CreateMetadataSchemaRequest.Builder |
|
setMetadataSchema(MetadataSchema.Builder builderForValue)
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 | |
|---|---|
| Name | Description |
builderForValue |
MetadataSchema.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateMetadataSchemaRequest.Builder |
|
setMetadataSchemaId(String value)
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 |
StringThe metadataSchemaId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMetadataSchemaRequest.Builder |
This builder for chaining. |
setMetadataSchemaIdBytes(ByteString value)
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 |
ByteStringThe bytes for metadataSchemaId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMetadataSchemaRequest.Builder |
This builder for chaining. |
setParent(String value)
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 |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMetadataSchemaRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
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 |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMetadataSchemaRequest.Builder |
This builder for chaining. |