Class ImageClassificationModelDeploymentMetadata.Builder (2.46.0)

public static final class ImageClassificationModelDeploymentMetadata.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public ImageClassificationModelDeploymentMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ImageClassificationModelDeploymentMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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