public static final class ModelExportOutputConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder> implements ModelExportOutputConfigOrBuilder
Output configuration for ModelExport Action.Protobuf type
google.cloud.automl.v1.ModelExportOutputConfig| Modifier and Type | Method and Description |
|---|---|
ModelExportOutputConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ModelExportOutputConfig |
build() |
ModelExportOutputConfig |
buildPartial() |
ModelExportOutputConfig.Builder |
clear() |
ModelExportOutputConfig.Builder |
clearDestination() |
ModelExportOutputConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ModelExportOutputConfig.Builder |
clearGcsDestination()
Required.
|
ModelExportOutputConfig.Builder |
clearModelFormat()
The format in which the model must be exported.
|
ModelExportOutputConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ModelExportOutputConfig.Builder |
clearParams() |
ModelExportOutputConfig.Builder |
clone() |
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
|
ModelExportOutputConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ModelExportOutputConfig.DestinationCase |
getDestinationCase() |
GcsDestination |
getGcsDestination()
Required.
|
GcsDestination.Builder |
getGcsDestinationBuilder()
Required.
|
GcsDestinationOrBuilder |
getGcsDestinationOrBuilder()
Required.
|
String |
getModelFormat()
The format in which the model must be exported.
|
com.google.protobuf.ByteString |
getModelFormatBytes()
The format in which the model must be exported.
|
Map<String,String> |
getMutableParams()
Deprecated.
|
Map<String,String> |
getParams()
Deprecated.
|
int |
getParamsCount()
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
|
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
|
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
|
boolean |
hasGcsDestination()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
ModelExportOutputConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ModelExportOutputConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
ModelExportOutputConfig.Builder |
mergeFrom(ModelExportOutputConfig other) |
ModelExportOutputConfig.Builder |
mergeGcsDestination(GcsDestination value)
Required.
|
ModelExportOutputConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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
|
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
|
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
|
ModelExportOutputConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ModelExportOutputConfig.Builder |
setGcsDestination(GcsDestination.Builder builderForValue)
Required.
|
ModelExportOutputConfig.Builder |
setGcsDestination(GcsDestination value)
Required.
|
ModelExportOutputConfig.Builder |
setModelFormat(String value)
The format in which the model must be exported.
|
ModelExportOutputConfig.Builder |
setModelFormatBytes(com.google.protobuf.ByteString value)
The format in which the model must be exported.
|
ModelExportOutputConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ModelExportOutputConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>public ModelExportOutputConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>public ModelExportOutputConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ModelExportOutputConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ModelExportOutputConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ModelExportOutputConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>public ModelExportOutputConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>public ModelExportOutputConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>public ModelExportOutputConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>public ModelExportOutputConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>public ModelExportOutputConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>public ModelExportOutputConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ModelExportOutputConfig.Builder>public ModelExportOutputConfig.Builder mergeFrom(ModelExportOutputConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>public ModelExportOutputConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ModelExportOutputConfig.Builder>IOExceptionpublic ModelExportOutputConfig.DestinationCase getDestinationCase()
getDestinationCase in interface ModelExportOutputConfigOrBuilderpublic ModelExportOutputConfig.Builder clearDestination()
public boolean hasGcsDestination()
Required. 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.v1.GcsDestination gcs_destination = 1 [(.google.api.field_behavior) = REQUIRED];
hasGcsDestination in interface ModelExportOutputConfigOrBuilderpublic GcsDestination getGcsDestination()
Required. 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.v1.GcsDestination gcs_destination = 1 [(.google.api.field_behavior) = REQUIRED];
getGcsDestination in interface ModelExportOutputConfigOrBuilderpublic ModelExportOutputConfig.Builder setGcsDestination(GcsDestination value)
Required. 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.v1.GcsDestination gcs_destination = 1 [(.google.api.field_behavior) = REQUIRED];
public ModelExportOutputConfig.Builder setGcsDestination(GcsDestination.Builder builderForValue)
Required. 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.v1.GcsDestination gcs_destination = 1 [(.google.api.field_behavior) = REQUIRED];
public ModelExportOutputConfig.Builder mergeGcsDestination(GcsDestination value)
Required. 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.v1.GcsDestination gcs_destination = 1 [(.google.api.field_behavior) = REQUIRED];
public ModelExportOutputConfig.Builder clearGcsDestination()
Required. 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.v1.GcsDestination gcs_destination = 1 [(.google.api.field_behavior) = REQUIRED];
public GcsDestination.Builder getGcsDestinationBuilder()
Required. 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.v1.GcsDestination gcs_destination = 1 [(.google.api.field_behavior) = REQUIRED];
public GcsDestinationOrBuilder getGcsDestinationOrBuilder()
Required. 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.v1.GcsDestination gcs_destination = 1 [(.google.api.field_behavior) = REQUIRED];
getGcsDestinationOrBuilder in interface ModelExportOutputConfigOrBuilderpublic 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".
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;getModelFormat in interface ModelExportOutputConfigOrBuilderpublic 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".
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;getModelFormatBytes in interface ModelExportOutputConfigOrBuilderpublic 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".
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;value - The modelFormat to set.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".
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;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".
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;value - The bytes for modelFormat to set.public int getParamsCount()
ModelExportOutputConfigOrBuilder
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;getParamsCount in interface ModelExportOutputConfigOrBuilderpublic 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;containsParams in interface ModelExportOutputConfigOrBuilder@Deprecated public Map<String,String> getParams()
getParamsMap() instead.getParams in interface ModelExportOutputConfigOrBuilderpublic 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;getParamsMap in interface ModelExportOutputConfigOrBuilderpublic 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;getParamsOrDefault in interface ModelExportOutputConfigOrBuilderpublic 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;getParamsOrThrow in interface ModelExportOutputConfigOrBuilderpublic ModelExportOutputConfig.Builder clearParams()
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;@Deprecated public Map<String,String> getMutableParams()
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;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;public final ModelExportOutputConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>public final ModelExportOutputConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ModelExportOutputConfig.Builder>Copyright © 2025 Google LLC. All rights reserved.