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.
| Modifier and Type | Method and Description |
|---|---|
protected LocationsGrpc.LocationsStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
getLocation(GetLocationRequest request,
io.grpc.stub.StreamObserver<Location> responseObserver)
Gets information about a location.
|
void |
listLocations(ListLocationsRequest request,
io.grpc.stub.StreamObserver<ListLocationsResponse> responseObserver)
Lists information about the supported locations for this service.
|
protected LocationsGrpc.LocationsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<LocationsGrpc.LocationsStub>public void listLocations(ListLocationsRequest request, io.grpc.stub.StreamObserver<ListLocationsResponse> responseObserver)
Lists information about the supported locations for this service.
public void getLocation(GetLocationRequest request, io.grpc.stub.StreamObserver<Location> responseObserver)
Gets information about a location.
Copyright © 2022 Google LLC. All rights reserved.