public static final class VideoObjectTrackingAnnotation.Builder extends GeneratedMessage.Builder<VideoObjectTrackingAnnotation.Builder> implements VideoObjectTrackingAnnotationOrBuilderVideo object tracking annotation.
Protobuf type google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > VideoObjectTrackingAnnotation.BuilderImplements
VideoObjectTrackingAnnotationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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> |
| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
ObjectTrackingFrame |
| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ObjectTrackingFrame.Builder |
| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ObjectTrackingFrame |
| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ObjectTrackingFrame.Builder |
| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|
addObjectTrackingFramesBuilder()
public ObjectTrackingFrame.Builder addObjectTrackingFramesBuilder()The list of frames where this object track appears.
repeated .google.cloud.datalabeling.v1beta1.ObjectTrackingFrame object_tracking_frames = 3;
| Returns | |
|---|---|
| Type | Description |
ObjectTrackingFrame.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
ObjectTrackingFrame.Builder |
|
build()
public VideoObjectTrackingAnnotation build()| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation |
|
buildPartial()
public VideoObjectTrackingAnnotation buildPartial()| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation |
|
clear()
public VideoObjectTrackingAnnotation.Builder clear()| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|
clearAnnotationSpec()
public VideoObjectTrackingAnnotation.Builder clearAnnotationSpec()Label of the object tracked in this annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|
clearObjectTrackingFrames()
public VideoObjectTrackingAnnotation.Builder clearObjectTrackingFrames()The list of frames where this object track appears.
repeated .google.cloud.datalabeling.v1beta1.ObjectTrackingFrame object_tracking_frames = 3;
| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|
clearTimeSegment()
public VideoObjectTrackingAnnotation.Builder clearTimeSegment()The time segment of the video to which object tracking applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 2;
| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|
getAnnotationSpec()
public AnnotationSpec getAnnotationSpec()Label of the object tracked in this annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
| Returns | |
|---|---|
| Type | Description |
AnnotationSpec |
The annotationSpec. |
getAnnotationSpecBuilder()
public AnnotationSpec.Builder getAnnotationSpecBuilder()Label of the object tracked in this annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
| Returns | |
|---|---|
| Type | Description |
AnnotationSpec.Builder |
|
getAnnotationSpecOrBuilder()
public AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()Label of the object tracked in this annotation.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
| Returns | |
|---|---|
| Type | Description |
AnnotationSpecOrBuilder |
|
getDefaultInstanceForType()
public VideoObjectTrackingAnnotation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
| Returns | |
|---|---|
| Type | Description |
ObjectTrackingFrame |
|
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 |
| Returns | |
|---|---|
| Type | Description |
ObjectTrackingFrame.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<ObjectTrackingFrame> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
ObjectTrackingFrameOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
TimeSegment |
The timeSegment. |
getTimeSegmentBuilder()
public TimeSegment.Builder getTimeSegmentBuilder()The time segment of the video to which object tracking applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 2;
| Returns | |
|---|---|
| Type | Description |
TimeSegment.Builder |
|
getTimeSegmentOrBuilder()
public TimeSegmentOrBuilder getTimeSegmentOrBuilder()The time segment of the video to which object tracking applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 2;
| Returns | |
|---|---|
| Type | Description |
TimeSegmentOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
AnnotationSpec |
| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|
mergeFrom(VideoObjectTrackingAnnotation other)
public VideoObjectTrackingAnnotation.Builder mergeFrom(VideoObjectTrackingAnnotation other)| Parameter | |
|---|---|
| Name | Description |
other |
VideoObjectTrackingAnnotation |
| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VideoObjectTrackingAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VideoObjectTrackingAnnotation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
TimeSegment |
| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
AnnotationSpec |
| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AnnotationSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ObjectTrackingFrame |
| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ObjectTrackingFrame.Builder |
| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
TimeSegment |
| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
TimeSegment.Builder |
| Returns | |
|---|---|
| Type | Description |
VideoObjectTrackingAnnotation.Builder |
|