Package com.google.cloud.aiplatform.v1
Class ExportModelRequest.OutputConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExportModelRequest.OutputConfig.Builder>
com.google.cloud.aiplatform.v1.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.GeneratedMessage.Builder<ExportModelRequest.OutputConfig.Builder>
implements ExportModelRequest.OutputConfigOrBuilder
Output configuration for the Model export.Protobuf type
google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The Cloud Storage location where the Model artifact is to be written to.The ID of the format in which the Model must be exported.The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.The Cloud Storage location where the Model artifact is to be written to.The Cloud Storage location where the Model artifact is to be written to.The Cloud Storage location where the Model artifact is to be written to.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe ID of the format in which the Model must be exported.com.google.protobuf.ByteStringThe ID of the format in which the Model must be exported.The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.booleanThe Cloud Storage location where the Model artifact is to be written to.booleanThe Google Container Registry or Artifact Registry uri where the Model container image will be copied to.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe Cloud Storage location where the Model artifact is to be written to.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.The Cloud Storage location where the Model artifact is to be written to.setArtifactDestination(GcsDestination.Builder builderForValue) The Cloud Storage location where the Model artifact is to be written to.setExportFormatId(String value) The ID of the format in which the Model must be exported.setExportFormatIdBytes(com.google.protobuf.ByteString value) The ID of the format in which the Model must be exported.The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.setImageDestination(ContainerRegistryDestination.Builder builderForValue) The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ExportModelRequest.OutputConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ExportModelRequest.OutputConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ExportModelRequest.OutputConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportModelRequest.OutputConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ExportModelRequest.OutputConfig.Builder>
-
mergeFrom
public ExportModelRequest.OutputConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportModelRequest.OutputConfig.Builder>- Throws:
IOException
-
getExportFormatId
The ID of the format in which the Model must be exported. Each Model lists the [export formats it supports][google.cloud.aiplatform.v1.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:
getExportFormatIdin 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.v1.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:
getExportFormatIdBytesin interfaceExportModelRequest.OutputConfigOrBuilder- Returns:
- The bytes for exportFormatId.
-
setExportFormatId
The ID of the format in which the Model must be exported. Each Model lists the [export formats it supports][google.cloud.aiplatform.v1.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
The ID of the format in which the Model must be exported. Each Model lists the [export formats it supports][google.cloud.aiplatform.v1.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.v1.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.v1.GcsDestination artifact_destination = 3;- Specified by:
hasArtifactDestinationin interfaceExportModelRequest.OutputConfigOrBuilder- Returns:
- Whether the artifactDestination field is set.
-
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;- Specified by:
getArtifactDestinationin interfaceExportModelRequest.OutputConfigOrBuilder- Returns:
- The artifactDestination.
-
setArtifactDestination
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; -
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.v1.GcsDestination artifact_destination = 3; -
mergeArtifactDestination
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; -
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; -
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; -
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;- Specified by:
getArtifactDestinationOrBuilderin 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.v1.ContainerRegistryDestination image_destination = 4;- Specified by:
hasImageDestinationin interfaceExportModelRequest.OutputConfigOrBuilder- Returns:
- Whether the imageDestination field is set.
-
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;- Specified by:
getImageDestinationin 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.v1.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.v1.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.v1.ContainerRegistryDestination image_destination = 4; -
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; -
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; -
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;- Specified by:
getImageDestinationOrBuilderin interfaceExportModelRequest.OutputConfigOrBuilder
-