Class ImageObjectDetectionModelDeploymentMetadata.Builder (2.27.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.v1.ImageObjectDetectionModelDeploymentMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImageObjectDetectionModelDeploymentMetadata build()
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata

buildPartial()

public ImageObjectDetectionModelDeploymentMetadata buildPartial()
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ImageObjectDetectionModelDeploymentMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ImageObjectDetectionModelDeploymentMetadata getDefaultInstanceForType()
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata

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 qps_per_node. 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(ImageObjectDetectionModelDeploymentMetadata other)

public ImageObjectDetectionModelDeploymentMetadata.Builder mergeFrom(ImageObjectDetectionModelDeploymentMetadata other)
Parameter
NameDescription
otherImageObjectDetectionModelDeploymentMetadata
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ImageObjectDetectionModelDeploymentMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
NameDescription
valuelong

The nodeCount to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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