Class ImageObjectDetectionModelDeploymentMetadata (2.32.0)

public final class ImageObjectDetectionModelDeploymentMetadata extends GeneratedMessageV3 implements ImageObjectDetectionModelDeploymentMetadataOrBuilder

Model deployment metadata specific to Image Object Detection.

Protobuf type google.cloud.automl.v1beta1.ImageObjectDetectionModelDeploymentMetadata

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ImageObjectDetectionModelDeploymentMetadata

Static Fields

NODE_COUNT_FIELD_NUMBER

public static final int NODE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImageObjectDetectionModelDeploymentMetadata getDefaultInstance()
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata

getDescriptor()

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

newBuilder()

public static ImageObjectDetectionModelDeploymentMetadata.Builder newBuilder()
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata.Builder

newBuilder(ImageObjectDetectionModelDeploymentMetadata prototype)

public static ImageObjectDetectionModelDeploymentMetadata.Builder newBuilder(ImageObjectDetectionModelDeploymentMetadata prototype)
Parameter
NameDescription
prototypeImageObjectDetectionModelDeploymentMetadata
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata.Builder

parseDelimitedFrom(InputStream input)

public static ImageObjectDetectionModelDeploymentMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageObjectDetectionModelDeploymentMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImageObjectDetectionModelDeploymentMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImageObjectDetectionModelDeploymentMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImageObjectDetectionModelDeploymentMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImageObjectDetectionModelDeploymentMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImageObjectDetectionModelDeploymentMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageObjectDetectionModelDeploymentMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ImageObjectDetectionModelDeploymentMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageObjectDetectionModelDeploymentMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ImageObjectDetectionModelDeploymentMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImageObjectDetectionModelDeploymentMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ImageObjectDetectionModelDeploymentMetadata> parser()
Returns
TypeDescription
Parser<ImageObjectDetectionModelDeploymentMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ImageObjectDetectionModelDeploymentMetadata getDefaultInstanceForType()
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata

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;

Returns
TypeDescription
long

The nodeCount.

getParserForType()

public Parser<ImageObjectDetectionModelDeploymentMetadata> getParserForType()
Returns
TypeDescription
Parser<ImageObjectDetectionModelDeploymentMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ImageObjectDetectionModelDeploymentMetadata.Builder newBuilderForType()
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImageObjectDetectionModelDeploymentMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ImageObjectDetectionModelDeploymentMetadata.Builder toBuilder()
Returns
TypeDescription
ImageObjectDetectionModelDeploymentMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException