/** * * * <pre> * Annotation results for all videos specified in `AnnotateVideoRequest`. * </pre> * * <code> * repeated .google.cloud.videointelligence.v1beta1.VideoAnnotationResults annotation_results = 1; * </code> */ public Builder addAnnotationResults( int index, com.google.cloud.videointelligence.v1beta1.VideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.add(index, builderForValue.build()); onChanged(); } else { annotationResultsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * Annotation results for all videos specified in `AnnotateVideoRequest`. * </pre> * * <code> * repeated .google.cloud.videointelligence.v1beta1.VideoAnnotationResults annotation_results = 1; * </code> */ public Builder addAnnotationResults( com.google.cloud.videointelligence.v1beta1.VideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.add(builderForValue.build()); onChanged(); } else { annotationResultsBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * Annotation results for all videos specified in `AnnotateVideoRequest`. * </pre> * * <code> * repeated .google.cloud.videointelligence.v1beta1.VideoAnnotationResults annotation_results = 1; * </code> */ public Builder setAnnotationResults( int index, com.google.cloud.videointelligence.v1beta1.VideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.set(index, builderForValue.build()); onChanged(); } else { annotationResultsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**