Package com.google.cloud.location
Class LocationsGrpc.LocationsBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<LocationsGrpc.LocationsBlockingStub>
com.google.cloud.location.LocationsGrpc.LocationsBlockingStub
- Enclosing class:
- LocationsGrpc
public static final class LocationsGrpc.LocationsBlockingStub
extends io.grpc.stub.AbstractBlockingStub<LocationsGrpc.LocationsBlockingStub>
A stub to allow clients to do synchronous rpc calls to service Locations.
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionprotected LocationsGrpc.LocationsBlockingStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) getLocation
(GetLocationRequest request) Gets information about a location.listLocations
(ListLocationsRequest request) Lists information about the supported locations for this service.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected LocationsGrpc.LocationsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<LocationsGrpc.LocationsBlockingStub>
-
listLocations
Lists information about the supported locations for this service.
-
getLocation
Gets information about a location.
-