public static final class VideoObjectTrackingPredictionResult.BoundingBox.Builder extends GeneratedMessageV3.Builder<VideoObjectTrackingPredictionResult.BoundingBox.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VideoObjectTrackingPredictionResult.BoundingBox.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public VideoObjectTrackingPredictionResult.BoundingBox build()
buildPartial()
public VideoObjectTrackingPredictionResult.BoundingBox buildPartial()
clear()
public VideoObjectTrackingPredictionResult.BoundingBox.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public VideoObjectTrackingPredictionResult.BoundingBox.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VideoObjectTrackingPredictionResult.BoundingBox.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearXMax()
public VideoObjectTrackingPredictionResult.BoundingBox.Builder clearXMax()
The rightmost coordinate of the bounding box.
float x_max = 2;
clearXMin()
public VideoObjectTrackingPredictionResult.BoundingBox.Builder clearXMin()
The leftmost coordinate of the bounding box.
float x_min = 1;
clearYMax()
public VideoObjectTrackingPredictionResult.BoundingBox.Builder clearYMax()
The bottommost coordinate of the bounding box.
float y_max = 4;
clearYMin()
public VideoObjectTrackingPredictionResult.BoundingBox.Builder clearYMin()
The topmost coordinate of the bounding box.
float y_min = 3;
clone()
public VideoObjectTrackingPredictionResult.BoundingBox.Builder clone()
Overrides
getDefaultInstanceForType()
public VideoObjectTrackingPredictionResult.BoundingBox getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(VideoObjectTrackingPredictionResult.BoundingBox other)
public VideoObjectTrackingPredictionResult.BoundingBox.Builder mergeFrom(VideoObjectTrackingPredictionResult.BoundingBox other)
public VideoObjectTrackingPredictionResult.BoundingBox.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public VideoObjectTrackingPredictionResult.BoundingBox.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VideoObjectTrackingPredictionResult.BoundingBox.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public VideoObjectTrackingPredictionResult.BoundingBox.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VideoObjectTrackingPredictionResult.BoundingBox.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VideoObjectTrackingPredictionResult.BoundingBox.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setXMax(float value)
public VideoObjectTrackingPredictionResult.BoundingBox.Builder setXMax(float value)
The rightmost coordinate of the bounding box.
float x_max = 2;
Parameter |
Name |
Description |
value |
float
The xMax to set.
|
setXMin(float value)
public VideoObjectTrackingPredictionResult.BoundingBox.Builder setXMin(float value)
The leftmost coordinate of the bounding box.
float x_min = 1;
Parameter |
Name |
Description |
value |
float
The xMin to set.
|
setYMax(float value)
public VideoObjectTrackingPredictionResult.BoundingBox.Builder setYMax(float value)
The bottommost coordinate of the bounding box.
float y_max = 4;
Parameter |
Name |
Description |
value |
float
The yMax to set.
|
setYMin(float value)
public VideoObjectTrackingPredictionResult.BoundingBox.Builder setYMin(float value)
The topmost coordinate of the bounding box.
float y_min = 3;
Parameter |
Name |
Description |
value |
float
The yMin to set.
|