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