Class Track
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.videointelligence.v1.Track
- All Implemented Interfaces:
TrackOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Track
extends com.google.protobuf.GeneratedMessage
implements TrackOrBuilder
A track of an object instance.Protobuf type
google.cloud.videointelligence.v1.Track- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAttributes(int index) Optional.intOptional.Optional.getAttributesOrBuilder(int index) Optional.List<? extends DetectedAttributeOrBuilder>Optional.floatOptional.static Trackstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<Track>Video segment of a track.Video segment of a track.intgetTimestampedObjects(int index) The object with timestamp and attributes per frame in the track.intThe object with timestamp and attributes per frame in the track.The object with timestamp and attributes per frame in the track.getTimestampedObjectsOrBuilder(int index) The object with timestamp and attributes per frame in the track.List<? extends TimestampedObjectOrBuilder>The object with timestamp and attributes per frame in the track.inthashCode()booleanVideo segment of a track.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Track.Builderstatic Track.BuildernewBuilder(Track prototype) protected Track.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static TrackparseDelimitedFrom(InputStream input) static TrackparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TrackparseFrom(byte[] data) static TrackparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TrackparseFrom(com.google.protobuf.ByteString data) static TrackparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TrackparseFrom(com.google.protobuf.CodedInputStream input) static TrackparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TrackparseFrom(InputStream input) static TrackparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TrackparseFrom(ByteBuffer data) static TrackparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Track>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SEGMENT_FIELD_NUMBER
public static final int SEGMENT_FIELD_NUMBER- See Also:
-
TIMESTAMPED_OBJECTS_FIELD_NUMBER
public static final int TIMESTAMPED_OBJECTS_FIELD_NUMBER- See Also:
-
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER- See Also:
-
CONFIDENCE_FIELD_NUMBER
public static final int CONFIDENCE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasSegment
public boolean hasSegment()Video segment of a track.
.google.cloud.videointelligence.v1.VideoSegment segment = 1;- Specified by:
hasSegmentin interfaceTrackOrBuilder- Returns:
- Whether the segment field is set.
-
getSegment
Video segment of a track.
.google.cloud.videointelligence.v1.VideoSegment segment = 1;- Specified by:
getSegmentin interfaceTrackOrBuilder- Returns:
- The segment.
-
getSegmentOrBuilder
Video segment of a track.
.google.cloud.videointelligence.v1.VideoSegment segment = 1;- Specified by:
getSegmentOrBuilderin interfaceTrackOrBuilder
-
getTimestampedObjectsList
The object with timestamp and attributes per frame in the track.
repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2;- Specified by:
getTimestampedObjectsListin interfaceTrackOrBuilder
-
getTimestampedObjectsOrBuilderList
The object with timestamp and attributes per frame in the track.
repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2;- Specified by:
getTimestampedObjectsOrBuilderListin interfaceTrackOrBuilder
-
getTimestampedObjectsCount
public int getTimestampedObjectsCount()The object with timestamp and attributes per frame in the track.
repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2;- Specified by:
getTimestampedObjectsCountin interfaceTrackOrBuilder
-
getTimestampedObjects
The object with timestamp and attributes per frame in the track.
repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2;- Specified by:
getTimestampedObjectsin interfaceTrackOrBuilder
-
getTimestampedObjectsOrBuilder
The object with timestamp and attributes per frame in the track.
repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2;- Specified by:
getTimestampedObjectsOrBuilderin interfaceTrackOrBuilder
-
getAttributesList
Optional. Attributes in the track level.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAttributesListin interfaceTrackOrBuilder
-
getAttributesOrBuilderList
Optional. Attributes in the track level.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAttributesOrBuilderListin interfaceTrackOrBuilder
-
getAttributesCount
public int getAttributesCount()Optional. Attributes in the track level.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAttributesCountin interfaceTrackOrBuilder
-
getAttributes
Optional. Attributes in the track level.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAttributesin interfaceTrackOrBuilder
-
getAttributesOrBuilder
Optional. Attributes in the track level.
repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAttributesOrBuilderin interfaceTrackOrBuilder
-
getConfidence
public float getConfidence()Optional. The confidence score of the tracked object.
float confidence = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConfidencein interfaceTrackOrBuilder- Returns:
- The confidence.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Track parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Track parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Track parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Track parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Track parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Track parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Track parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Track parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Track parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-