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

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()
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
Overrides

build()

public VideoObjectTrackingPredictionResult.Frame build()

buildPartial()

public VideoObjectTrackingPredictionResult.Frame buildPartial()

clear()

public VideoObjectTrackingPredictionResult.Frame.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoObjectTrackingPredictionResult.Frame.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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;

clearXMax()

public VideoObjectTrackingPredictionResult.Frame.Builder clearXMax()

The rightmost coordinate of the bounding box.

.google.protobuf.FloatValue x_max = 3;

clearXMin()

public VideoObjectTrackingPredictionResult.Frame.Builder clearXMin()

The leftmost coordinate of the bounding box.

.google.protobuf.FloatValue x_min = 2;

clearYMax()

public VideoObjectTrackingPredictionResult.Frame.Builder clearYMax()

The bottommost coordinate of the bounding box.

.google.protobuf.FloatValue y_max = 5;

clearYMin()

public VideoObjectTrackingPredictionResult.Frame.Builder clearYMin()

The topmost coordinate of the bounding box.

.google.protobuf.FloatValue y_min = 4;

clone()

public VideoObjectTrackingPredictionResult.Frame.Builder clone()
Overrides

getDefaultInstanceForType()

public VideoObjectTrackingPredictionResult.Frame getDefaultInstanceForType()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public VideoObjectTrackingPredictionResult.Frame.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoObjectTrackingPredictionResult.Frame.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

public VideoObjectTrackingPredictionResult.Frame.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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
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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final VideoObjectTrackingPredictionResult.Frame.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

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

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

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

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

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

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

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