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

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

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

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

        public BatchAnnotateFilesRequest.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<BatchAnnotateFilesRequest.Builder>
      • isInitialized

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

        public BatchAnnotateFilesRequest.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<BatchAnnotateFilesRequest.Builder>
        Throws:
        IOException
      • getRequestsList

        public List<AnnotateFileRequest> getRequestsList()
         Required. The list of file annotation requests. Right now we support only
         one AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRequestsList in interface BatchAnnotateFilesRequestOrBuilder
      • getRequestsCount

        public int getRequestsCount()
         Required. The list of file annotation requests. Right now we support only
         one AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRequestsCount in interface BatchAnnotateFilesRequestOrBuilder
      • getRequests

        public AnnotateFileRequest getRequests​(int index)
         Required. The list of file annotation requests. Right now we support only
         one AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRequests in interface BatchAnnotateFilesRequestOrBuilder
      • setRequests

        public BatchAnnotateFilesRequest.Builder setRequests​(int index,
                                                             AnnotateFileRequest value)
         Required. The list of file annotation requests. Right now we support only
         one AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      • setRequests

        public BatchAnnotateFilesRequest.Builder setRequests​(int index,
                                                             AnnotateFileRequest.Builder builderForValue)
         Required. The list of file annotation requests. Right now we support only
         one AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      • addRequests

        public BatchAnnotateFilesRequest.Builder addRequests​(AnnotateFileRequest value)
         Required. The list of file annotation requests. Right now we support only
         one AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      • addRequests

        public BatchAnnotateFilesRequest.Builder addRequests​(int index,
                                                             AnnotateFileRequest value)
         Required. The list of file annotation requests. Right now we support only
         one AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      • addRequests

        public BatchAnnotateFilesRequest.Builder addRequests​(AnnotateFileRequest.Builder builderForValue)
         Required. The list of file annotation requests. Right now we support only
         one AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      • addRequests

        public BatchAnnotateFilesRequest.Builder addRequests​(int index,
                                                             AnnotateFileRequest.Builder builderForValue)
         Required. The list of file annotation requests. Right now we support only
         one AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      • addAllRequests

        public BatchAnnotateFilesRequest.Builder addAllRequests​(Iterable<? extends AnnotateFileRequest> values)
         Required. The list of file annotation requests. Right now we support only
         one AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      • clearRequests

        public BatchAnnotateFilesRequest.Builder clearRequests()
         Required. The list of file annotation requests. Right now we support only
         one AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      • removeRequests

        public BatchAnnotateFilesRequest.Builder removeRequests​(int index)
         Required. The list of file annotation requests. Right now we support only
         one AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      • getRequestsBuilder

        public AnnotateFileRequest.Builder getRequestsBuilder​(int index)
         Required. The list of file annotation requests. Right now we support only
         one AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      • getRequestsOrBuilder

        public AnnotateFileRequestOrBuilder getRequestsOrBuilder​(int index)
         Required. The list of file annotation requests. Right now we support only
         one AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRequestsOrBuilder in interface BatchAnnotateFilesRequestOrBuilder
      • addRequestsBuilder

        public AnnotateFileRequest.Builder addRequestsBuilder()
         Required. The list of file annotation requests. Right now we support only
         one AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      • addRequestsBuilder

        public AnnotateFileRequest.Builder addRequestsBuilder​(int index)
         Required. The list of file annotation requests. Right now we support only
         one AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      • getRequestsBuilderList

        public List<AnnotateFileRequest.Builder> getRequestsBuilderList()
         Required. The list of file annotation requests. Right now we support only
         one AnnotateFileRequest in BatchAnnotateFilesRequest.
         
        repeated .google.cloud.vision.v1p4beta1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
      • setUnknownFields

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

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