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
Inherited Members
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()
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;
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;
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)
Overrides
build()
public VideoClassificationPredictionResult build()
buildPartial()
public VideoClassificationPredictionResult buildPartial()
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)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VideoClassificationPredictionResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
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;
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(VideoClassificationPredictionResult other)
public VideoClassificationPredictionResult.Builder mergeFrom(VideoClassificationPredictionResult other)
public VideoClassificationPredictionResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
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;
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VideoClassificationPredictionResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public VideoClassificationPredictionResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VideoClassificationPredictionResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
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)
Overrides