Class VideoObjectTrackingPredictionResult.Frame (3.7.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
TypeDescription
int

X_MAX_FIELD_NUMBER

public static final int X_MAX_FIELD_NUMBER
Field Value
TypeDescription
int

X_MIN_FIELD_NUMBER

public static final int X_MIN_FIELD_NUMBER
Field Value
TypeDescription
int

Y_MAX_FIELD_NUMBER

public static final int Y_MAX_FIELD_NUMBER
Field Value
TypeDescription
int

Y_MIN_FIELD_NUMBER

public static final int Y_MIN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VideoObjectTrackingPredictionResult.Frame getDefaultInstance()
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VideoObjectTrackingPredictionResult.Frame.Builder newBuilder()
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame.Builder

newBuilder(VideoObjectTrackingPredictionResult.Frame prototype)

public static VideoObjectTrackingPredictionResult.Frame.Builder newBuilder(VideoObjectTrackingPredictionResult.Frame prototype)
Parameter
NameDescription
prototypeVideoObjectTrackingPredictionResult.Frame
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame.Builder

parseDelimitedFrom(InputStream input)

public static VideoObjectTrackingPredictionResult.Frame parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingPredictionResult.Frame parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VideoObjectTrackingPredictionResult.Frame parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingPredictionResult.Frame parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VideoObjectTrackingPredictionResult.Frame parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingPredictionResult.Frame parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VideoObjectTrackingPredictionResult.Frame parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingPredictionResult.Frame parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VideoObjectTrackingPredictionResult.Frame parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingPredictionResult.Frame parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VideoObjectTrackingPredictionResult.Frame parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingPredictionResult.Frame parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public VideoObjectTrackingPredictionResult.Frame getDefaultInstanceForType()
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DurationOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getXMax()

public FloatValue getXMax()

The rightmost coordinate of the bounding box.

.google.protobuf.FloatValue x_max = 3;

Returns
TypeDescription
FloatValue

The xMax.

getXMaxOrBuilder()

public FloatValueOrBuilder getXMaxOrBuilder()

The rightmost coordinate of the bounding box.

.google.protobuf.FloatValue x_max = 3;

Returns
TypeDescription
FloatValueOrBuilder

getXMin()

public FloatValue getXMin()

The leftmost coordinate of the bounding box.

.google.protobuf.FloatValue x_min = 2;

Returns
TypeDescription
FloatValue

The xMin.

getXMinOrBuilder()

public FloatValueOrBuilder getXMinOrBuilder()

The leftmost coordinate of the bounding box.

.google.protobuf.FloatValue x_min = 2;

Returns
TypeDescription
FloatValueOrBuilder

getYMax()

public FloatValue getYMax()

The bottommost coordinate of the bounding box.

.google.protobuf.FloatValue y_max = 5;

Returns
TypeDescription
FloatValue

The yMax.

getYMaxOrBuilder()

public FloatValueOrBuilder getYMaxOrBuilder()

The bottommost coordinate of the bounding box.

.google.protobuf.FloatValue y_max = 5;

Returns
TypeDescription
FloatValueOrBuilder

getYMin()

public FloatValue getYMin()

The topmost coordinate of the bounding box.

.google.protobuf.FloatValue y_min = 4;

Returns
TypeDescription
FloatValue

The yMin.

getYMinOrBuilder()

public FloatValueOrBuilder getYMinOrBuilder()

The topmost coordinate of the bounding box.

.google.protobuf.FloatValue y_min = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the yMin field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VideoObjectTrackingPredictionResult.Frame.Builder newBuilderForType()
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VideoObjectTrackingPredictionResult.Frame.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VideoObjectTrackingPredictionResult.Frame.Builder toBuilder()
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException