Package com.google.cloud.location
Class LocationsGrpc.LocationsImplBase
- java.lang.Object
-
- com.google.cloud.location.LocationsGrpc.LocationsImplBase
-
- All Implemented Interfaces:
io.grpc.BindableService
- Enclosing class:
- LocationsGrpc
public abstract static class LocationsGrpc.LocationsImplBase extends Object implements io.grpc.BindableService
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.
-
-
Constructor Summary
Constructors Constructor Description LocationsImplBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.grpc.ServerServiceDefinitionbindService()voidgetLocation(GetLocationRequest request, io.grpc.stub.StreamObserver<Location> responseObserver)Gets information about a location.voidlistLocations(ListLocationsRequest request, io.grpc.stub.StreamObserver<ListLocationsResponse> responseObserver)Lists information about the supported locations for this service.
-
-
-
Method Detail
-
listLocations
public void listLocations(ListLocationsRequest request, io.grpc.stub.StreamObserver<ListLocationsResponse> responseObserver)
Lists information about the supported locations for this service.
-
getLocation
public void getLocation(GetLocationRequest request, io.grpc.stub.StreamObserver<Location> responseObserver)
Gets information about a location.
-
bindService
public final io.grpc.ServerServiceDefinition bindService()
- Specified by:
bindServicein interfaceio.grpc.BindableService
-
-