public class HttpJsonAccountsServiceStub extends AccountsServiceStub
REST 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 HttpJsonAccountsServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonAccountsServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonAccountsServiceStub create(AccountsServiceStubSettings settings)
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonAccountsServiceStub(AccountsServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonAccountsServiceStub(AccountsServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonAccountsServiceStub, 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.
HttpJsonAccountsServiceStub(AccountsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonAccountsServiceStub(AccountsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAccountsServiceStub, 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 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