Class ImageClassificationModelDeploymentMetadata (2.4.0)

public final class ImageClassificationModelDeploymentMetadata extends GeneratedMessageV3 implements ImageClassificationModelDeploymentMetadataOrBuilder

Model deployment metadata specific to Image Classification.

Protobuf type google.cloud.automl.v1beta1.ImageClassificationModelDeploymentMetadata

Inheritance

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

Static Fields

NODE_COUNT_FIELD_NUMBER

public static final int NODE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImageClassificationModelDeploymentMetadata getDefaultInstance()
Returns
TypeDescription
ImageClassificationModelDeploymentMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(ImageClassificationModelDeploymentMetadata prototype)

public static ImageClassificationModelDeploymentMetadata.Builder newBuilder(ImageClassificationModelDeploymentMetadata prototype)
Parameter
NameDescription
prototypeImageClassificationModelDeploymentMetadata
Returns
TypeDescription
ImageClassificationModelDeploymentMetadata.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImageClassificationModelDeploymentMetadata getDefaultInstanceForType()
Returns
TypeDescription
ImageClassificationModelDeploymentMetadata

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 node_qps. Must be between 1 and 100, inclusive on both ends.

int64 node_count = 1;

Returns
TypeDescription
long

The nodeCount.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 ImageClassificationModelDeploymentMetadata.Builder newBuilderForType()
Returns
TypeDescription
ImageClassificationModelDeploymentMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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