public class GrpcAccountsServiceStub extends AccountsServiceStub
gRPC stub implementation for the AccountsService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcAccountsServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcAccountsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcAccountsServiceStub create(AccountsServiceStubSettings settings)
Constructors
GrpcAccountsServiceStub(AccountsServiceStubSettings settings, ClientContext clientContext)
protected GrpcAccountsServiceStub(AccountsServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcAccountsServiceStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
GrpcAccountsServiceStub(AccountsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcAccountsServiceStub(AccountsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcAccountsServiceStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Methods
public boolean awaitTermination(long duration, TimeUnit unit)
public final void close()
Overrides
public UnaryCallable<GetAccountRequest,Account> getAccountCallable()
Overrides
public GrpcOperationsStub getOperationsStub()
public boolean isShutdown()
public boolean isTerminated()
public UnaryCallable<ListChildAccountsRequest,ListChildAccountsResponse> listChildAccountsCallable()
Overrides
listChildAccountsPagedCallable()
public UnaryCallable<ListChildAccountsRequest,AccountsServiceClient.ListChildAccountsPagedResponse> listChildAccountsPagedCallable()
Overrides
public void shutdownNow()
public UnaryCallable<UpdateAccountLabelsRequest,Account> updateLabelsCallable()
Overrides