Class ImageClassificationModelDeploymentMetadata.Builder (2.83.0)

public static final class ImageClassificationModelDeploymentMetadata.Builder extends GeneratedMessage.Builder<ImageClassificationModelDeploymentMetadata.Builder> implements ImageClassificationModelDeploymentMetadataOrBuilder

Model deployment metadata specific to Image Classification.

Protobuf type google.cloud.automl.v1.ImageClassificationModelDeploymentMetadata

Static Methods

getDescriptor()

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

Methods

build()

public ImageClassificationModelDeploymentMetadata build()
Returns
Type Description
ImageClassificationModelDeploymentMetadata

buildPartial()

public ImageClassificationModelDeploymentMetadata buildPartial()
Returns
Type Description
ImageClassificationModelDeploymentMetadata

clear()

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

clearNodeCount()

public ImageClassificationModelDeploymentMetadata.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 node_qps. Must be between 1 and 100, inclusive on both ends.

int64 node_count = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ImageClassificationModelDeploymentMetadata.Builder

This builder for chaining.

getDefaultInstanceForType()

public ImageClassificationModelDeploymentMetadata getDefaultInstanceForType()
Returns
Type Description
ImageClassificationModelDeploymentMetadata

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 node_qps. 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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImageClassificationModelDeploymentMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setNodeCount(long value)

public ImageClassificationModelDeploymentMetadata.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 node_qps. 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
Type Description
ImageClassificationModelDeploymentMetadata.Builder

This builder for chaining.