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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ExportModelRequest.OutputConfigbuild()ExportModelRequest.OutputConfigbuildPartial()ExportModelRequest.OutputConfig.Builderclear()ExportModelRequest.OutputConfig.BuilderclearArtifactDestination()The Cloud Storage location where the Model artifact is to be written to.ExportModelRequest.OutputConfig.BuilderclearExportFormatId()The ID of the format in which the Model must be exported.ExportModelRequest.OutputConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ExportModelRequest.OutputConfig.BuilderclearImageDestination()The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.ExportModelRequest.OutputConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ExportModelRequest.OutputConfig.Builderclone()GcsDestinationgetArtifactDestination()The Cloud Storage location where the Model artifact is to be written to.GcsDestination.BuildergetArtifactDestinationBuilder()The Cloud Storage location where the Model artifact is to be written to.GcsDestinationOrBuildergetArtifactDestinationOrBuilder()The Cloud Storage location where the Model artifact is to be written to.ExportModelRequest.OutputConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetExportFormatId()The ID of the format in which the Model must be exported.com.google.protobuf.ByteStringgetExportFormatIdBytes()The ID of the format in which the Model must be exported.ContainerRegistryDestinationgetImageDestination()The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.ContainerRegistryDestination.BuildergetImageDestinationBuilder()The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.ContainerRegistryDestinationOrBuildergetImageDestinationOrBuilder()The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.booleanhasArtifactDestination()The Cloud Storage location where the Model artifact is to be written to.booleanhasImageDestination()The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ExportModelRequest.OutputConfig.BuildermergeArtifactDestination(GcsDestination value)The Cloud Storage location where the Model artifact is to be written to.ExportModelRequest.OutputConfig.BuildermergeFrom(ExportModelRequest.OutputConfig other)ExportModelRequest.OutputConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ExportModelRequest.OutputConfig.BuildermergeFrom(com.google.protobuf.Message other)ExportModelRequest.OutputConfig.BuildermergeImageDestination(ContainerRegistryDestination value)The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.ExportModelRequest.OutputConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ExportModelRequest.OutputConfig.BuildersetArtifactDestination(GcsDestination value)The Cloud Storage location where the Model artifact is to be written to.ExportModelRequest.OutputConfig.BuildersetArtifactDestination(GcsDestination.Builder builderForValue)The Cloud Storage location where the Model artifact is to be written to.ExportModelRequest.OutputConfig.BuildersetExportFormatId(String value)The ID of the format in which the Model must be exported.ExportModelRequest.OutputConfig.BuildersetExportFormatIdBytes(com.google.protobuf.ByteString value)The ID of the format in which the Model must be exported.ExportModelRequest.OutputConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ExportModelRequest.OutputConfig.BuildersetImageDestination(ContainerRegistryDestination value)The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.ExportModelRequest.OutputConfig.BuildersetImageDestination(ContainerRegistryDestination.Builder builderForValue)The Google Container Registry or Artifact Registry uri where the Model container image will be copied to.ExportModelRequest.OutputConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ExportModelRequest.OutputConfig.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
clear
public 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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
getDefaultInstanceForType
public ExportModelRequest.OutputConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExportModelRequest.OutputConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExportModelRequest.OutputConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExportModelRequest.OutputConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
setField
public ExportModelRequest.OutputConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
clearField
public ExportModelRequest.OutputConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
clearOneof
public ExportModelRequest.OutputConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
addRepeatedField
public ExportModelRequest.OutputConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
mergeFrom
public ExportModelRequest.OutputConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportModelRequest.OutputConfig.Builder>
-
mergeFrom
public ExportModelRequest.OutputConfig.Builder mergeFrom(ExportModelRequest.OutputConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
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
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:
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.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:
getExportFormatIdBytesin 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:
hasArtifactDestinationin 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:
getArtifactDestinationin 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:
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.v1beta1.ContainerRegistryDestination image_destination = 4;- Specified by:
hasImageDestinationin 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:
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.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:
getImageDestinationOrBuilderin interfaceExportModelRequest.OutputConfigOrBuilder
-
setUnknownFields
public final ExportModelRequest.OutputConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
mergeUnknownFields
public final ExportModelRequest.OutputConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportModelRequest.OutputConfig.Builder>
-
-