Class VideoObjectTrackingPredictionResult.Frame (3.50.0)

public static final class VideoObjectTrackingPredictionResult.Frame extends GeneratedMessageV3 implements VideoObjectTrackingPredictionResult.FrameOrBuilder

The fields xMin, xMax, yMin, and yMax refer to a bounding box, 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.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame

Inheritance

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

Static Fields

TIME_OFFSET_FIELD_NUMBER

public static final int TIME_OFFSET_FIELD_NUMBER
Field Value
Type Description
int

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.Frame getDefaultInstance()
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame

getDescriptor()

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

newBuilder()

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

newBuilder(VideoObjectTrackingPredictionResult.Frame prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTimeOffset()

public Duration getTimeOffset()

A time (frame) of a video in which the object has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_offset = 1;

Returns
Type Description
Duration

The timeOffset.

getTimeOffsetOrBuilder()

public DurationOrBuilder getTimeOffsetOrBuilder()

A time (frame) of a video in which the object has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_offset = 1;

Returns
Type Description
DurationOrBuilder

getXMax()

public FloatValue getXMax()

The rightmost coordinate of the bounding box.

.google.protobuf.FloatValue x_max = 3;

Returns
Type Description
FloatValue

The xMax.

getXMaxOrBuilder()

public FloatValueOrBuilder getXMaxOrBuilder()

The rightmost coordinate of the bounding box.

.google.protobuf.FloatValue x_max = 3;

Returns
Type Description
FloatValueOrBuilder

getXMin()

public FloatValue getXMin()

The leftmost coordinate of the bounding box.

.google.protobuf.FloatValue x_min = 2;

Returns
Type Description
FloatValue

The xMin.

getXMinOrBuilder()

public FloatValueOrBuilder getXMinOrBuilder()

The leftmost coordinate of the bounding box.

.google.protobuf.FloatValue x_min = 2;

Returns
Type Description
FloatValueOrBuilder

getYMax()

public FloatValue getYMax()

The bottommost coordinate of the bounding box.

.google.protobuf.FloatValue y_max = 5;

Returns
Type Description
FloatValue

The yMax.

getYMaxOrBuilder()

public FloatValueOrBuilder getYMaxOrBuilder()

The bottommost coordinate of the bounding box.

.google.protobuf.FloatValue y_max = 5;

Returns
Type Description
FloatValueOrBuilder

getYMin()

public FloatValue getYMin()

The topmost coordinate of the bounding box.

.google.protobuf.FloatValue y_min = 4;

Returns
Type Description
FloatValue

The yMin.

getYMinOrBuilder()

public FloatValueOrBuilder getYMinOrBuilder()

The topmost coordinate of the bounding box.

.google.protobuf.FloatValue y_min = 4;

Returns
Type Description
FloatValueOrBuilder

hasTimeOffset()

public boolean hasTimeOffset()

A time (frame) of a video in which the object has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_offset = 1;

Returns
Type Description
boolean

Whether the timeOffset field is set.

hasXMax()

public boolean hasXMax()

The rightmost coordinate of the bounding box.

.google.protobuf.FloatValue x_max = 3;

Returns
Type Description
boolean

Whether the xMax field is set.

hasXMin()

public boolean hasXMin()

The leftmost coordinate of the bounding box.

.google.protobuf.FloatValue x_min = 2;

Returns
Type Description
boolean

Whether the xMin field is set.

hasYMax()

public boolean hasYMax()

The bottommost coordinate of the bounding box.

.google.protobuf.FloatValue y_max = 5;

Returns
Type Description
boolean

Whether the yMax field is set.

hasYMin()

public boolean hasYMin()

The topmost coordinate of the bounding box.

.google.protobuf.FloatValue y_min = 4;

Returns
Type Description
boolean

Whether the yMin field is set.

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.Frame.Builder newBuilderForType()
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VideoObjectTrackingPredictionResult.Frame.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.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.Frame.Builder toBuilder()
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

writeTo(CodedOutputStream output)

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