public static final class CreateMetadataSchemaRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateMetadataSchemaRequest.Builder> implements CreateMetadataSchemaRequestOrBuilder
Request message for [MetadataService.CreateMetadataSchema][google.cloud.aiplatform.v1.MetadataService.CreateMetadataSchema].Protobuf type
google.cloud.aiplatform.v1.CreateMetadataSchemaRequest| Modifier and Type | Method and Description |
|---|---|
CreateMetadataSchemaRequest |
build() |
CreateMetadataSchemaRequest |
buildPartial() |
CreateMetadataSchemaRequest.Builder |
clear() |
CreateMetadataSchemaRequest.Builder |
clearMetadataSchema()
Required.
|
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.
|
CreateMetadataSchemaRequest.Builder |
clearParent()
Required.
|
CreateMetadataSchemaRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
MetadataSchema |
getMetadataSchema()
Required.
|
MetadataSchema.Builder |
getMetadataSchemaBuilder()
Required.
|
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.
|
com.google.protobuf.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.
|
MetadataSchemaOrBuilder |
getMetadataSchemaOrBuilder()
Required.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
boolean |
hasMetadataSchema()
Required.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CreateMetadataSchemaRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CreateMetadataSchemaRequest.Builder |
mergeFrom(CreateMetadataSchemaRequest other) |
CreateMetadataSchemaRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
CreateMetadataSchemaRequest.Builder |
mergeMetadataSchema(MetadataSchema value)
Required.
|
CreateMetadataSchemaRequest.Builder |
setMetadataSchema(MetadataSchema.Builder builderForValue)
Required.
|
CreateMetadataSchemaRequest.Builder |
setMetadataSchema(MetadataSchema value)
Required.
|
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.
|
CreateMetadataSchemaRequest.Builder |
setMetadataSchemaIdBytes(com.google.protobuf.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.
|
CreateMetadataSchemaRequest.Builder |
setParent(String value)
Required.
|
CreateMetadataSchemaRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CreateMetadataSchemaRequest.Builder>public CreateMetadataSchemaRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<CreateMetadataSchemaRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CreateMetadataSchemaRequest.Builder>public CreateMetadataSchemaRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CreateMetadataSchemaRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CreateMetadataSchemaRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CreateMetadataSchemaRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateMetadataSchemaRequest.Builder>public CreateMetadataSchemaRequest.Builder mergeFrom(CreateMetadataSchemaRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<CreateMetadataSchemaRequest.Builder>public CreateMetadataSchemaRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateMetadataSchemaRequest.Builder>IOExceptionpublic 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) = { ... }
getParent in interface CreateMetadataSchemaRequestOrBuilderpublic com.google.protobuf.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) = { ... }
getParentBytes in interface CreateMetadataSchemaRequestOrBuilderpublic 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) = { ... }
value - The parent to set.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) = { ... }
public CreateMetadataSchemaRequest.Builder setParentBytes(com.google.protobuf.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) = { ... }
value - The bytes for parent to set.public boolean hasMetadataSchema()
Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
hasMetadataSchema in interface CreateMetadataSchemaRequestOrBuilderpublic MetadataSchema getMetadataSchema()
Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
getMetadataSchema in interface CreateMetadataSchemaRequestOrBuilderpublic CreateMetadataSchemaRequest.Builder setMetadataSchema(MetadataSchema value)
Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateMetadataSchemaRequest.Builder setMetadataSchema(MetadataSchema.Builder builderForValue)
Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateMetadataSchemaRequest.Builder mergeMetadataSchema(MetadataSchema value)
Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateMetadataSchemaRequest.Builder clearMetadataSchema()
Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
public MetadataSchema.Builder getMetadataSchemaBuilder()
Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
public MetadataSchemaOrBuilder getMetadataSchemaOrBuilder()
Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
getMetadataSchemaOrBuilder in interface CreateMetadataSchemaRequestOrBuilderpublic 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][0-9]-/`.
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;getMetadataSchemaId in interface CreateMetadataSchemaRequestOrBuilderpublic com.google.protobuf.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][0-9]-/`.
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;getMetadataSchemaIdBytes in interface CreateMetadataSchemaRequestOrBuilderpublic 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][0-9]-/`.
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;value - The metadataSchemaId to set.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][0-9]-/`.
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;public CreateMetadataSchemaRequest.Builder setMetadataSchemaIdBytes(com.google.protobuf.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][0-9]-/`.
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;value - The bytes for metadataSchemaId to set.Copyright © 2026 Google LLC. All rights reserved.