Class ArtifactTypeSchema.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ArtifactTypeSchema.Builder>
com.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.Builder
- All Implemented Interfaces:
ArtifactTypeSchemaOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ArtifactTypeSchema
public static final class ArtifactTypeSchema.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ArtifactTypeSchema.Builder>
implements ArtifactTypeSchemaOrBuilder
The definition of a artifact type in MLMD.Protobuf type
google.cloud.aiplatform.v1beta1.ArtifactTypeSchema-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Contains a raw YAML string, describing the format of the properties of the type.The name of the type.Deprecated.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.schema_uri is deprecated.The schema version of the artifact.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorContains a raw YAML string, describing the format of the properties of the type.com.google.protobuf.ByteStringContains a raw YAML string, describing the format of the properties of the type.The name of the type.com.google.protobuf.ByteStringThe name of the type.Deprecated.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.schema_uri is deprecated.com.google.protobuf.ByteStringDeprecated.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.schema_uri is deprecated.The schema version of the artifact.com.google.protobuf.ByteStringThe schema version of the artifact.booleanContains a raw YAML string, describing the format of the properties of the type.booleanThe name of the type.booleanDeprecated.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.schema_uri is deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ArtifactTypeSchema other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setInstanceSchema(String value) Contains a raw YAML string, describing the format of the properties of the type.setInstanceSchemaBytes(com.google.protobuf.ByteString value) Contains a raw YAML string, describing the format of the properties of the type.setSchemaTitle(String value) The name of the type.setSchemaTitleBytes(com.google.protobuf.ByteString value) The name of the type.setSchemaUri(String value) Deprecated.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.schema_uri is deprecated.setSchemaUriBytes(com.google.protobuf.ByteString value) Deprecated.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.schema_uri is deprecated.setSchemaVersion(String value) The schema version of the artifact.setSchemaVersionBytes(com.google.protobuf.ByteString value) The schema version of the artifact.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ArtifactTypeSchema.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ArtifactTypeSchema.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ArtifactTypeSchema.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ArtifactTypeSchema.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ArtifactTypeSchema.Builder>
-
mergeFrom
public ArtifactTypeSchema.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ArtifactTypeSchema.Builder>- Throws:
IOException
-
getKindCase
- Specified by:
getKindCasein interfaceArtifactTypeSchemaOrBuilder
-
clearKind
-
hasSchemaTitle
public boolean hasSchemaTitle()The name of the type. The format of the title must be: `<namespace>.<title>`. Examples: - `aiplatform.Model` - `acme.CustomModel` When this field is set, the type must be pre-registered in the MLMD store.
string schema_title = 1;- Specified by:
hasSchemaTitlein interfaceArtifactTypeSchemaOrBuilder- Returns:
- Whether the schemaTitle field is set.
-
getSchemaTitle
The name of the type. The format of the title must be: `<namespace>.<title>`. Examples: - `aiplatform.Model` - `acme.CustomModel` When this field is set, the type must be pre-registered in the MLMD store.
string schema_title = 1;- Specified by:
getSchemaTitlein interfaceArtifactTypeSchemaOrBuilder- Returns:
- The schemaTitle.
-
getSchemaTitleBytes
public com.google.protobuf.ByteString getSchemaTitleBytes()The name of the type. The format of the title must be: `<namespace>.<title>`. Examples: - `aiplatform.Model` - `acme.CustomModel` When this field is set, the type must be pre-registered in the MLMD store.
string schema_title = 1;- Specified by:
getSchemaTitleBytesin interfaceArtifactTypeSchemaOrBuilder- Returns:
- The bytes for schemaTitle.
-
setSchemaTitle
The name of the type. The format of the title must be: `<namespace>.<title>`. Examples: - `aiplatform.Model` - `acme.CustomModel` When this field is set, the type must be pre-registered in the MLMD store.
string schema_title = 1;- Parameters:
value- The schemaTitle to set.- Returns:
- This builder for chaining.
-
clearSchemaTitle
The name of the type. The format of the title must be: `<namespace>.<title>`. Examples: - `aiplatform.Model` - `acme.CustomModel` When this field is set, the type must be pre-registered in the MLMD store.
string schema_title = 1;- Returns:
- This builder for chaining.
-
setSchemaTitleBytes
The name of the type. The format of the title must be: `<namespace>.<title>`. Examples: - `aiplatform.Model` - `acme.CustomModel` When this field is set, the type must be pre-registered in the MLMD store.
string schema_title = 1;- Parameters:
value- The bytes for schemaTitle to set.- Returns:
- This builder for chaining.
-
hasSchemaUri
Deprecated.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.schema_uri is deprecated. See google/cloud/aiplatform/v1beta1/ui_pipeline_spec.proto;l=47Points to a YAML file stored on Cloud Storage describing the format. Deprecated. Use [PipelineArtifactTypeSchema.schema_title][] or [PipelineArtifactTypeSchema.instance_schema][] instead.
string schema_uri = 2 [deprecated = true];- Specified by:
hasSchemaUriin interfaceArtifactTypeSchemaOrBuilder- Returns:
- Whether the schemaUri field is set.
-
getSchemaUri
Deprecated.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.schema_uri is deprecated. See google/cloud/aiplatform/v1beta1/ui_pipeline_spec.proto;l=47Points to a YAML file stored on Cloud Storage describing the format. Deprecated. Use [PipelineArtifactTypeSchema.schema_title][] or [PipelineArtifactTypeSchema.instance_schema][] instead.
string schema_uri = 2 [deprecated = true];- Specified by:
getSchemaUriin interfaceArtifactTypeSchemaOrBuilder- Returns:
- The schemaUri.
-
getSchemaUriBytes
Deprecated.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.schema_uri is deprecated. See google/cloud/aiplatform/v1beta1/ui_pipeline_spec.proto;l=47Points to a YAML file stored on Cloud Storage describing the format. Deprecated. Use [PipelineArtifactTypeSchema.schema_title][] or [PipelineArtifactTypeSchema.instance_schema][] instead.
string schema_uri = 2 [deprecated = true];- Specified by:
getSchemaUriBytesin interfaceArtifactTypeSchemaOrBuilder- Returns:
- The bytes for schemaUri.
-
setSchemaUri
Deprecated.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.schema_uri is deprecated. See google/cloud/aiplatform/v1beta1/ui_pipeline_spec.proto;l=47Points to a YAML file stored on Cloud Storage describing the format. Deprecated. Use [PipelineArtifactTypeSchema.schema_title][] or [PipelineArtifactTypeSchema.instance_schema][] instead.
string schema_uri = 2 [deprecated = true];- Parameters:
value- The schemaUri to set.- Returns:
- This builder for chaining.
-
clearSchemaUri
Deprecated.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.schema_uri is deprecated. See google/cloud/aiplatform/v1beta1/ui_pipeline_spec.proto;l=47Points to a YAML file stored on Cloud Storage describing the format. Deprecated. Use [PipelineArtifactTypeSchema.schema_title][] or [PipelineArtifactTypeSchema.instance_schema][] instead.
string schema_uri = 2 [deprecated = true];- Returns:
- This builder for chaining.
-
setSchemaUriBytes
@Deprecated public ArtifactTypeSchema.Builder setSchemaUriBytes(com.google.protobuf.ByteString value) Deprecated.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.schema_uri is deprecated. See google/cloud/aiplatform/v1beta1/ui_pipeline_spec.proto;l=47Points to a YAML file stored on Cloud Storage describing the format. Deprecated. Use [PipelineArtifactTypeSchema.schema_title][] or [PipelineArtifactTypeSchema.instance_schema][] instead.
string schema_uri = 2 [deprecated = true];- Parameters:
value- The bytes for schemaUri to set.- Returns:
- This builder for chaining.
-
hasInstanceSchema
public boolean hasInstanceSchema()Contains a raw YAML string, describing the format of the properties of the type.
string instance_schema = 3;- Specified by:
hasInstanceSchemain interfaceArtifactTypeSchemaOrBuilder- Returns:
- Whether the instanceSchema field is set.
-
getInstanceSchema
Contains a raw YAML string, describing the format of the properties of the type.
string instance_schema = 3;- Specified by:
getInstanceSchemain interfaceArtifactTypeSchemaOrBuilder- Returns:
- The instanceSchema.
-
getInstanceSchemaBytes
public com.google.protobuf.ByteString getInstanceSchemaBytes()Contains a raw YAML string, describing the format of the properties of the type.
string instance_schema = 3;- Specified by:
getInstanceSchemaBytesin interfaceArtifactTypeSchemaOrBuilder- Returns:
- The bytes for instanceSchema.
-
setInstanceSchema
Contains a raw YAML string, describing the format of the properties of the type.
string instance_schema = 3;- Parameters:
value- The instanceSchema to set.- Returns:
- This builder for chaining.
-
clearInstanceSchema
Contains a raw YAML string, describing the format of the properties of the type.
string instance_schema = 3;- Returns:
- This builder for chaining.
-
setInstanceSchemaBytes
Contains a raw YAML string, describing the format of the properties of the type.
string instance_schema = 3;- Parameters:
value- The bytes for instanceSchema to set.- Returns:
- This builder for chaining.
-
getSchemaVersion
The schema version of the artifact. If the value is not set, it defaults to the latest version in the system.
string schema_version = 4;- Specified by:
getSchemaVersionin interfaceArtifactTypeSchemaOrBuilder- Returns:
- The schemaVersion.
-
getSchemaVersionBytes
public com.google.protobuf.ByteString getSchemaVersionBytes()The schema version of the artifact. If the value is not set, it defaults to the latest version in the system.
string schema_version = 4;- Specified by:
getSchemaVersionBytesin interfaceArtifactTypeSchemaOrBuilder- Returns:
- The bytes for schemaVersion.
-
setSchemaVersion
The schema version of the artifact. If the value is not set, it defaults to the latest version in the system.
string schema_version = 4;- Parameters:
value- The schemaVersion to set.- Returns:
- This builder for chaining.
-
clearSchemaVersion
The schema version of the artifact. If the value is not set, it defaults to the latest version in the system.
string schema_version = 4;- Returns:
- This builder for chaining.
-
setSchemaVersionBytes
The schema version of the artifact. If the value is not set, it defaults to the latest version in the system.
string schema_version = 4;- Parameters:
value- The bytes for schemaVersion to set.- Returns:
- This builder for chaining.
-