- 2.77.0 (latest)
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.71.0
- 2.69.0
- 2.67.0
- 2.66.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.13
- 2.1.0
- 2.0.27
public static final class ObjectTrackingAnnotation.Builder extends GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder> implements ObjectTrackingAnnotationOrBuilderAnnotations corresponding to one tracked object.
 Protobuf type google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ObjectTrackingAnnotation.BuilderImplements
ObjectTrackingAnnotationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addAllFrames(Iterable<? extends ObjectTrackingFrame> values)
public ObjectTrackingAnnotation.Builder addAllFrames(Iterable<? extends ObjectTrackingFrame> values)Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame> | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
addFrames(ObjectTrackingFrame value)
public ObjectTrackingAnnotation.Builder addFrames(ObjectTrackingFrame value)Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ObjectTrackingFrame | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
addFrames(ObjectTrackingFrame.Builder builderForValue)
public ObjectTrackingAnnotation.Builder addFrames(ObjectTrackingFrame.Builder builderForValue)Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | ObjectTrackingFrame.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
addFrames(int index, ObjectTrackingFrame value)
public ObjectTrackingAnnotation.Builder addFrames(int index, ObjectTrackingFrame value)Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | ObjectTrackingFrame | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
addFrames(int index, ObjectTrackingFrame.Builder builderForValue)
public ObjectTrackingAnnotation.Builder addFrames(int index, ObjectTrackingFrame.Builder builderForValue)Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | ObjectTrackingFrame.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
addFramesBuilder()
public ObjectTrackingFrame.Builder addFramesBuilder()Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingFrame.Builder | |
addFramesBuilder(int index)
public ObjectTrackingFrame.Builder addFramesBuilder(int index)Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingFrame.Builder | |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ObjectTrackingAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
build()
public ObjectTrackingAnnotation build()| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation | |
buildPartial()
public ObjectTrackingAnnotation buildPartial()| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation | |
clear()
public ObjectTrackingAnnotation.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
clearConfidence()
public ObjectTrackingAnnotation.Builder clearConfidence()Object category's labeling confidence of this track.
 float confidence = 4;
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | This builder for chaining. | 
clearEntity()
public ObjectTrackingAnnotation.Builder clearEntity()Entity to specify the object category that this track is labeled as.
 .google.cloud.videointelligence.v1p3beta1.Entity entity = 1;
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
clearField(Descriptors.FieldDescriptor field)
public ObjectTrackingAnnotation.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
clearFrames()
public ObjectTrackingAnnotation.Builder clearFrames()Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
clearOneof(Descriptors.OneofDescriptor oneof)
public ObjectTrackingAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
clearSegment()
public ObjectTrackingAnnotation.Builder clearSegment()Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears.
 .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3;
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
clearTrackId()
public ObjectTrackingAnnotation.Builder clearTrackId()Streaming mode ONLY. In streaming mode, we do not know the end time of a tracked object before it is completed. Hence, there is no VideoSegment info returned. Instead, we provide a unique identifiable integer track_id so that the customers can correlate the results of the ongoing ObjectTrackAnnotation of the same track_id over time.
 int64 track_id = 5;
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | This builder for chaining. | 
clearTrackInfo()
public ObjectTrackingAnnotation.Builder clearTrackInfo()| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
clone()
public ObjectTrackingAnnotation.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
getConfidence()
public float getConfidence()Object category's labeling confidence of this track.
 float confidence = 4;
| Returns | |
|---|---|
| Type | Description | 
| float | The confidence. | 
getDefaultInstanceForType()
public ObjectTrackingAnnotation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getEntity()
public Entity getEntity()Entity to specify the object category that this track is labeled as.
 .google.cloud.videointelligence.v1p3beta1.Entity entity = 1;
| Returns | |
|---|---|
| Type | Description | 
| Entity | The entity. | 
getEntityBuilder()
public Entity.Builder getEntityBuilder()Entity to specify the object category that this track is labeled as.
 .google.cloud.videointelligence.v1p3beta1.Entity entity = 1;
| Returns | |
|---|---|
| Type | Description | 
| Entity.Builder | |
getEntityOrBuilder()
public EntityOrBuilder getEntityOrBuilder()Entity to specify the object category that this track is labeled as.
 .google.cloud.videointelligence.v1p3beta1.Entity entity = 1;
| Returns | |
|---|---|
| Type | Description | 
| EntityOrBuilder | |
getFrames(int index)
public ObjectTrackingFrame getFrames(int index)Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingFrame | |
getFramesBuilder(int index)
public ObjectTrackingFrame.Builder getFramesBuilder(int index)Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingFrame.Builder | |
getFramesBuilderList()
public List<ObjectTrackingFrame.Builder> getFramesBuilderList()Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
 
| Returns | |
|---|---|
| Type | Description | 
| List<Builder> | |
getFramesCount()
public int getFramesCount()Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
 
| Returns | |
|---|---|
| Type | Description | 
| int | |
getFramesList()
public List<ObjectTrackingFrame> getFramesList()Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
 
