Class ImageClassificationModelDeploymentMetadata.Builder (2.58.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public ImageClassificationModelDeploymentMetadata build()

buildPartial()

public ImageClassificationModelDeploymentMetadata buildPartial()

clear()

public ImageClassificationModelDeploymentMetadata.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clone()

public ImageClassificationModelDeploymentMetadata.Builder clone()
Overrides

getDefaultInstanceForType()

public ImageClassificationModelDeploymentMetadata getDefaultInstanceForType()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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