public class HttpJsonRoleServiceStub extends RoleServiceStub
REST stub implementation for the RoleService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(RoleServiceStubSettings settings)
public static final HttpJsonRoleServiceStub create(RoleServiceStubSettings settings)
create(ClientContext clientContext)
public static final HttpJsonRoleServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRoleServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonRoleServiceStub(RoleServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonRoleServiceStub(RoleServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonRoleServiceStub, 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.
HttpJsonRoleServiceStub(RoleServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonRoleServiceStub(RoleServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonRoleServiceStub, 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
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
getRoleCallable()
public UnaryCallable<GetRoleRequest,Role> getRoleCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listRolesCallable()
public UnaryCallable<ListRolesRequest,ListRolesResponse> listRolesCallable()
Overrides
listRolesPagedCallable()
public UnaryCallable<ListRolesRequest,RoleServiceClient.ListRolesPagedResponse> listRolesPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()