Class LocationsGrpc.LocationsBlockingStub (2.8.0)

public static final class LocationsGrpc.LocationsBlockingStub extends AbstractBlockingStub<LocationsGrpc.LocationsBlockingStub>

An abstract interface that provides location-related information for a service. Service-specific metadata is provided through the Location.metadata field.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > LocationsGrpc.LocationsBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected LocationsGrpc.LocationsBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
LocationsGrpc.LocationsBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getLocation(GetLocationRequest request)

public Location getLocation(GetLocationRequest request)

Gets information about a location.

Parameter
NameDescription
requestGetLocationRequest
Returns
TypeDescription
Location

listLocations(ListLocationsRequest request)

public ListLocationsResponse listLocations(ListLocationsRequest request)

Lists information about the supported locations for this service.

Parameter
NameDescription
requestListLocationsRequest
Returns
TypeDescription
ListLocationsResponse