Class GrpcGroupServiceStub (3.4.1)

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.

Inheritance

java.lang.Object > GroupServiceStub > GrpcGroupServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcGroupServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcGroupServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcGroupServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcGroupServiceStub
Exceptions
TypeDescription
IOException

create(GroupServiceStubSettings settings)

public static final GrpcGroupServiceStub create(GroupServiceStubSettings settings)
Parameter
NameDescription
settingsGroupServiceStubSettings
Returns
TypeDescription
GrpcGroupServiceStub
Exceptions
TypeDescription
IOException

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
NameDescription
settingsGroupServiceStubSettings
clientContextClientContext

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
NameDescription
settingsGroupServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createGroupCallable()

public UnaryCallable<CreateGroupRequest,Group> createGroupCallable()
Returns
TypeDescription
UnaryCallable<CreateGroupRequest,Group>
Overrides

deleteGroupCallable()

public UnaryCallable<DeleteGroupRequest,Empty> deleteGroupCallable()
Returns
TypeDescription
UnaryCallable<DeleteGroupRequest,Empty>
Overrides

getGroupCallable()

public UnaryCallable<GetGroupRequest,Group> getGroupCallable()
Returns
TypeDescription
UnaryCallable<GetGroupRequest,Group>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listGroupMembersCallable()

public UnaryCallable<ListGroupMembersRequest,ListGroupMembersResponse> listGroupMembersCallable()
Returns
TypeDescription
UnaryCallable<ListGroupMembersRequest,ListGroupMembersResponse>
Overrides

listGroupMembersPagedCallable()

public UnaryCallable<ListGroupMembersRequest,GroupServiceClient.ListGroupMembersPagedResponse> listGroupMembersPagedCallable()
Returns
TypeDescription
UnaryCallable<ListGroupMembersRequest,ListGroupMembersPagedResponse>
Overrides

listGroupsCallable()

public UnaryCallable<ListGroupsRequest,ListGroupsResponse> listGroupsCallable()
Returns
TypeDescription
UnaryCallable<ListGroupsRequest,ListGroupsResponse>
Overrides

listGroupsPagedCallable()

public UnaryCallable<ListGroupsRequest,GroupServiceClient.ListGroupsPagedResponse> listGroupsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListGroupsRequest,ListGroupsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateGroupCallable()

public UnaryCallable<UpdateGroupRequest,Group> updateGroupCallable()
Returns
TypeDescription
UnaryCallable<UpdateGroupRequest,Group>
Overrides