Class VideoActionRecognitionPredictionResult.Builder (0.11.0)

public static final class VideoActionRecognitionPredictionResult.Builder extends GeneratedMessageV3.Builder<VideoActionRecognitionPredictionResult.Builder> implements VideoActionRecognitionPredictionResultOrBuilder

Prediction output format for Video Action Recognition.

Protobuf type google.cloud.visionai.v1.VideoActionRecognitionPredictionResult

Static Methods

getDescriptor()

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

Methods

addActions(VideoActionRecognitionPredictionResult.IdentifiedAction value)

public VideoActionRecognitionPredictionResult.Builder addActions(VideoActionRecognitionPredictionResult.IdentifiedAction value)

All of the actions identified in the time range.

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

Parameter
Name Description
value VideoActionRecognitionPredictionResult.IdentifiedAction
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

addActions(VideoActionRecognitionPredictionResult.IdentifiedAction.Builder builderForValue)

public VideoActionRecognitionPredictionResult.Builder addActions(VideoActionRecognitionPredictionResult.IdentifiedAction.Builder builderForValue)

All of the actions identified in the time range.

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

Parameter
Name Description
builderForValue VideoActionRecognitionPredictionResult.IdentifiedAction.Builder
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

addActions(int index, VideoActionRecognitionPredictionResult.IdentifiedAction value)

public VideoActionRecognitionPredictionResult.Builder addActions(int index, VideoActionRecognitionPredictionResult.IdentifiedAction value)

All of the actions identified in the time range.

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

Parameters
Name Description
index int
value VideoActionRecognitionPredictionResult.IdentifiedAction
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

addActions(int index, VideoActionRecognitionPredictionResult.IdentifiedAction.Builder builderForValue)

public VideoActionRecognitionPredictionResult.Builder addActions(int index, VideoActionRecognitionPredictionResult.IdentifiedAction.Builder builderForValue)

All of the actions identified in the time range.

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

Parameters
Name Description
index int
builderForValue VideoActionRecognitionPredictionResult.IdentifiedAction.Builder
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

addActionsBuilder()

public VideoActionRecognitionPredictionResult.IdentifiedAction.Builder addActionsBuilder()

All of the actions identified in the time range.

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

Returns
Type Description
VideoActionRecognitionPredictionResult.IdentifiedAction.Builder

addActionsBuilder(int index)

public VideoActionRecognitionPredictionResult.IdentifiedAction.Builder addActionsBuilder(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.Builder

addAllActions(Iterable<? extends VideoActionRecognitionPredictionResult.IdentifiedAction> values)

public VideoActionRecognitionPredictionResult.Builder addAllActions(Iterable<? extends VideoActionRecognitionPredictionResult.IdentifiedAction> values)

All of the actions identified in the time range.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.VideoActionRecognitionPredictionResult.IdentifiedAction>
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VideoActionRecognitionPredictionResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides

build()

public VideoActionRecognitionPredictionResult build()
Returns
Type Description
VideoActionRecognitionPredictionResult

buildPartial()

public VideoActionRecognitionPredictionResult buildPartial()
Returns
Type Description
VideoActionRecognitionPredictionResult

clear()

public VideoActionRecognitionPredictionResult.Builder clear()
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides

clearActions()

public VideoActionRecognitionPredictionResult.Builder clearActions()

All of the actions identified in the time range.

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

Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

clearField(Descriptors.FieldDescriptor field)

public VideoActionRecognitionPredictionResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoActionRecognitionPredictionResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides

clearSegmentEndTime()

public VideoActionRecognitionPredictionResult.Builder clearSegmentEndTime()

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
VideoActionRecognitionPredictionResult.Builder

clearSegmentStartTime()

public VideoActionRecognitionPredictionResult.Builder clearSegmentStartTime()

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
VideoActionRecognitionPredictionResult.Builder

clone()

public VideoActionRecognitionPredictionResult.Builder clone()
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
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

getActionsBuilder(int index)

public VideoActionRecognitionPredictionResult.IdentifiedAction.Builder getActionsBuilder(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.Builder

getActionsBuilderList()

public List<VideoActionRecognitionPredictionResult.IdentifiedAction.Builder> getActionsBuilderList()

All of the actions identified in the time range.

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

Returns
Type Description
List<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getSegmentEndTimeBuilder()

public Timestamp.Builder getSegmentEndTimeBuilder()

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
Builder

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.

getSegmentStartTimeBuilder()

public Timestamp.Builder getSegmentStartTimeBuilder()

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
Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VideoActionRecognitionPredictionResult other)

public VideoActionRecognitionPredictionResult.Builder mergeFrom(VideoActionRecognitionPredictionResult other)
Parameter
Name Description
other VideoActionRecognitionPredictionResult
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VideoActionRecognitionPredictionResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VideoActionRecognitionPredictionResult.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides

mergeSegmentEndTime(Timestamp value)

public VideoActionRecognitionPredictionResult.Builder mergeSegmentEndTime(Timestamp value)

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;

Parameter
Name Description
value Timestamp
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

mergeSegmentStartTime(Timestamp value)

public VideoActionRecognitionPredictionResult.Builder mergeSegmentStartTime(Timestamp value)

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

.google.protobuf.Timestamp segment_start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoActionRecognitionPredictionResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides

removeActions(int index)

public VideoActionRecognitionPredictionResult.Builder removeActions(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.Builder

setActions(int index, VideoActionRecognitionPredictionResult.IdentifiedAction value)

public VideoActionRecognitionPredictionResult.Builder setActions(int index, VideoActionRecognitionPredictionResult.IdentifiedAction value)

All of the actions identified in the time range.

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

Parameters
Name Description
index int
value VideoActionRecognitionPredictionResult.IdentifiedAction
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

setActions(int index, VideoActionRecognitionPredictionResult.IdentifiedAction.Builder builderForValue)

public VideoActionRecognitionPredictionResult.Builder setActions(int index, VideoActionRecognitionPredictionResult.IdentifiedAction.Builder builderForValue)

All of the actions identified in the time range.

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

Parameters
Name Description
index int
builderForValue VideoActionRecognitionPredictionResult.IdentifiedAction.Builder
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VideoActionRecognitionPredictionResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VideoActionRecognitionPredictionResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides

setSegmentEndTime(Timestamp value)

public VideoActionRecognitionPredictionResult.Builder setSegmentEndTime(Timestamp value)

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;

Parameter
Name Description
value Timestamp
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

setSegmentEndTime(Timestamp.Builder builderForValue)

public VideoActionRecognitionPredictionResult.Builder setSegmentEndTime(Timestamp.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

setSegmentStartTime(Timestamp value)

public VideoActionRecognitionPredictionResult.Builder setSegmentStartTime(Timestamp value)

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

.google.protobuf.Timestamp segment_start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

setSegmentStartTime(Timestamp.Builder builderForValue)

public VideoActionRecognitionPredictionResult.Builder setSegmentStartTime(Timestamp.Builder builderForValue)

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

.google.protobuf.Timestamp segment_start_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final VideoActionRecognitionPredictionResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VideoActionRecognitionPredictionResult.Builder
Overrides