Send feedback
Class ImageObjectDetectionModelDeploymentMetadata.Builder (2.3.9)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.3.9 keyboard_arrow_down
public static final class ImageObjectDetectionModelDeploymentMetadata . Builder extends GeneratedMessageV3 . Builder<ImageObjectDetectionModelDeploymentMetadata . Builder > implements ImageObjectDetectionModelDeploymentMetadataOrBuilder
Model deployment metadata specific to Image Object Detection.
Protobuf type google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
public ImageObjectDetectionModelDeploymentMetadata . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public ImageObjectDetectionModelDeploymentMetadata build ()
Returns
public ImageObjectDetectionModelDeploymentMetadata buildPartial ()
Returns
public ImageObjectDetectionModelDeploymentMetadata . Builder clear ()
Returns
Overrides
public ImageObjectDetectionModelDeploymentMetadata . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public ImageObjectDetectionModelDeploymentMetadata . Builder clearNodeCount ()
Input only. The number of nodes to deploy the model on. A node is an
abstraction of a machine resource, which can handle online prediction QPS
as given in the model's
qps_per_node .
Must be between 1 and 100, inclusive on both ends.
int64 node_count = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Returns
public ImageObjectDetectionModelDeploymentMetadata . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public ImageObjectDetectionModelDeploymentMetadata . Builder clone ()
Returns
Overrides
public ImageObjectDetectionModelDeploymentMetadata getDefaultInstanceForType ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
public long getNodeCount ()
Input only. The number of nodes to deploy the model on. A node is an
abstraction of a machine resource, which can handle online prediction QPS
as given in the model's
qps_per_node .
Must be between 1 and 100, inclusive on both ends.
int64 node_count = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Returns
Type Description long The nodeCount.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public ImageObjectDetectionModelDeploymentMetadata . Builder mergeFrom ( ImageObjectDetectionModelDeploymentMetadata other )
Parameter
Returns
public ImageObjectDetectionModelDeploymentMetadata . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public ImageObjectDetectionModelDeploymentMetadata . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public final ImageObjectDetectionModelDeploymentMetadata . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public ImageObjectDetectionModelDeploymentMetadata . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public ImageObjectDetectionModelDeploymentMetadata . Builder setNodeCount ( long value )
Input only. The number of nodes to deploy the model on. A node is an
abstraction of a machine resource, which can handle online prediction QPS
as given in the model's
qps_per_node .
Must be between 1 and 100, inclusive on both ends.
int64 node_count = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter
Name Description value long
The nodeCount to set.
Returns
public ImageObjectDetectionModelDeploymentMetadata . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public final ImageObjectDetectionModelDeploymentMetadata . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]