Class MetadataSchema (3.31.0)

public final class MetadataSchema extends GeneratedMessageV3 implements MetadataSchemaOrBuilder

Instance of a general MetadataSchema.

Protobuf type google.cloud.aiplatform.v1beta1.MetadataSchema

Static Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SCHEMA_FIELD_NUMBER

public static final int SCHEMA_FIELD_NUMBER
Field Value
TypeDescription
int

SCHEMA_TYPE_FIELD_NUMBER

public static final int SCHEMA_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

SCHEMA_VERSION_FIELD_NUMBER

public static final int SCHEMA_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MetadataSchema getDefaultInstance()
Returns
TypeDescription
MetadataSchema

getDescriptor()

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

newBuilder()

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

newBuilder(MetadataSchema prototype)

public static MetadataSchema.Builder newBuilder(MetadataSchema prototype)
Parameter
NameDescription
prototypeMetadataSchema
Returns
TypeDescription
MetadataSchema.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp when this MetadataSchema was created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when this MetadataSchema was created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public MetadataSchema getDefaultInstanceForType()
Returns
TypeDescription
MetadataSchema

getDescription()

public String getDescription()

Description of the Metadata Schema

string description = 6;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the Metadata Schema

string description = 6;

Returns
TypeDescription
ByteString

The bytes for description.

getName()

public String getName()

Output only. The resource name of the MetadataSchema.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name of the MetadataSchema.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getSchema()

public String getSchema()

Required. The raw YAML string representation of the MetadataSchema. The combination of [MetadataSchema.version] and the schema name given by title in [MetadataSchema.schema] must be unique within a MetadataStore.

The schema is defined as an OpenAPI 3.0.2 MetadataSchema Object

string schema = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The schema.

getSchemaBytes()

public ByteString getSchemaBytes()

Required. The raw YAML string representation of the MetadataSchema. The combination of [MetadataSchema.version] and the schema name given by title in [MetadataSchema.schema] must be unique within a MetadataStore.

The schema is defined as an OpenAPI 3.0.2 MetadataSchema Object

string schema = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for schema.

getSchemaType()

public MetadataSchema.MetadataSchemaType getSchemaType()

The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema.

.google.cloud.aiplatform.v1beta1.MetadataSchema.MetadataSchemaType schema_type = 4;

Returns
TypeDescription
MetadataSchema.MetadataSchemaType

The schemaType.

getSchemaTypeValue()

public int getSchemaTypeValue()

The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema.

.google.cloud.aiplatform.v1beta1.MetadataSchema.MetadataSchemaType schema_type = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for schemaType.

getSchemaVersion()

public String getSchemaVersion()

The version of the MetadataSchema. The version's format must match the following regular expression: ^[0-9]+.+.+$, which would allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.

string schema_version = 2;

Returns
TypeDescription
String

The schemaVersion.

getSchemaVersionBytes()

public ByteString getSchemaVersionBytes()

The version of the MetadataSchema. The version's format must match the following regular expression: ^[0-9]+.+.+$, which would allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.

string schema_version = 2;

Returns
TypeDescription
ByteString

The bytes for schemaVersion.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp when this MetadataSchema was created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime 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 MetadataSchema.Builder newBuilderForType()
Returns
TypeDescription
MetadataSchema.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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