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
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
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VideoObjectTrackingPredictionResult.BoundingBox.Builder newBuilder()
newBuilder(VideoObjectTrackingPredictionResult.BoundingBox prototype)
public static VideoObjectTrackingPredictionResult.BoundingBox.Builder newBuilder(VideoObjectTrackingPredictionResult.BoundingBox prototype)
public static VideoObjectTrackingPredictionResult.BoundingBox parseDelimitedFrom(InputStream input)
public static VideoObjectTrackingPredictionResult.BoundingBox parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VideoObjectTrackingPredictionResult.BoundingBox parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VideoObjectTrackingPredictionResult.BoundingBox parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VideoObjectTrackingPredictionResult.BoundingBox parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VideoObjectTrackingPredictionResult.BoundingBox parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VideoObjectTrackingPredictionResult.BoundingBox parseFrom(CodedInputStream input)
public static VideoObjectTrackingPredictionResult.BoundingBox parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VideoObjectTrackingPredictionResult.BoundingBox parseFrom(InputStream input)
public static VideoObjectTrackingPredictionResult.BoundingBox parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VideoObjectTrackingPredictionResult.BoundingBox parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VideoObjectTrackingPredictionResult.BoundingBox parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VideoObjectTrackingPredictionResult.BoundingBox> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public VideoObjectTrackingPredictionResult.BoundingBox getDefaultInstanceForType()
getParserForType()
public Parser<VideoObjectTrackingPredictionResult.BoundingBox> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getXMax()
The rightmost coordinate of the bounding box.
float x_max = 2;
Returns |
Type |
Description |
float |
The xMax.
|
getXMin()
The leftmost coordinate of the bounding box.
float x_min = 1;
Returns |
Type |
Description |
float |
The xMin.
|
getYMax()
The bottommost coordinate of the bounding box.
float y_max = 4;
Returns |
Type |
Description |
float |
The yMax.
|
getYMin()
The topmost coordinate of the bounding box.
float y_min = 3;
Returns |
Type |
Description |
float |
The yMin.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VideoObjectTrackingPredictionResult.BoundingBox.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VideoObjectTrackingPredictionResult.BoundingBox.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public VideoObjectTrackingPredictionResult.BoundingBox.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides