public static final class LocationsGrpc.LocationsStub extends 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.
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected LocationsGrpc.LocationsStub |
build(Channel channel,
CallOptions callOptions) |
void |
getLocation(com.google.cloud.location.GetLocationRequest request,
StreamObserver<com.google.cloud.location.Location> responseObserver)
Gets information about a location.
|
void |
listLocations(com.google.cloud.location.ListLocationsRequest request,
StreamObserver<com.google.cloud.location.ListLocationsResponse> responseObserver)
Lists information about the supported locations for this service.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected LocationsGrpc.LocationsStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<LocationsGrpc.LocationsStub>
public void listLocations(com.google.cloud.location.ListLocationsRequest request, StreamObserver<com.google.cloud.location.ListLocationsResponse> responseObserver)
Lists information about the supported locations for this service.
public void getLocation(com.google.cloud.location.GetLocationRequest request, StreamObserver<com.google.cloud.location.Location> responseObserver)
Gets information about a location.
Copyright © 2022 Google LLC. All rights reserved.