Class ExportModelRequest.OutputConfig (3.31.0)

public static final class ExportModelRequest.OutputConfig extends GeneratedMessageV3 implements ExportModelRequest.OutputConfigOrBuilder

Output configuration for the Model export.

Protobuf type google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ExportModelRequest.OutputConfig

Static Fields

ARTIFACT_DESTINATION_FIELD_NUMBER

public static final int ARTIFACT_DESTINATION_FIELD_NUMBER
Field Value
TypeDescription
int

EXPORT_FORMAT_ID_FIELD_NUMBER

public static final int EXPORT_FORMAT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

IMAGE_DESTINATION_FIELD_NUMBER

public static final int IMAGE_DESTINATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ExportModelRequest.OutputConfig getDefaultInstance()
Returns
TypeDescription
ExportModelRequest.OutputConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ExportModelRequest.OutputConfig.Builder newBuilder()
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder

newBuilder(ExportModelRequest.OutputConfig prototype)

public static ExportModelRequest.OutputConfig.Builder newBuilder(ExportModelRequest.OutputConfig prototype)
Parameter
NameDescription
prototypeExportModelRequest.OutputConfig
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder

parseDelimitedFrom(InputStream input)

public static ExportModelRequest.OutputConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExportModelRequest.OutputConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportModelRequest.OutputConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportModelRequest.OutputConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ExportModelRequest.OutputConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ExportModelRequest.OutputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExportModelRequest.OutputConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportModelRequest.OutputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExportModelRequest.OutputConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ExportModelRequest.OutputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExportModelRequest.OutputConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportModelRequest.OutputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExportModelRequest.OutputConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ExportModelRequest.OutputConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportModelRequest.OutputConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportModelRequest.OutputConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ExportModelRequest.OutputConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExportModelRequest.OutputConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportModelRequest.OutputConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportModelRequest.OutputConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ExportModelRequest.OutputConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ExportModelRequest.OutputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExportModelRequest.OutputConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportModelRequest.OutputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ExportModelRequest.OutputConfig> parser()
Returns
TypeDescription
Parser<OutputConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

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;

Returns
TypeDescription
GcsDestination

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;

Returns
TypeDescription
GcsDestinationOrBuilder

getDefaultInstanceForType()

public ExportModelRequest.OutputConfig getDefaultInstanceForType()
Returns
TypeDescription
ExportModelRequest.OutputConfig

getExportFormatId()

public String getExportFormatId()

The ID of the format in which the Model must be exported. Each Model lists the export formats it supports. 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
TypeDescription
String

The exportFormatId.

getExportFormatIdBytes()

public ByteString getExportFormatIdBytes()

The ID of the format in which the Model must be exported. Each Model lists the export formats it supports. 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
TypeDescription
ByteString

The bytes for exportFormatId.

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;

Returns
TypeDescription
ContainerRegistryDestination

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;

Returns
TypeDescription
ContainerRegistryDestinationOrBuilder

getParserForType()

public Parser<ExportModelRequest.OutputConfig> getParserForType()
Returns
TypeDescription
Parser<OutputConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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;

Returns
TypeDescription
boolean

Whether the artifactDestination field is set.

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;

Returns
TypeDescription
boolean

Whether the imageDestination field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ExportModelRequest.OutputConfig.Builder newBuilderForType()
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExportModelRequest.OutputConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ExportModelRequest.OutputConfig.Builder toBuilder()
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException