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

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void getLocation​(com.google.cloud.location.GetLocationRequest request, io.grpc.stub.StreamObserver<com.google.cloud.location.Location> responseObserver)
      Gets information about a location.
      default void listLocations​(com.google.cloud.location.ListLocationsRequest request, io.grpc.stub.StreamObserver<com.google.cloud.location.ListLocationsResponse> responseObserver)
      Lists information about the supported locations for this service.
    • Method Detail

      • listLocations

        default void listLocations​(com.google.cloud.location.ListLocationsRequest request,
                                   io.grpc.stub.StreamObserver<com.google.cloud.location.ListLocationsResponse> responseObserver)
         Lists information about the supported locations for this service.
         
      • getLocation

        default void getLocation​(com.google.cloud.location.GetLocationRequest request,
                                 io.grpc.stub.StreamObserver<com.google.cloud.location.Location> responseObserver)
         Gets information about a location.