Class CustomerServiceGrpc.CustomerServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<CustomerServiceGrpc.CustomerServiceStub>
com.google.ads.googleads.v18.services.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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected CustomerServiceGrpc.CustomerServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateCustomerClient(CreateCustomerClientRequest request, io.grpc.stub.StreamObserver<CreateCustomerClientResponse> responseObserver) Creates a new client under manager.voidlistAccessibleCustomers(ListAccessibleCustomersRequest request, io.grpc.stub.StreamObserver<ListAccessibleCustomersResponse> responseObserver) Returns resource names of customers directly accessible by the user authenticating the call.voidmutateCustomer(MutateCustomerRequest request, io.grpc.stub.StreamObserver<MutateCustomerResponse> responseObserver) Updates a customer.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected CustomerServiceGrpc.CustomerServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CustomerServiceGrpc.CustomerServiceStub>
-
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]()
-