public static final class ExportModelRequest.OutputConfig.Builder extends GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder> implements ExportModelRequest.OutputConfigOrBuilder
Output configuration for the Model export.
Protobuf type google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ExportModelRequest.OutputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ExportModelRequest.OutputConfig build()
Returns
public ExportModelRequest.OutputConfig buildPartial()
Returns
public ExportModelRequest.OutputConfig.Builder clear()
Returns
Overrides
public ExportModelRequest.OutputConfig.Builder clearArtifactDestination()
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
public ExportModelRequest.OutputConfig.Builder clearExportFormatId()
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
public ExportModelRequest.OutputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ExportModelRequest.OutputConfig.Builder clearImageDestination()
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
public ExportModelRequest.OutputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ExportModelRequest.OutputConfig.Builder clone()
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.v1.GcsDestination artifact_destination = 3;
Returns
public GcsDestination.Builder getArtifactDestinationBuilder()
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
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
public ExportModelRequest.OutputConfig getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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;
Returns
public ContainerRegistryDestination.Builder getImageDestinationBuilder()
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
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
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ExportModelRequest.OutputConfig.Builder mergeArtifactDestination(GcsDestination value)
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;
Parameter
Returns
public ExportModelRequest.OutputConfig.Builder mergeFrom(ExportModelRequest.OutputConfig other)
Parameter
Returns
public ExportModelRequest.OutputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ExportModelRequest.OutputConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public ExportModelRequest.OutputConfig.Builder mergeImageDestination(ContainerRegistryDestination value)
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;
Parameter
Returns
public final ExportModelRequest.OutputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ExportModelRequest.OutputConfig.Builder setArtifactDestination(GcsDestination value)
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;
Parameter
Returns
public ExportModelRequest.OutputConfig.Builder setArtifactDestination(GcsDestination.Builder builderForValue)
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;
Parameter
Returns
public ExportModelRequest.OutputConfig.Builder setExportFormatId(String value)
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;
Parameter
Name | Description |
value | String
The exportFormatId to set.
|
Returns
public ExportModelRequest.OutputConfig.Builder setExportFormatIdBytes(ByteString value)
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;
Parameter
Name | Description |
value | ByteString
The bytes for exportFormatId to set.
|
Returns
public ExportModelRequest.OutputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ExportModelRequest.OutputConfig.Builder setImageDestination(ContainerRegistryDestination value)
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;
Parameter
Returns
public ExportModelRequest.OutputConfig.Builder setImageDestination(ContainerRegistryDestination.Builder builderForValue)
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;
Parameter
Returns
public ExportModelRequest.OutputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ExportModelRequest.OutputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides