Package com.google.cloud.location
Class LocationsGrpc.LocationsFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<LocationsGrpc.LocationsFutureStub>
-
- com.google.cloud.location.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.
-
-
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.
-
-
-
Method Detail
-
build
protected LocationsGrpc.LocationsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<LocationsGrpc.LocationsFutureStub>
-
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.
-
-