Class GroupServiceGrpc (3.50.0)

public final class GroupServiceGrpc

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 > GroupServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(GroupServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(GroupServiceGrpc.AsyncService service)
Parameter
Name Description
service GroupServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateGroupMethod()

public static MethodDescriptor<CreateGroupRequest,Group> getCreateGroupMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateGroupRequest,Group>

getDeleteGroupMethod()

public static MethodDescriptor<DeleteGroupRequest,Empty> getDeleteGroupMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteGroupRequest,Empty>

getGetGroupMethod()

public static MethodDescriptor<GetGroupRequest,Group> getGetGroupMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetGroupRequest,Group>

getListGroupMembersMethod()

public static MethodDescriptor<ListGroupMembersRequest,ListGroupMembersResponse> getListGroupMembersMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListGroupMembersRequest,ListGroupMembersResponse>

getListGroupsMethod()

public static MethodDescriptor<ListGroupsRequest,ListGroupsResponse> getListGroupsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListGroupsRequest,ListGroupsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateGroupMethod()

public static MethodDescriptor<UpdateGroupRequest,Group> getUpdateGroupMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateGroupRequest,Group>

newBlockingStub(Channel channel)

public static GroupServiceGrpc.GroupServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
GroupServiceGrpc.GroupServiceBlockingStub

newFutureStub(Channel channel)

public static GroupServiceGrpc.GroupServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
GroupServiceGrpc.GroupServiceFutureStub

newStub(Channel channel)

public static GroupServiceGrpc.GroupServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
GroupServiceGrpc.GroupServiceStub