public final class MetadataSchema extends GeneratedMessageV3 implements MetadataSchemaOrBuilder
Instance of a general MetadataSchema.
Protobuf type google.cloud.aiplatform.v1.MetadataSchema
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
public static final int NAME_FIELD_NUMBER
Field Value
public static final int SCHEMA_FIELD_NUMBER
Field Value
public static final int SCHEMA_TYPE_FIELD_NUMBER
Field Value
public static final int SCHEMA_VERSION_FIELD_NUMBER
Field Value
Static Methods
public static MetadataSchema getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static MetadataSchema.Builder newBuilder()
Returns
public static MetadataSchema.Builder newBuilder(MetadataSchema prototype)
Parameter
Returns
public static MetadataSchema parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static MetadataSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MetadataSchema parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static MetadataSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MetadataSchema parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static MetadataSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MetadataSchema parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static MetadataSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MetadataSchema parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static MetadataSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MetadataSchema parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static MetadataSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<MetadataSchema> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Timestamp getCreateTime()
Output only. Timestamp when this MetadataSchema was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this MetadataSchema was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public MetadataSchema getDefaultInstanceForType()
Returns
public String getDescription()
Description of the Metadata Schema
string description = 6;
Returns
Type | Description |
String | The description.
|
public ByteString getDescriptionBytes()
Description of the Metadata Schema
string description = 6;
Returns
Type | Description |
ByteString | The bytes for description.
|
Output only. The resource name of the MetadataSchema.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Output only. The resource name of the MetadataSchema.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public Parser<MetadataSchema> getParserForType()
Returns
Overrides
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.
|
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
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.v1.MetadataSchema.MetadataSchemaType schema_type = 4;
Returns
public int getSchemaTypeValue()
The type of the MetadataSchema. This is a property that identifies which
metadata types will use the MetadataSchema.
.google.cloud.aiplatform.v1.MetadataSchema.MetadataSchemaType schema_type = 4;
Returns
Type | Description |
int | The enum numeric value on the wire for schemaType.
|
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.
|
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.
|
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public MetadataSchema.Builder newBuilderForType()
Returns
protected MetadataSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public MetadataSchema.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions