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.v1beta1.ImageObjectDetectionModelDeploymentMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ImageObjectDetectionModelDeploymentMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImageObjectDetectionModelDeploymentMetadata build()
Returns
public ImageObjectDetectionModelDeploymentMetadata buildPartial()
Returns
public ImageObjectDetectionModelDeploymentMetadata.Builder clear()
Returns
Overrides
public ImageObjectDetectionModelDeploymentMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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;
Returns
public ImageObjectDetectionModelDeploymentMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ImageObjectDetectionModelDeploymentMetadata.Builder clone()
Returns
Overrides
public ImageObjectDetectionModelDeploymentMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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;
Returns
Type | Description |
long | The nodeCount.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ImageObjectDetectionModelDeploymentMetadata.Builder mergeFrom(ImageObjectDetectionModelDeploymentMetadata other)
Parameter
Returns
public ImageObjectDetectionModelDeploymentMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ImageObjectDetectionModelDeploymentMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ImageObjectDetectionModelDeploymentMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ImageObjectDetectionModelDeploymentMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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;
Parameter
Name | Description |
value | long
The nodeCount to set.
|
Returns
public ImageObjectDetectionModelDeploymentMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ImageObjectDetectionModelDeploymentMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides