Class UnmanagedContainerModel.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UnmanagedContainerModel.Builder>
com.google.cloud.aiplatform.v1.UnmanagedContainerModel.Builder
All Implemented Interfaces:
UnmanagedContainerModelOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UnmanagedContainerModel

public static final class UnmanagedContainerModel.Builder extends com.google.protobuf.GeneratedMessage.Builder<UnmanagedContainerModel.Builder> implements UnmanagedContainerModelOrBuilder
 Contains model information necessary to perform batch prediction without
 requiring a full model import.
 
Protobuf type google.cloud.aiplatform.v1.UnmanagedContainerModel
  • 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<UnmanagedContainerModel.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<UnmanagedContainerModel.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<UnmanagedContainerModel.Builder>
    • getDefaultInstanceForType

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

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

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

      public UnmanagedContainerModel.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<UnmanagedContainerModel.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<UnmanagedContainerModel.Builder>
    • mergeFrom

      public UnmanagedContainerModel.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<UnmanagedContainerModel.Builder>
      Throws:
      IOException
    • getArtifactUri

      public String getArtifactUri()
       The path to the directory containing the Model artifact and any of its
       supporting files.
       
      string artifact_uri = 1;
      Specified by:
      getArtifactUri in interface UnmanagedContainerModelOrBuilder
      Returns:
      The artifactUri.
    • getArtifactUriBytes

      public com.google.protobuf.ByteString getArtifactUriBytes()
       The path to the directory containing the Model artifact and any of its
       supporting files.
       
      string artifact_uri = 1;
      Specified by:
      getArtifactUriBytes in interface UnmanagedContainerModelOrBuilder
      Returns:
      The bytes for artifactUri.
    • setArtifactUri

      public UnmanagedContainerModel.Builder setArtifactUri(String value)
       The path to the directory containing the Model artifact and any of its
       supporting files.
       
      string artifact_uri = 1;
      Parameters:
      value - The artifactUri to set.
      Returns:
      This builder for chaining.
    • clearArtifactUri

      public UnmanagedContainerModel.Builder clearArtifactUri()
       The path to the directory containing the Model artifact and any of its
       supporting files.
       
      string artifact_uri = 1;
      Returns:
      This builder for chaining.
    • setArtifactUriBytes

      public UnmanagedContainerModel.Builder setArtifactUriBytes(com.google.protobuf.ByteString value)
       The path to the directory containing the Model artifact and any of its
       supporting files.
       
      string artifact_uri = 1;
      Parameters:
      value - The bytes for artifactUri to set.
      Returns:
      This builder for chaining.
    • hasPredictSchemata

      public boolean hasPredictSchemata()
       Contains the schemata used in Model's predictions and explanations
       
      .google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
      Specified by:
      hasPredictSchemata in interface UnmanagedContainerModelOrBuilder
      Returns:
      Whether the predictSchemata field is set.
    • getPredictSchemata

      public PredictSchemata getPredictSchemata()
       Contains the schemata used in Model's predictions and explanations
       
      .google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
      Specified by:
      getPredictSchemata in interface UnmanagedContainerModelOrBuilder
      Returns:
      The predictSchemata.
    • setPredictSchemata

      public UnmanagedContainerModel.Builder setPredictSchemata(PredictSchemata value)
       Contains the schemata used in Model's predictions and explanations
       
      .google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
    • setPredictSchemata

      public UnmanagedContainerModel.Builder setPredictSchemata(PredictSchemata.Builder builderForValue)
       Contains the schemata used in Model's predictions and explanations
       
      .google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
    • mergePredictSchemata

      public UnmanagedContainerModel.Builder mergePredictSchemata(PredictSchemata value)
       Contains the schemata used in Model's predictions and explanations
       
      .google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
    • clearPredictSchemata

      public UnmanagedContainerModel.Builder clearPredictSchemata()
       Contains the schemata used in Model's predictions and explanations
       
      .google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
    • getPredictSchemataBuilder

      public PredictSchemata.Builder getPredictSchemataBuilder()
       Contains the schemata used in Model's predictions and explanations
       
      .google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
    • getPredictSchemataOrBuilder

      public PredictSchemataOrBuilder getPredictSchemataOrBuilder()
       Contains the schemata used in Model's predictions and explanations
       
      .google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
      Specified by:
      getPredictSchemataOrBuilder in interface UnmanagedContainerModelOrBuilder
    • hasContainerSpec

      public boolean hasContainerSpec()
       Input only. The specification of the container that is to be used when
       deploying this Model.
       
      .google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];
      Specified by:
      hasContainerSpec in interface UnmanagedContainerModelOrBuilder
      Returns:
      Whether the containerSpec field is set.
    • getContainerSpec

      public ModelContainerSpec getContainerSpec()
       Input only. The specification of the container that is to be used when
       deploying this Model.
       
      .google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];
      Specified by:
      getContainerSpec in interface UnmanagedContainerModelOrBuilder
      Returns:
      The containerSpec.
    • setContainerSpec

      public UnmanagedContainerModel.Builder setContainerSpec(ModelContainerSpec value)
       Input only. The specification of the container that is to be used when
       deploying this Model.
       
      .google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];
    • setContainerSpec

      public UnmanagedContainerModel.Builder setContainerSpec(ModelContainerSpec.Builder builderForValue)
       Input only. The specification of the container that is to be used when
       deploying this Model.
       
      .google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];
    • mergeContainerSpec

      public UnmanagedContainerModel.Builder mergeContainerSpec(ModelContainerSpec value)
       Input only. The specification of the container that is to be used when
       deploying this Model.
       
      .google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];
    • clearContainerSpec

      public UnmanagedContainerModel.Builder clearContainerSpec()
       Input only. The specification of the container that is to be used when
       deploying this Model.
       
      .google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];
    • getContainerSpecBuilder

      public ModelContainerSpec.Builder getContainerSpecBuilder()
       Input only. The specification of the container that is to be used when
       deploying this Model.
       
      .google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];
    • getContainerSpecOrBuilder

      public ModelContainerSpecOrBuilder getContainerSpecOrBuilder()
       Input only. The specification of the container that is to be used when
       deploying this Model.
       
      .google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];
      Specified by:
      getContainerSpecOrBuilder in interface UnmanagedContainerModelOrBuilder