public class HttpJsonAccountLabelsServiceStub extends AccountLabelsServiceStub
REST stub implementation for the AccountLabelsService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonAccountLabelsServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonAccountLabelsServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonAccountLabelsServiceStub create(AccountLabelsServiceStubSettings settings)
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonAccountLabelsServiceStub(AccountLabelsServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonAccountLabelsServiceStub(AccountLabelsServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonAccountLabelsServiceStub, 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.
HttpJsonAccountLabelsServiceStub(AccountLabelsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonAccountLabelsServiceStub(AccountLabelsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAccountLabelsServiceStub, 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<CreateAccountLabelRequest,AccountLabel> createAccountLabelCallable()
Overrides
public UnaryCallable<DeleteAccountLabelRequest,Empty> deleteAccountLabelCallable()
Overrides
public boolean isShutdown()
public boolean isTerminated()
public UnaryCallable<ListAccountLabelsRequest,ListAccountLabelsResponse> listAccountLabelsCallable()
Overrides
listAccountLabelsPagedCallable()
public UnaryCallable<ListAccountLabelsRequest,AccountLabelsServiceClient.ListAccountLabelsPagedResponse> listAccountLabelsPagedCallable()
Overrides
public void shutdownNow()
public UnaryCallable<UpdateAccountLabelRequest,AccountLabel> updateAccountLabelCallable()
Overrides