public static final class CreateMetadataSchemaRequest.Builder extends GeneratedMessageV3.Builder<CreateMetadataSchemaRequest.Builder> implements CreateMetadataSchemaRequestOrBuilder
Request message for
MetadataService.CreateMetadataSchema.
Protobuf type google.cloud.aiplatform.v1.CreateMetadataSchemaRequest
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 CreateMetadataSchemaRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateMetadataSchemaRequest build()
public CreateMetadataSchemaRequest buildPartial()
public CreateMetadataSchemaRequest.Builder clear()
Overrides
public CreateMetadataSchemaRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateMetadataSchemaRequest.Builder clearMetadataSchema()
Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
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;
public CreateMetadataSchemaRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
public CreateMetadataSchemaRequest.Builder clone()
Overrides
public CreateMetadataSchemaRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public MetadataSchema getMetadataSchema()
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 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.v1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
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 |
Type |
Description |
ByteString |
The bytes for parent.
|
public boolean hasMetadataSchema()
Required. The MetadataSchema to create.
.google.cloud.aiplatform.v1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the metadataSchema field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CreateMetadataSchemaRequest.Builder mergeFrom(CreateMetadataSchemaRequest other)
public CreateMetadataSchemaRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateMetadataSchemaRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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 final CreateMetadataSchemaRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CreateMetadataSchemaRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public 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 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.
|
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.
|
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.
|
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.
|
public CreateMetadataSchemaRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final CreateMetadataSchemaRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides