Class VideoActionRecognitionPredictionResult (0.2.0)

public final class VideoActionRecognitionPredictionResult extends GeneratedMessageV3 implements VideoActionRecognitionPredictionResultOrBuilder

Prediction output format for Video Action Recognition.

Protobuf type google.cloud.visionai.v1.VideoActionRecognitionPredictionResult

Inheritance

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

Static Fields

ACTIONS_FIELD_NUMBER

public static final int ACTIONS_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 VideoActionRecognitionPredictionResult getDefaultInstance()
Returns
Type Description
VideoActionRecognitionPredictionResult

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static VideoActionRecognitionPredictionResult.Builder newBuilder()
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

newBuilder(VideoActionRecognitionPredictionResult prototype)

public static VideoActionRecognitionPredictionResult.Builder newBuilder(VideoActionRecognitionPredictionResult prototype)
Parameter
Name Description
prototype VideoActionRecognitionPredictionResult
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

parseDelimitedFrom(InputStream input)

public static VideoActionRecognitionPredictionResult parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VideoActionRecognitionPredictionResult
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoActionRecognitionPredictionResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoActionRecognitionPredictionResult
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VideoActionRecognitionPredictionResult parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VideoActionRecognitionPredictionResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VideoActionRecognitionPredictionResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoActionRecognitionPredictionResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VideoActionRecognitionPredictionResult parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VideoActionRecognitionPredictionResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VideoActionRecognitionPredictionResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoActionRecognitionPredictionResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VideoActionRecognitionPredictionResult parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VideoActionRecognitionPredictionResult
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoActionRecognitionPredictionResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoActionRecognitionPredictionResult
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VideoActionRecognitionPredictionResult parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VideoActionRecognitionPredictionResult
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoActionRecognitionPredictionResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoActionRecognitionPredictionResult
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VideoActionRecognitionPredictionResult parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VideoActionRecognitionPredictionResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VideoActionRecognitionPredictionResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoActionRecognitionPredictionResult
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VideoActionRecognitionPredictionResult> parser()
Returns
Type Description
Parser<VideoActionRecognitionPredictionResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getActions(int index)

public VideoActionRecognitionPredictionResult.IdentifiedAction getActions(int index)

All of the actions identified in the time range.

repeated .google.cloud.visionai.v1.VideoActionRecognitionPredictionResult.IdentifiedAction actions = 3;

Parameter
Name Description
index int
Returns
Type Description
VideoActionRecognitionPredictionResult.IdentifiedAction

getActionsCount()

public int getActionsCount()

All of the actions identified in the time range.

repeated .google.cloud.visionai.v1.VideoActionRecognitionPredictionResult.IdentifiedAction actions = 3;

Returns
Type Description
int

getActionsList()

public List<VideoActionRecognitionPredictionResult.IdentifiedAction> getActionsList()

All of the actions identified in the time range.

repeated .google.cloud.visionai.v1.VideoActionRecognitionPredictionResult.IdentifiedAction actions = 3;

Returns
Type Description
List<IdentifiedAction>

getActionsOrBuilder(int index)

public VideoActionRecognitionPredictionResult.IdentifiedActionOrBuilder getActionsOrBuilder(int index)

All of the actions identified in the time range.

repeated .google.cloud.visionai.v1.VideoActionRecognitionPredictionResult.IdentifiedAction actions = 3;

Parameter
Name Description
index int
Returns
Type Description
VideoActionRecognitionPredictionResult.IdentifiedActionOrBuilder

getActionsOrBuilderList()

public List<? extends VideoActionRecognitionPredictionResult.IdentifiedActionOrBuilder> getActionsOrBuilderList()

All of the actions identified in the time range.

repeated .google.cloud.visionai.v1.VideoActionRecognitionPredictionResult.IdentifiedAction actions = 3;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.VideoActionRecognitionPredictionResult.IdentifiedActionOrBuilder>

getDefaultInstanceForType()

public VideoActionRecognitionPredictionResult getDefaultInstanceForType()
Returns
Type Description
VideoActionRecognitionPredictionResult

getParserForType()

public Parser<VideoActionRecognitionPredictionResult> getParserForType()
Returns
Type Description
Parser<VideoActionRecognitionPredictionResult>
Overrides

getSegmentEndTime()

public Timestamp getSegmentEndTime()

The end, inclusive, of the video's time segment in which the actions have been identified. Particularly, if the end is the same as the start, it means the identification happens 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 actions have been identified. Particularly, if the end is the same as the start, it means the identification happens on a specific video frame.

.google.protobuf.Timestamp segment_end_time = 2;

Returns
Type Description
TimestampOrBuilder

getSegmentStartTime()

public Timestamp getSegmentStartTime()

The beginning, inclusive, of the video's time segment in which the actions have been identified.

.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 actions have been identified.

.google.protobuf.Timestamp segment_start_time = 1;

Returns
Type Description
TimestampOrBuilder

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 actions have been identified. Particularly, if the end is the same as the start, it means the identification happens 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 actions have been identified.

.google.protobuf.Timestamp segment_start_time = 1;

Returns
Type Description
boolean

Whether the segmentStartTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VideoActionRecognitionPredictionResult.Builder newBuilderForType()
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VideoActionRecognitionPredictionResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VideoActionRecognitionPredictionResult.Builder toBuilder()
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException