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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int ARTIFACT_DESTINATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int EXPORT_FORMAT_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int IMAGE_DESTINATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static ExportModelRequest.OutputConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ExportModelRequest.OutputConfig.Builder newBuilder()
public static ExportModelRequest.OutputConfig.Builder newBuilder(ExportModelRequest.OutputConfig prototype)
public static ExportModelRequest.OutputConfig parseDelimitedFrom(InputStream input)
public static ExportModelRequest.OutputConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportModelRequest.OutputConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static ExportModelRequest.OutputConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExportModelRequest.OutputConfig parseFrom(ByteString data)
public static ExportModelRequest.OutputConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExportModelRequest.OutputConfig parseFrom(CodedInputStream input)
public static ExportModelRequest.OutputConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportModelRequest.OutputConfig parseFrom(InputStream input)
public static ExportModelRequest.OutputConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportModelRequest.OutputConfig parseFrom(ByteBuffer data)
public static ExportModelRequest.OutputConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ExportModelRequest.OutputConfig> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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.v1.GcsDestination artifact_destination = 3;
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;
public ExportModelRequest.OutputConfig getDefaultInstanceForType()
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.v1.ContainerRegistryDestination image_destination = 4;
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;
public Parser<ExportModelRequest.OutputConfig> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public final UnknownFieldSet getUnknownFields()
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.v1.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.v1.ContainerRegistryDestination image_destination = 4;
Returns |
---|
Type | Description |
boolean | Whether the imageDestination field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ExportModelRequest.OutputConfig.Builder newBuilderForType()
protected ExportModelRequest.OutputConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public ExportModelRequest.OutputConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides