Class ExportModelRequest.OutputConfig

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

public static final class ExportModelRequest.OutputConfig extends com.google.protobuf.GeneratedMessage implements ExportModelRequest.OutputConfigOrBuilder
 Output configuration for the Model export.
 
Protobuf type google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig
See Also:
  • Field Details

    • EXPORT_FORMAT_ID_FIELD_NUMBER

      public static final int EXPORT_FORMAT_ID_FIELD_NUMBER
      See Also:
    • ARTIFACT_DESTINATION_FIELD_NUMBER

      public static final int ARTIFACT_DESTINATION_FIELD_NUMBER
      See Also:
    • IMAGE_DESTINATION_FIELD_NUMBER

      public static final int IMAGE_DESTINATION_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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.
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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
    • parseFrom

      public static ExportModelRequest.OutputConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ExportModelRequest.OutputConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ExportModelRequest.OutputConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ExportModelRequest.OutputConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ExportModelRequest.OutputConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ExportModelRequest.OutputConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ExportModelRequest.OutputConfig.Builder newBuilder()
    • newBuilder

    • 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.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ExportModelRequest.OutputConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ExportModelRequest.OutputConfig> parser()
    • 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.GeneratedMessage
    • getDefaultInstanceForType

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