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
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 ImageClassificationModelDeploymentMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImageClassificationModelDeploymentMetadata build()
Returns
public ImageClassificationModelDeploymentMetadata buildPartial()
Returns
public ImageClassificationModelDeploymentMetadata.Builder clear()
Returns
Overrides
public ImageClassificationModelDeploymentMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
public ImageClassificationModelDeploymentMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ImageClassificationModelDeploymentMetadata.Builder clone()
Returns
Overrides
public ImageClassificationModelDeploymentMetadata 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
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ImageClassificationModelDeploymentMetadata.Builder mergeFrom(ImageClassificationModelDeploymentMetadata other)
Parameter
Returns
public ImageClassificationModelDeploymentMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ImageClassificationModelDeploymentMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ImageClassificationModelDeploymentMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ImageClassificationModelDeploymentMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
public ImageClassificationModelDeploymentMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ImageClassificationModelDeploymentMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides