public static final class ExportModelRequest.OutputConfig extends GeneratedMessageV3 implements ExportModelRequest.OutputConfigOrBuilder
Output configuration for the Model export.
Protobuf type google.cloud.aiplatform.v1beta1.ExportModelRequest.OutputConfig
Static Fields
public static final int ARTIFACT_DESTINATION_FIELD_NUMBER
Field Value
public static final int EXPORT_FORMAT_ID_FIELD_NUMBER
Field Value
public static final int IMAGE_DESTINATION_FIELD_NUMBER
Field Value
Static Methods
public static ExportModelRequest.OutputConfig getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ExportModelRequest.OutputConfig.Builder newBuilder()
Returns
public static ExportModelRequest.OutputConfig.Builder newBuilder(ExportModelRequest.OutputConfig prototype)
Parameter
Returns
public static ExportModelRequest.OutputConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ExportModelRequest.OutputConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExportModelRequest.OutputConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ExportModelRequest.OutputConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExportModelRequest.OutputConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ExportModelRequest.OutputConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExportModelRequest.OutputConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ExportModelRequest.OutputConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExportModelRequest.OutputConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ExportModelRequest.OutputConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExportModelRequest.OutputConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ExportModelRequest.OutputConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ExportModelRequest.OutputConfig> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
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;
Returns
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;
Returns
public ExportModelRequest.OutputConfig getDefaultInstanceForType()
Returns
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
Type | Description |
String | The exportFormatId.
|
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
Type | Description |
ByteString | The bytes for exportFormatId.
|
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;
Returns
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;
Returns
public Parser<ExportModelRequest.OutputConfig> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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;
Returns
Type | Description |
boolean | Whether the artifactDestination field is set.
|
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;
Returns
Type | Description |
boolean | Whether the imageDestination field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ExportModelRequest.OutputConfig.Builder newBuilderForType()
Returns
protected ExportModelRequest.OutputConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ExportModelRequest.OutputConfig.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions