Send feedback
Class AnnotateVideoResponse.Builder (2.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.2.0 keyboard_arrow_down
public static final class AnnotateVideoResponse . Builder extends GeneratedMessageV3 . Builder<AnnotateVideoResponse . Builder > implements AnnotateVideoResponseOrBuilder
Video annotation response. Included in the response
field of the Operation
returned by the GetOperation
call of the google::longrunning::Operations
service.
Protobuf type google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addAllAnnotationResults(Iterable<? extends VideoAnnotationResults> values)
public AnnotateVideoResponse . Builder addAllAnnotationResults ( Iterable <? extends VideoAnnotationResults > values )
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameter
Name Description values Iterable <? extends com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults >
Returns
addAnnotationResults(VideoAnnotationResults value)
public AnnotateVideoResponse . Builder addAnnotationResults ( VideoAnnotationResults value )
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameter
Returns
addAnnotationResults(VideoAnnotationResults.Builder builderForValue)
public AnnotateVideoResponse . Builder addAnnotationResults ( VideoAnnotationResults . Builder builderForValue )
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameter
Returns
addAnnotationResults(int index, VideoAnnotationResults value)
public AnnotateVideoResponse . Builder addAnnotationResults ( int index , VideoAnnotationResults value )
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameters
Returns
addAnnotationResults(int index, VideoAnnotationResults.Builder builderForValue)
public AnnotateVideoResponse . Builder addAnnotationResults ( int index , VideoAnnotationResults . Builder builderForValue )
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameters
Returns
addAnnotationResultsBuilder()
public VideoAnnotationResults . Builder addAnnotationResultsBuilder ()
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Returns
addAnnotationResultsBuilder(int index)
public VideoAnnotationResults . Builder addAnnotationResultsBuilder ( int index )
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnnotateVideoResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public AnnotateVideoResponse build ()
Returns
buildPartial()
public AnnotateVideoResponse buildPartial ()
Returns
clear()
public AnnotateVideoResponse . Builder clear ()
Returns
Overrides
clearAnnotationResults()
public AnnotateVideoResponse . Builder clearAnnotationResults ()
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public AnnotateVideoResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AnnotateVideoResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public AnnotateVideoResponse . Builder clone ()
Returns
Overrides
getAnnotationResults(int index)
public VideoAnnotationResults getAnnotationResults ( int index )
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameter
Returns
getAnnotationResultsBuilder(int index)
public VideoAnnotationResults . Builder getAnnotationResultsBuilder ( int index )
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameter
Returns
getAnnotationResultsBuilderList()
public List<VideoAnnotationResults . Builder > getAnnotationResultsBuilderList ()
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Returns
getAnnotationResultsCount()
public int getAnnotationResultsCount ()
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Returns
getAnnotationResultsList()
public List<VideoAnnotationResults> getAnnotationResultsList ()
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Returns
getAnnotationResultsOrBuilder(int index)
public VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder ( int index )
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameter
Returns
getAnnotationResultsOrBuilderList()
public List <? extends VideoAnnotationResultsOrBuilder > getAnnotationResultsOrBuilderList ()
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Returns
Type Description List <? extends com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder >
getDefaultInstanceForType()
public AnnotateVideoResponse getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(AnnotateVideoResponse other)
public AnnotateVideoResponse . Builder mergeFrom ( AnnotateVideoResponse other )
Parameter
Returns
public AnnotateVideoResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AnnotateVideoResponse . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnnotateVideoResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removeAnnotationResults(int index)
public AnnotateVideoResponse . Builder removeAnnotationResults ( int index )
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameter
Returns
setAnnotationResults(int index, VideoAnnotationResults value)
public AnnotateVideoResponse . Builder setAnnotationResults ( int index , VideoAnnotationResults value )
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameters
Returns
setAnnotationResults(int index, VideoAnnotationResults.Builder builderForValue)
public AnnotateVideoResponse . Builder setAnnotationResults ( int index , VideoAnnotationResults . Builder builderForValue )
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AnnotateVideoResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnnotateVideoResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AnnotateVideoResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]