public static final class MetadataSchema.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MetadataSchema.Builder> implements MetadataSchemaOrBuilder
Instance of a general MetadataSchema.Protobuf type
google.cloud.aiplatform.v1.MetadataSchema| Modifier and Type | Method and Description |
|---|---|
MetadataSchema.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MetadataSchema |
build() |
MetadataSchema |
buildPartial() |
MetadataSchema.Builder |
clear() |
MetadataSchema.Builder |
clearCreateTime()
Output only.
|
MetadataSchema.Builder |
clearDescription()
Description of the Metadata Schema
|
MetadataSchema.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MetadataSchema.Builder |
clearName()
Output only.
|
MetadataSchema.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MetadataSchema.Builder |
clearSchema()
Required.
|
MetadataSchema.Builder |
clearSchemaType()
The type of the MetadataSchema.
|
MetadataSchema.Builder |
clearSchemaVersion()
The version of the MetadataSchema.
|
MetadataSchema.Builder |
clone() |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
MetadataSchema |
getDefaultInstanceForType() |
String |
getDescription()
Description of the Metadata Schema
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Description of the Metadata Schema
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
String |
getSchema()
Required.
|
com.google.protobuf.ByteString |
getSchemaBytes()
Required.
|
MetadataSchema.MetadataSchemaType |
getSchemaType()
The type of the MetadataSchema.
|
int |
getSchemaTypeValue()
The type of the MetadataSchema.
|
String |
getSchemaVersion()
The version of the MetadataSchema.
|
com.google.protobuf.ByteString |
getSchemaVersionBytes()
The version of the MetadataSchema.
|
boolean |
hasCreateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MetadataSchema.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
MetadataSchema.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetadataSchema.Builder |
mergeFrom(com.google.protobuf.Message other) |
MetadataSchema.Builder |
mergeFrom(MetadataSchema other) |
MetadataSchema.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MetadataSchema.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
MetadataSchema.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
MetadataSchema.Builder |
setDescription(String value)
Description of the Metadata Schema
|
MetadataSchema.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the Metadata Schema
|
MetadataSchema.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MetadataSchema.Builder |
setName(String value)
Output only.
|
MetadataSchema.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
MetadataSchema.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MetadataSchema.Builder |
setSchema(String value)
Required.
|
MetadataSchema.Builder |
setSchemaBytes(com.google.protobuf.ByteString value)
Required.
|
MetadataSchema.Builder |
setSchemaType(MetadataSchema.MetadataSchemaType value)
The type of the MetadataSchema.
|
MetadataSchema.Builder |
setSchemaTypeValue(int value)
The type of the MetadataSchema.
|
MetadataSchema.Builder |
setSchemaVersion(String value)
The version of the MetadataSchema.
|
MetadataSchema.Builder |
setSchemaVersionBytes(com.google.protobuf.ByteString value)
The version of the MetadataSchema.
|
MetadataSchema.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MetadataSchema.Builder>public MetadataSchema.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MetadataSchema.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MetadataSchema.Builder>public MetadataSchema getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MetadataSchema build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MetadataSchema buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MetadataSchema.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MetadataSchema.Builder>public MetadataSchema.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MetadataSchema.Builder>public MetadataSchema.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MetadataSchema.Builder>public MetadataSchema.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MetadataSchema.Builder>public MetadataSchema.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MetadataSchema.Builder>public MetadataSchema.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MetadataSchema.Builder>public MetadataSchema.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetadataSchema.Builder>public MetadataSchema.Builder mergeFrom(MetadataSchema other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MetadataSchema.Builder>public MetadataSchema.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetadataSchema.Builder>IOExceptionpublic String getName()
Output only. The resource name of the MetadataSchema.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface MetadataSchemaOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the MetadataSchema.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface MetadataSchemaOrBuilderpublic MetadataSchema.Builder setName(String value)
Output only. The resource name of the MetadataSchema.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public MetadataSchema.Builder clearName()
Output only. The resource name of the MetadataSchema.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public MetadataSchema.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the MetadataSchema.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public 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;getSchemaVersion in interface MetadataSchemaOrBuilderpublic 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;getSchemaVersionBytes in interface MetadataSchemaOrBuilderpublic MetadataSchema.Builder setSchemaVersion(String value)
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;value - The schemaVersion to set.public MetadataSchema.Builder clearSchemaVersion()
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;public MetadataSchema.Builder setSchemaVersionBytes(com.google.protobuf.ByteString value)
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;value - The bytes for schemaVersion to set.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](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#schemaObject)
string schema = 3 [(.google.api.field_behavior) = REQUIRED];getSchema in interface MetadataSchemaOrBuilderpublic 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];getSchemaBytes in interface MetadataSchemaOrBuilderpublic MetadataSchema.Builder setSchema(String value)
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];value - The schema to set.public MetadataSchema.Builder clearSchema()
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];public MetadataSchema.Builder setSchemaBytes(com.google.protobuf.ByteString value)
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];value - The bytes for schema to set.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;getSchemaTypeValue in interface MetadataSchemaOrBuilderpublic MetadataSchema.Builder setSchemaTypeValue(int value)
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;value - The enum numeric value on the wire for schemaType to set.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;getSchemaType in interface MetadataSchemaOrBuilderpublic MetadataSchema.Builder setSchemaType(MetadataSchema.MetadataSchemaType value)
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;value - The schemaType to set.public MetadataSchema.Builder clearSchemaType()
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 boolean hasCreateTime()
Output only. Timestamp when this MetadataSchema was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface MetadataSchemaOrBuilderpublic 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];
getCreateTime in interface MetadataSchemaOrBuilderpublic MetadataSchema.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this MetadataSchema was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MetadataSchema.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when this MetadataSchema was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MetadataSchema.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this MetadataSchema was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MetadataSchema.Builder clearCreateTime()
Output only. Timestamp when this MetadataSchema was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this MetadataSchema was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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];
getCreateTimeOrBuilder in interface MetadataSchemaOrBuilderpublic String getDescription()
Description of the Metadata Schema
string description = 6;getDescription in interface MetadataSchemaOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Description of the Metadata Schema
string description = 6;getDescriptionBytes in interface MetadataSchemaOrBuilderpublic MetadataSchema.Builder setDescription(String value)
Description of the Metadata Schema
string description = 6;value - The description to set.public MetadataSchema.Builder clearDescription()
Description of the Metadata Schema
string description = 6;public MetadataSchema.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the Metadata Schema
string description = 6;value - The bytes for description to set.public final MetadataSchema.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MetadataSchema.Builder>public final MetadataSchema.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MetadataSchema.Builder>Copyright © 2023 Google LLC. All rights reserved.