Class LocationsGrpc.LocationsFutureStub

  • Enclosing class:
    LocationsGrpc

    public static final class LocationsGrpc.LocationsFutureStub
    extends io.grpc.stub.AbstractFutureStub<LocationsGrpc.LocationsFutureStub>
    A stub to allow clients to do ListenableFuture-style rpc calls to service Locations.
     An abstract interface that provides location-related information for
     a service. Service-specific metadata is provided through the
     [Location.metadata][google.cloud.location.Location.metadata] field.
     
    • 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 LocationsGrpc.LocationsFutureStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
      com.google.common.util.concurrent.ListenableFuture<com.google.cloud.location.Location> getLocation​(com.google.cloud.location.GetLocationRequest request)
      Gets information about a location.
      com.google.common.util.concurrent.ListenableFuture<com.google.cloud.location.ListLocationsResponse> listLocations​(com.google.cloud.location.ListLocationsRequest request)
      Lists information about the supported locations for this service.
      • Methods inherited from class io.grpc.stub.AbstractFutureStub

        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

      • listLocations

        public com.google.common.util.concurrent.ListenableFuture<com.google.cloud.location.ListLocationsResponse> listLocations​(com.google.cloud.location.ListLocationsRequest request)
         Lists information about the supported locations for this service.
         
      • getLocation

        public com.google.common.util.concurrent.ListenableFuture<com.google.cloud.location.Location> getLocation​(com.google.cloud.location.GetLocationRequest request)
         Gets information about a location.