Package com.google.cloud.aiplatform.v1
Interface MetadataSchemaOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MetadataSchema,MetadataSchema.Builder
@Generated
public interface MetadataSchemaOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Description of the Metadata Schemacom.google.protobuf.ByteStringDescription of the Metadata SchemagetName()Output only.com.google.protobuf.ByteStringOutput only.Required.com.google.protobuf.ByteStringRequired.The type of the MetadataSchema.intThe type of the MetadataSchema.The version of the MetadataSchema.com.google.protobuf.ByteStringThe version of the MetadataSchema.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.v1.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.v1.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.
-