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
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
public static final int CONFIDENCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int FRAMES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TIME_SEGMENT_END_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TIME_SEGMENT_START_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static VideoObjectTrackingPredictionResult getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static VideoObjectTrackingPredictionResult.Builder newBuilder()
public static VideoObjectTrackingPredictionResult.Builder newBuilder(VideoObjectTrackingPredictionResult prototype)
public static VideoObjectTrackingPredictionResult parseDelimitedFrom(InputStream input)
public static VideoObjectTrackingPredictionResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static VideoObjectTrackingPredictionResult parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static VideoObjectTrackingPredictionResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VideoObjectTrackingPredictionResult parseFrom(ByteString data)
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)
public static VideoObjectTrackingPredictionResult parseFrom(ByteBuffer data)
public static VideoObjectTrackingPredictionResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<VideoObjectTrackingPredictionResult> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public FloatValue getConfidence()
The Model's confidence in correction of this prediction, higher
value means higher confidence.
.google.protobuf.FloatValue confidence = 5;
public FloatValueOrBuilder getConfidenceOrBuilder()
The Model's confidence in correction of this prediction, higher
value means higher confidence.
.google.protobuf.FloatValue confidence = 5;
public VideoObjectTrackingPredictionResult getDefaultInstanceForType()
public String getDisplayName()
The display name of the AnnotationSpec that had been identified.
string display_name = 2;
Returns |
---|
Type | Description |
String | The displayName.
|
public ByteString getDisplayNameBytes()
The display name of the AnnotationSpec that had been identified.
string display_name = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for displayName.
|
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.FrameOrBuilder> | |
The resource ID of the AnnotationSpec that had been identified.
string id = 1;
Returns |
---|
Type | Description |
String | The id.
|
public ByteString getIdBytes()
The resource ID of the AnnotationSpec that had been identified.
string id = 1;
public Parser<VideoObjectTrackingPredictionResult> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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 |
---|
Type | Description |
Duration | The timeSegmentEnd.
|
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;
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 |
---|
Type | Description |
Duration | The timeSegmentStart.
|
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;
public boolean hasConfidence()
The Model's confidence in correction of this prediction, higher
value means higher confidence.
.google.protobuf.FloatValue confidence = 5;
Returns |
---|
Type | Description |
boolean | Whether the confidence field is set.
|
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 |
---|
Type | Description |
boolean | Whether the timeSegmentEnd field is set.
|
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 |
---|
Type | Description |
boolean | Whether the timeSegmentStart field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public VideoObjectTrackingPredictionResult.Builder newBuilderForType()
protected VideoObjectTrackingPredictionResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public VideoObjectTrackingPredictionResult.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides