public static final class VideoObjectTrackingAnnotation.Builder extends GeneratedMessageV3.Builder<VideoObjectTrackingAnnotation.Builder> implements VideoObjectTrackingAnnotationOrBuilder
Video object tracking annotation.
Protobuf type google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation
Inherited Members
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()
Methods
addAllObjectTrackingFrames(Iterable<? extends ObjectTrackingFrame> values)
public VideoObjectTrackingAnnotation.Builder addAllObjectTrackingFrames(Iterable<? extends ObjectTrackingFrame> values)
The list of frames where this object track appears.
repeated .google.cloud.datalabeling.v1beta1.ObjectTrackingFrame object_tracking_frames = 3;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.datalabeling.v1beta1.ObjectTrackingFrame>
|
addObjectTrackingFrames(ObjectTrackingFrame value)
public VideoObjectTrackingAnnotation.Builder addObjectTrackingFrames(ObjectTrackingFrame value)
The list of frames where this object track appears.
repeated .google.cloud.datalabeling.v1beta1.ObjectTrackingFrame object_tracking_frames = 3;
addObjectTrackingFrames(ObjectTrackingFrame.Builder builderForValue)
public VideoObjectTrackingAnnotation.Builder addObjectTrackingFrames(ObjectTrackingFrame.Builder builderForValue)
The list of frames where this object track appears.
repeated .google.cloud.datalabeling.v1beta1.ObjectTrackingFrame object_tracking_frames = 3;
addObjectTrackingFrames(int index, ObjectTrackingFrame value)
public VideoObjectTrackingAnnotation.Builder addObjectTrackingFrames(int index, ObjectTrackingFrame value)
The list of frames where this object track appears.
repeated .google.cloud.datalabeling.v1beta1.ObjectTrackingFrame object_tracking_frames = 3;
addObjectTrackingFrames(int index, ObjectTrackingFrame.Builder builderForValue)
public VideoObjectTrackingAnnotation.Builder addObjectTrackingFrames(int index, ObjectTrackingFrame.Builder builderForValue)
The list of frames where this object track appears.
repeated .google.cloud.datalabeling.v1beta1.ObjectTrackingFrame object_tracking_frames = 3;
addObjectTrackingFramesBuilder()
public ObjectTrackingFrame.Builder addObjectTrackingFramesBuilder()
The list of frames where this object track appears.
repeated .google.cloud.datalabeling.v1beta1.ObjectTrackingFrame object_tracking_frames = 3;
addObjectTrackingFramesBuilder(int index)
public ObjectTrackingFrame.Builder addObjectTrackingFramesBuilder(int index)
The list of frames where this object track appears.
repeated .google.cloud.datalabeling.v1beta1.ObjectTrackingFrame object_tracking_frames = 3;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VideoObjectTrackingAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public VideoObjectTrackingAnnotation build()
buildPartial()
public VideoObjectTrackingAnnotation buildPartial()
clear()
public VideoObjectTrackingAnnotation.Builder clear()
Overrides
clearAnnotationSpec()
public VideoObjectTrackingAnnotation.Builder clearAnnotationSpec()
Label of the object tracked in this annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
clearField(Descriptors.FieldDescriptor field)
public VideoObjectTrackingAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearObjectTrackingFrames()
public VideoObjectTrackingAnnotation.Builder clearObjectTrackingFrames()
The list of frames where this object track appears.
repeated .google.cloud.datalabeling.v1beta1.ObjectTrackingFrame object_tracking_frames = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public VideoObjectTrackingAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTimeSegment()
public VideoObjectTrackingAnnotation.Builder clearTimeSegment()
The time segment of the video to which object tracking applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 2;
clone()
public VideoObjectTrackingAnnotation.Builder clone()
Overrides
getAnnotationSpec()
public AnnotationSpec getAnnotationSpec()
Label of the object tracked in this annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
getAnnotationSpecBuilder()
public AnnotationSpec.Builder getAnnotationSpecBuilder()
Label of the object tracked in this annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
getAnnotationSpecOrBuilder()
public AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()
Label of the object tracked in this annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
getDefaultInstanceForType()
public VideoObjectTrackingAnnotation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getObjectTrackingFrames(int index)
public ObjectTrackingFrame getObjectTrackingFrames(int index)
The list of frames where this object track appears.
repeated .google.cloud.datalabeling.v1beta1.ObjectTrackingFrame object_tracking_frames = 3;
Parameter |
Name |
Description |
index |
int
|
getObjectTrackingFramesBuilder(int index)
public ObjectTrackingFrame.Builder getObjectTrackingFramesBuilder(int index)
The list of frames where this object track appears.
repeated .google.cloud.datalabeling.v1beta1.ObjectTrackingFrame object_tracking_frames = 3;
Parameter |
Name |
Description |
index |
int
|
getObjectTrackingFramesBuilderList()
public List<ObjectTrackingFrame.Builder> getObjectTrackingFramesBuilderList()
The list of frames where this object track appears.
repeated .google.cloud.datalabeling.v1beta1.ObjectTrackingFrame object_tracking_frames = 3;
getObjectTrackingFramesCount()
public int getObjectTrackingFramesCount()
The list of frames where this object track appears.
repeated .google.cloud.datalabeling.v1beta1.ObjectTrackingFrame object_tracking_frames = 3;
Returns |
Type |
Description |
int |
|
getObjectTrackingFramesList()
public List<ObjectTrackingFrame> getObjectTrackingFramesList()
The list of frames where this object track appears.
repeated .google.cloud.datalabeling.v1beta1.ObjectTrackingFrame object_tracking_frames = 3;
getObjectTrackingFramesOrBuilder(int index)
public ObjectTrackingFrameOrBuilder getObjectTrackingFramesOrBuilder(int index)
The list of frames where this object track appears.
repeated .google.cloud.datalabeling.v1beta1.ObjectTrackingFrame object_tracking_frames = 3;
Parameter |
Name |
Description |
index |
int
|
getObjectTrackingFramesOrBuilderList()
public List<? extends ObjectTrackingFrameOrBuilder> getObjectTrackingFramesOrBuilderList()
The list of frames where this object track appears.
repeated .google.cloud.datalabeling.v1beta1.ObjectTrackingFrame object_tracking_frames = 3;
Returns |
Type |
Description |
List<? extends com.google.cloud.datalabeling.v1beta1.ObjectTrackingFrameOrBuilder> |
|
getTimeSegment()
public TimeSegment getTimeSegment()
The time segment of the video to which object tracking applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 2;
getTimeSegmentBuilder()
public TimeSegment.Builder getTimeSegmentBuilder()
The time segment of the video to which object tracking applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 2;
getTimeSegmentOrBuilder()
public TimeSegmentOrBuilder getTimeSegmentOrBuilder()
The time segment of the video to which object tracking applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 2;
hasAnnotationSpec()
public boolean hasAnnotationSpec()
Label of the object tracked in this annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
Returns |
Type |
Description |
boolean |
Whether the annotationSpec field is set.
|
hasTimeSegment()
public boolean hasTimeSegment()
The time segment of the video to which object tracking applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 2;
Returns |
Type |
Description |
boolean |
Whether the timeSegment field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAnnotationSpec(AnnotationSpec value)
public VideoObjectTrackingAnnotation.Builder mergeAnnotationSpec(AnnotationSpec value)
Label of the object tracked in this annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
mergeFrom(VideoObjectTrackingAnnotation other)
public VideoObjectTrackingAnnotation.Builder mergeFrom(VideoObjectTrackingAnnotation other)
public VideoObjectTrackingAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public VideoObjectTrackingAnnotation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeTimeSegment(TimeSegment value)
public VideoObjectTrackingAnnotation.Builder mergeTimeSegment(TimeSegment value)
The time segment of the video to which object tracking applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VideoObjectTrackingAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeObjectTrackingFrames(int index)
public VideoObjectTrackingAnnotation.Builder removeObjectTrackingFrames(int index)
The list of frames where this object track appears.
repeated .google.cloud.datalabeling.v1beta1.ObjectTrackingFrame object_tracking_frames = 3;
Parameter |
Name |
Description |
index |
int
|
setAnnotationSpec(AnnotationSpec value)
public VideoObjectTrackingAnnotation.Builder setAnnotationSpec(AnnotationSpec value)
Label of the object tracked in this annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
setAnnotationSpec(AnnotationSpec.Builder builderForValue)
public VideoObjectTrackingAnnotation.Builder setAnnotationSpec(AnnotationSpec.Builder builderForValue)
Label of the object tracked in this annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public VideoObjectTrackingAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setObjectTrackingFrames(int index, ObjectTrackingFrame value)
public VideoObjectTrackingAnnotation.Builder setObjectTrackingFrames(int index, ObjectTrackingFrame value)
The list of frames where this object track appears.
repeated .google.cloud.datalabeling.v1beta1.ObjectTrackingFrame object_tracking_frames = 3;
setObjectTrackingFrames(int index, ObjectTrackingFrame.Builder builderForValue)
public VideoObjectTrackingAnnotation.Builder setObjectTrackingFrames(int index, ObjectTrackingFrame.Builder builderForValue)
The list of frames where this object track appears.
repeated .google.cloud.datalabeling.v1beta1.ObjectTrackingFrame object_tracking_frames = 3;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VideoObjectTrackingAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTimeSegment(TimeSegment value)
public VideoObjectTrackingAnnotation.Builder setTimeSegment(TimeSegment value)
The time segment of the video to which object tracking applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 2;
setTimeSegment(TimeSegment.Builder builderForValue)
public VideoObjectTrackingAnnotation.Builder setTimeSegment(TimeSegment.Builder builderForValue)
The time segment of the video to which object tracking applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 2;
setUnknownFields(UnknownFieldSet unknownFields)
public final VideoObjectTrackingAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides