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.v1beta1.ExportModelRequest.OutputConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
public ExportModelRequest.OutputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ExportModelRequest.OutputConfig build()
public ExportModelRequest.OutputConfig buildPartial()
public ExportModelRequest.OutputConfig.Builder clear()
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.v1beta1.GcsDestination artifact_destination = 3;
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;
public ExportModelRequest.OutputConfig.Builder clearField(Descriptors.FieldDescriptor field)
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.v1beta1.ContainerRegistryDestination image_destination = 4;
public ExportModelRequest.OutputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ExportModelRequest.OutputConfig.Builder clone()
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;
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.v1beta1.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.v1beta1.GcsDestination artifact_destination = 3;
public ExportModelRequest.OutputConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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.v1beta1.ContainerRegistryDestination image_destination = 4;
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.v1beta1.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.v1beta1.ContainerRegistryDestination image_destination = 4;
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
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.v1beta1.GcsDestination artifact_destination = 3;
public ExportModelRequest.OutputConfig.Builder mergeFrom(ExportModelRequest.OutputConfig other)
public ExportModelRequest.OutputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ExportModelRequest.OutputConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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.v1beta1.ContainerRegistryDestination image_destination = 4;
public final ExportModelRequest.OutputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.v1beta1.GcsDestination artifact_destination = 3;
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.v1beta1.GcsDestination artifact_destination = 3;
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.
|
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.
|
public ExportModelRequest.OutputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.v1beta1.ContainerRegistryDestination image_destination = 4;
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.v1beta1.ContainerRegistryDestination image_destination = 4;
public ExportModelRequest.OutputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ExportModelRequest.OutputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides