Class ImageClassificationModelDeploymentMetadata.Builder (2.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImageClassificationModelDeploymentMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImageClassificationModelDeploymentMetadata.Builder
Overrides

build()

public ImageClassificationModelDeploymentMetadata build()
Returns
TypeDescription
ImageClassificationModelDeploymentMetadata

buildPartial()

public ImageClassificationModelDeploymentMetadata buildPartial()
Returns
TypeDescription
ImageClassificationModelDeploymentMetadata

clear()

public ImageClassificationModelDeploymentMetadata.Builder clear()
Returns
TypeDescription
ImageClassificationModelDeploymentMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImageClassificationModelDeploymentMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ImageClassificationModelDeploymentMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ImageClassificationModelDeploymentMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ImageClassificationModelDeploymentMetadata.Builder
Overrides

clone()

public ImageClassificationModelDeploymentMetadata.Builder clone()
Returns
TypeDescription
ImageClassificationModelDeploymentMetadata.Builder
Overrides

getDefaultInstanceForType()

public ImageClassificationModelDeploymentMetadata getDefaultInstanceForType()
Returns
TypeDescription
ImageClassificationModelDeploymentMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
long

The nodeCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImageClassificationModelDeploymentMetadata other)

public ImageClassificationModelDeploymentMetadata.Builder mergeFrom(ImageClassificationModelDeploymentMetadata other)
Parameter
NameDescription
otherImageClassificationModelDeploymentMetadata
Returns
TypeDescription
ImageClassificationModelDeploymentMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImageClassificationModelDeploymentMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageClassificationModelDeploymentMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImageClassificationModelDeploymentMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImageClassificationModelDeploymentMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImageClassificationModelDeploymentMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImageClassificationModelDeploymentMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ImageClassificationModelDeploymentMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The nodeCount to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImageClassificationModelDeploymentMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImageClassificationModelDeploymentMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImageClassificationModelDeploymentMetadata.Builder
Overrides