Class ImageObjectDetectionModelDeploymentMetadata.Builder (2.46.0)

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.v1beta1.ImageObjectDetectionModelDeploymentMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImageObjectDetectionModelDeploymentMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImageObjectDetectionModelDeploymentMetadata.Builder
Overrides

build()

public ImageObjectDetectionModelDeploymentMetadata build()
Returns
Type Description
ImageObjectDetectionModelDeploymentMetadata

buildPartial()

public ImageObjectDetectionModelDeploymentMetadata buildPartial()
Returns
Type Description
ImageObjectDetectionModelDeploymentMetadata

clear()

public ImageObjectDetectionModelDeploymentMetadata.Builder clear()
Returns
Type Description
ImageObjectDetectionModelDeploymentMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImageObjectDetectionModelDeploymentMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImageObjectDetectionModelDeploymentMetadata.Builder
Overrides

clearNodeCount()

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;

Returns
Type Description
ImageObjectDetectionModelDeploymentMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ImageObjectDetectionModelDeploymentMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImageObjectDetectionModelDeploymentMetadata.Builder
Overrides

clone()

public ImageObjectDetectionModelDeploymentMetadata.Builder clone()
Returns
Type Description
ImageObjectDetectionModelDeploymentMetadata.Builder
Overrides

getDefaultInstanceForType()

public ImageObjectDetectionModelDeploymentMetadata getDefaultInstanceForType()
Returns
Type Description
ImageObjectDetectionModelDeploymentMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNodeCount()

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;

Returns
Type Description
long

The nodeCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImageObjectDetectionModelDeploymentMetadata other)

public ImageObjectDetectionModelDeploymentMetadata.Builder mergeFrom(ImageObjectDetectionModelDeploymentMetadata other)
Parameter
Name Description
other ImageObjectDetectionModelDeploymentMetadata
Returns
Type Description
ImageObjectDetectionModelDeploymentMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImageObjectDetectionModelDeploymentMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageObjectDetectionModelDeploymentMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImageObjectDetectionModelDeploymentMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImageObjectDetectionModelDeploymentMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImageObjectDetectionModelDeploymentMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImageObjectDetectionModelDeploymentMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ImageObjectDetectionModelDeploymentMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImageObjectDetectionModelDeploymentMetadata.Builder
Overrides

setNodeCount(long value)

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;

Parameter
Name Description
value long

The nodeCount to set.

Returns
Type Description
ImageObjectDetectionModelDeploymentMetadata.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImageObjectDetectionModelDeploymentMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImageObjectDetectionModelDeploymentMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImageObjectDetectionModelDeploymentMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImageObjectDetectionModelDeploymentMetadata.Builder
Overrides