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

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

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

        public BatchAnnotateFilesResponse 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<BatchAnnotateFilesResponse.Builder>
      • mergeFrom

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

        public int getResponsesCount()
         The list of file annotation responses, each response corresponding to each
         AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
        Specified by:
        getResponsesCount in interface BatchAnnotateFilesResponseOrBuilder
      • getResponses

        public AnnotateFileResponse getResponses​(int index)
         The list of file annotation responses, each response corresponding to each
         AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
        Specified by:
        getResponses in interface BatchAnnotateFilesResponseOrBuilder
      • setResponses

        public BatchAnnotateFilesResponse.Builder setResponses​(int index,
                                                               AnnotateFileResponse value)
         The list of file annotation responses, each response corresponding to each
         AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
      • setResponses

        public BatchAnnotateFilesResponse.Builder setResponses​(int index,
                                                               AnnotateFileResponse.Builder builderForValue)
         The list of file annotation responses, each response corresponding to each
         AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
      • addResponses

        public BatchAnnotateFilesResponse.Builder addResponses​(AnnotateFileResponse value)
         The list of file annotation responses, each response corresponding to each
         AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
      • addResponses

        public BatchAnnotateFilesResponse.Builder addResponses​(int index,
                                                               AnnotateFileResponse value)
         The list of file annotation responses, each response corresponding to each
         AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
      • addResponses

        public BatchAnnotateFilesResponse.Builder addResponses​(AnnotateFileResponse.Builder builderForValue)
         The list of file annotation responses, each response corresponding to each
         AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
      • addResponses

        public BatchAnnotateFilesResponse.Builder addResponses​(int index,
                                                               AnnotateFileResponse.Builder builderForValue)
         The list of file annotation responses, each response corresponding to each
         AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
      • addAllResponses

        public BatchAnnotateFilesResponse.Builder addAllResponses​(Iterable<? extends AnnotateFileResponse> values)
         The list of file annotation responses, each response corresponding to each
         AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
      • clearResponses

        public BatchAnnotateFilesResponse.Builder clearResponses()
         The list of file annotation responses, each response corresponding to each
         AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
      • removeResponses

        public BatchAnnotateFilesResponse.Builder removeResponses​(int index)
         The list of file annotation responses, each response corresponding to each
         AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
      • getResponsesBuilder

        public AnnotateFileResponse.Builder getResponsesBuilder​(int index)
         The list of file annotation responses, each response corresponding to each
         AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
      • addResponsesBuilder

        public AnnotateFileResponse.Builder addResponsesBuilder()
         The list of file annotation responses, each response corresponding to each
         AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
      • addResponsesBuilder

        public AnnotateFileResponse.Builder addResponsesBuilder​(int index)
         The list of file annotation responses, each response corresponding to each
         AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
      • getResponsesBuilderList

        public List<AnnotateFileResponse.Builder> getResponsesBuilderList()
         The list of file annotation responses, each response corresponding to each
         AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
      • setUnknownFields

        public final BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.Builder>
      • mergeUnknownFields

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