Class CustomerServiceGrpc.CustomerServiceStub

  • Enclosing class:
    CustomerServiceGrpc

    public static final class CustomerServiceGrpc.CustomerServiceStub
    extends io.grpc.stub.AbstractAsyncStub<CustomerServiceGrpc.CustomerServiceStub>
    A stub to allow clients to do asynchronous rpc calls to service CustomerService.
     Service to manage customers.
     
    • Method Detail

      • mutateCustomer

        public void mutateCustomer​(MutateCustomerRequest request,
                                   io.grpc.stub.StreamObserver<MutateCustomerResponse> responseObserver)
         Updates a customer. Operation statuses are returned.
         List of thrown errors:
           [AuthenticationError]()
           [AuthorizationError]()
           [DatabaseError]()
           [FieldMaskError]()
           [HeaderError]()
           [InternalError]()
           [QuotaError]()
           [RequestError]()
           [UrlFieldError]()
         
      • listAccessibleCustomers

        public void listAccessibleCustomers​(ListAccessibleCustomersRequest request,
                                            io.grpc.stub.StreamObserver<ListAccessibleCustomersResponse> responseObserver)
         Returns resource names of customers directly accessible by the
         user authenticating the call.
         List of thrown errors:
           [AuthenticationError]()
           [AuthorizationError]()
           [HeaderError]()
           [InternalError]()
           [QuotaError]()
           [RequestError]()
         
      • createCustomerClient

        public void createCustomerClient​(CreateCustomerClientRequest request,
                                         io.grpc.stub.StreamObserver<CreateCustomerClientResponse> responseObserver)
         Creates a new client under manager. The new client customer is returned.
         List of thrown errors:
           [AccessInvitationError]()
           [AuthenticationError]()
           [AuthorizationError]()
           [CurrencyCodeError]()
           [HeaderError]()
           [InternalError]()
           [ManagerLinkError]()
           [QuotaError]()
           [RequestError]()
           [StringLengthError]()
           [TimeZoneError]()