Class 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.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.v1p3beta1.AnnotateVideoResponse
    • Method Detail

      • getDescriptor

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

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

        public 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public AnnotateVideoResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder>
      • clearField

        public AnnotateVideoResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder>
      • clearOneof

        public AnnotateVideoResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder>
      • setRepeatedField

        public AnnotateVideoResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder>
      • addRepeatedField

        public AnnotateVideoResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • getAnnotationResultsCount

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

        public AnnotateVideoResponse.Builder setAnnotationResults​(int index,
                                                                  VideoAnnotationResults value)
         Annotation results for all videos specified in `AnnotateVideoRequest`.
         
        repeated .google.cloud.videointelligence.v1p3beta1.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.v1p3beta1.VideoAnnotationResults annotation_results = 1;
      • addAnnotationResults

        public AnnotateVideoResponse.Builder addAnnotationResults​(VideoAnnotationResults value)
         Annotation results for all videos specified in `AnnotateVideoRequest`.
         
        repeated .google.cloud.videointelligence.v1p3beta1.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.v1p3beta1.VideoAnnotationResults annotation_results = 1;
      • addAnnotationResults

        public AnnotateVideoResponse.Builder addAnnotationResults​(VideoAnnotationResults.Builder builderForValue)
         Annotation results for all videos specified in `AnnotateVideoRequest`.
         
        repeated .google.cloud.videointelligence.v1p3beta1.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.v1p3beta1.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.v1p3beta1.VideoAnnotationResults annotation_results = 1;
      • clearAnnotationResults

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

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

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

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

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

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

        public final AnnotateVideoResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder>
      • mergeUnknownFields

        public final AnnotateVideoResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder>