Class ExportModelRequest.OutputConfig.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
      • 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

        public ExportModelRequest.OutputConfig.Builder setImageDestination​(ContainerRegistryDestination value)
         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

        public ExportModelRequest.OutputConfig.Builder setImageDestination​(ContainerRegistryDestination.Builder builderForValue)
         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

        public ExportModelRequest.OutputConfig.Builder mergeImageDestination​(ContainerRegistryDestination value)
         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;