Package com.google.cloud.location
Class LocationsGrpc.LocationsStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<LocationsGrpc.LocationsStub>
-
- com.google.cloud.location.LocationsGrpc.LocationsStub
-
- Enclosing class:
- LocationsGrpc
public static final class LocationsGrpc.LocationsStub extends io.grpc.stub.AbstractAsyncStub<LocationsGrpc.LocationsStub>
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 Concrete Methods Modifier and Type Method Description protected LocationsGrpc.LocationsStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)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
-
build
protected LocationsGrpc.LocationsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<LocationsGrpc.LocationsStub>
-
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.
-
-