Class VideoObjectTrackingPredictionResult.Frame.Builder (3.50.0)

public static final class VideoObjectTrackingPredictionResult.Frame.Builder extends GeneratedMessageV3.Builder<VideoObjectTrackingPredictionResult.Frame.Builder> 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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VideoObjectTrackingPredictionResult.Frame.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder
Overrides

build()

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

buildPartial()

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

clear()

public VideoObjectTrackingPredictionResult.Frame.Builder clear()
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VideoObjectTrackingPredictionResult.Frame.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoObjectTrackingPredictionResult.Frame.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder
Overrides

clearTimeOffset()

public VideoObjectTrackingPredictionResult.Frame.Builder clearTimeOffset()

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
VideoObjectTrackingPredictionResult.Frame.Builder

clearXMax()

public VideoObjectTrackingPredictionResult.Frame.Builder clearXMax()

The rightmost coordinate of the bounding box.

.google.protobuf.FloatValue x_max = 3;

Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

clearXMin()

public VideoObjectTrackingPredictionResult.Frame.Builder clearXMin()

The leftmost coordinate of the bounding box.

.google.protobuf.FloatValue x_min = 2;

Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

clearYMax()

public VideoObjectTrackingPredictionResult.Frame.Builder clearYMax()

The bottommost coordinate of the bounding box.

.google.protobuf.FloatValue y_max = 5;

Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

clearYMin()

public VideoObjectTrackingPredictionResult.Frame.Builder clearYMin()

The topmost coordinate of the bounding box.

.google.protobuf.FloatValue y_min = 4;

Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

clone()

public VideoObjectTrackingPredictionResult.Frame.Builder clone()
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getTimeOffsetBuilder()

public Duration.Builder getTimeOffsetBuilder()

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
Builder

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.

getXMaxBuilder()

public FloatValue.Builder getXMaxBuilder()

The rightmost coordinate of the bounding box.

.google.protobuf.FloatValue x_max = 3;

Returns
Type Description
Builder

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.

getXMinBuilder()

public FloatValue.Builder getXMinBuilder()

The leftmost coordinate of the bounding box.

.google.protobuf.FloatValue x_min = 2;

Returns
Type Description
Builder

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.

getYMaxBuilder()

public FloatValue.Builder getYMaxBuilder()

The bottommost coordinate of the bounding box.

.google.protobuf.FloatValue y_max = 5;

Returns
Type Description
Builder

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.

getYMinBuilder()

public FloatValue.Builder getYMinBuilder()

The topmost coordinate of the bounding box.

.google.protobuf.FloatValue y_min = 4;

Returns
Type Description
Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VideoObjectTrackingPredictionResult.Frame other)

public VideoObjectTrackingPredictionResult.Frame.Builder mergeFrom(VideoObjectTrackingPredictionResult.Frame other)
Parameter
Name Description
other VideoObjectTrackingPredictionResult.Frame
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VideoObjectTrackingPredictionResult.Frame.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VideoObjectTrackingPredictionResult.Frame.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder
Overrides

mergeTimeOffset(Duration value)

public VideoObjectTrackingPredictionResult.Frame.Builder mergeTimeOffset(Duration value)

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;

Parameter
Name Description
value Duration
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoObjectTrackingPredictionResult.Frame.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder
Overrides

mergeXMax(FloatValue value)

public VideoObjectTrackingPredictionResult.Frame.Builder mergeXMax(FloatValue value)

The rightmost coordinate of the bounding box.

.google.protobuf.FloatValue x_max = 3;

Parameter
Name Description
value FloatValue
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

mergeXMin(FloatValue value)

public VideoObjectTrackingPredictionResult.Frame.Builder mergeXMin(FloatValue value)

The leftmost coordinate of the bounding box.

.google.protobuf.FloatValue x_min = 2;

Parameter
Name Description
value FloatValue
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

mergeYMax(FloatValue value)

public VideoObjectTrackingPredictionResult.Frame.Builder mergeYMax(FloatValue value)

The bottommost coordinate of the bounding box.

.google.protobuf.FloatValue y_max = 5;

Parameter
Name Description
value FloatValue
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

mergeYMin(FloatValue value)

public VideoObjectTrackingPredictionResult.Frame.Builder mergeYMin(FloatValue value)

The topmost coordinate of the bounding box.

.google.protobuf.FloatValue y_min = 4;

Parameter
Name Description
value FloatValue
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VideoObjectTrackingPredictionResult.Frame.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VideoObjectTrackingPredictionResult.Frame.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder
Overrides

setTimeOffset(Duration value)

public VideoObjectTrackingPredictionResult.Frame.Builder setTimeOffset(Duration value)

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;

Parameter
Name Description
value Duration
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

setTimeOffset(Duration.Builder builderForValue)

public VideoObjectTrackingPredictionResult.Frame.Builder setTimeOffset(Duration.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final VideoObjectTrackingPredictionResult.Frame.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder
Overrides

setXMax(FloatValue value)

public VideoObjectTrackingPredictionResult.Frame.Builder setXMax(FloatValue value)

The rightmost coordinate of the bounding box.

.google.protobuf.FloatValue x_max = 3;

Parameter
Name Description
value FloatValue
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

setXMax(FloatValue.Builder builderForValue)

public VideoObjectTrackingPredictionResult.Frame.Builder setXMax(FloatValue.Builder builderForValue)

The rightmost coordinate of the bounding box.

.google.protobuf.FloatValue x_max = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

setXMin(FloatValue value)

public VideoObjectTrackingPredictionResult.Frame.Builder setXMin(FloatValue value)

The leftmost coordinate of the bounding box.

.google.protobuf.FloatValue x_min = 2;

Parameter
Name Description
value FloatValue
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

setXMin(FloatValue.Builder builderForValue)

public VideoObjectTrackingPredictionResult.Frame.Builder setXMin(FloatValue.Builder builderForValue)

The leftmost coordinate of the bounding box.

.google.protobuf.FloatValue x_min = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

setYMax(FloatValue value)

public VideoObjectTrackingPredictionResult.Frame.Builder setYMax(FloatValue value)

The bottommost coordinate of the bounding box.

.google.protobuf.FloatValue y_max = 5;

Parameter
Name Description
value FloatValue
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

setYMax(FloatValue.Builder builderForValue)

public VideoObjectTrackingPredictionResult.Frame.Builder setYMax(FloatValue.Builder builderForValue)

The bottommost coordinate of the bounding box.

.google.protobuf.FloatValue y_max = 5;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

setYMin(FloatValue value)

public VideoObjectTrackingPredictionResult.Frame.Builder setYMin(FloatValue value)

The topmost coordinate of the bounding box.

.google.protobuf.FloatValue y_min = 4;

Parameter
Name Description
value FloatValue
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder

setYMin(FloatValue.Builder builderForValue)

public VideoObjectTrackingPredictionResult.Frame.Builder setYMin(FloatValue.Builder builderForValue)

The topmost coordinate of the bounding box.

.google.protobuf.FloatValue y_min = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
VideoObjectTrackingPredictionResult.Frame.Builder