Class GroupServiceGrpc.GroupServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<GroupServiceGrpc.GroupServiceStub>
com.google.monitoring.v3.GroupServiceGrpc.GroupServiceStub
Enclosing class:
GroupServiceGrpc

public static final class GroupServiceGrpc.GroupServiceStub extends io.grpc.stub.AbstractAsyncStub<GroupServiceGrpc.GroupServiceStub>
A stub to allow clients to do asynchronous rpc calls to service GroupService.
 The Group API lets you inspect and manage your
 [groups](#google.monitoring.v3.Group).
 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.
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub

    io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
  • Method Summary

    Modifier and Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    createGroup(CreateGroupRequest request, io.grpc.stub.StreamObserver<Group> responseObserver)
    Creates a new group.
    void
    deleteGroup(DeleteGroupRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
    Deletes an existing group.
    void
    getGroup(GetGroupRequest request, io.grpc.stub.StreamObserver<Group> responseObserver)
    Gets a single group.
    void
    listGroupMembers(ListGroupMembersRequest request, io.grpc.stub.StreamObserver<ListGroupMembersResponse> responseObserver)
    Lists the monitored resources that are members of a group.
    void
    listGroups(ListGroupsRequest request, io.grpc.stub.StreamObserver<ListGroupsResponse> responseObserver)
    Lists the existing groups.
    void
    updateGroup(UpdateGroupRequest request, io.grpc.stub.StreamObserver<Group> responseObserver)
    Updates an existing group.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected GroupServiceGrpc.GroupServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<GroupServiceGrpc.GroupServiceStub>
    • listGroups

      public void listGroups(ListGroupsRequest request, io.grpc.stub.StreamObserver<ListGroupsResponse> responseObserver)
       Lists the existing groups.
       
    • getGroup

      public void getGroup(GetGroupRequest request, io.grpc.stub.StreamObserver<Group> responseObserver)
       Gets a single group.
       
    • createGroup

      public void createGroup(CreateGroupRequest request, io.grpc.stub.StreamObserver<Group> responseObserver)
       Creates a new group.
       
    • updateGroup

      public void updateGroup(UpdateGroupRequest request, io.grpc.stub.StreamObserver<Group> responseObserver)
       Updates an existing group.
       You can change any group attributes except `name`.
       
    • deleteGroup

      public void deleteGroup(DeleteGroupRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Deletes an existing group.
       
    • listGroupMembers

      public void listGroupMembers(ListGroupMembersRequest request, io.grpc.stub.StreamObserver<ListGroupMembersResponse> responseObserver)
       Lists the monitored resources that are members of a group.