Class AnnotateVideoResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AnnotateVideoResponse.Builder>
com.google.cloud.videointelligence.v1.AnnotateVideoResponse.Builder
All Implemented Interfaces:
AnnotateVideoResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AnnotateVideoResponse

public static final class AnnotateVideoResponse.Builder extends com.google.protobuf.GeneratedMessage.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.v1.AnnotateVideoResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AnnotateVideoResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AnnotateVideoResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AnnotateVideoResponse.Builder>
    • getDefaultInstanceForType

      public AnnotateVideoResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public AnnotateVideoResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AnnotateVideoResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AnnotateVideoResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AnnotateVideoResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AnnotateVideoResponse.Builder>
    • mergeFrom

      public AnnotateVideoResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AnnotateVideoResponse.Builder>
      Throws:
      IOException
    • getAnnotationResultsList

      public List<VideoAnnotationResults> getAnnotationResultsList()
       Annotation results for all videos specified in `AnnotateVideoRequest`.
       
      repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;
      Specified by:
      getAnnotationResultsList in interface AnnotateVideoResponseOrBuilder
    • getAnnotationResultsCount

      public int getAnnotationResultsCount()
       Annotation results for all videos specified in `AnnotateVideoRequest`.
       
      repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;
      Specified by:
      getAnnotationResultsCount in interface AnnotateVideoResponseOrBuilder
    • getAnnotationResults

      public VideoAnnotationResults getAnnotationResults(int index)
       Annotation results for all videos specified in `AnnotateVideoRequest`.
       
      repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;
      Specified by:
      getAnnotationResults in interface AnnotateVideoResponseOrBuilder
    • setAnnotationResults

      public AnnotateVideoResponse.Builder setAnnotationResults(int index, VideoAnnotationResults value)
       Annotation results for all videos specified in `AnnotateVideoRequest`.
       
      repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;
    • setAnnotationResults

      public AnnotateVideoResponse.Builder setAnnotationResults(int index, VideoAnnotationResults.Builder builderForValue)
       Annotation results for all videos specified in `AnnotateVideoRequest`.
       
      repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;
    • addAnnotationResults

      public AnnotateVideoResponse.Builder addAnnotationResults(VideoAnnotationResults value)
       Annotation results for all videos specified in `AnnotateVideoRequest`.
       
      repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;
    • addAnnotationResults

      public AnnotateVideoResponse.Builder addAnnotationResults(int index, VideoAnnotationResults value)
       Annotation results for all videos specified in `AnnotateVideoRequest`.
       
      repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;
    • addAnnotationResults

      public AnnotateVideoResponse.Builder addAnnotationResults(VideoAnnotationResults.Builder builderForValue)
       Annotation results for all videos specified in `AnnotateVideoRequest`.
       
      repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;
    • addAnnotationResults

      public AnnotateVideoResponse.Builder addAnnotationResults(int index, VideoAnnotationResults.Builder builderForValue)
       Annotation results for all videos specified in `AnnotateVideoRequest`.
       
      repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;
    • addAllAnnotationResults

      public AnnotateVideoResponse.Builder addAllAnnotationResults(Iterable<? extends VideoAnnotationResults> values)
       Annotation results for all videos specified in `AnnotateVideoRequest`.
       
      repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;
    • clearAnnotationResults

      public AnnotateVideoResponse.Builder clearAnnotationResults()
       Annotation results for all videos specified in `AnnotateVideoRequest`.
       
      repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;
    • removeAnnotationResults

      public AnnotateVideoResponse.Builder removeAnnotationResults(int index)
       Annotation results for all videos specified in `AnnotateVideoRequest`.
       
      repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;
    • getAnnotationResultsBuilder

      public VideoAnnotationResults.Builder getAnnotationResultsBuilder(int index)
       Annotation results for all videos specified in `AnnotateVideoRequest`.
       
      repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;
    • getAnnotationResultsOrBuilder

      public VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder(int index)
       Annotation results for all videos specified in `AnnotateVideoRequest`.
       
      repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;
      Specified by:
      getAnnotationResultsOrBuilder in interface AnnotateVideoResponseOrBuilder
    • getAnnotationResultsOrBuilderList

      public List<? extends VideoAnnotationResultsOrBuilder> getAnnotationResultsOrBuilderList()
       Annotation results for all videos specified in `AnnotateVideoRequest`.
       
      repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;
      Specified by:
      getAnnotationResultsOrBuilderList in interface AnnotateVideoResponseOrBuilder
    • addAnnotationResultsBuilder

      public VideoAnnotationResults.Builder addAnnotationResultsBuilder()
       Annotation results for all videos specified in `AnnotateVideoRequest`.
       
      repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;
    • addAnnotationResultsBuilder

      public VideoAnnotationResults.Builder addAnnotationResultsBuilder(int index)
       Annotation results for all videos specified in `AnnotateVideoRequest`.
       
      repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;
    • getAnnotationResultsBuilderList

      public List<VideoAnnotationResults.Builder> getAnnotationResultsBuilderList()
       Annotation results for all videos specified in `AnnotateVideoRequest`.
       
      repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;