public abstract static class LocationsGrpc.LocationsImplBase implements BindableService
An abstract interface that provides location-related information for a service. Service-specific metadata is provided through the Location.metadata field.
Implements
io.grpc.BindableServiceConstructors
LocationsImplBase()
public LocationsImplBase()
Methods
bindService()
public final ServerServiceDefinition bindService()
Returns | |
---|---|
Type | Description |
io.grpc.ServerServiceDefinition |
getLocation(GetLocationRequest request, StreamObserver<Location> responseObserver)
public void getLocation(GetLocationRequest request, StreamObserver<Location> responseObserver)
Gets information about a location.
Parameters | |
---|---|
Name | Description |
request | GetLocationRequest |
responseObserver | io.grpc.stub.StreamObserver<Location> |
listLocations(ListLocationsRequest request, StreamObserver<ListLocationsResponse> responseObserver)
public void listLocations(ListLocationsRequest request, StreamObserver<ListLocationsResponse> responseObserver)
Lists information about the supported locations for this service.
Parameters | |
---|---|
Name | Description |
request | ListLocationsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListLocationsResponse> |