public static final class LocationsGrpc.LocationsFutureStub extends 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.
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected LocationsGrpc.LocationsFutureStub |
build(Channel channel,
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.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected LocationsGrpc.LocationsFutureStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<LocationsGrpc.LocationsFutureStub>
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.
public com.google.common.util.concurrent.ListenableFuture<com.google.cloud.location.Location> getLocation(com.google.cloud.location.GetLocationRequest request)
Gets information about a location.
Copyright © 2022 Google LLC. All rights reserved.