public class GrpcGroupServiceStub extends GroupServiceStub
gRPC stub implementation for the GroupService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcGroupServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcGroupServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(GroupServiceStubSettings settings)
public static final GrpcGroupServiceStub create(GroupServiceStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcGroupServiceStub(GroupServiceStubSettings settings, ClientContext clientContext)
protected GrpcGroupServiceStub(GroupServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcGroupServiceStub, 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.
Parameters
GrpcGroupServiceStub(GroupServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcGroupServiceStub(GroupServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcGroupServiceStub, 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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createGroupCallable()
public UnaryCallable<CreateGroupRequest,Group> createGroupCallable()
Returns
Overrides
deleteGroupCallable()
public UnaryCallable<DeleteGroupRequest,Empty> deleteGroupCallable()
Returns
Overrides
getGroupCallable()
public UnaryCallable<GetGroupRequest,Group> getGroupCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listGroupMembersCallable()
public UnaryCallable<ListGroupMembersRequest,ListGroupMembersResponse> listGroupMembersCallable()
Returns
Overrides
listGroupMembersPagedCallable()
public UnaryCallable<ListGroupMembersRequest,GroupServiceClient.ListGroupMembersPagedResponse> listGroupMembersPagedCallable()
Returns
Overrides
listGroupsCallable()
public UnaryCallable<ListGroupsRequest,ListGroupsResponse> listGroupsCallable()
Returns
Overrides
listGroupsPagedCallable()
public UnaryCallable<ListGroupsRequest,GroupServiceClient.ListGroupsPagedResponse> listGroupsPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateGroupCallable()
public UnaryCallable<UpdateGroupRequest,Group> updateGroupCallable()
Returns
Overrides