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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LocationsGrpc.LocationsBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.cloud.location.Location
getLocation(com.google.cloud.location.GetLocationRequest request)
Gets information about a location.com.google.cloud.location.ListLocationsResponse
listLocations(com.google.cloud.location.ListLocationsRequest request)
Lists information about the supported locations for this service.
-
-
-
Method Detail
-
build
protected LocationsGrpc.LocationsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<LocationsGrpc.LocationsBlockingStub>
-
listLocations
public com.google.cloud.location.ListLocationsResponse listLocations(com.google.cloud.location.ListLocationsRequest request)
Lists information about the supported locations for this service.
-
getLocation
public com.google.cloud.location.Location getLocation(com.google.cloud.location.GetLocationRequest request)
Gets information about a location.
-
-