Interface LocationsGrpc.AsyncService (2.24.0)

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 field.

Methods

getLocation(GetLocationRequest request, StreamObserver<Location> responseObserver)

public default void getLocation(GetLocationRequest request, StreamObserver<Location> responseObserver)

Gets information about a location.

Parameters
NameDescription
requestGetLocationRequest
responseObserverio.grpc.stub.StreamObserver<Location>

listLocations(ListLocationsRequest request, StreamObserver<ListLocationsResponse> responseObserver)

public default void listLocations(ListLocationsRequest request, StreamObserver<ListLocationsResponse> responseObserver)

Lists information about the supported locations for this service.

Parameters
NameDescription
requestListLocationsRequest
responseObserverio.grpc.stub.StreamObserver<ListLocationsResponse>