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