Class ExportModelRequest.OutputConfig.Builder (3.9.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportModelRequest.OutputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder
Overrides

build()

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

buildPartial()

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

clear()

public ExportModelRequest.OutputConfig.Builder clear()
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder
Overrides

clearArtifactDestination()

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;

Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder

clearExportFormatId()

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
TypeDescription
ExportModelRequest.OutputConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExportModelRequest.OutputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder
Overrides

clearImageDestination()

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;

Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportModelRequest.OutputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder
Overrides

clone()

public ExportModelRequest.OutputConfig.Builder clone()
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder
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.v1beta1.GcsDestination artifact_destination = 3;

Returns
TypeDescription
GcsDestination

The artifactDestination.

getArtifactDestinationBuilder()

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;

Returns
TypeDescription
GcsDestination.Builder

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.v1beta1.GcsDestination artifact_destination = 3;

Returns
TypeDescription
GcsDestinationOrBuilder

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.v1beta1.ContainerRegistryDestination image_destination = 4;

Returns
TypeDescription
ContainerRegistryDestination

The imageDestination.

getImageDestinationBuilder()

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;

Returns
TypeDescription
ContainerRegistryDestination.Builder

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.v1beta1.ContainerRegistryDestination image_destination = 4;

Returns
TypeDescription
ContainerRegistryDestinationOrBuilder

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.v1beta1.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.v1beta1.ContainerRegistryDestination image_destination = 4;

Returns
TypeDescription
boolean

Whether the imageDestination field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeArtifactDestination(GcsDestination value)

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;

Parameter
NameDescription
valueGcsDestination
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder

mergeFrom(ExportModelRequest.OutputConfig other)

public ExportModelRequest.OutputConfig.Builder mergeFrom(ExportModelRequest.OutputConfig other)
Parameter
NameDescription
otherExportModelRequest.OutputConfig
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportModelRequest.OutputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExportModelRequest.OutputConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder
Overrides

mergeImageDestination(ContainerRegistryDestination value)

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;

Parameter
NameDescription
valueContainerRegistryDestination
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportModelRequest.OutputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder
Overrides

setArtifactDestination(GcsDestination value)

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;

Parameter
NameDescription
valueGcsDestination
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder

setArtifactDestination(GcsDestination.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueGcsDestination.Builder
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder

setExportFormatId(String value)

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
NameDescription
valueString

The exportFormatId to set.

Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder

This builder for chaining.

setExportFormatIdBytes(ByteString value)

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
NameDescription
valueByteString

The bytes for exportFormatId to set.

Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExportModelRequest.OutputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder
Overrides

setImageDestination(ContainerRegistryDestination value)

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;

Parameter
NameDescription
valueContainerRegistryDestination
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder

setImageDestination(ContainerRegistryDestination.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueContainerRegistryDestination.Builder
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExportModelRequest.OutputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportModelRequest.OutputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExportModelRequest.OutputConfig.Builder
Overrides