| Returns | |
|---|---|
| Type | Description | 
| List<ObjectTrackingFrame> | |
getFramesOrBuilder(int index)
public ObjectTrackingFrameOrBuilder getFramesOrBuilder(int index)Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingFrameOrBuilder | |
getFramesOrBuilderList()
public List<? extends ObjectTrackingFrameOrBuilder> getFramesOrBuilderList()Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
 
| Returns | |
|---|---|
| Type | Description | 
| List<? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder> | |
getSegment()
public VideoSegment getSegment()Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears.
 .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3;
| Returns | |
|---|---|
| Type | Description | 
| VideoSegment | The segment. | 
getSegmentBuilder()
public VideoSegment.Builder getSegmentBuilder()Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears.
 .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3;
| Returns | |
|---|---|
| Type | Description | 
| VideoSegment.Builder | |
getSegmentOrBuilder()
public VideoSegmentOrBuilder getSegmentOrBuilder()Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears.
 .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3;
| Returns | |
|---|---|
| Type | Description | 
| VideoSegmentOrBuilder | |
getTrackId()
public long getTrackId()Streaming mode ONLY. In streaming mode, we do not know the end time of a tracked object before it is completed. Hence, there is no VideoSegment info returned. Instead, we provide a unique identifiable integer track_id so that the customers can correlate the results of the ongoing ObjectTrackAnnotation of the same track_id over time.
 int64 track_id = 5;
| Returns | |
|---|---|
| Type | Description | 
| long | The trackId. | 
getTrackInfoCase()
public ObjectTrackingAnnotation.TrackInfoCase getTrackInfoCase()| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.TrackInfoCase | |
hasEntity()
public boolean hasEntity()Entity to specify the object category that this track is labeled as.
 .google.cloud.videointelligence.v1p3beta1.Entity entity = 1;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the entity field is set. | 
hasSegment()
public boolean hasSegment()Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears.
 .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the segment field is set. | 
hasTrackId()
public boolean hasTrackId()Streaming mode ONLY. In streaming mode, we do not know the end time of a tracked object before it is completed. Hence, there is no VideoSegment info returned. Instead, we provide a unique identifiable integer track_id so that the customers can correlate the results of the ongoing ObjectTrackAnnotation of the same track_id over time.
 int64 track_id = 5;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the trackId field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeEntity(Entity value)
public ObjectTrackingAnnotation.Builder mergeEntity(Entity value)Entity to specify the object category that this track is labeled as.
 .google.cloud.videointelligence.v1p3beta1.Entity entity = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | Entity | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
mergeFrom(ObjectTrackingAnnotation other)
public ObjectTrackingAnnotation.Builder mergeFrom(ObjectTrackingAnnotation other)| Parameter | |
|---|---|
| Name | Description | 
| other | ObjectTrackingAnnotation | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ObjectTrackingAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public ObjectTrackingAnnotation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
mergeSegment(VideoSegment value)
public ObjectTrackingAnnotation.Builder mergeSegment(VideoSegment value)Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears.
 .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | VideoSegment | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ObjectTrackingAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
removeFrames(int index)
public ObjectTrackingAnnotation.Builder removeFrames(int index)Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
setConfidence(float value)
public ObjectTrackingAnnotation.Builder setConfidence(float value)Object category's labeling confidence of this track.
 float confidence = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | floatThe confidence to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | This builder for chaining. | 
setEntity(Entity value)
public ObjectTrackingAnnotation.Builder setEntity(Entity value)Entity to specify the object category that this track is labeled as.
 .google.cloud.videointelligence.v1p3beta1.Entity entity = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | Entity | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
setEntity(Entity.Builder builderForValue)
public ObjectTrackingAnnotation.Builder setEntity(Entity.Builder builderForValue)Entity to specify the object category that this track is labeled as.
 .google.cloud.videointelligence.v1p3beta1.Entity entity = 1;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Entity.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public ObjectTrackingAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
setFrames(int index, ObjectTrackingFrame value)
public ObjectTrackingAnnotation.Builder setFrames(int index, ObjectTrackingFrame value)Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | ObjectTrackingFrame | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
setFrames(int index, ObjectTrackingFrame.Builder builderForValue)
public ObjectTrackingAnnotation.Builder setFrames(int index, ObjectTrackingFrame.Builder builderForValue)Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.
 repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | ObjectTrackingFrame.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ObjectTrackingAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
setSegment(VideoSegment value)
public ObjectTrackingAnnotation.Builder setSegment(VideoSegment value)Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears.
 .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | VideoSegment | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
setSegment(VideoSegment.Builder builderForValue)
public ObjectTrackingAnnotation.Builder setSegment(VideoSegment.Builder builderForValue)Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears.
 .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | VideoSegment.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |
setTrackId(long value)
public ObjectTrackingAnnotation.Builder setTrackId(long value)Streaming mode ONLY. In streaming mode, we do not know the end time of a tracked object before it is completed. Hence, there is no VideoSegment info returned. Instead, we provide a unique identifiable integer track_id so that the customers can correlate the results of the ongoing ObjectTrackAnnotation of the same track_id over time.
 int64 track_id = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | longThe trackId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final ObjectTrackingAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| ObjectTrackingAnnotation.Builder | |