Class ObjectTrackingFrame.Builder (0.172.0)

public static final class ObjectTrackingFrame.Builder extends GeneratedMessageV3.Builder<ObjectTrackingFrame.Builder> implements ObjectTrackingFrameOrBuilder

Video frame level annotation for object detection and tracking.

Protobuf type google.cloud.datalabeling.v1beta1.ObjectTrackingFrame

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ObjectTrackingFrame build()
Returns
Type Description
ObjectTrackingFrame

buildPartial()

public ObjectTrackingFrame buildPartial()
Returns
Type Description
ObjectTrackingFrame

clear()

public ObjectTrackingFrame.Builder clear()
Returns
Type Description
ObjectTrackingFrame.Builder
Overrides

clearBoundedArea()

public ObjectTrackingFrame.Builder clearBoundedArea()
Returns
Type Description
ObjectTrackingFrame.Builder

clearBoundingPoly()

public ObjectTrackingFrame.Builder clearBoundingPoly()

.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 1;

Returns
Type Description
ObjectTrackingFrame.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNormalizedBoundingPoly()

public ObjectTrackingFrame.Builder clearNormalizedBoundingPoly()

.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 2;

Returns
Type Description
ObjectTrackingFrame.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTimeOffset()

public ObjectTrackingFrame.Builder clearTimeOffset()

The time offset of this frame relative to the beginning of the video.

.google.protobuf.Duration time_offset = 3;

Returns
Type Description
ObjectTrackingFrame.Builder

clone()

public ObjectTrackingFrame.Builder clone()
Returns
Type Description
ObjectTrackingFrame.Builder
Overrides

getBoundedAreaCase()

public ObjectTrackingFrame.BoundedAreaCase getBoundedAreaCase()
Returns
Type Description
ObjectTrackingFrame.BoundedAreaCase

getBoundingPoly()

public BoundingPoly getBoundingPoly()

.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 1;

Returns
Type Description
BoundingPoly

The boundingPoly.

getBoundingPolyBuilder()

public BoundingPoly.Builder getBoundingPolyBuilder()

.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 1;

Returns
Type Description
BoundingPoly.Builder

getBoundingPolyOrBuilder()

public BoundingPolyOrBuilder getBoundingPolyOrBuilder()

.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 1;

Returns
Type Description
BoundingPolyOrBuilder

getDefaultInstanceForType()

public ObjectTrackingFrame getDefaultInstanceForType()
Returns
Type Description
ObjectTrackingFrame

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNormalizedBoundingPoly()

public NormalizedBoundingPoly getNormalizedBoundingPoly()

.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 2;

Returns
Type Description
NormalizedBoundingPoly

The normalizedBoundingPoly.

getNormalizedBoundingPolyBuilder()

public NormalizedBoundingPoly.Builder getNormalizedBoundingPolyBuilder()

.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 2;

Returns
Type Description
NormalizedBoundingPoly.Builder

getNormalizedBoundingPolyOrBuilder()

public NormalizedBoundingPolyOrBuilder getNormalizedBoundingPolyOrBuilder()

.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 2;

Returns
Type Description
NormalizedBoundingPolyOrBuilder

getTimeOffset()

public Duration getTimeOffset()

The time offset of this frame relative to the beginning of the video.

.google.protobuf.Duration time_offset = 3;

Returns
Type Description
Duration

The timeOffset.

getTimeOffsetBuilder()

public Duration.Builder getTimeOffsetBuilder()

The time offset of this frame relative to the beginning of the video.

.google.protobuf.Duration time_offset = 3;

Returns
Type Description
Builder

getTimeOffsetOrBuilder()

public DurationOrBuilder getTimeOffsetOrBuilder()

The time offset of this frame relative to the beginning of the video.

.google.protobuf.Duration time_offset = 3;

Returns
Type Description
DurationOrBuilder

hasBoundingPoly()

public boolean hasBoundingPoly()

.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 1;

Returns
Type Description
boolean

Whether the boundingPoly field is set.

hasNormalizedBoundingPoly()

public boolean hasNormalizedBoundingPoly()

.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 2;

Returns
Type Description
boolean

Whether the normalizedBoundingPoly field is set.

hasTimeOffset()

public boolean hasTimeOffset()

The time offset of this frame relative to the beginning of the video.

.google.protobuf.Duration time_offset = 3;

Returns
Type Description
boolean

Whether the timeOffset field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBoundingPoly(BoundingPoly value)

public ObjectTrackingFrame.Builder mergeBoundingPoly(BoundingPoly value)

.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 1;

Parameter
Name Description
value BoundingPoly
Returns
Type Description
ObjectTrackingFrame.Builder

mergeFrom(ObjectTrackingFrame other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNormalizedBoundingPoly(NormalizedBoundingPoly value)

public ObjectTrackingFrame.Builder mergeNormalizedBoundingPoly(NormalizedBoundingPoly value)

.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 2;

Parameter
Name Description
value NormalizedBoundingPoly
Returns
Type Description
ObjectTrackingFrame.Builder

mergeTimeOffset(Duration value)

public ObjectTrackingFrame.Builder mergeTimeOffset(Duration value)

The time offset of this frame relative to the beginning of the video.

.google.protobuf.Duration time_offset = 3;

Parameter
Name Description
value Duration
Returns
Type Description
ObjectTrackingFrame.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBoundingPoly(BoundingPoly value)

public ObjectTrackingFrame.Builder setBoundingPoly(BoundingPoly value)

.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 1;

Parameter
Name Description
value BoundingPoly
Returns
Type Description
ObjectTrackingFrame.Builder

setBoundingPoly(BoundingPoly.Builder builderForValue)

public ObjectTrackingFrame.Builder setBoundingPoly(BoundingPoly.Builder builderForValue)

.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 1;

Parameter
Name Description
builderForValue BoundingPoly.Builder
Returns
Type Description
ObjectTrackingFrame.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNormalizedBoundingPoly(NormalizedBoundingPoly value)

public ObjectTrackingFrame.Builder setNormalizedBoundingPoly(NormalizedBoundingPoly value)

.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 2;

Parameter
Name Description
value NormalizedBoundingPoly
Returns
Type Description
ObjectTrackingFrame.Builder

setNormalizedBoundingPoly(NormalizedBoundingPoly.Builder builderForValue)

public ObjectTrackingFrame.Builder setNormalizedBoundingPoly(NormalizedBoundingPoly.Builder builderForValue)

.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 2;

Parameter
Name Description
builderForValue NormalizedBoundingPoly.Builder
Returns
Type Description
ObjectTrackingFrame.Builder

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

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

setTimeOffset(Duration value)

public ObjectTrackingFrame.Builder setTimeOffset(Duration value)

The time offset of this frame relative to the beginning of the video.

.google.protobuf.Duration time_offset = 3;

Parameter
Name Description
value Duration
Returns
Type Description
ObjectTrackingFrame.Builder

setTimeOffset(Duration.Builder builderForValue)

public ObjectTrackingFrame.Builder setTimeOffset(Duration.Builder builderForValue)

The time offset of this frame relative to the beginning of the video.

.google.protobuf.Duration time_offset = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ObjectTrackingFrame.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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