Class MetadataSchema (3.42.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
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

SCHEMA_FIELD_NUMBER

public static final int SCHEMA_FIELD_NUMBER
Field Value
Type Description
int

SCHEMA_TYPE_FIELD_NUMBER

public static final int SCHEMA_TYPE_FIELD_NUMBER
Field Value
Type Description
int

SCHEMA_VERSION_FIELD_NUMBER

public static final int SCHEMA_VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MetadataSchema getDefaultInstance()
Returns
Type Description
MetadataSchema

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static MetadataSchema.Builder newBuilder()
Returns
Type Description
MetadataSchema.Builder

newBuilder(MetadataSchema prototype)

public static MetadataSchema.Builder newBuilder(MetadataSchema prototype)
Parameter
Name Description
prototype MetadataSchema
Returns
Type Description
MetadataSchema.Builder

parseDelimitedFrom(InputStream input)

public static MetadataSchema parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MetadataSchema
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MetadataSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataSchema
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MetadataSchema parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MetadataSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MetadataSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MetadataSchema parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MetadataSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MetadataSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MetadataSchema parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MetadataSchema
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MetadataSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataSchema
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MetadataSchema parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MetadataSchema
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MetadataSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataSchema
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MetadataSchema parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MetadataSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MetadataSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataSchema
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MetadataSchema> parser()
Returns
Type Description
Parser<MetadataSchema>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public MetadataSchema getDefaultInstanceForType()
Returns
Type Description
MetadataSchema

getDescription()

public String getDescription()

Description of the Metadata Schema

string description = 6;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the Metadata Schema

string description = 6;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<MetadataSchema> getParserForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for schemaVersion.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Type Description
boolean

Whether the createTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MetadataSchema.Builder newBuilderForType()
Returns
Type Description
MetadataSchema.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MetadataSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MetadataSchema.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MetadataSchema.Builder toBuilder()
Returns
Type Description
MetadataSchema.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException