Class ObjectDetectionPredictionResult.IdentifiedBox (0.17.0)

publicstaticfinalclass ObjectDetectionPredictionResult.IdentifiedBoxextendsGeneratedMessageV3implementsObjectDetectionPredictionResult.IdentifiedBoxOrBuilder

Identified box contains location and the entity of the object.

Protobuf type google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ObjectDetectionPredictionResult.IdentifiedBox

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

BOX_ID_FIELD_NUMBER

publicstaticfinalintBOX_ID_FIELD_NUMBER
Field Value
Type Description
int

CONFIDENCE_SCORE_FIELD_NUMBER

publicstaticfinalintCONFIDENCE_SCORE_FIELD_NUMBER
Field Value
Type Description
int

ENTITY_FIELD_NUMBER

publicstaticfinalintENTITY_FIELD_NUMBER
Field Value
Type Description
int

NORMALIZED_BOUNDING_BOX_FIELD_NUMBER

publicstaticfinalintNORMALIZED_BOUNDING_BOX_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticObjectDetectionPredictionResult.IdentifiedBoxgetDefaultInstance()
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticObjectDetectionPredictionResult.IdentifiedBox.BuildernewBuilder()
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox.Builder

newBuilder(ObjectDetectionPredictionResult.IdentifiedBox prototype)

publicstaticObjectDetectionPredictionResult.IdentifiedBox.BuildernewBuilder(ObjectDetectionPredictionResult.IdentifiedBoxprototype)
Parameter
Name Description
prototype ObjectDetectionPredictionResult.IdentifiedBox
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox.Builder

parseDelimitedFrom(InputStream input)

publicstaticObjectDetectionPredictionResult.IdentifiedBoxparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticObjectDetectionPredictionResult.IdentifiedBoxparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticObjectDetectionPredictionResult.IdentifiedBoxparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticObjectDetectionPredictionResult.IdentifiedBoxparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticObjectDetectionPredictionResult.IdentifiedBoxparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticObjectDetectionPredictionResult.IdentifiedBoxparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticObjectDetectionPredictionResult.IdentifiedBoxparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticObjectDetectionPredictionResult.IdentifiedBoxparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticObjectDetectionPredictionResult.IdentifiedBoxparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticObjectDetectionPredictionResult.IdentifiedBoxparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticObjectDetectionPredictionResult.IdentifiedBoxparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticObjectDetectionPredictionResult.IdentifiedBoxparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<ObjectDetectionPredictionResult.IdentifiedBox>parser()
Returns
Type Description
Parser<IdentifiedBox>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBoxId()

publiclonggetBoxId()

An unique id for this box.

int64 box_id = 1;

Returns
Type Description
long

The boxId.

getConfidenceScore()

publicfloatgetConfidenceScore()

Confidence score associated with this box.

float confidence_score = 3;

Returns
Type Description
float

The confidenceScore.

getDefaultInstanceForType()

publicObjectDetectionPredictionResult.IdentifiedBoxgetDefaultInstanceForType()
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox

getEntity()

publicObjectDetectionPredictionResult.EntitygetEntity()

Entity of this box.

.google.cloud.visionai.v1.ObjectDetectionPredictionResult.Entity entity = 4;

Returns
Type Description
ObjectDetectionPredictionResult.Entity

The entity.

getEntityOrBuilder()

publicObjectDetectionPredictionResult.EntityOrBuildergetEntityOrBuilder()

Entity of this box.

.google.cloud.visionai.v1.ObjectDetectionPredictionResult.Entity entity = 4;

Returns
Type Description
ObjectDetectionPredictionResult.EntityOrBuilder

getNormalizedBoundingBox()

publicObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBoxgetNormalizedBoundingBox()

Bounding Box in the normalized coordinates.

.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2;

Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox

The normalizedBoundingBox.

getNormalizedBoundingBoxOrBuilder()

publicObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBoxOrBuildergetNormalizedBoundingBoxOrBuilder()

Bounding Box in the normalized coordinates.

.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2;

Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBoxOrBuilder

getParserForType()

publicParser<ObjectDetectionPredictionResult.IdentifiedBox>getParserForType()
Returns
Type Description
Parser<IdentifiedBox>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hasEntity()

publicbooleanhasEntity()

Entity of this box.

.google.cloud.visionai.v1.ObjectDetectionPredictionResult.Entity entity = 4;

Returns
Type Description
boolean

Whether the entity field is set.

hasNormalizedBoundingBox()

publicbooleanhasNormalizedBoundingBox()

Bounding Box in the normalized coordinates.

.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2;

Returns
Type Description
boolean

Whether the normalizedBoundingBox field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicObjectDetectionPredictionResult.IdentifiedBox.BuildernewBuilderForType()
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedObjectDetectionPredictionResult.IdentifiedBox.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicObjectDetectionPredictionResult.IdentifiedBox.BuildertoBuilder()
Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.