Send feedback
Class MetadataSchema (3.52.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.52.0 keyboard_arrow_down
public final class MetadataSchema extends GeneratedMessageV3 implements MetadataSchemaOrBuilder
Instance of a general MetadataSchema.
Protobuf type google.cloud.aiplatform.v1.MetadataSchema
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type
Description
int
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int SCHEMA_FIELD_NUMBER
Field Value
Type
Description
int
public static final int SCHEMA_TYPE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int SCHEMA_VERSION_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static MetadataSchema getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static MetadataSchema . Builder newBuilder ()
public static MetadataSchema . Builder newBuilder ( MetadataSchema prototype )
public static MetadataSchema parseDelimitedFrom ( InputStream input )
public static MetadataSchema parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static MetadataSchema parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static MetadataSchema parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static MetadataSchema parseFrom ( ByteString data )
public static MetadataSchema parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static MetadataSchema parseFrom ( CodedInputStream input )
public static MetadataSchema parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static MetadataSchema parseFrom ( InputStream input )
public static MetadataSchema parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static MetadataSchema parseFrom ( ByteBuffer data )
public static MetadataSchema parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<MetadataSchema> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
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
Type
Description
Timestamp
The createTime.
public TimestampOrBuilder getCreateTimeOrBuilder ()
Output only. Timestamp when this MetadataSchema was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MetadataSchema getDefaultInstanceForType ()
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
Type
Description
ByteString
The bytes for name.
public Parser<MetadataSchema> getParserForType ()
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
Type
Description
ByteString
The bytes for schema.
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;
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
Type
Description
int
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
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public MetadataSchema . Builder newBuilderForType ()
protected MetadataSchema . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public MetadataSchema . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]