public final class VideoObjectTrackingPredictionResult extends GeneratedMessageV3 implements VideoObjectTrackingPredictionResultOrBuilder
Prediction output format for Video Object Tracking.
Protobuf type google.cloud.visionai.v1.VideoObjectTrackingPredictionResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
OBJECTS_FIELD_NUMBER
public static final int OBJECTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SEGMENT_END_TIME_FIELD_NUMBER
public static final int SEGMENT_END_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SEGMENT_START_TIME_FIELD_NUMBER
public static final int SEGMENT_START_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static VideoObjectTrackingPredictionResult getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VideoObjectTrackingPredictionResult.Builder newBuilder()
newBuilder(VideoObjectTrackingPredictionResult prototype)
public static VideoObjectTrackingPredictionResult.Builder newBuilder(VideoObjectTrackingPredictionResult prototype)
public static VideoObjectTrackingPredictionResult parseDelimitedFrom(InputStream input)
public static VideoObjectTrackingPredictionResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VideoObjectTrackingPredictionResult parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VideoObjectTrackingPredictionResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VideoObjectTrackingPredictionResult parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VideoObjectTrackingPredictionResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VideoObjectTrackingPredictionResult parseFrom(CodedInputStream input)
public static VideoObjectTrackingPredictionResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VideoObjectTrackingPredictionResult parseFrom(InputStream input)
public static VideoObjectTrackingPredictionResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VideoObjectTrackingPredictionResult parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VideoObjectTrackingPredictionResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VideoObjectTrackingPredictionResult> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public VideoObjectTrackingPredictionResult getDefaultInstanceForType()
getObjects(int index)
public VideoObjectTrackingPredictionResult.DetectedObject getObjects(int index)
All of the objects detected in the specified time range.
repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;
Parameter |
Name |
Description |
index |
int
|
getObjectsCount()
public int getObjectsCount()
All of the objects detected in the specified time range.
repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;
Returns |
Type |
Description |
int |
|
getObjectsList()
public List<VideoObjectTrackingPredictionResult.DetectedObject> getObjectsList()
All of the objects detected in the specified time range.
repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;
getObjectsOrBuilder(int index)
public VideoObjectTrackingPredictionResult.DetectedObjectOrBuilder getObjectsOrBuilder(int index)
All of the objects detected in the specified time range.
repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;
Parameter |
Name |
Description |
index |
int
|
getObjectsOrBuilderList()
public List<? extends VideoObjectTrackingPredictionResult.DetectedObjectOrBuilder> getObjectsOrBuilderList()
All of the objects detected in the specified time range.
repeated .google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject objects = 3;
Returns |
Type |
Description |
List<? extends com.google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObjectOrBuilder> |
|
getParserForType()
public Parser<VideoObjectTrackingPredictionResult> getParserForType()
Overrides
getSegmentEndTime()
public Timestamp getSegmentEndTime()
The end, inclusive, of the video's time segment in which the current
identifications happen. Particularly, if the end is the same as the start,
it means the identifications happen on a specific video frame.
.google.protobuf.Timestamp segment_end_time = 2;
Returns |
Type |
Description |
Timestamp |
The segmentEndTime.
|
getSegmentEndTimeOrBuilder()
public TimestampOrBuilder getSegmentEndTimeOrBuilder()
The end, inclusive, of the video's time segment in which the current
identifications happen. Particularly, if the end is the same as the start,
it means the identifications happen on a specific video frame.
.google.protobuf.Timestamp segment_end_time = 2;
getSegmentStartTime()
public Timestamp getSegmentStartTime()
The beginning, inclusive, of the video's time segment in which the
current identifications happens.
.google.protobuf.Timestamp segment_start_time = 1;
Returns |
Type |
Description |
Timestamp |
The segmentStartTime.
|
getSegmentStartTimeOrBuilder()
public TimestampOrBuilder getSegmentStartTimeOrBuilder()
The beginning, inclusive, of the video's time segment in which the
current identifications happens.
.google.protobuf.Timestamp segment_start_time = 1;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasSegmentEndTime()
public boolean hasSegmentEndTime()
The end, inclusive, of the video's time segment in which the current
identifications happen. Particularly, if the end is the same as the start,
it means the identifications happen on a specific video frame.
.google.protobuf.Timestamp segment_end_time = 2;
Returns |
Type |
Description |
boolean |
Whether the segmentEndTime field is set.
|
hasSegmentStartTime()
public boolean hasSegmentStartTime()
The beginning, inclusive, of the video's time segment in which the
current identifications happens.
.google.protobuf.Timestamp segment_start_time = 1;
Returns |
Type |
Description |
boolean |
Whether the segmentStartTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VideoObjectTrackingPredictionResult.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VideoObjectTrackingPredictionResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public VideoObjectTrackingPredictionResult.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides