Class VideoClassificationPredictionResult.Builder (0.11.0)

public static final class VideoClassificationPredictionResult.Builder extends GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder> implements VideoClassificationPredictionResultOrBuilder

Prediction output format for Video Classification.

Protobuf type google.cloud.visionai.v1.VideoClassificationPredictionResult

Static Methods

getDescriptor()

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

Methods

addAllClassifications(Iterable<? extends VideoClassificationPredictionResult.IdentifiedClassification> values)

public VideoClassificationPredictionResult.Builder addAllClassifications(Iterable<? extends VideoClassificationPredictionResult.IdentifiedClassification> values)

All of the classifications identified in the time range.

repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;

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

addClassifications(VideoClassificationPredictionResult.IdentifiedClassification value)

public VideoClassificationPredictionResult.Builder addClassifications(VideoClassificationPredictionResult.IdentifiedClassification value)

All of the classifications identified in the time range.

repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;

Parameter
Name Description
value VideoClassificationPredictionResult.IdentifiedClassification
Returns
Type Description
VideoClassificationPredictionResult.Builder

addClassifications(VideoClassificationPredictionResult.IdentifiedClassification.Builder builderForValue)

public VideoClassificationPredictionResult.Builder addClassifications(VideoClassificationPredictionResult.IdentifiedClassification.Builder builderForValue)

All of the classifications identified in the time range.

repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;

Parameter
Name Description
builderForValue VideoClassificationPredictionResult.IdentifiedClassification.Builder
Returns
Type Description
VideoClassificationPredictionResult.Builder

addClassifications(int index, VideoClassificationPredictionResult.IdentifiedClassification value)

public VideoClassificationPredictionResult.Builder addClassifications(int index, VideoClassificationPredictionResult.IdentifiedClassification value)

All of the classifications identified in the time range.

repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;

Parameters
Name Description
index int
value VideoClassificationPredictionResult.IdentifiedClassification
Returns
Type Description
VideoClassificationPredictionResult.Builder

addClassifications(int index, VideoClassificationPredictionResult.IdentifiedClassification.Builder builderForValue)

public VideoClassificationPredictionResult.Builder addClassifications(int index, VideoClassificationPredictionResult.IdentifiedClassification.Builder builderForValue)

All of the classifications identified in the time range.

repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;

Parameters
Name Description
index int
builderForValue VideoClassificationPredictionResult.IdentifiedClassification.Builder
Returns
Type Description
VideoClassificationPredictionResult.Builder

addClassificationsBuilder()

public VideoClassificationPredictionResult.IdentifiedClassification.Builder addClassificationsBuilder()

All of the classifications identified in the time range.

repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;

Returns
Type Description
VideoClassificationPredictionResult.IdentifiedClassification.Builder

addClassificationsBuilder(int index)

public VideoClassificationPredictionResult.IdentifiedClassification.Builder addClassificationsBuilder(int index)

All of the classifications identified in the time range.

repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;

Parameter
Name Description
index int
Returns
Type Description
VideoClassificationPredictionResult.IdentifiedClassification.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VideoClassificationPredictionResult build()
Returns
Type Description
VideoClassificationPredictionResult

buildPartial()

public VideoClassificationPredictionResult buildPartial()
Returns
Type Description
VideoClassificationPredictionResult

clear()

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

clearClassifications()

public VideoClassificationPredictionResult.Builder clearClassifications()

All of the classifications identified in the time range.

repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;

Returns
Type Description
VideoClassificationPredictionResult.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSegmentEndTime()

public VideoClassificationPredictionResult.Builder clearSegmentEndTime()

The end, inclusive, of the video's time segment in which the classifications 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
VideoClassificationPredictionResult.Builder

clearSegmentStartTime()

public VideoClassificationPredictionResult.Builder clearSegmentStartTime()

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

.google.protobuf.Timestamp segment_start_time = 1;

Returns
Type Description
VideoClassificationPredictionResult.Builder

clone()

public VideoClassificationPredictionResult.Builder clone()
Returns
Type Description
VideoClassificationPredictionResult.Builder
Overrides

getClassifications(int index)

public VideoClassificationPredictionResult.IdentifiedClassification getClassifications(int index)

All of the classifications identified in the time range.

repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;

Parameter
Name Description
index int
Returns
Type Description
VideoClassificationPredictionResult.IdentifiedClassification

getClassificationsBuilder(int index)

