Package com.google.cloud.automl.v1beta1
Class ModelExportOutputConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>
-
- com.google.cloud.automl.v1beta1.ModelExportOutputConfig.Builder
-
- All Implemented Interfaces:
ModelExportOutputConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ModelExportOutputConfig
public static final class ModelExportOutputConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder> implements ModelExportOutputConfigOrBuilder
Output configuration for ModelExport Action.
Protobuf typegoogle.cloud.automl.v1beta1.ModelExportOutputConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ModelExportOutputConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ModelExportOutputConfigbuild()ModelExportOutputConfigbuildPartial()ModelExportOutputConfig.Builderclear()ModelExportOutputConfig.BuilderclearDestination()ModelExportOutputConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ModelExportOutputConfig.BuilderclearGcrDestination()The GCR location where model image is to be pushed to.ModelExportOutputConfig.BuilderclearGcsDestination()The Google Cloud Storage location where the model is to be written to.ModelExportOutputConfig.BuilderclearModelFormat()The format in which the model must be exported.ModelExportOutputConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ModelExportOutputConfig.BuilderclearParams()ModelExportOutputConfig.Builderclone()booleancontainsParams(String key)Additional model-type and format specific parameters describing the requirements for the to be exported model files, any string must be up to 25000 characters long.ModelExportOutputConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ModelExportOutputConfig.DestinationCasegetDestinationCase()GcrDestinationgetGcrDestination()The GCR location where model image is to be pushed to.GcrDestination.BuildergetGcrDestinationBuilder()The GCR location where model image is to be pushed to.GcrDestinationOrBuildergetGcrDestinationOrBuilder()The GCR location where model image is to be pushed to.GcsDestinationgetGcsDestination()The Google Cloud Storage location where the model is to be written to.GcsDestination.BuildergetGcsDestinationBuilder()The Google Cloud Storage location where the model is to be written to.GcsDestinationOrBuildergetGcsDestinationOrBuilder()The Google Cloud Storage location where the model is to be written to.StringgetModelFormat()The format in which the model must be exported.com.google.protobuf.ByteStringgetModelFormatBytes()The format in which the model must be exported.Map<String,String>getMutableParams()Deprecated.Map<String,String>getParams()Deprecated.intgetParamsCount()Additional model-type and format specific parameters describing the requirements for the to be exported model files, any string must be up to 25000 characters long.Map<String,String>getParamsMap()Additional model-type and format specific parameters describing the requirements for the to be exported model files, any string must be up to 25000 characters long.StringgetParamsOrDefault(String key, String defaultValue)Additional model-type and format specific parameters describing the requirements for the to be exported model files, any string must be up to 25000 characters long.StringgetParamsOrThrow(String key)Additional model-type and format specific parameters describing the requirements for the to be exported model files, any string must be up to 25000 characters long.booleanhasGcrDestination()The GCR location where model image is to be pushed to.booleanhasGcsDestination()The Google Cloud Storage location where the model is to be written to.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()ModelExportOutputConfig.BuildermergeFrom(ModelExportOutputConfig other)ModelExportOutputConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ModelExportOutputConfig.BuildermergeFrom(com.google.protobuf.Message other)ModelExportOutputConfig.BuildermergeGcrDestination(GcrDestination value)The GCR location where model image is to be pushed to.ModelExportOutputConfig.BuildermergeGcsDestination(GcsDestination value)The Google Cloud Storage location where the model is to be written to.ModelExportOutputConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ModelExportOutputConfig.BuilderputAllParams(Map<String,String> values)Additional model-type and format specific parameters describing the requirements for the to be exported model files, any string must be up to 25000 characters long.ModelExportOutputConfig.BuilderputParams(String key, String value)Additional model-type and format specific parameters describing the requirements for the to be exported model files, any string must be up to 25000 characters long.ModelExportOutputConfig.BuilderremoveParams(String key)Additional model-type and format specific parameters describing the requirements for the to be exported model files, any string must be up to 25000 characters long.ModelExportOutputConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ModelExportOutputConfig.BuildersetGcrDestination(GcrDestination value)The GCR location where model image is to be pushed to.ModelExportOutputConfig.BuildersetGcrDestination(GcrDestination.Builder builderForValue)The GCR location where model image is to be pushed to.ModelExportOutputConfig.BuildersetGcsDestination(GcsDestination value)The Google Cloud Storage location where the model is to be written to.ModelExportOutputConfig.BuildersetGcsDestination(GcsDestination.Builder builderForValue)The Google Cloud Storage location where the model is to be written to.ModelExportOutputConfig.BuildersetModelFormat(String value)The format in which the model must be exported.ModelExportOutputConfig.BuildersetModelFormatBytes(com.google.protobuf.ByteString value)The format in which the model must be exported.ModelExportOutputConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ModelExportOutputConfig.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, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>
-
clear
public ModelExportOutputConfig.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<ModelExportOutputConfig.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<ModelExportOutputConfig.Builder>
-
getDefaultInstanceForType
public ModelExportOutputConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ModelExportOutputConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ModelExportOutputConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ModelExportOutputConfig.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<ModelExportOutputConfig.Builder>
-
setField
public ModelExportOutputConfig.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<ModelExportOutputConfig.Builder>
-
clearField
public ModelExportOutputConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>
-
clearOneof
public ModelExportOutputConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>
-
setRepeatedField
public ModelExportOutputConfig.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<ModelExportOutputConfig.Builder>
-
addRepeatedField
public ModelExportOutputConfig.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<ModelExportOutputConfig.Builder>
-
mergeFrom
public ModelExportOutputConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ModelExportOutputConfig.Builder>
-
mergeFrom
public ModelExportOutputConfig.Builder mergeFrom(ModelExportOutputConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>
-
mergeFrom
public ModelExportOutputConfig.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<ModelExportOutputConfig.Builder>- Throws:
IOException
-
getDestinationCase
public ModelExportOutputConfig.DestinationCase getDestinationCase()
- Specified by:
getDestinationCasein interfaceModelExportOutputConfigOrBuilder
-
clearDestination
public ModelExportOutputConfig.Builder clearDestination()
-
hasGcsDestination
public boolean hasGcsDestination()
The Google Cloud Storage location where the model is to be written to. This location may only be set for the following model formats: "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml". 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.
.google.cloud.automl.v1beta1.GcsDestination gcs_destination = 1;- Specified by:
hasGcsDestinationin interfaceModelExportOutputConfigOrBuilder- Returns:
- Whether the gcsDestination field is set.
-
getGcsDestination
public GcsDestination getGcsDestination()
The Google Cloud Storage location where the model is to be written to. This location may only be set for the following model formats: "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml". 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.
.google.cloud.automl.v1beta1.GcsDestination gcs_destination = 1;- Specified by:
getGcsDestinationin interfaceModelExportOutputConfigOrBuilder- Returns:
- The gcsDestination.
-
setGcsDestination
public ModelExportOutputConfig.Builder setGcsDestination(GcsDestination value)
The Google Cloud Storage location where the model is to be written to. This location may only be set for the following model formats: "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml". 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.
.google.cloud.automl.v1beta1.GcsDestination gcs_destination = 1;
-
setGcsDestination
public ModelExportOutputConfig.Builder setGcsDestination(GcsDestination.Builder builderForValue)
The Google Cloud Storage location where the model is to be written to. This location may only be set for the following model formats: "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml". 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.
.google.cloud.automl.v1beta1.GcsDestination gcs_destination = 1;
-
mergeGcsDestination
public ModelExportOutputConfig.Builder mergeGcsDestination(GcsDestination value)
The Google Cloud Storage location where the model is to be written to. This location may only be set for the following model formats: "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml". 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.
.google.cloud.automl.v1beta1.GcsDestination gcs_destination = 1;
-
clearGcsDestination
public ModelExportOutputConfig.Builder clearGcsDestination()
The Google Cloud Storage location where the model is to be written to. This location may only be set for the following model formats: "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml". 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.
.google.cloud.automl.v1beta1.GcsDestination gcs_destination = 1;
-
getGcsDestinationBuilder
public GcsDestination.Builder getGcsDestinationBuilder()
The Google Cloud Storage location where the model is to be written to. This location may only be set for the following model formats: "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml". 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.
.google.cloud.automl.v1beta1.GcsDestination gcs_destination = 1;
-
getGcsDestinationOrBuilder
public GcsDestinationOrBuilder getGcsDestinationOrBuilder()
The Google Cloud Storage location where the model is to be written to. This location may only be set for the following model formats: "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml". 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.
.google.cloud.automl.v1beta1.GcsDestination gcs_destination = 1;- Specified by:
getGcsDestinationOrBuilderin interfaceModelExportOutputConfigOrBuilder
-
hasGcrDestination
public boolean hasGcrDestination()
The GCR location where model image is to be pushed to. This location may only be set for the following model formats: "docker". The model image will be created under the given URI.
.google.cloud.automl.v1beta1.GcrDestination gcr_destination = 3;- Specified by:
hasGcrDestinationin interfaceModelExportOutputConfigOrBuilder- Returns:
- Whether the gcrDestination field is set.
-
getGcrDestination
public GcrDestination getGcrDestination()
The GCR location where model image is to be pushed to. This location may only be set for the following model formats: "docker". The model image will be created under the given URI.
.google.cloud.automl.v1beta1.GcrDestination gcr_destination = 3;- Specified by:
getGcrDestinationin interfaceModelExportOutputConfigOrBuilder- Returns:
- The gcrDestination.
-
setGcrDestination
public ModelExportOutputConfig.Builder setGcrDestination(GcrDestination value)
The GCR location where model image is to be pushed to. This location may only be set for the following model formats: "docker". The model image will be created under the given URI.
.google.cloud.automl.v1beta1.GcrDestination gcr_destination = 3;
-
setGcrDestination
public ModelExportOutputConfig.Builder setGcrDestination(GcrDestination.Builder builderForValue)
The GCR location where model image is to be pushed to. This location may only be set for the following model formats: "docker". The model image will be created under the given URI.
.google.cloud.automl.v1beta1.GcrDestination gcr_destination = 3;
-
mergeGcrDestination
public ModelExportOutputConfig.Builder mergeGcrDestination(GcrDestination value)
The GCR location where model image is to be pushed to. This location may only be set for the following model formats: "docker". The model image will be created under the given URI.
.google.cloud.automl.v1beta1.GcrDestination gcr_destination = 3;
-
clearGcrDestination
public ModelExportOutputConfig.Builder clearGcrDestination()
The GCR location where model image is to be pushed to. This location may only be set for the following model formats: "docker". The model image will be created under the given URI.
.google.cloud.automl.v1beta1.GcrDestination gcr_destination = 3;
-
getGcrDestinationBuilder
public GcrDestination.Builder getGcrDestinationBuilder()
The GCR location where model image is to be pushed to. This location may only be set for the following model formats: "docker". The model image will be created under the given URI.
.google.cloud.automl.v1beta1.GcrDestination gcr_destination = 3;
-
getGcrDestinationOrBuilder
public GcrDestinationOrBuilder getGcrDestinationOrBuilder()
The GCR location where model image is to be pushed to. This location may only be set for the following model formats: "docker". The model image will be created under the given URI.
.google.cloud.automl.v1beta1.GcrDestination gcr_destination = 3;- Specified by:
getGcrDestinationOrBuilderin interfaceModelExportOutputConfigOrBuilder
-
getModelFormat
public String getModelFormat()
The format in which the model must be exported. The available, and default, formats depend on the problem and model type (if given problem and type combination doesn't have a format listed, it means its models are not exportable): * For Image Classification mobile-low-latency-1, mobile-versatile-1, mobile-high-accuracy-1: "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js", "docker". * For Image Classification mobile-core-ml-low-latency-1, mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: "core_ml" (default). * For Image Object Detection mobile-low-latency-1, mobile-versatile-1, mobile-high-accuracy-1: "tflite", "tf_saved_model", "tf_js". * For Video Classification cloud, "tf_saved_model". * For Video Object Tracking cloud, "tf_saved_model". * For Video Object Tracking mobile-versatile-1: "tflite", "edgetpu_tflite", "tf_saved_model", "docker". * For Video Object Tracking mobile-coral-versatile-1: "tflite", "edgetpu_tflite", "docker". * For Video Object Tracking mobile-coral-low-latency-1: "tflite", "edgetpu_tflite", "docker". * For Video Object Tracking mobile-jetson-versatile-1: "tf_saved_model", "docker". * For Tables: "docker". Formats description: * tflite - Used for Android mobile devices. * edgetpu_tflite - Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices. * tf_saved_model - A tensorflow model in SavedModel format. * tf_js - A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using JavaScript. * docker - Used for Docker containers. Use the params field to customize the container. The container is verified to work correctly on ubuntu 16.04 operating system. See more at [containers quickstart](https: //cloud.google.com/vision/automl/docs/containers-gcs-quickstart) * core_ml - Used for iOS mobile devices.string model_format = 4;- Specified by:
getModelFormatin interfaceModelExportOutputConfigOrBuilder- Returns:
- The modelFormat.
-
getModelFormatBytes
public com.google.protobuf.ByteString getModelFormatBytes()
The format in which the model must be exported. The available, and default, formats depend on the problem and model type (if given problem and type combination doesn't have a format listed, it means its models are not exportable): * For Image Classification mobile-low-latency-1, mobile-versatile-1, mobile-high-accuracy-1: "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js", "docker". * For Image Classification mobile-core-ml-low-latency-1, mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: "core_ml" (default). * For Image Object Detection mobile-low-latency-1, mobile-versatile-1, mobile-high-accuracy-1: "tflite", "tf_saved_model", "tf_js". * For Video Classification cloud, "tf_saved_model". * For Video Object Tracking cloud, "tf_saved_model". * For Video Object Tracking mobile-versatile-1: "tflite", "edgetpu_tflite", "tf_saved_model", "docker". * For Video Object Tracking mobile-coral-versatile-1: "tflite", "edgetpu_tflite", "docker". * For Video Object Tracking mobile-coral-low-latency-1: "tflite", "edgetpu_tflite", "docker". * For Video Object Tracking mobile-jetson-versatile-1: "tf_saved_model", "docker". * For Tables: "docker". Formats description: * tflite - Used for Android mobile devices. * edgetpu_tflite - Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices. * tf_saved_model - A tensorflow model in SavedModel format. * tf_js - A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using JavaScript. * docker - Used for Docker containers. Use the params field to customize the container. The container is verified to work correctly on ubuntu 16.04 operating system. See more at [containers quickstart](https: //cloud.google.com/vision/automl/docs/containers-gcs-quickstart) * core_ml - Used for iOS mobile devices.string model_format = 4;- Specified by:
getModelFormatBytesin interfaceModelExportOutputConfigOrBuilder- Returns:
- The bytes for modelFormat.
-
setModelFormat
public ModelExportOutputConfig.Builder setModelFormat(String value)
The format in which the model must be exported. The available, and default, formats depend on the problem and model type (if given problem and type combination doesn't have a format listed, it means its models are not exportable): * For Image Classification mobile-low-latency-1, mobile-versatile-1, mobile-high-accuracy-1: "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js", "docker". * For Image Classification mobile-core-ml-low-latency-1, mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: "core_ml" (default). * For Image Object Detection mobile-low-latency-1, mobile-versatile-1, mobile-high-accuracy-1: "tflite", "tf_saved_model", "tf_js". * For Video Classification cloud, "tf_saved_model". * For Video Object Tracking cloud, "tf_saved_model". * For Video Object Tracking mobile-versatile-1: "tflite", "edgetpu_tflite", "tf_saved_model", "docker". * For Video Object Tracking mobile-coral-versatile-1: "tflite", "edgetpu_tflite", "docker". * For Video Object Tracking mobile-coral-low-latency-1: "tflite", "edgetpu_tflite", "docker". * For Video Object Tracking mobile-jetson-versatile-1: "tf_saved_model", "docker". * For Tables: "docker". Formats description: * tflite - Used for Android mobile devices. * edgetpu_tflite - Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices. * tf_saved_model - A tensorflow model in SavedModel format. * tf_js - A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using JavaScript. * docker - Used for Docker containers. Use the params field to customize the container. The container is verified to work correctly on ubuntu 16.04 operating system. See more at [containers quickstart](https: //cloud.google.com/vision/automl/docs/containers-gcs-quickstart) * core_ml - Used for iOS mobile devices.string model_format = 4;- Parameters:
value- The modelFormat to set.- Returns:
- This builder for chaining.
-
clearModelFormat
public ModelExportOutputConfig.Builder clearModelFormat()
The format in which the model must be exported. The available, and default, formats depend on the problem and model type (if given problem and type combination doesn't have a format listed, it means its models are not exportable): * For Image Classification mobile-low-latency-1, mobile-versatile-1, mobile-high-accuracy-1: "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js", "docker". * For Image Classification mobile-core-ml-low-latency-1, mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: "core_ml" (default). * For Image Object Detection mobile-low-latency-1, mobile-versatile-1, mobile-high-accuracy-1: "tflite", "tf_saved_model", "tf_js". * For Video Classification cloud, "tf_saved_model". * For Video Object Tracking cloud, "tf_saved_model". * For Video Object Tracking mobile-versatile-1: "tflite", "edgetpu_tflite", "tf_saved_model", "docker". * For Video Object Tracking mobile-coral-versatile-1: "tflite", "edgetpu_tflite", "docker". * For Video Object Tracking mobile-coral-low-latency-1: "tflite", "edgetpu_tflite", "docker". * For Video Object Tracking mobile-jetson-versatile-1: "tf_saved_model", "docker". * For Tables: "docker". Formats description: * tflite - Used for Android mobile devices. * edgetpu_tflite - Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices. * tf_saved_model - A tensorflow model in SavedModel format. * tf_js - A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using JavaScript. * docker - Used for Docker containers. Use the params field to customize the container. The container is verified to work correctly on ubuntu 16.04 operating system. See more at [containers quickstart](https: //cloud.google.com/vision/automl/docs/containers-gcs-quickstart) * core_ml - Used for iOS mobile devices.string model_format = 4;- Returns:
- This builder for chaining.
-
setModelFormatBytes
public ModelExportOutputConfig.Builder setModelFormatBytes(com.google.protobuf.ByteString value)
The format in which the model must be exported. The available, and default, formats depend on the problem and model type (if given problem and type combination doesn't have a format listed, it means its models are not exportable): * For Image Classification mobile-low-latency-1, mobile-versatile-1, mobile-high-accuracy-1: "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js", "docker". * For Image Classification mobile-core-ml-low-latency-1, mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: "core_ml" (default). * For Image Object Detection mobile-low-latency-1, mobile-versatile-1, mobile-high-accuracy-1: "tflite", "tf_saved_model", "tf_js". * For Video Classification cloud, "tf_saved_model". * For Video Object Tracking cloud, "tf_saved_model". * For Video Object Tracking mobile-versatile-1: "tflite", "edgetpu_tflite", "tf_saved_model", "docker". * For Video Object Tracking mobile-coral-versatile-1: "tflite", "edgetpu_tflite", "docker". * For Video Object Tracking mobile-coral-low-latency-1: "tflite", "edgetpu_tflite", "docker". * For Video Object Tracking mobile-jetson-versatile-1: "tf_saved_model", "docker". * For Tables: "docker". Formats description: * tflite - Used for Android mobile devices. * edgetpu_tflite - Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices. * tf_saved_model - A tensorflow model in SavedModel format. * tf_js - A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using JavaScript. * docker - Used for Docker containers. Use the params field to customize the container. The container is verified to work correctly on ubuntu 16.04 operating system. See more at [containers quickstart](https: //cloud.google.com/vision/automl/docs/containers-gcs-quickstart) * core_ml - Used for iOS mobile devices.string model_format = 4;- Parameters:
value- The bytes for modelFormat to set.- Returns:
- This builder for chaining.
-
getParamsCount
public int getParamsCount()
Description copied from interface:ModelExportOutputConfigOrBuilderAdditional model-type and format specific parameters describing the requirements for the to be exported model files, any string must be up to 25000 characters long. * For `docker` format: `cpu_architecture` - (string) "x86_64" (default). `gpu_architecture` - (string) "none" (default), "nvidia".map<string, string> params = 2;- Specified by:
getParamsCountin interfaceModelExportOutputConfigOrBuilder
-
containsParams
public boolean containsParams(String key)
Additional model-type and format specific parameters describing the requirements for the to be exported model files, any string must be up to 25000 characters long. * For `docker` format: `cpu_architecture` - (string) "x86_64" (default). `gpu_architecture` - (string) "none" (default), "nvidia".map<string, string> params = 2;- Specified by:
containsParamsin interfaceModelExportOutputConfigOrBuilder
-
getParams
@Deprecated public Map<String,String> getParams()
Deprecated.UsegetParamsMap()instead.- Specified by:
getParamsin interfaceModelExportOutputConfigOrBuilder
-
getParamsMap
public Map<String,String> getParamsMap()
Additional model-type and format specific parameters describing the requirements for the to be exported model files, any string must be up to 25000 characters long. * For `docker` format: `cpu_architecture` - (string) "x86_64" (default). `gpu_architecture` - (string) "none" (default), "nvidia".map<string, string> params = 2;- Specified by:
getParamsMapin interfaceModelExportOutputConfigOrBuilder
-
getParamsOrDefault
public String getParamsOrDefault(String key, String defaultValue)
Additional model-type and format specific parameters describing the requirements for the to be exported model files, any string must be up to 25000 characters long. * For `docker` format: `cpu_architecture` - (string) "x86_64" (default). `gpu_architecture` - (string) "none" (default), "nvidia".map<string, string> params = 2;- Specified by:
getParamsOrDefaultin interfaceModelExportOutputConfigOrBuilder
-
getParamsOrThrow
public String getParamsOrThrow(String key)
Additional model-type and format specific parameters describing the requirements for the to be exported model files, any string must be up to 25000 characters long. * For `docker` format: `cpu_architecture` - (string) "x86_64" (default). `gpu_architecture` - (string) "none" (default), "nvidia".map<string, string> params = 2;- Specified by:
getParamsOrThrowin interfaceModelExportOutputConfigOrBuilder
-
clearParams
public ModelExportOutputConfig.Builder clearParams()
-
removeParams
public ModelExportOutputConfig.Builder removeParams(String key)
Additional model-type and format specific parameters describing the requirements for the to be exported model files, any string must be up to 25000 characters long. * For `docker` format: `cpu_architecture` - (string) "x86_64" (default). `gpu_architecture` - (string) "none" (default), "nvidia".map<string, string> params = 2;
-
getMutableParams
@Deprecated public Map<String,String> getMutableParams()
Deprecated.Use alternate mutation accessors instead.
-
putParams
public ModelExportOutputConfig.Builder putParams(String key, String value)
Additional model-type and format specific parameters describing the requirements for the to be exported model files, any string must be up to 25000 characters long. * For `docker` format: `cpu_architecture` - (string) "x86_64" (default). `gpu_architecture` - (string) "none" (default), "nvidia".map<string, string> params = 2;
-
putAllParams
public ModelExportOutputConfig.Builder putAllParams(Map<String,String> values)
Additional model-type and format specific parameters describing the requirements for the to be exported model files, any string must be up to 25000 characters long. * For `docker` format: `cpu_architecture` - (string) "x86_64" (default). `gpu_architecture` - (string) "none" (default), "nvidia".map<string, string> params = 2;
-
setUnknownFields
public final ModelExportOutputConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>
-
mergeUnknownFields
public final ModelExportOutputConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>
-
-