Class ObjectTrackingAnnotation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
-
- com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder
-
- All Implemented Interfaces:
ObjectTrackingAnnotationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ObjectTrackingAnnotation
public static final class ObjectTrackingAnnotation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder> implements ObjectTrackingAnnotationOrBuilder
Annotations corresponding to one tracked object.
Protobuf typegoogle.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectTrackingAnnotation.Builder
addAllFrames(Iterable<? extends ObjectTrackingFrame> values)
Information corresponding to all frames where this object track appears.ObjectTrackingAnnotation.Builder
addFrames(int index, ObjectTrackingFrame value)
Information corresponding to all frames where this object track appears.ObjectTrackingAnnotation.Builder
addFrames(int index, ObjectTrackingFrame.Builder builderForValue)
Information corresponding to all frames where this object track appears.ObjectTrackingAnnotation.Builder
addFrames(ObjectTrackingFrame value)
Information corresponding to all frames where this object track appears.ObjectTrackingAnnotation.Builder
addFrames(ObjectTrackingFrame.Builder builderForValue)
Information corresponding to all frames where this object track appears.ObjectTrackingFrame.Builder
addFramesBuilder()
Information corresponding to all frames where this object track appears.ObjectTrackingFrame.Builder
addFramesBuilder(int index)
Information corresponding to all frames where this object track appears.ObjectTrackingAnnotation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ObjectTrackingAnnotation
build()
ObjectTrackingAnnotation
buildPartial()
ObjectTrackingAnnotation.Builder
clear()
ObjectTrackingAnnotation.Builder
clearConfidence()
Object category's labeling confidence of this track.ObjectTrackingAnnotation.Builder
clearEntity()
Entity to specify the object category that this track is labeled as.ObjectTrackingAnnotation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ObjectTrackingAnnotation.Builder
clearFrames()
Information corresponding to all frames where this object track appears.ObjectTrackingAnnotation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ObjectTrackingAnnotation.Builder
clearSegment()
Non-streaming batch mode ONLY.ObjectTrackingAnnotation.Builder
clearTrackId()
Streaming mode ONLY.ObjectTrackingAnnotation.Builder
clearTrackInfo()
ObjectTrackingAnnotation.Builder
clone()
float
getConfidence()
Object category's labeling confidence of this track.ObjectTrackingAnnotation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Entity
getEntity()
Entity to specify the object category that this track is labeled as.Entity.Builder
getEntityBuilder()
Entity to specify the object category that this track is labeled as.EntityOrBuilder
getEntityOrBuilder()
Entity to specify the object category that this track is labeled as.ObjectTrackingFrame
getFrames(int index)
Information corresponding to all frames where this object track appears.ObjectTrackingFrame.Builder
getFramesBuilder(int index)
Information corresponding to all frames where this object track appears.List<ObjectTrackingFrame.Builder>
getFramesBuilderList()
Information corresponding to all frames where this object track appears.int
getFramesCount()
Information corresponding to all frames where this object track appears.List<ObjectTrackingFrame>
getFramesList()
Information corresponding to all frames where this object track appears.ObjectTrackingFrameOrBuilder
getFramesOrBuilder(int index)
Information corresponding to all frames where this object track appears.List<? extends ObjectTrackingFrameOrBuilder>
getFramesOrBuilderList()
Information corresponding to all frames where this object track appears.VideoSegment
getSegment()
Non-streaming batch mode ONLY.VideoSegment.Builder
getSegmentBuilder()
Non-streaming batch mode ONLY.VideoSegmentOrBuilder
getSegmentOrBuilder()
Non-streaming batch mode ONLY.long
getTrackId()
Streaming mode ONLY.ObjectTrackingAnnotation.TrackInfoCase
getTrackInfoCase()
boolean
hasEntity()
Entity to specify the object category that this track is labeled as.boolean
hasSegment()
Non-streaming batch mode ONLY.boolean
hasTrackId()
Streaming mode ONLY.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ObjectTrackingAnnotation.Builder
mergeEntity(Entity value)
Entity to specify the object category that this track is labeled as.ObjectTrackingAnnotation.Builder
mergeFrom(ObjectTrackingAnnotation other)
ObjectTrackingAnnotation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ObjectTrackingAnnotation.Builder
mergeFrom(com.google.protobuf.Message other)
ObjectTrackingAnnotation.Builder
mergeSegment(VideoSegment value)
Non-streaming batch mode ONLY.ObjectTrackingAnnotation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ObjectTrackingAnnotation.Builder
removeFrames(int index)
Information corresponding to all frames where this object track appears.ObjectTrackingAnnotation.Builder
setConfidence(float value)
Object category's labeling confidence of this track.ObjectTrackingAnnotation.Builder
setEntity(Entity value)
Entity to specify the object category that this track is labeled as.ObjectTrackingAnnotation.Builder
setEntity(Entity.Builder builderForValue)
Entity to specify the object category that this track is labeled as.ObjectTrackingAnnotation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ObjectTrackingAnnotation.Builder
setFrames(int index, ObjectTrackingFrame value)
Information corresponding to all frames where this object track appears.ObjectTrackingAnnotation.Builder
setFrames(int index, ObjectTrackingFrame.Builder builderForValue)
Information corresponding to all frames where this object track appears.ObjectTrackingAnnotation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ObjectTrackingAnnotation.Builder
setSegment(VideoSegment value)
Non-streaming batch mode ONLY.ObjectTrackingAnnotation.Builder
setSegment(VideoSegment.Builder builderForValue)
Non-streaming batch mode ONLY.ObjectTrackingAnnotation.Builder
setTrackId(long value)
Streaming mode ONLY.ObjectTrackingAnnotation.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
-
clear
public ObjectTrackingAnnotation.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
-
getDefaultInstanceForType
public ObjectTrackingAnnotation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ObjectTrackingAnnotation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ObjectTrackingAnnotation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ObjectTrackingAnnotation.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
-
setField
public ObjectTrackingAnnotation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
-
clearField
public ObjectTrackingAnnotation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
-
clearOneof
public ObjectTrackingAnnotation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
-
setRepeatedField
public ObjectTrackingAnnotation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
-
addRepeatedField
public ObjectTrackingAnnotation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
-
mergeFrom
public ObjectTrackingAnnotation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ObjectTrackingAnnotation.Builder>
-
mergeFrom
public ObjectTrackingAnnotation.Builder mergeFrom(ObjectTrackingAnnotation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
-
mergeFrom
public ObjectTrackingAnnotation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ObjectTrackingAnnotation.Builder>
- Throws:
IOException
-
getTrackInfoCase
public ObjectTrackingAnnotation.TrackInfoCase getTrackInfoCase()
- Specified by:
getTrackInfoCase
in interfaceObjectTrackingAnnotationOrBuilder
-
clearTrackInfo
public ObjectTrackingAnnotation.Builder clearTrackInfo()
-
hasSegment
public boolean hasSegment()
Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;
- Specified by:
hasSegment
in interfaceObjectTrackingAnnotationOrBuilder
- Returns:
- Whether the segment field is set.
-
getSegment
public VideoSegment getSegment()
Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;
- Specified by:
getSegment
in interfaceObjectTrackingAnnotationOrBuilder
- Returns:
- The segment.
-
setSegment
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.v1p2beta1.VideoSegment segment = 3;
-
setSegment
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.v1p2beta1.VideoSegment segment = 3;
-
mergeSegment
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.v1p2beta1.VideoSegment segment = 3;
-
clearSegment
public ObjectTrackingAnnotation.Builder clearSegment()
Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;
-
getSegmentBuilder
public VideoSegment.Builder getSegmentBuilder()
Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;
-
getSegmentOrBuilder
public VideoSegmentOrBuilder getSegmentOrBuilder()
Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;
- Specified by:
getSegmentOrBuilder
in interfaceObjectTrackingAnnotationOrBuilder
-
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;
- Specified by:
hasTrackId
in interfaceObjectTrackingAnnotationOrBuilder
- Returns:
- Whether the trackId field is set.
-
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;
- Specified by:
getTrackId
in interfaceObjectTrackingAnnotationOrBuilder
- Returns:
- The trackId.
-
setTrackId
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;
- Parameters:
value
- The trackId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
hasEntity
public boolean hasEntity()
Entity to specify the object category that this track is labeled as.
.google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
- Specified by:
hasEntity
in interfaceObjectTrackingAnnotationOrBuilder
- Returns:
- Whether the entity field is set.
-
getEntity
public Entity getEntity()
Entity to specify the object category that this track is labeled as.
.google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
- Specified by:
getEntity
in interfaceObjectTrackingAnnotationOrBuilder
- Returns:
- The entity.
-
setEntity
public ObjectTrackingAnnotation.Builder setEntity(Entity value)
Entity to specify the object category that this track is labeled as.
.google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
-
setEntity
public ObjectTrackingAnnotation.Builder setEntity(Entity.Builder builderForValue)
Entity to specify the object category that this track is labeled as.
.google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
-
mergeEntity
public ObjectTrackingAnnotation.Builder mergeEntity(Entity value)
Entity to specify the object category that this track is labeled as.
.google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
-
clearEntity
public ObjectTrackingAnnotation.Builder clearEntity()
Entity to specify the object category that this track is labeled as.
.google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
-
getEntityBuilder
public Entity.Builder getEntityBuilder()
Entity to specify the object category that this track is labeled as.
.google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
-
getEntityOrBuilder
public EntityOrBuilder getEntityOrBuilder()
Entity to specify the object category that this track is labeled as.
.google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
- Specified by:
getEntityOrBuilder
in interfaceObjectTrackingAnnotationOrBuilder
-
getConfidence
public float getConfidence()
Object category's labeling confidence of this track.
float confidence = 4;
- Specified by:
getConfidence
in interfaceObjectTrackingAnnotationOrBuilder
- Returns:
- The confidence.
-
setConfidence
public ObjectTrackingAnnotation.Builder setConfidence(float value)
Object category's labeling confidence of this track.
float confidence = 4;
- Parameters:
value
- The confidence to set.- Returns:
- This builder for chaining.
-
clearConfidence
public ObjectTrackingAnnotation.Builder clearConfidence()
Object category's labeling confidence of this track.
float confidence = 4;
- Returns:
- This builder for chaining.
-
getFramesList
public List<ObjectTrackingFrame> getFramesList()
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
- Specified by:
getFramesList
in interfaceObjectTrackingAnnotationOrBuilder
-
getFramesCount
public int getFramesCount()
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
- Specified by:
getFramesCount
in interfaceObjectTrackingAnnotationOrBuilder
-
getFrames
public ObjectTrackingFrame getFrames(int index)
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
- Specified by:
getFrames
in interfaceObjectTrackingAnnotationOrBuilder
-
setFrames
public ObjectTrackingAnnotation.Builder setFrames(int index, ObjectTrackingFrame value)
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
-
setFrames
public ObjectTrackingAnnotation.Builder setFrames(int index, ObjectTrackingFrame.Builder builderForValue)
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
-
addFrames
public ObjectTrackingAnnotation.Builder addFrames(ObjectTrackingFrame value)
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
-
addFrames
public ObjectTrackingAnnotation.Builder addFrames(int index, ObjectTrackingFrame value)
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
-
addFrames
public ObjectTrackingAnnotation.Builder addFrames(ObjectTrackingFrame.Builder builderForValue)
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
-
addFrames
public ObjectTrackingAnnotation.Builder addFrames(int index, ObjectTrackingFrame.Builder builderForValue)
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
-
addAllFrames
public ObjectTrackingAnnotation.Builder addAllFrames(Iterable<? extends ObjectTrackingFrame> values)
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
-
clearFrames
public ObjectTrackingAnnotation.Builder clearFrames()
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
-
removeFrames
public ObjectTrackingAnnotation.Builder removeFrames(int index)
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
-
getFramesBuilder
public ObjectTrackingFrame.Builder getFramesBuilder(int index)
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
-
getFramesOrBuilder
public ObjectTrackingFrameOrBuilder getFramesOrBuilder(int index)
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
- Specified by:
getFramesOrBuilder
in interfaceObjectTrackingAnnotationOrBuilder
-
getFramesOrBuilderList
public List<? extends ObjectTrackingFrameOrBuilder> getFramesOrBuilderList()
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
- Specified by:
getFramesOrBuilderList
in interfaceObjectTrackingAnnotationOrBuilder
-
addFramesBuilder
public ObjectTrackingFrame.Builder addFramesBuilder()
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
-
addFramesBuilder
public ObjectTrackingFrame.Builder addFramesBuilder(int index)
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
-
getFramesBuilderList
public List<ObjectTrackingFrame.Builder> getFramesBuilderList()
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
-
setUnknownFields
public final ObjectTrackingAnnotation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
-
mergeUnknownFields
public final ObjectTrackingAnnotation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
-
-