public VideoClassificationPredictionResult.IdentifiedClassification.Builder getClassificationsBuilder(int index)

All of the classifications identified in the time range.

repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;

Parameter
Name Description
index int
Returns
Type Description
VideoClassificationPredictionResult.IdentifiedClassification.Builder

getClassificationsBuilderList()

public List<VideoClassificationPredictionResult.IdentifiedClassification.Builder> getClassificationsBuilderList()

All of the classifications identified in the time range.

repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;

Returns
Type Description
List<Builder>

getClassificationsCount()

public int getClassificationsCount()

All of the classifications identified in the time range.

repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;

Returns
Type Description
int

getClassificationsList()

public List<VideoClassificationPredictionResult.IdentifiedClassification> getClassificationsList()

All of the classifications identified in the time range.

repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;

Returns
Type Description
List<IdentifiedClassification>

getClassificationsOrBuilder(int index)

public VideoClassificationPredictionResult.IdentifiedClassificationOrBuilder getClassificationsOrBuilder(int index)

All of the classifications identified in the time range.

repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;

Parameter
Name Description
index int
Returns
Type Description
VideoClassificationPredictionResult.IdentifiedClassificationOrBuilder

getClassificationsOrBuilderList()

public List<? extends VideoClassificationPredictionResult.IdentifiedClassificationOrBuilder> getClassificationsOrBuilderList()

All of the classifications identified in the time range.

repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassificationOrBuilder>

getDefaultInstanceForType()

public VideoClassificationPredictionResult getDefaultInstanceForType()
Returns
Type Description
VideoClassificationPredictionResult

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 classifications 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 classifications 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 classifications 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 classifications 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 classifications 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 classifications 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 classifications 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 classifications 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(VideoClassificationPredictionResult other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSegmentEndTime(Timestamp value)

public VideoClassificationPredictionResult.Builder mergeSegmentEndTime(Timestamp value)

The end, inclusive, of the video's time segment in which the classifications 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
VideoClassificationPredictionResult.Builder

mergeSegmentStartTime(Timestamp value)

public VideoClassificationPredictionResult.Builder mergeSegmentStartTime(Timestamp value)

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

.google.protobuf.Timestamp segment_start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
VideoClassificationPredictionResult.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeClassifications(int index)

public VideoClassificationPredictionResult.Builder removeClassifications(int index)

All of the classifications identified in the time range.

repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;

Parameter
Name Description
index int
Returns
Type Description
VideoClassificationPredictionResult.Builder

setClassifications(int index, VideoClassificationPredictionResult.IdentifiedClassification value)

public VideoClassificationPredictionResult.Builder setClassifications(int index, VideoClassificationPredictionResult.IdentifiedClassification value)

All of the classifications identified in the time range.

repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;

Parameters
Name Description
index int
value VideoClassificationPredictionResult.IdentifiedClassification
Returns
Type Description
VideoClassificationPredictionResult.Builder

setClassifications(int index, VideoClassificationPredictionResult.IdentifiedClassification.Builder builderForValue)

public VideoClassificationPredictionResult.Builder setClassifications(int index, VideoClassificationPredictionResult.IdentifiedClassification.Builder builderForValue)

All of the classifications identified in the time range.

repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;

Parameters
Name Description
index int
builderForValue VideoClassificationPredictionResult.IdentifiedClassification.Builder
Returns
Type Description
VideoClassificationPredictionResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSegmentEndTime(Timestamp value)

public VideoClassificationPredictionResult.Builder setSegmentEndTime(Timestamp value)

The end, inclusive, of the video's time segment in which the classifications 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
VideoClassificationPredictionResult.Builder

setSegmentEndTime(Timestamp.Builder builderForValue)

public VideoClassificationPredictionResult.Builder setSegmentEndTime(Timestamp.Builder builderForValue)

The end, inclusive, of the video's time segment in which the classifications 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
VideoClassificationPredictionResult.Builder

setSegmentStartTime(Timestamp value)

public VideoClassificationPredictionResult.Builder setSegmentStartTime(Timestamp value)

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

.google.protobuf.Timestamp segment_start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
VideoClassificationPredictionResult.Builder

setSegmentStartTime(Timestamp.Builder builderForValue)

public VideoClassificationPredictionResult.Builder setSegmentStartTime(Timestamp.Builder builderForValue)

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

.google.protobuf.Timestamp segment_start_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
VideoClassificationPredictionResult.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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