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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ArtifactTypeSchema.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ArtifactTypeSchema.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ArtifactTypeSchema.Builder>
    • getDefaultInstanceForType

      public ArtifactTypeSchema getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ArtifactTypeSchema build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ArtifactTypeSchema buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ArtifactTypeSchema.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ArtifactTypeSchema.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ArtifactTypeSchema.Builder>
      Throws:
      IOException
    • getKindCase

      public ArtifactTypeSchema.KindCase getKindCase()
      Specified by:
      getKindCase in interface ArtifactTypeSchemaOrBuilder
    • clearKind

      public ArtifactTypeSchema.Builder 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:
      hasSchemaTitle in interface ArtifactTypeSchemaOrBuilder
      Returns:
      Whether the schemaTitle field is set.
    • getSchemaTitle

      public String 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:
      getSchemaTitle in interface ArtifactTypeSchemaOrBuilder
      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:
      getSchemaTitleBytes in interface ArtifactTypeSchemaOrBuilder
      Returns:
      The bytes for schemaTitle.
    • setSchemaTitle

      public ArtifactTypeSchema.Builder setSchemaTitle(String value)
       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

      public ArtifactTypeSchema.Builder 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

      public ArtifactTypeSchema.Builder setSchemaTitleBytes(com.google.protobuf.ByteString value)
       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 public boolean hasSchemaUri()
      Deprecated.
      google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.schema_uri is deprecated. See google/cloud/aiplatform/v1beta1/ui_pipeline_spec.proto;l=47
       Points 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:
      hasSchemaUri in interface ArtifactTypeSchemaOrBuilder
      Returns:
      Whether the schemaUri field is set.
    • getSchemaUri

      @Deprecated public String getSchemaUri()
      Deprecated.
      google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.schema_uri is deprecated. See google/cloud/aiplatform/v1beta1/ui_pipeline_spec.proto;l=47
       Points 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:
      getSchemaUri in interface ArtifactTypeSchemaOrBuilder
      Returns:
      The schemaUri.
    • getSchemaUriBytes

      @Deprecated public com.google.protobuf.ByteString getSchemaUriBytes()
      Deprecated.
      google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.schema_uri is deprecated. See google/cloud/aiplatform/v1beta1/ui_pipeline_spec.proto;l=47
       Points 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:
      getSchemaUriBytes in interface ArtifactTypeSchemaOrBuilder
      Returns:
      The bytes for schemaUri.
    • setSchemaUri

      @Deprecated public ArtifactTypeSchema.Builder setSchemaUri(String value)
      Deprecated.
      google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.schema_uri is deprecated. See google/cloud/aiplatform/v1beta1/ui_pipeline_spec.proto;l=47
       Points 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 public ArtifactTypeSchema.Builder clearSchemaUri()
      Deprecated.
      google.cloud.aiplatform.v1beta1.ArtifactTypeSchema.schema_uri is deprecated. See google/cloud/aiplatform/v1beta1/ui_pipeline_spec.proto;l=47
       Points 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=47
       Points 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:
      hasInstanceSchema in interface ArtifactTypeSchemaOrBuilder
      Returns:
      Whether the instanceSchema field is set.
    • getInstanceSchema

      public String getInstanceSchema()
       Contains a raw YAML string, describing the format of
       the properties of the type.
       
      string instance_schema = 3;
      Specified by:
      getInstanceSchema in interface ArtifactTypeSchemaOrBuilder
      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:
      getInstanceSchemaBytes in interface ArtifactTypeSchemaOrBuilder
      Returns:
      The bytes for instanceSchema.
    • setInstanceSchema

      public ArtifactTypeSchema.Builder setInstanceSchema(String value)
       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

      public ArtifactTypeSchema.Builder 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

      public ArtifactTypeSchema.Builder setInstanceSchemaBytes(com.google.protobuf.ByteString value)
       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

      public String 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:
      getSchemaVersion in interface ArtifactTypeSchemaOrBuilder
      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:
      getSchemaVersionBytes in interface ArtifactTypeSchemaOrBuilder
      Returns:
      The bytes for schemaVersion.
    • setSchemaVersion

      public ArtifactTypeSchema.Builder setSchemaVersion(String value)
       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

      public ArtifactTypeSchema.Builder 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

      public ArtifactTypeSchema.Builder setSchemaVersionBytes(com.google.protobuf.ByteString value)
       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.