Class ExportModelRequest.OutputConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
- com.google.cloud.aiplatform.v1beta1.ExportModelRequest.OutputConfig.Builder
-
- All Implemented Interfaces:
ExportModelRequest.OutputConfigOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ExportModelRequest.OutputConfig
public static final class ExportModelRequest.OutputConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder> implements ExportModelRequest.OutputConfigOrBuilder
Output configuration for the Model export.
Protobuf typegoogle.cloud.aiplatform.v1beta1.ExportModelRequest.OutputConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExportModelRequest.OutputConfig.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ExportModelRequest.OutputConfig
build()
ExportModelRequest.OutputConfig
buildPartial()
ExportModelRequest.OutputConfig.Builder
clear()
ExportModelRequest.OutputConfig.Builder
clearArtifactDestination()
The Cloud Storage location where the Model artifact is to be written to.ExportModelRequest.OutputConfig.Builder
clearExportFormatId()
The ID of the format in which the Model must be exported.ExportModelRequest.OutputConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ExportModelRequest.OutputConfig.Builder
clearImageDestination()
The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.ExportModelRequest.OutputConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ExportModelRequest.OutputConfig.Builder
clone()
GcsDestination
getArtifactDestination()
The Cloud Storage location where the Model artifact is to be written to.GcsDestination.Builder
getArtifactDestinationBuilder()
The Cloud Storage location where the Model artifact is to be written to.GcsDestinationOrBuilder
getArtifactDestinationOrBuilder()
The Cloud Storage location where the Model artifact is to be written to.ExportModelRequest.OutputConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getExportFormatId()
The ID of the format in which the Model must be exported.com.google.protobuf.ByteString
getExportFormatIdBytes()
The ID of the format in which the Model must be exported.ContainerRegistryDestination
getImageDestination()
The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.ContainerRegistryDestination.Builder
getImageDestinationBuilder()
The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.ContainerRegistryDestinationOrBuilder
getImageDestinationOrBuilder()
The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.boolean
hasArtifactDestination()
The Cloud Storage location where the Model artifact is to be written to.boolean
hasImageDestination()
The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ExportModelRequest.OutputConfig.Builder
mergeArtifactDestination(GcsDestination value)
The Cloud Storage location where the Model artifact is to be written to.ExportModelRequest.OutputConfig.Builder
mergeFrom(ExportModelRequest.OutputConfig other)
ExportModelRequest.OutputConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ExportModelRequest.OutputConfig.Builder
mergeFrom(com.google.protobuf.Message other)
ExportModelRequest.OutputConfig.Builder
mergeImageDestination(ContainerRegistryDestination value)
The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.ExportModelRequest.OutputConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ExportModelRequest.OutputConfig.Builder
setArtifactDestination(GcsDestination value)
The Cloud Storage location where the Model artifact is to be written to.ExportModelRequest.OutputConfig.Builder
setArtifactDestination(GcsDestination.Builder builderForValue)
The Cloud Storage location where the Model artifact is to be written to.ExportModelRequest.OutputConfig.Builder
setExportFormatId(String value)
The ID of the format in which the Model must be exported.ExportModelRequest.OutputConfig.Builder
setExportFormatIdBytes(com.google.protobuf.ByteString value)
The ID of the format in which the Model must be exported.ExportModelRequest.OutputConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ExportModelRequest.OutputConfig.Builder
setImageDestination(ContainerRegistryDestination value)
The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.ExportModelRequest.OutputConfig.Builder
setImageDestination(ContainerRegistryDestination.Builder builderForValue)
The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.ExportModelRequest.OutputConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ExportModelRequest.OutputConfig.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
clear
public ExportModelRequest.OutputConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
getDefaultInstanceForType
public ExportModelRequest.OutputConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExportModelRequest.OutputConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExportModelRequest.OutputConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExportModelRequest.OutputConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
setField
public ExportModelRequest.OutputConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
clearField
public ExportModelRequest.OutputConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
clearOneof
public ExportModelRequest.OutputConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
setRepeatedField
public ExportModelRequest.OutputConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
addRepeatedField
public ExportModelRequest.OutputConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
mergeFrom
public ExportModelRequest.OutputConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ExportModelRequest.OutputConfig.Builder>
-
mergeFrom
public ExportModelRequest.OutputConfig.Builder mergeFrom(ExportModelRequest.OutputConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
mergeFrom
public ExportModelRequest.OutputConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ExportModelRequest.OutputConfig.Builder>
- Throws:
IOException
-
getExportFormatId
public String getExportFormatId()
The ID of the format in which the Model must be exported. Each Model lists the [export formats it supports][google.cloud.aiplatform.v1beta1.Model.supported_export_formats]. 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;
- Specified by:
getExportFormatId
in interfaceExportModelRequest.OutputConfigOrBuilder
- Returns:
- The exportFormatId.
-
getExportFormatIdBytes
public com.google.protobuf.ByteString getExportFormatIdBytes()
The ID of the format in which the Model must be exported. Each Model lists the [export formats it supports][google.cloud.aiplatform.v1beta1.Model.supported_export_formats]. 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;
- Specified by:
getExportFormatIdBytes
in interfaceExportModelRequest.OutputConfigOrBuilder
- Returns:
- The bytes for exportFormatId.
-
setExportFormatId
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][google.cloud.aiplatform.v1beta1.Model.supported_export_formats]. 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;
- Parameters:
value
- The exportFormatId to set.- Returns:
- This builder for chaining.
-
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][google.cloud.aiplatform.v1beta1.Model.supported_export_formats]. 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:
- This builder for chaining.
-
setExportFormatIdBytes
public ExportModelRequest.OutputConfig.Builder setExportFormatIdBytes(com.google.protobuf.ByteString value)
The ID of the format in which the Model must be exported. Each Model lists the [export formats it supports][google.cloud.aiplatform.v1beta1.Model.supported_export_formats]. 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;
- Parameters:
value
- The bytes for exportFormatId to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
hasArtifactDestination
in interfaceExportModelRequest.OutputConfigOrBuilder
- Returns:
- Whether the artifactDestination field is set.
-
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;
- Specified by:
getArtifactDestination
in interfaceExportModelRequest.OutputConfigOrBuilder
- Returns:
- The artifactDestination.
-
setArtifactDestination
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;
-
setArtifactDestination
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;
-
mergeArtifactDestination
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;
-
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;
-
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;
-
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;
- Specified by:
getArtifactDestinationOrBuilder
in interfaceExportModelRequest.OutputConfigOrBuilder
-
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;
- Specified by:
hasImageDestination
in interfaceExportModelRequest.OutputConfigOrBuilder
- Returns:
- Whether the imageDestination field is set.
-
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;
- Specified by:
getImageDestination
in interfaceExportModelRequest.OutputConfigOrBuilder
- Returns:
- The imageDestination.
-
setImageDestination
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;
-
setImageDestination
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;
-
mergeImageDestination
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;
-
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;
-
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;
-
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;
- Specified by:
getImageDestinationOrBuilder
in interfaceExportModelRequest.OutputConfigOrBuilder
-
setUnknownFields
public final ExportModelRequest.OutputConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
mergeUnknownFields
public final ExportModelRequest.OutputConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
-