@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcGroupServiceStub extends GroupServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcGroupServiceStub(GroupServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcGroupServiceStub, using the given settings.
|
protected |
GrpcGroupServiceStub(GroupServiceStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcGroupServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcGroupServiceStub |
create(ClientContext clientContext) |
static GrpcGroupServiceStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcGroupServiceStub |
create(GroupServiceStubSettings settings) |
UnaryCallable<com.google.monitoring.v3.CreateGroupRequest,com.google.monitoring.v3.Group> |
createGroupCallable() |
UnaryCallable<com.google.monitoring.v3.DeleteGroupRequest,Empty> |
deleteGroupCallable() |
UnaryCallable<com.google.monitoring.v3.GetGroupRequest,com.google.monitoring.v3.Group> |
getGroupCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.monitoring.v3.ListGroupMembersRequest,com.google.monitoring.v3.ListGroupMembersResponse> |
listGroupMembersCallable() |
UnaryCallable<com.google.monitoring.v3.ListGroupMembersRequest,GroupServiceClient.ListGroupMembersPagedResponse> |
listGroupMembersPagedCallable() |
UnaryCallable<com.google.monitoring.v3.ListGroupsRequest,com.google.monitoring.v3.ListGroupsResponse> |
listGroupsCallable() |
UnaryCallable<com.google.monitoring.v3.ListGroupsRequest,GroupServiceClient.ListGroupsPagedResponse> |
listGroupsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.monitoring.v3.UpdateGroupRequest,com.google.monitoring.v3.Group> |
updateGroupCallable() |
protected GrpcGroupServiceStub(GroupServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcGroupServiceStub(GroupServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcGroupServiceStub create(GroupServiceStubSettings settings) throws IOException
IOException
public static final GrpcGroupServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcGroupServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public UnaryCallable<com.google.monitoring.v3.ListGroupsRequest,GroupServiceClient.ListGroupsPagedResponse> listGroupsPagedCallable()
listGroupsPagedCallable
in class GroupServiceStub
public UnaryCallable<com.google.monitoring.v3.ListGroupsRequest,com.google.monitoring.v3.ListGroupsResponse> listGroupsCallable()
listGroupsCallable
in class GroupServiceStub
public UnaryCallable<com.google.monitoring.v3.GetGroupRequest,com.google.monitoring.v3.Group> getGroupCallable()
getGroupCallable
in class GroupServiceStub
public UnaryCallable<com.google.monitoring.v3.CreateGroupRequest,com.google.monitoring.v3.Group> createGroupCallable()
createGroupCallable
in class GroupServiceStub
public UnaryCallable<com.google.monitoring.v3.UpdateGroupRequest,com.google.monitoring.v3.Group> updateGroupCallable()
updateGroupCallable
in class GroupServiceStub
public UnaryCallable<com.google.monitoring.v3.DeleteGroupRequest,Empty> deleteGroupCallable()
deleteGroupCallable
in class GroupServiceStub
public UnaryCallable<com.google.monitoring.v3.ListGroupMembersRequest,GroupServiceClient.ListGroupMembersPagedResponse> listGroupMembersPagedCallable()
listGroupMembersPagedCallable
in class GroupServiceStub
public UnaryCallable<com.google.monitoring.v3.ListGroupMembersRequest,com.google.monitoring.v3.ListGroupMembersResponse> listGroupMembersCallable()
listGroupMembersCallable
in class GroupServiceStub
public final void close()
close
in interface AutoCloseable
close
in class GroupServiceStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.