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>
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.LocationsFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<Location>getLocation(GetLocationRequest request)Gets information about a location.com.google.common.util.concurrent.ListenableFuture<ListLocationsResponse>listLocations(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:
buildin classio.grpc.stub.AbstractStub<LocationsGrpc.LocationsFutureStub>
-
listLocations
public com.google.common.util.concurrent.ListenableFuture<ListLocationsResponse> listLocations(ListLocationsRequest request)
Lists information about the supported locations for this service.
-
getLocation
public com.google.common.util.concurrent.ListenableFuture<Location> getLocation(GetLocationRequest request)
Gets information about a location.
-
-