public static final class ObjectTrackingAnnotation.Builder extends GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder> implements ObjectTrackingAnnotationOrBuilder
Annotations corresponding to one tracked object.Protobuf type
google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation
Modifier and Type | Method and Description |
---|---|
ObjectTrackingAnnotation.Builder |
addAllFrames(Iterable<? extends ObjectTrackingFrame> values)
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(int index,
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.
|
ObjectTrackingAnnotation.Builder |
addFrames(ObjectTrackingFrame value)
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(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(Descriptors.FieldDescriptor field) |
ObjectTrackingAnnotation.Builder |
clearFrames()
Information corresponding to all frames where this object track appears.
|
ObjectTrackingAnnotation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ObjectTrackingAnnotation.Builder |
clearSegment()
Each object track corresponds to one video segment where it appears.
|
ObjectTrackingAnnotation.Builder |
clone() |
float |
getConfidence()
Object category's labeling confidence of this track.
|
ObjectTrackingAnnotation |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
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()
Each object track corresponds to one video segment where it appears.
|
VideoSegment.Builder |
getSegmentBuilder()
Each object track corresponds to one video segment where it appears.
|
VideoSegmentOrBuilder |
getSegmentOrBuilder()
Each object track corresponds to one video segment where it appears.
|
boolean |
hasEntity()
Entity to specify the object category that this track is labeled as.
|
boolean |
hasSegment()
Each object track corresponds to one video segment where it appears.
|
protected 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(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ObjectTrackingAnnotation.Builder |
mergeFrom(Message other) |
ObjectTrackingAnnotation.Builder |
mergeFrom(ObjectTrackingAnnotation other) |
ObjectTrackingAnnotation.Builder |
mergeSegment(VideoSegment value)
Each object track corresponds to one video segment where it appears.
|
ObjectTrackingAnnotation.Builder |
mergeUnknownFields(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.Builder builderForValue)
Entity to specify the object category that this track is labeled as.
|
ObjectTrackingAnnotation.Builder |
setEntity(Entity value)
Entity to specify the object category that this track is labeled as.
|
ObjectTrackingAnnotation.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
ObjectTrackingAnnotation.Builder |
setFrames(int index,
ObjectTrackingFrame.Builder builderForValue)
Information corresponding to all frames where this object track appears.
|
ObjectTrackingAnnotation.Builder |
setFrames(int index,
ObjectTrackingFrame value)
Information corresponding to all frames where this object track appears.
|
ObjectTrackingAnnotation.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
ObjectTrackingAnnotation.Builder |
setSegment(VideoSegment.Builder builderForValue)
Each object track corresponds to one video segment where it appears.
|
ObjectTrackingAnnotation.Builder |
setSegment(VideoSegment value)
Each object track corresponds to one video segment where it appears.
|
ObjectTrackingAnnotation.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
public ObjectTrackingAnnotation.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
public ObjectTrackingAnnotation getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ObjectTrackingAnnotation build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ObjectTrackingAnnotation buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ObjectTrackingAnnotation.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
public ObjectTrackingAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
public ObjectTrackingAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
public ObjectTrackingAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
public ObjectTrackingAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
public ObjectTrackingAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
public ObjectTrackingAnnotation.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ObjectTrackingAnnotation.Builder>
public ObjectTrackingAnnotation.Builder mergeFrom(ObjectTrackingAnnotation other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
public ObjectTrackingAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ObjectTrackingAnnotation.Builder>
IOException
public boolean hasEntity()
Entity to specify the object category that this track is labeled as.
.google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
hasEntity
in interface ObjectTrackingAnnotationOrBuilder
public Entity getEntity()
Entity to specify the object category that this track is labeled as.
.google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
getEntity
in interface ObjectTrackingAnnotationOrBuilder
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;
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;
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;
public ObjectTrackingAnnotation.Builder clearEntity()
Entity to specify the object category that this track is labeled as.
.google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
public Entity.Builder getEntityBuilder()
Entity to specify the object category that this track is labeled as.
.google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
public EntityOrBuilder getEntityOrBuilder()
Entity to specify the object category that this track is labeled as.
.google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
getEntityOrBuilder
in interface ObjectTrackingAnnotationOrBuilder
public float getConfidence()
Object category's labeling confidence of this track.
float confidence = 4;
getConfidence
in interface ObjectTrackingAnnotationOrBuilder
public ObjectTrackingAnnotation.Builder setConfidence(float value)
Object category's labeling confidence of this track.
float confidence = 4;
value
- The confidence to set.public ObjectTrackingAnnotation.Builder clearConfidence()
Object category's labeling confidence of this track.
float confidence = 4;
public List<ObjectTrackingFrame> getFramesList()
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
getFramesList
in interface ObjectTrackingAnnotationOrBuilder
public int getFramesCount()
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
getFramesCount
in interface ObjectTrackingAnnotationOrBuilder
public ObjectTrackingFrame getFrames(int index)
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
getFrames
in interface ObjectTrackingAnnotationOrBuilder
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;
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;
public ObjectTrackingAnnotation.Builder addFrames(ObjectTrackingFrame value)
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
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;
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;
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;
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;
public ObjectTrackingAnnotation.Builder clearFrames()
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
public ObjectTrackingAnnotation.Builder removeFrames(int index)
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
public ObjectTrackingFrame.Builder getFramesBuilder(int index)
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
public ObjectTrackingFrameOrBuilder getFramesOrBuilder(int index)
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
getFramesOrBuilder
in interface ObjectTrackingAnnotationOrBuilder
public List<? extends ObjectTrackingFrameOrBuilder> getFramesOrBuilderList()
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
getFramesOrBuilderList
in interface ObjectTrackingAnnotationOrBuilder
public ObjectTrackingFrame.Builder addFramesBuilder()
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
public ObjectTrackingFrame.Builder addFramesBuilder(int index)
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
public List<ObjectTrackingFrame.Builder> getFramesBuilderList()
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;
public boolean hasSegment()
Each object track corresponds to one video segment where it appears.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;
hasSegment
in interface ObjectTrackingAnnotationOrBuilder
public VideoSegment getSegment()
Each object track corresponds to one video segment where it appears.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;
getSegment
in interface ObjectTrackingAnnotationOrBuilder
public ObjectTrackingAnnotation.Builder setSegment(VideoSegment value)
Each object track corresponds to one video segment where it appears.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;
public ObjectTrackingAnnotation.Builder setSegment(VideoSegment.Builder builderForValue)
Each object track corresponds to one video segment where it appears.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;
public ObjectTrackingAnnotation.Builder mergeSegment(VideoSegment value)
Each object track corresponds to one video segment where it appears.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;
public ObjectTrackingAnnotation.Builder clearSegment()
Each object track corresponds to one video segment where it appears.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;
public VideoSegment.Builder getSegmentBuilder()
Each object track corresponds to one video segment where it appears.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;
public VideoSegmentOrBuilder getSegmentOrBuilder()
Each object track corresponds to one video segment where it appears.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;
getSegmentOrBuilder
in interface ObjectTrackingAnnotationOrBuilder
public final ObjectTrackingAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
public final ObjectTrackingAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ObjectTrackingAnnotation.Builder>
Copyright © 2021 Google LLC. All rights reserved.