Class VideoObjectTrackingPredictionResult.BoundingBox (0.3.0)

public static final class VideoObjectTrackingPredictionResult.BoundingBox extends GeneratedMessageV3 implements VideoObjectTrackingPredictionResult.BoundingBoxOrBuilder

Boundingbox for detected object. I.e. the rectangle over the video frame pinpointing the found AnnotationSpec. The coordinates are relative to the frame size, and the point 0,0 is in the top left of the frame.

Protobuf type google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.BoundingBox

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VideoObjectTrackingPredictionResult.BoundingBox

Static Fields

X_MAX_FIELD_NUMBER

public static final int X_MAX_FIELD_NUMBER
Field Value
Type Description
int

X_MIN_FIELD_NUMBER

public static final int X_MIN_FIELD_NUMBER
Field Value
Type Description
int

Y_MAX_FIELD_NUMBER

public static final int Y_MAX_FIELD_NUMBER
Field Value
Type Description
int

Y_MIN_FIELD_NUMBER

public static final int Y_MIN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VideoObjectTrackingPredictionResult.BoundingBox getDefaultInstance()
Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBox

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static VideoObjectTrackingPredictionResult.BoundingBox.Builder newBuilder()
Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBox.Builder

newBuilder(VideoObjectTrackingPredictionResult.BoundingBox prototype)

public static VideoObjectTrackingPredictionResult.BoundingBox.Builder newBuilder(VideoObjectTrackingPredictionResult.BoundingBox prototype)
Parameter
Name Description
prototype VideoObjectTrackingPredictionResult.BoundingBox
Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBox.Builder

parseDelimitedFrom(InputStream input)

public static VideoObjectTrackingPredictionResult.BoundingBox parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBox
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingPredictionResult.BoundingBox parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBox
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VideoObjectTrackingPredictionResult.BoundingBox parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBox
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingPredictionResult.BoundingBox parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBox
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VideoObjectTrackingPredictionResult.BoundingBox parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBox
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingPredictionResult.BoundingBox parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBox
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VideoObjectTrackingPredictionResult.BoundingBox parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBox
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingPredictionResult.BoundingBox parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBox
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VideoObjectTrackingPredictionResult.BoundingBox parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBox
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingPredictionResult.BoundingBox parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBox
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VideoObjectTrackingPredictionResult.BoundingBox parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBox
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingPredictionResult.BoundingBox parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBox
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VideoObjectTrackingPredictionResult.BoundingBox> parser()
Returns
Type Description
Parser<BoundingBox>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public VideoObjectTrackingPredictionResult.BoundingBox getDefaultInstanceForType()
Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBox

getParserForType()

public Parser<VideoObjectTrackingPredictionResult.BoundingBox> getParserForType()
Returns
Type Description
Parser<BoundingBox>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getXMax()

public float getXMax()

The rightmost coordinate of the bounding box.

float x_max = 2;

Returns
Type Description
float

The xMax.

getXMin()

public float getXMin()

The leftmost coordinate of the bounding box.

float x_min = 1;

Returns
Type Description
float

The xMin.

getYMax()

public float getYMax()

The bottommost coordinate of the bounding box.

float y_max = 4;

Returns
Type Description
float

The yMax.

getYMin()

public float getYMin()

The topmost coordinate of the bounding box.

float y_min = 3;

Returns
Type Description
float

The yMin.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VideoObjectTrackingPredictionResult.BoundingBox.Builder newBuilderForType()
Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBox.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VideoObjectTrackingPredictionResult.BoundingBox.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBox.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VideoObjectTrackingPredictionResult.BoundingBox.Builder toBuilder()
Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBox.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException