Class VideoClassificationPredictionResult.Builder (0.15.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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>

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;

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;

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

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

addClassificationsBuilder()

public VideoClassificationPredictionResult.IdentifiedClassification.Builder addClassificationsBuilder()

All of the classifications identified in the time range.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VideoClassificationPredictionResult build()
Returns
Type Description
VideoClassificationPredictionResult

buildPartial()

public VideoClassificationPredictionResult buildPartial()
Returns
Type Description
VideoClassificationPredictionResult

clear()

public VideoClassificationPredictionResult.Builder clear()
Overrides

clearClassifications()

public VideoClassificationPredictionResult.Builder clearClassifications()

All of the classifications identified in the time range.

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoClassificationPredictionResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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;

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;

clone()

public VideoClassificationPredictionResult.Builder clone()
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

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public VideoClassificationPredictionResult.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoClassificationPredictionResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

public VideoClassificationPredictionResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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
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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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