Package com.google.cloud.location
Interface LocationsGrpc.AsyncService
- All Known Implementing Classes:
LocationsGrpc.LocationsImplBase
- Enclosing class:
- LocationsGrpc
public static interface LocationsGrpc.AsyncService
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
Modifier and TypeMethodDescriptiondefault void
getLocation
(GetLocationRequest request, io.grpc.stub.StreamObserver<Location> responseObserver) Gets information about a location.default void
listLocations
(ListLocationsRequest request, io.grpc.stub.StreamObserver<ListLocationsResponse> responseObserver) Lists information about the supported locations for this service.
-
Method Details
-
listLocations
default void listLocations(ListLocationsRequest request, io.grpc.stub.StreamObserver<ListLocationsResponse> responseObserver) Lists information about the supported locations for this service.
-
getLocation
default void getLocation(GetLocationRequest request, io.grpc.stub.StreamObserver<Location> responseObserver) Gets information about a location.
-