Class VideoObjectTrackingPredictionResult.Frame.Builder (3.25.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.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VideoObjectTrackingPredictionResult.Frame.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame.Builder
Overrides

build()

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

buildPartial()

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

clear()

public VideoObjectTrackingPredictionResult.Frame.Builder clear()
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VideoObjectTrackingPredictionResult.Frame.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoObjectTrackingPredictionResult.Frame.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
VideoObjectTrackingPredictionResult.Frame.Builder

clearXMax()

public VideoObjectTrackingPredictionResult.Frame.Builder clearXMax()

The rightmost coordinate of the bounding box.

.google.protobuf.FloatValue x_max = 3;

Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame.Builder

clearXMin()

public VideoObjectTrackingPredictionResult.Frame.Builder clearXMin()

The leftmost coordinate of the bounding box.

.google.protobuf.FloatValue x_min = 2;

Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame.Builder

clearYMax()

public VideoObjectTrackingPredictionResult.Frame.Builder clearYMax()

The bottommost coordinate of the bounding box.

.google.protobuf.FloatValue y_max = 5;

Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame.Builder

clearYMin()

public VideoObjectTrackingPredictionResult.Frame.Builder clearYMin()

The topmost coordinate of the bounding box.

.google.protobuf.FloatValue y_min = 4;

Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame.Builder

clone()

public VideoObjectTrackingPredictionResult.Frame.Builder clone()
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

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

getXMax()

public FloatValue getXMax()

The rightmost coordinate of the bounding box.

.google.protobuf.FloatValue x_max = 3;

Returns
TypeDescription
FloatValue

The xMax.

getXMaxBuilder()

public FloatValue.Builder getXMaxBuilder()

The rightmost coordinate of the bounding box.

.google.protobuf.FloatValue x_max = 3;

Returns
TypeDescription
Builder

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.

getXMinBuilder()

public FloatValue.Builder getXMinBuilder()

The leftmost coordinate of the bounding box.

.google.protobuf.FloatValue x_min = 2;

Returns
TypeDescription
Builder

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.

getYMaxBuilder()

public FloatValue.Builder getYMaxBuilder()

The bottommost coordinate of the bounding box.

.google.protobuf.FloatValue y_max = 5;

Returns
TypeDescription
Builder

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.

getYMinBuilder()

public FloatValue.Builder getYMinBuilder()

The topmost coordinate of the bounding box.

.google.protobuf.FloatValue y_min = 4;

Returns
TypeDescription
Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VideoObjectTrackingPredictionResult.Frame other)

public VideoObjectTrackingPredictionResult.Frame.Builder mergeFrom(VideoObjectTrackingPredictionResult.Frame other)
Parameter
NameDescription
otherVideoObjectTrackingPredictionResult.Frame
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VideoObjectTrackingPredictionResult.Frame.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VideoObjectTrackingPredictionResult.Frame.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoObjectTrackingPredictionResult.Frame.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFloatValue
Returns
TypeDescription
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
NameDescription
valueFloatValue
Returns
TypeDescription
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
NameDescription
valueFloatValue
Returns
TypeDescription
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
NameDescription
valueFloatValue
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VideoObjectTrackingPredictionResult.Frame.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final VideoObjectTrackingPredictionResult.Frame.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFloatValue
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueFloatValue
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueFloatValue
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueFloatValue
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame.Builder