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