Class VideoObjectTrackingPredictionResult (3.7.0)

public final class VideoObjectTrackingPredictionResult extends GeneratedMessageV3 implements VideoObjectTrackingPredictionResultOrBuilder

Prediction output format for Video Object Tracking.

Protobuf type google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VideoObjectTrackingPredictionResult

Static Fields

CONFIDENCE_FIELD_NUMBER

public static final int CONFIDENCE_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

FRAMES_FIELD_NUMBER

public static final int FRAMES_FIELD_NUMBER
Field Value
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

TIME_SEGMENT_END_FIELD_NUMBER

public static final int TIME_SEGMENT_END_FIELD_NUMBER
Field Value
TypeDescription
int

TIME_SEGMENT_START_FIELD_NUMBER

public static final int TIME_SEGMENT_START_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VideoObjectTrackingPredictionResult getDefaultInstance()
Returns
TypeDescription
VideoObjectTrackingPredictionResult

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VideoObjectTrackingPredictionResult.Builder newBuilder()
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Builder

newBuilder(VideoObjectTrackingPredictionResult prototype)

public static VideoObjectTrackingPredictionResult.Builder newBuilder(VideoObjectTrackingPredictionResult prototype)
Parameter
NameDescription
prototypeVideoObjectTrackingPredictionResult
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Builder

parseDelimitedFrom(InputStream input)

public static VideoObjectTrackingPredictionResult parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VideoObjectTrackingPredictionResult
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingPredictionResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoObjectTrackingPredictionResult
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VideoObjectTrackingPredictionResult parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VideoObjectTrackingPredictionResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingPredictionResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoObjectTrackingPredictionResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VideoObjectTrackingPredictionResult parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VideoObjectTrackingPredictionResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingPredictionResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoObjectTrackingPredictionResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VideoObjectTrackingPredictionResult parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VideoObjectTrackingPredictionResult
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingPredictionResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoObjectTrackingPredictionResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VideoObjectTrackingPredictionResult parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VideoObjectTrackingPredictionResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingPredictionResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoObjectTrackingPredictionResult
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VideoObjectTrackingPredictionResult parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VideoObjectTrackingPredictionResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingPredictionResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoObjectTrackingPredictionResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VideoObjectTrackingPredictionResult> parser()
Returns
TypeDescription
Parser<VideoObjectTrackingPredictionResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getConfidence()

public FloatValue getConfidence()

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 5;

Returns
TypeDescription
FloatValue

The confidence.

getConfidenceOrBuilder()

public FloatValueOrBuilder getConfidenceOrBuilder()

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 5;

Returns
TypeDescription
FloatValueOrBuilder

getDefaultInstanceForType()

public VideoObjectTrackingPredictionResult getDefaultInstanceForType()
Returns
TypeDescription
VideoObjectTrackingPredictionResult

getDisplayName()

public String getDisplayName()

The display name of the AnnotationSpec that had been identified.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The display name of the AnnotationSpec that had been identified.

string display_name = 2;

Returns
TypeDescription
ByteString

The bytes for displayName.

getFrames(int index)

public VideoObjectTrackingPredictionResult.Frame getFrames(int index)

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Frame

getFramesCount()

public int getFramesCount()

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Returns
TypeDescription
int

getFramesList()

public List<VideoObjectTrackingPredictionResult.Frame> getFramesList()

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Returns
TypeDescription
List<Frame>

getFramesOrBuilder(int index)

public VideoObjectTrackingPredictionResult.FrameOrBuilder getFramesOrBuilder(int index)

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
VideoObjectTrackingPredictionResult.FrameOrBuilder

getFramesOrBuilderList()

public List<? extends VideoObjectTrackingPredictionResult.FrameOrBuilder> getFramesOrBuilderList()

All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.

repeated .google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.FrameOrBuilder>

getId()

public String getId()

The resource ID of the AnnotationSpec that had been identified.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

The resource ID of the AnnotationSpec that had been identified.

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

getParserForType()

public Parser<VideoObjectTrackingPredictionResult> getParserForType()
Returns
TypeDescription
Parser<VideoObjectTrackingPredictionResult>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTimeSegmentEnd()

public Duration getTimeSegmentEnd()

The end, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_end = 4;

Returns
TypeDescription
Duration

The timeSegmentEnd.

getTimeSegmentEndOrBuilder()

public DurationOrBuilder getTimeSegmentEndOrBuilder()

The end, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_end = 4;

Returns
TypeDescription
DurationOrBuilder

getTimeSegmentStart()

public Duration getTimeSegmentStart()

The beginning, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_start = 3;

Returns
TypeDescription
Duration

The timeSegmentStart.

getTimeSegmentStartOrBuilder()

public DurationOrBuilder getTimeSegmentStartOrBuilder()

The beginning, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_start = 3;

Returns
TypeDescription
DurationOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasConfidence()

public boolean hasConfidence()

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 5;

Returns
TypeDescription
boolean

Whether the confidence field is set.

hasTimeSegmentEnd()

public boolean hasTimeSegmentEnd()

The end, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_end = 4;

Returns
TypeDescription
boolean

Whether the timeSegmentEnd field is set.

hasTimeSegmentStart()

public boolean hasTimeSegmentStart()

The beginning, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

.google.protobuf.Duration time_segment_start = 3;

Returns
TypeDescription
boolean

Whether the timeSegmentStart field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VideoObjectTrackingPredictionResult.Builder newBuilderForType()
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VideoObjectTrackingPredictionResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VideoObjectTrackingPredictionResult.Builder toBuilder()
Returns
TypeDescription
VideoObjectTrackingPredictionResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException