Class ExportModelRequest.OutputConfig.Builder

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

public static final class ExportModelRequest.OutputConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExportModelRequest.OutputConfig.Builder> implements ExportModelRequest.OutputConfigOrBuilder
 Output configuration for the Model export.
 
Protobuf type google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig
  • 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<ExportModelRequest.OutputConfig.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<ExportModelRequest.OutputConfig.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<ExportModelRequest.OutputConfig.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public ExportModelRequest.OutputConfig.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<ExportModelRequest.OutputConfig.Builder>
      Throws:
      IOException
    • getExportFormatId

      public String getExportFormatId()
       The ID of the format in which the Model must be exported. Each Model
       lists the [export formats it
       supports][google.cloud.aiplatform.v1.Model.supported_export_formats]. If
       no value is provided here, then the first from the list of the Model's
       supported formats is used by default.
       
      string export_format_id = 1;
      Specified by:
      getExportFormatId in interface ExportModelRequest.OutputConfigOrBuilder
      Returns:
      The exportFormatId.
    • getExportFormatIdBytes

      public com.google.protobuf.ByteString getExportFormatIdBytes()
       The ID of the format in which the Model must be exported. Each Model
       lists the [export formats it
       supports][google.cloud.aiplatform.v1.Model.supported_export_formats]. If
       no value is provided here, then the first from the list of the Model's
       supported formats is used by default.
       
      string export_format_id = 1;
      Specified by:
      getExportFormatIdBytes in interface ExportModelRequest.OutputConfigOrBuilder
      Returns:
      The bytes for exportFormatId.
    • setExportFormatId

      public ExportModelRequest.OutputConfig.Builder setExportFormatId(String value)
       The ID of the format in which the Model must be exported. Each Model
       lists the [export formats it
       supports][google.cloud.aiplatform.v1.Model.supported_export_formats]. If
       no value is provided here, then the first from the list of the Model's
       supported formats is used by default.
       
      string export_format_id = 1;
      Parameters:
      value - The exportFormatId to set.
      Returns:
      This builder for chaining.
    • clearExportFormatId

      public ExportModelRequest.OutputConfig.Builder clearExportFormatId()
       The ID of the format in which the Model must be exported. Each Model
       lists the [export formats it
       supports][google.cloud.aiplatform.v1.Model.supported_export_formats]. If
       no value is provided here, then the first from the list of the Model's
       supported formats is used by default.
       
      string export_format_id = 1;
      Returns:
      This builder for chaining.
    • setExportFormatIdBytes

      public ExportModelRequest.OutputConfig.Builder setExportFormatIdBytes(com.google.protobuf.ByteString value)
       The ID of the format in which the Model must be exported. Each Model
       lists the [export formats it
       supports][google.cloud.aiplatform.v1.Model.supported_export_formats]. If
       no value is provided here, then the first from the list of the Model's
       supported formats is used by default.
       
      string export_format_id = 1;
      Parameters:
      value - The bytes for exportFormatId to set.
      Returns:
      This builder for chaining.
    • hasArtifactDestination

      public boolean hasArtifactDestination()
       The Cloud Storage location where the Model artifact is to be
       written to. Under the directory given as the destination a new one with
       name "`model-export-<model-display-name>-<timestamp-of-export-call>`",
       where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format,
       will be created. Inside, the Model and any of its supporting files
       will be written.
       This field should only be set when the `exportableContent` field of the
       [Model.supported_export_formats] object contains `ARTIFACT`.
       
      .google.cloud.aiplatform.v1.GcsDestination artifact_destination = 3;
      Specified by:
      hasArtifactDestination in interface ExportModelRequest.OutputConfigOrBuilder
      Returns:
      Whether the artifactDestination field is set.
    • getArtifactDestination

      public GcsDestination getArtifactDestination()
       The Cloud Storage location where the Model artifact is to be
       written to. Under the directory given as the destination a new one with
       name "`model-export-<model-display-name>-<timestamp-of-export-call>`",
       where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format,
       will be created. Inside, the Model and any of its supporting files
       will be written.
       This field should only be set when the `exportableContent` field of the
       [Model.supported_export_formats] object contains `ARTIFACT`.
       
      .google.cloud.aiplatform.v1.GcsDestination artifact_destination = 3;
      Specified by:
      getArtifactDestination in interface ExportModelRequest.OutputConfigOrBuilder
      Returns:
      The artifactDestination.
    • setArtifactDestination

      public ExportModelRequest.OutputConfig.Builder setArtifactDestination(GcsDestination value)
       The Cloud Storage location where the Model artifact is to be
       written to. Under the directory given as the destination a new one with
       name "`model-export-<model-display-name>-<timestamp-of-export-call>`",
       where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format,
       will be created. Inside, the Model and any of its supporting files
       will be written.
       This field should only be set when the `exportableContent` field of the
       [Model.supported_export_formats] object contains `ARTIFACT`.
       
      .google.cloud.aiplatform.v1.GcsDestination artifact_destination = 3;
    • setArtifactDestination

      public ExportModelRequest.OutputConfig.Builder setArtifactDestination(GcsDestination.Builder builderForValue)
       The Cloud Storage location where the Model artifact is to be
       written to. Under the directory given as the destination a new one with
       name "`model-export-<model-display-name>-<timestamp-of-export-call>`",
       where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format,
       will be created. Inside, the Model and any of its supporting files
       will be written.
       This field should only be set when the `exportableContent` field of the
       [Model.supported_export_formats] object contains `ARTIFACT`.
       
      .google.cloud.aiplatform.v1.GcsDestination artifact_destination = 3;
    • mergeArtifactDestination

      public ExportModelRequest.OutputConfig.Builder mergeArtifactDestination(GcsDestination value)
       The Cloud Storage location where the Model artifact is to be
       written to. Under the directory given as the destination a new one with
       name "`model-export-<model-display-name>-<timestamp-of-export-call>`",
       where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format,
       will be created. Inside, the Model and any of its supporting files
       will be written.
       This field should only be set when the `exportableContent` field of the
       [Model.supported_export_formats] object contains `ARTIFACT`.
       
      .google.cloud.aiplatform.v1.GcsDestination artifact_destination = 3;
    • clearArtifactDestination

      public ExportModelRequest.OutputConfig.Builder clearArtifactDestination()
       The Cloud Storage location where the Model artifact is to be
       written to. Under the directory given as the destination a new one with
       name "`model-export-<model-display-name>-<timestamp-of-export-call>`",
       where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format,
       will be created. Inside, the Model and any of its supporting files
       will be written.
       This field should only be set when the `exportableContent` field of the
       [Model.supported_export_formats] object contains `ARTIFACT`.
       
      .google.cloud.aiplatform.v1.GcsDestination artifact_destination = 3;
    • getArtifactDestinationBuilder

      public GcsDestination.Builder getArtifactDestinationBuilder()
       The Cloud Storage location where the Model artifact is to be
       written to. Under the directory given as the destination a new one with
       name "`model-export-<model-display-name>-<timestamp-of-export-call>`",
       where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format,
       will be created. Inside, the Model and any of its supporting files
       will be written.
       This field should only be set when the `exportableContent` field of the
       [Model.supported_export_formats] object contains `ARTIFACT`.
       
      .google.cloud.aiplatform.v1.GcsDestination artifact_destination = 3;
    • getArtifactDestinationOrBuilder

      public GcsDestinationOrBuilder getArtifactDestinationOrBuilder()
       The Cloud Storage location where the Model artifact is to be
       written to. Under the directory given as the destination a new one with
       name "`model-export-<model-display-name>-<timestamp-of-export-call>`",
       where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format,
       will be created. Inside, the Model and any of its supporting files
       will be written.
       This field should only be set when the `exportableContent` field of the
       [Model.supported_export_formats] object contains `ARTIFACT`.
       
      .google.cloud.aiplatform.v1.GcsDestination artifact_destination = 3;
      Specified by:
      getArtifactDestinationOrBuilder in interface ExportModelRequest.OutputConfigOrBuilder
    • hasImageDestination

      public boolean hasImageDestination()
       The Google Container Registry or Artifact Registry uri where the
       Model container image will be copied to.
       This field should only be set when the `exportableContent` field of the
       [Model.supported_export_formats] object contains `IMAGE`.
       
      .google.cloud.aiplatform.v1.ContainerRegistryDestination image_destination = 4;
      Specified by:
      hasImageDestination in interface ExportModelRequest.OutputConfigOrBuilder
      Returns:
      Whether the imageDestination field is set.
    • getImageDestination

      public ContainerRegistryDestination getImageDestination()
       The Google Container Registry or Artifact Registry uri where the
       Model container image will be copied to.
       This field should only be set when the `exportableContent` field of the
       [Model.supported_export_formats] object contains `IMAGE`.
       
      .google.cloud.aiplatform.v1.ContainerRegistryDestination image_destination = 4;
      Specified by:
      getImageDestination in interface ExportModelRequest.OutputConfigOrBuilder
      Returns:
      The imageDestination.
    • setImageDestination

       The Google Container Registry or Artifact Registry uri where the
       Model container image will be copied to.
       This field should only be set when the `exportableContent` field of the
       [Model.supported_export_formats] object contains `IMAGE`.
       
      .google.cloud.aiplatform.v1.ContainerRegistryDestination image_destination = 4;
    • setImageDestination

       The Google Container Registry or Artifact Registry uri where the
       Model container image will be copied to.
       This field should only be set when the `exportableContent` field of the
       [Model.supported_export_formats] object contains `IMAGE`.
       
      .google.cloud.aiplatform.v1.ContainerRegistryDestination image_destination = 4;
    • mergeImageDestination

       The Google Container Registry or Artifact Registry uri where the
       Model container image will be copied to.
       This field should only be set when the `exportableContent` field of the
       [Model.supported_export_formats] object contains `IMAGE`.
       
      .google.cloud.aiplatform.v1.ContainerRegistryDestination image_destination = 4;
    • clearImageDestination

      public ExportModelRequest.OutputConfig.Builder clearImageDestination()
       The Google Container Registry or Artifact Registry uri where the
       Model container image will be copied to.
       This field should only be set when the `exportableContent` field of the
       [Model.supported_export_formats] object contains `IMAGE`.
       
      .google.cloud.aiplatform.v1.ContainerRegistryDestination image_destination = 4;
    • getImageDestinationBuilder

      public ContainerRegistryDestination.Builder getImageDestinationBuilder()
       The Google Container Registry or Artifact Registry uri where the
       Model container image will be copied to.
       This field should only be set when the `exportableContent` field of the
       [Model.supported_export_formats] object contains `IMAGE`.
       
      .google.cloud.aiplatform.v1.ContainerRegistryDestination image_destination = 4;
    • getImageDestinationOrBuilder

      public ContainerRegistryDestinationOrBuilder getImageDestinationOrBuilder()
       The Google Container Registry or Artifact Registry uri where the
       Model container image will be copied to.
       This field should only be set when the `exportableContent` field of the
       [Model.supported_export_formats] object contains `IMAGE`.
       
      .google.cloud.aiplatform.v1.ContainerRegistryDestination image_destination = 4;
      Specified by:
      getImageDestinationOrBuilder in interface ExportModelRequest.OutputConfigOrBuilder