Class CreateMetadataSchemaRequest (3.4.2)

public final class CreateMetadataSchemaRequest extends GeneratedMessageV3 implements CreateMetadataSchemaRequestOrBuilder

Request message for MetadataService.CreateMetadataSchema.

Protobuf type google.cloud.aiplatform.v1beta1.CreateMetadataSchemaRequest

Static Fields

METADATA_SCHEMA_FIELD_NUMBER

public static final int METADATA_SCHEMA_FIELD_NUMBER
Field Value
TypeDescription
int

METADATA_SCHEMA_ID_FIELD_NUMBER

public static final int METADATA_SCHEMA_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateMetadataSchemaRequest getDefaultInstance()
Returns
TypeDescription
CreateMetadataSchemaRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CreateMetadataSchemaRequest.Builder newBuilder()
Returns
TypeDescription
CreateMetadataSchemaRequest.Builder

newBuilder(CreateMetadataSchemaRequest prototype)

public static CreateMetadataSchemaRequest.Builder newBuilder(CreateMetadataSchemaRequest prototype)
Parameter
NameDescription
prototypeCreateMetadataSchemaRequest
Returns
TypeDescription
CreateMetadataSchemaRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateMetadataSchemaRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateMetadataSchemaRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateMetadataSchemaRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateMetadataSchemaRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateMetadataSchemaRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateMetadataSchemaRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateMetadataSchemaRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateMetadataSchemaRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateMetadataSchemaRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateMetadataSchemaRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateMetadataSchemaRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateMetadataSchemaRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateMetadataSchemaRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateMetadataSchemaRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateMetadataSchemaRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateMetadataSchemaRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateMetadataSchemaRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateMetadataSchemaRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateMetadataSchemaRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateMetadataSchemaRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateMetadataSchemaRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateMetadataSchemaRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateMetadataSchemaRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateMetadataSchemaRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateMetadataSchemaRequest> parser()
Returns
TypeDescription
Parser<CreateMetadataSchemaRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CreateMetadataSchemaRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateMetadataSchemaRequest

getMetadataSchema()

public MetadataSchema getMetadataSchema()

Required. The MetadataSchema to create.

.google.cloud.aiplatform.v1beta1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
MetadataSchema

The metadataSchema.

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<CreateMetadataSchemaRequest> getParserForType()
Returns
TypeDescription
Parser<CreateMetadataSchemaRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasMetadataSchema()

public boolean hasMetadataSchema()

Required. The MetadataSchema to create.

.google.cloud.aiplatform.v1beta1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the metadataSchema field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateMetadataSchemaRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateMetadataSchemaRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateMetadataSchemaRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateMetadataSchemaRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateMetadataSchemaRequest.Builder toBuilder()
Returns
TypeDescription
CreateMetadataSchemaRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException