Class BatchAnnotateImagesResponse.Builder

    • 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<BatchAnnotateImagesResponse.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<BatchAnnotateImagesResponse.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public BatchAnnotateImagesResponse.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<BatchAnnotateImagesResponse.Builder>
        Throws:
        IOException
      • getResponsesCount

        public int getResponsesCount()
         Individual responses to image annotation requests within the batch.
         
        repeated .google.cloud.vision.v1p2beta1.AnnotateImageResponse responses = 1;
        Specified by:
        getResponsesCount in interface BatchAnnotateImagesResponseOrBuilder
      • clearResponses

        public BatchAnnotateImagesResponse.Builder clearResponses()
         Individual responses to image annotation requests within the batch.
         
        repeated .google.cloud.vision.v1p2beta1.AnnotateImageResponse responses = 1;
      • removeResponses

        public BatchAnnotateImagesResponse.Builder removeResponses​(int index)
         Individual responses to image annotation requests within the batch.
         
        repeated .google.cloud.vision.v1p2beta1.AnnotateImageResponse responses = 1;
      • getResponsesBuilder

        public AnnotateImageResponse.Builder getResponsesBuilder​(int index)
         Individual responses to image annotation requests within the batch.
         
        repeated .google.cloud.vision.v1p2beta1.AnnotateImageResponse responses = 1;
      • addResponsesBuilder

        public AnnotateImageResponse.Builder addResponsesBuilder()
         Individual responses to image annotation requests within the batch.
         
        repeated .google.cloud.vision.v1p2beta1.AnnotateImageResponse responses = 1;
      • addResponsesBuilder

        public AnnotateImageResponse.Builder addResponsesBuilder​(int index)
         Individual responses to image annotation requests within the batch.
         
        repeated .google.cloud.vision.v1p2beta1.AnnotateImageResponse responses = 1;
      • getResponsesBuilderList

        public List<AnnotateImageResponse.Builder> getResponsesBuilderList()
         Individual responses to image annotation requests within the batch.
         
        repeated .google.cloud.vision.v1p2beta1.AnnotateImageResponse responses = 1;
      • mergeUnknownFields

        public final BatchAnnotateImagesResponse.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<BatchAnnotateImagesResponse.Builder>