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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ObjectTrackingFrame.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ObjectTrackingFrame build()
Returns
buildPartial()
public ObjectTrackingFrame buildPartial()
Returns
clear()
public ObjectTrackingFrame.Builder clear()
Returns
Overrides
clearBoundedArea()
public ObjectTrackingFrame.Builder clearBoundedArea()
Returns
clearBoundingPoly()
public ObjectTrackingFrame.Builder clearBoundingPoly()
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ObjectTrackingFrame.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNormalizedBoundingPoly()
public ObjectTrackingFrame.Builder clearNormalizedBoundingPoly()
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ObjectTrackingFrame.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public ObjectTrackingFrame.Builder clone()
Returns
Overrides
getBoundedAreaCase()
public ObjectTrackingFrame.BoundedAreaCase getBoundedAreaCase()
Returns
getBoundingPoly()
public BoundingPoly getBoundingPoly()
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 1;
Returns
getBoundingPolyBuilder()
public BoundingPoly.Builder getBoundingPolyBuilder()
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 1;
Returns
getBoundingPolyOrBuilder()
public BoundingPolyOrBuilder getBoundingPolyOrBuilder()
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 1;
Returns
getDefaultInstanceForType()
public ObjectTrackingFrame getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNormalizedBoundingPoly()
public NormalizedBoundingPoly getNormalizedBoundingPoly()
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 2;
Returns
getNormalizedBoundingPolyBuilder()
public NormalizedBoundingPoly.Builder getNormalizedBoundingPolyBuilder()
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 2;
Returns
getNormalizedBoundingPolyOrBuilder()
public NormalizedBoundingPolyOrBuilder getNormalizedBoundingPolyOrBuilder()
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 2;
Returns
getTimeOffset()
public Duration getTimeOffset()
The time offset of this frame relative to the beginning of the video.
.google.protobuf.Duration time_offset = 3;
Returns
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
getTimeOffsetOrBuilder()
public DurationOrBuilder getTimeOffsetOrBuilder()
The time offset of this frame relative to the beginning of the video.
.google.protobuf.Duration time_offset = 3;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeBoundingPoly(BoundingPoly value)
public ObjectTrackingFrame.Builder mergeBoundingPoly(BoundingPoly value)
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 1;
Parameter
Returns
mergeFrom(ObjectTrackingFrame other)
public ObjectTrackingFrame.Builder mergeFrom(ObjectTrackingFrame other)
Parameter
Returns
public ObjectTrackingFrame.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ObjectTrackingFrame.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeNormalizedBoundingPoly(NormalizedBoundingPoly value)
public ObjectTrackingFrame.Builder mergeNormalizedBoundingPoly(NormalizedBoundingPoly value)
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 2;
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ObjectTrackingFrame.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setBoundingPoly(BoundingPoly value)
public ObjectTrackingFrame.Builder setBoundingPoly(BoundingPoly value)
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 1;
Parameter
Returns
setBoundingPoly(BoundingPoly.Builder builderForValue)
public ObjectTrackingFrame.Builder setBoundingPoly(BoundingPoly.Builder builderForValue)
.google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ObjectTrackingFrame.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNormalizedBoundingPoly(NormalizedBoundingPoly value)
public ObjectTrackingFrame.Builder setNormalizedBoundingPoly(NormalizedBoundingPoly value)
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 2;
Parameter
Returns
setNormalizedBoundingPoly(NormalizedBoundingPoly.Builder builderForValue)
public ObjectTrackingFrame.Builder setNormalizedBoundingPoly(NormalizedBoundingPoly.Builder builderForValue)
.google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ObjectTrackingFrame.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final ObjectTrackingFrame.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides