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