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.v1beta1.ImageClassificationModelDeploymentMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 ImageClassificationModelDeploymentMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImageClassificationModelDeploymentMetadata build()
public ImageClassificationModelDeploymentMetadata buildPartial()
public ImageClassificationModelDeploymentMetadata.Builder clear()
Overrides
public ImageClassificationModelDeploymentMetadata.Builder clearField(Descriptors.FieldDescriptor field)
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;
public ImageClassificationModelDeploymentMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ImageClassificationModelDeploymentMetadata.Builder clone()
Overrides
public ImageClassificationModelDeploymentMetadata 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
node_qps.
Must be between 1 and 100, inclusive on both ends.
int64 node_count = 1;
Returns |
---|
Type | Description |
long | The nodeCount.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ImageClassificationModelDeploymentMetadata.Builder mergeFrom(ImageClassificationModelDeploymentMetadata other)
public ImageClassificationModelDeploymentMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ImageClassificationModelDeploymentMetadata.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ImageClassificationModelDeploymentMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ImageClassificationModelDeploymentMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
Parameter |
---|
Name | Description |
value | long
The nodeCount to set.
|
public ImageClassificationModelDeploymentMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ImageClassificationModelDeploymentMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides