Class ExportModelRequest.OutputConfig

    • Field Detail

      • EXPORT_FORMAT_ID_FIELD_NUMBER

        public static final int EXPORT_FORMAT_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ARTIFACT_DESTINATION_FIELD_NUMBER

        public static final int ARTIFACT_DESTINATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • IMAGE_DESTINATION_FIELD_NUMBER

        public static final int IMAGE_DESTINATION_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.v1beta1.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.v1beta1.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.
      • 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.v1beta1.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.v1beta1.GcsDestination artifact_destination = 3;
        Specified by:
        getArtifactDestination in interface ExportModelRequest.OutputConfigOrBuilder
        Returns:
        The artifactDestination.
      • 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.v1beta1.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.v1beta1.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.v1beta1.ContainerRegistryDestination image_destination = 4;
        Specified by:
        getImageDestination in interface ExportModelRequest.OutputConfigOrBuilder
        Returns:
        The imageDestination.
      • 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.v1beta1.ContainerRegistryDestination image_destination = 4;
        Specified by:
        getImageDestinationOrBuilder in interface ExportModelRequest.OutputConfigOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static ExportModelRequest.OutputConfig parseFrom​(ByteBuffer data)
                                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ExportModelRequest.OutputConfig parseFrom​(ByteBuffer data,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ExportModelRequest.OutputConfig parseFrom​(com.google.protobuf.ByteString data)
                                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ExportModelRequest.OutputConfig parseFrom​(com.google.protobuf.ByteString data,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ExportModelRequest.OutputConfig parseFrom​(byte[] data)
                                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ExportModelRequest.OutputConfig parseFrom​(byte[] data,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

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

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

        protected ExportModelRequest.OutputConfig.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<ExportModelRequest.OutputConfig> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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