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.
-
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 TypeMethodDescriptionprotected 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.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
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.
-