Package com.google.cloud.visionai.v1
Class VideoClassificationPredictionResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VideoClassificationPredictionResult.Builder>
com.google.cloud.visionai.v1.VideoClassificationPredictionResult.Builder
- All Implemented Interfaces:
VideoClassificationPredictionResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VideoClassificationPredictionResult
public static final class VideoClassificationPredictionResult.Builder
extends com.google.protobuf.GeneratedMessage.Builder<VideoClassificationPredictionResult.Builder>
implements VideoClassificationPredictionResultOrBuilder
Prediction output format for Video Classification.Protobuf type
google.cloud.visionai.v1.VideoClassificationPredictionResult-
Method Summary
Modifier and TypeMethodDescriptionaddAllClassifications(Iterable<? extends VideoClassificationPredictionResult.IdentifiedClassification> values) All of the classifications identified in the time range.All of the classifications identified in the time range.addClassifications(int index, VideoClassificationPredictionResult.IdentifiedClassification.Builder builderForValue) All of the classifications identified in the time range.All of the classifications identified in the time range.addClassifications(VideoClassificationPredictionResult.IdentifiedClassification.Builder builderForValue) All of the classifications identified in the time range.All of the classifications identified in the time range.addClassificationsBuilder(int index) All of the classifications identified in the time range.build()clear()All of the classifications identified in the time range.The end, inclusive, of the video's time segment in which the classifications have been identified.The beginning, inclusive, of the video's time segment in which the classifications have been identified.getClassifications(int index) All of the classifications identified in the time range.getClassificationsBuilder(int index) All of the classifications identified in the time range.All of the classifications identified in the time range.intAll of the classifications identified in the time range.All of the classifications identified in the time range.getClassificationsOrBuilder(int index) All of the classifications identified in the time range.All of the classifications identified in the time range.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampThe end, inclusive, of the video's time segment in which the classifications have been identified.com.google.protobuf.Timestamp.BuilderThe end, inclusive, of the video's time segment in which the classifications have been identified.com.google.protobuf.TimestampOrBuilderThe end, inclusive, of the video's time segment in which the classifications have been identified.com.google.protobuf.TimestampThe beginning, inclusive, of the video's time segment in which the classifications have been identified.com.google.protobuf.Timestamp.BuilderThe beginning, inclusive, of the video's time segment in which the classifications have been identified.com.google.protobuf.TimestampOrBuilderThe beginning, inclusive, of the video's time segment in which the classifications have been identified.booleanThe end, inclusive, of the video's time segment in which the classifications have been identified.booleanThe beginning, inclusive, of the video's time segment in which the classifications have been identified.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeSegmentEndTime(com.google.protobuf.Timestamp value) The end, inclusive, of the video's time segment in which the classifications have been identified.mergeSegmentStartTime(com.google.protobuf.Timestamp value) The beginning, inclusive, of the video's time segment in which the classifications have been identified.removeClassifications(int index) All of the classifications identified in the time range.All of the classifications identified in the time range.setClassifications(int index, VideoClassificationPredictionResult.IdentifiedClassification.Builder builderForValue) All of the classifications identified in the time range.setSegmentEndTime(com.google.protobuf.Timestamp value) The end, inclusive, of the video's time segment in which the classifications have been identified.setSegmentEndTime(com.google.protobuf.Timestamp.Builder builderForValue) The end, inclusive, of the video's time segment in which the classifications have been identified.setSegmentStartTime(com.google.protobuf.Timestamp value) The beginning, inclusive, of the video's time segment in which the classifications have been identified.setSegmentStartTime(com.google.protobuf.Timestamp.Builder builderForValue) The beginning, inclusive, of the video's time segment in which the classifications have been identified.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<VideoClassificationPredictionResult.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<VideoClassificationPredictionResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<VideoClassificationPredictionResult.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VideoClassificationPredictionResult.Builder>
-
mergeFrom
public VideoClassificationPredictionResult.Builder mergeFrom(VideoClassificationPredictionResult other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VideoClassificationPredictionResult.Builder>
-
mergeFrom
public VideoClassificationPredictionResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VideoClassificationPredictionResult.Builder>- Throws:
IOException
-
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;- Specified by:
hasSegmentStartTimein interfaceVideoClassificationPredictionResultOrBuilder- Returns:
- Whether the segmentStartTime field is set.
-
getSegmentStartTime
public com.google.protobuf.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;- Specified by:
getSegmentStartTimein interfaceVideoClassificationPredictionResultOrBuilder- Returns:
- The segmentStartTime.
-
setSegmentStartTime
public VideoClassificationPredictionResult.Builder setSegmentStartTime(com.google.protobuf.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
public VideoClassificationPredictionResult.Builder setSegmentStartTime(com.google.protobuf.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; -
mergeSegmentStartTime
public VideoClassificationPredictionResult.Builder mergeSegmentStartTime(com.google.protobuf.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; -
clearSegmentStartTime
The beginning, inclusive, of the video's time segment in which the classifications have been identified.
.google.protobuf.Timestamp segment_start_time = 1; -
getSegmentStartTimeBuilder
public com.google.protobuf.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 com.google.protobuf.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;- Specified by:
getSegmentStartTimeOrBuilderin interfaceVideoClassificationPredictionResultOrBuilder
-
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;- Specified by:
hasSegmentEndTimein interfaceVideoClassificationPredictionResultOrBuilder- Returns:
- Whether the segmentEndTime field is set.
-
getSegmentEndTime
public com.google.protobuf.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;- Specified by:
getSegmentEndTimein interfaceVideoClassificationPredictionResultOrBuilder- Returns:
- The segmentEndTime.
-
setSegmentEndTime
public VideoClassificationPredictionResult.Builder setSegmentEndTime(com.google.protobuf.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
public VideoClassificationPredictionResult.Builder setSegmentEndTime(com.google.protobuf.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; -
mergeSegmentEndTime
public VideoClassificationPredictionResult.Builder mergeSegmentEndTime(com.google.protobuf.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; -
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; -
getSegmentEndTimeBuilder
public com.google.protobuf.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 com.google.protobuf.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;- Specified by:
getSegmentEndTimeOrBuilderin interfaceVideoClassificationPredictionResultOrBuilder
-
getClassificationsList
All of the classifications identified in the time range.
repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;- Specified by:
getClassificationsListin interfaceVideoClassificationPredictionResultOrBuilder
-
getClassificationsCount
public int getClassificationsCount()All of the classifications identified in the time range.
repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;- Specified by:
getClassificationsCountin interfaceVideoClassificationPredictionResultOrBuilder
-
getClassifications
All of the classifications identified in the time range.
repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;- Specified by:
getClassificationsin interfaceVideoClassificationPredictionResultOrBuilder
-
setClassifications
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
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; -
addClassifications
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
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
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
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; -
addAllClassifications
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; -
clearClassifications
All of the classifications identified in the time range.
repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3; -
removeClassifications
All of the classifications identified in the time range.
repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3; -
getClassificationsBuilder
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; -
getClassificationsOrBuilder
public VideoClassificationPredictionResult.IdentifiedClassificationOrBuilder getClassificationsOrBuilder(int index) All of the classifications identified in the time range.
repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;- Specified by:
getClassificationsOrBuilderin interfaceVideoClassificationPredictionResultOrBuilder
-
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;- Specified by:
getClassificationsOrBuilderListin interfaceVideoClassificationPredictionResultOrBuilder
-
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
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; -
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;
-