Class HubServiceGrpc.HubServiceStub

  • Enclosing class:
    HubServiceGrpc

    public static final class HubServiceGrpc.HubServiceStub
    extends io.grpc.stub.AbstractAsyncStub<HubServiceGrpc.HubServiceStub>
    A stub to allow clients to do asynchronous rpc calls to service HubService.
     Network Connectivity Center is a hub-and-spoke abstraction for
     network connectivity management in Google Cloud. It reduces
     operational complexity through a simple, centralized connectivity management
     model.
     
    • 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected HubServiceGrpc.HubServiceStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
      void createHub​(CreateHubRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
      Creates a new Hub in a given project and location.
      void createSpoke​(CreateSpokeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
      Creates a new Spoke in a given project and location.
      void deleteHub​(DeleteHubRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
      Deletes a single Hub.
      void deleteSpoke​(DeleteSpokeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
      Deletes a single Spoke.
      void getHub​(GetHubRequest request, io.grpc.stub.StreamObserver<Hub> responseObserver)
      Gets details of a single Hub.
      void getSpoke​(GetSpokeRequest request, io.grpc.stub.StreamObserver<Spoke> responseObserver)
      Gets details of a single Spoke.
      void listHubs​(ListHubsRequest request, io.grpc.stub.StreamObserver<ListHubsResponse> responseObserver)
      Lists Hubs in a given project and location.
      void listSpokes​(ListSpokesRequest request, io.grpc.stub.StreamObserver<ListSpokesResponse> responseObserver)
      Lists Spokes in a given project and location.
      void updateHub​(UpdateHubRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
      Updates the parameters of a single Hub.
      void updateSpoke​(UpdateSpokeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
      Updates the parameters of a single Spoke.
      • 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, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
    • Method Detail

      • listHubs

        public void listHubs​(ListHubsRequest request,
                             io.grpc.stub.StreamObserver<ListHubsResponse> responseObserver)
         Lists Hubs in a given project and location.
         
      • getHub

        public void getHub​(GetHubRequest request,
                           io.grpc.stub.StreamObserver<Hub> responseObserver)
         Gets details of a single Hub.
         
      • createHub

        public void createHub​(CreateHubRequest request,
                              io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Creates a new Hub in a given project and location.
         
      • updateHub

        public void updateHub​(UpdateHubRequest request,
                              io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Updates the parameters of a single Hub.
         
      • deleteHub

        public void deleteHub​(DeleteHubRequest request,
                              io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Deletes a single Hub.
         
      • listSpokes

        public void listSpokes​(ListSpokesRequest request,
                               io.grpc.stub.StreamObserver<ListSpokesResponse> responseObserver)
         Lists Spokes in a given project and location.
         
      • getSpoke

        public void getSpoke​(GetSpokeRequest request,
                             io.grpc.stub.StreamObserver<Spoke> responseObserver)
         Gets details of a single Spoke.
         
      • createSpoke

        public void createSpoke​(CreateSpokeRequest request,
                                io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Creates a new Spoke in a given project and location.
         
      • updateSpoke

        public void updateSpoke​(UpdateSpokeRequest request,
                                io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Updates the parameters of a single Spoke.
         
      • deleteSpoke

        public void deleteSpoke​(DeleteSpokeRequest request,
                                io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Deletes a single Spoke.