- 2.54.0 (latest)
- 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 ObjectTrackingAnnotationOrBuilder
Annotations corresponding to one tracked object.
Protobuf type google.cloud.videointelligence.v1.ObjectTrackingAnnotation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ObjectTrackingAnnotation.BuilderImplements
ObjectTrackingAnnotationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.v1.ObjectTrackingFrame frames = 2;
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1.ObjectTrackingFrame> |
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.v1.ObjectTrackingFrame frames = 2;
Name | Description |
value | ObjectTrackingFrame |
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.v1.ObjectTrackingFrame frames = 2;
Name | Description |
builderForValue | ObjectTrackingFrame.Builder |
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.v1.ObjectTrackingFrame frames = 2;
Name | Description |
index | int |
value | ObjectTrackingFrame |
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.v1.ObjectTrackingFrame frames = 2;
Name | Description |
index | int |
builderForValue | ObjectTrackingFrame.Builder |
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.v1.ObjectTrackingFrame frames = 2;
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.v1.ObjectTrackingFrame frames = 2;
Name | Description |
index | int |
Type | Description |
ObjectTrackingFrame.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ObjectTrackingAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ObjectTrackingAnnotation.Builder |
build()
public ObjectTrackingAnnotation build()
Type | Description |
ObjectTrackingAnnotation |
buildPartial()
public ObjectTrackingAnnotation buildPartial()
Type | Description |
ObjectTrackingAnnotation |
clear()
public ObjectTrackingAnnotation.Builder clear()
Type | Description |
ObjectTrackingAnnotation.Builder |
clearConfidence()
public ObjectTrackingAnnotation.Builder clearConfidence()
Object category's labeling confidence of this track.
float confidence = 4;
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.v1.Entity entity = 1;
Type | Description |
ObjectTrackingAnnotation.Builder |
clearField(Descriptors.FieldDescriptor field)
public ObjectTrackingAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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.v1.ObjectTrackingFrame frames = 2;
Type | Description |
ObjectTrackingAnnotation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ObjectTrackingAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
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.v1.VideoSegment segment = 3;
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;
Type | Description |
ObjectTrackingAnnotation.Builder | This builder for chaining. |
clearTrackInfo()
public ObjectTrackingAnnotation.Builder clearTrackInfo()
Type | Description |
ObjectTrackingAnnotation.Builder |
clearVersion()
public ObjectTrackingAnnotation.Builder clearVersion()
Feature version.
string version = 6;
Type | Description |
ObjectTrackingAnnotation.Builder | This builder for chaining. |
clone()
public ObjectTrackingAnnotation.Builder clone()
Type | Description |
ObjectTrackingAnnotation.Builder |
getConfidence()
public float getConfidence()
Object category's labeling confidence of this track.
float confidence = 4;
Type | Description |
float | The confidence. |
getDefaultInstanceForType()
public ObjectTrackingAnnotation getDefaultInstanceForType()
Type | Description |
ObjectTrackingAnnotation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEntity()
public Entity getEntity()
Entity to specify the object category that this track is labeled as.
.google.cloud.videointelligence.v1.Entity entity = 1;
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.v1.Entity entity = 1;
Type | Description |
Entity.Builder |
getEntityOrBuilder()
public EntityOrBuilder getEntityOrBuilder()
Entity to specify the object category that this track is labeled as.
.google.cloud.videointelligence.v1.Entity entity = 1;
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.v1.ObjectTrackingFrame frames = 2;
Name | Description |
index | int |
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.v1.ObjectTrackingFrame frames = 2;
Name | Description |
index | int |
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.v1.ObjectTrackingFrame frames = 2;
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.v1.ObjectTrackingFrame frames = 2;
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.v1.ObjectTrackingFrame frames = 2;
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.v1.ObjectTrackingFrame frames = 2;
Name | Description |
index | int |
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.v1.ObjectTrackingFrame frames = 2;
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder> |
getSegment()
public VideoSegment getSegment()
Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears.
.google.cloud.videointelligence.v1.VideoSegment segment = 3;
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.v1.VideoSegment segment = 3;
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.v1.VideoSegment segment = 3;
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;
Type | Description |
long | The trackId. |
getTrackInfoCase()
public ObjectTrackingAnnotation.TrackInfoCase getTrackInfoCase()
Type | Description |
ObjectTrackingAnnotation.TrackInfoCase |
getVersion()
public String getVersion()
Feature version.
string version = 6;
Type | Description |
String | The version. |
getVersionBytes()
public ByteString getVersionBytes()
Feature version.
string version = 6;
Type | Description |
ByteString | The bytes for version. |
hasEntity()
public boolean hasEntity()
Entity to specify the object category that this track is labeled as.
.google.cloud.videointelligence.v1.Entity entity = 1;
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.v1.VideoSegment segment = 3;
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;
Type | Description |
boolean | Whether the trackId field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
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.v1.Entity entity = 1;
Name | Description |
value | Entity |
Type | Description |
ObjectTrackingAnnotation.Builder |
mergeFrom(ObjectTrackingAnnotation other)
public ObjectTrackingAnnotation.Builder mergeFrom(ObjectTrackingAnnotation other)
Name | Description |
other | ObjectTrackingAnnotation |
Type | Description |
ObjectTrackingAnnotation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ObjectTrackingAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ObjectTrackingAnnotation.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ObjectTrackingAnnotation.Builder mergeFrom(Message other)
Name | Description |
other | Message |
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.v1.VideoSegment segment = 3;
Name | Description |
value | VideoSegment |
Type | Description |
ObjectTrackingAnnotation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ObjectTrackingAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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.v1.ObjectTrackingFrame frames = 2;
Name | Description |
index | int |
Type | Description |
ObjectTrackingAnnotation.Builder |
setConfidence(float value)
public ObjectTrackingAnnotation.Builder setConfidence(float value)
Object category's labeling confidence of this track.
float confidence = 4;
Name | Description |
value | float The confidence to set. |
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.v1.Entity entity = 1;
Name | Description |
value | Entity |
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.v1.Entity entity = 1;
Name | Description |
builderForValue | Entity.Builder |
Type | Description |
ObjectTrackingAnnotation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ObjectTrackingAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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.v1.ObjectTrackingFrame frames = 2;
Name | Description |
index | int |
value | ObjectTrackingFrame |
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.v1.ObjectTrackingFrame frames = 2;
Name | Description |
index | int |
builderForValue | ObjectTrackingFrame.Builder |
Type | Description |
ObjectTrackingAnnotation.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ObjectTrackingAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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.v1.VideoSegment segment = 3;
Name | Description |
value | VideoSegment |
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.v1.VideoSegment segment = 3;
Name | Description |
builderForValue | VideoSegment.Builder |
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;
Name | Description |
value | long The trackId to set. |
Type | Description |
ObjectTrackingAnnotation.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ObjectTrackingAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ObjectTrackingAnnotation.Builder |
setVersion(String value)
public ObjectTrackingAnnotation.Builder setVersion(String value)
Feature version.
string version = 6;
Name | Description |
value | String The version to set. |
Type | Description |
ObjectTrackingAnnotation.Builder | This builder for chaining. |
setVersionBytes(ByteString value)
public ObjectTrackingAnnotation.Builder setVersionBytes(ByteString value)
Feature version.
string version = 6;
Name | Description |
value | ByteString The bytes for version to set. |
Type | Description |
ObjectTrackingAnnotation.Builder | This builder for chaining. |