Interface MetadataSchemaOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MetadataSchema,MetadataSchema.Builder
public interface MetadataSchemaOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetDescription()Description of the Metadata Schemacom.google.protobuf.ByteStringgetDescriptionBytes()Description of the Metadata SchemaStringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.StringgetSchema()Required.com.google.protobuf.ByteStringgetSchemaBytes()Required.MetadataSchema.MetadataSchemaTypegetSchemaType()The type of the MetadataSchema.intgetSchemaTypeValue()The type of the MetadataSchema.StringgetSchemaVersion()The version of the MetadataSchema.com.google.protobuf.ByteStringgetSchemaVersionBytes()The version of the MetadataSchema.booleanhasCreateTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The resource name of the MetadataSchema.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the MetadataSchema.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
getSchemaVersion
String getSchemaVersion()
The version of the MetadataSchema. The version's format must match the following regular expression: `^[0-9]+[.][0-9]+[.][0-9]+$`, which would allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.
string schema_version = 2;- Returns:
- The schemaVersion.
-
getSchemaVersionBytes
com.google.protobuf.ByteString getSchemaVersionBytes()
The version of the MetadataSchema. The version's format must match the following regular expression: `^[0-9]+[.][0-9]+[.][0-9]+$`, which would allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.
string schema_version = 2;- Returns:
- The bytes for schemaVersion.
-
getSchema
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](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#schemaObject)
string schema = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The schema.
-
getSchemaBytes
com.google.protobuf.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](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#schemaObject)
string schema = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for schema.
-
getSchemaTypeValue
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:
- The enum numeric value on the wire for schemaType.
-
getSchemaType
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:
- The schemaType.
-
hasCreateTime
boolean hasCreateTime()
Output only. Timestamp when this MetadataSchema was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp when this MetadataSchema was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this MetadataSchema was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDescription
String getDescription()
Description of the Metadata Schema
string description = 6;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Description of the Metadata Schema
string description = 6;- Returns:
- The bytes for description.
-
-