public static final class GroupServiceGrpc.GroupServiceBlockingStub extends AbstractBlockingStub<GroupServiceGrpc.GroupServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service GroupService.
The Group API lets you inspect and manage your
groups.
A group is a named filter that is used to identify
a collection of monitored resources. Groups are typically used to
mirror the physical and/or logical topology of the environment.
Because group membership is computed dynamically, monitored
resources that are started in the future are automatically placed
in matching groups. By using a group to name monitored resources in,
for example, an alert policy, the target of that alert policy is
updated automatically as monitored resources are added and removed
from the infrastructure.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractBlockingStub >
GroupServiceGrpc.GroupServiceBlockingStub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected GroupServiceGrpc.GroupServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createGroup(CreateGroupRequest request)
public Group createGroup(CreateGroupRequest request)
Returns |
Type |
Description |
Group |
|
deleteGroup(DeleteGroupRequest request)
public Empty deleteGroup(DeleteGroupRequest request)
Deletes an existing group.
Returns |
Type |
Description |
Empty |
|
getGroup(GetGroupRequest request)
public Group getGroup(GetGroupRequest request)
Returns |
Type |
Description |
Group |
|
listGroupMembers(ListGroupMembersRequest request)
public ListGroupMembersResponse listGroupMembers(ListGroupMembersRequest request)
Lists the monitored resources that are members of a group.
listGroups(ListGroupsRequest request)
public ListGroupsResponse listGroups(ListGroupsRequest request)
Lists the existing groups.
updateGroup(UpdateGroupRequest request)
public Group updateGroup(UpdateGroupRequest request)
Updates an existing group.
You can change any group attributes except name
.
Returns |
Type |
Description |
Group |
|