Class GroupServiceGrpc (3.19.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
TypeDescription
String

Static Methods

bindService(GroupServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(GroupServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceGroupServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateGroupMethod()

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

getDeleteGroupMethod()

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

getGetGroupMethod()

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

getListGroupMembersMethod()

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

getListGroupsMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateGroupMethod()

public static MethodDescriptor<UpdateGroupRequest,Group> getUpdateGroupMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
GroupServiceGrpc.GroupServiceStub