Class LocationsGrpc.LocationsStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<LocationsGrpc.LocationsStub>
com.google.cloud.location.LocationsGrpc.LocationsStub
Enclosing class:
LocationsGrpc

public static final class LocationsGrpc.LocationsStub extends io.grpc.stub.AbstractAsyncStub<LocationsGrpc.LocationsStub>
A stub to allow clients to do asynchronous 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 Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    getLocation(GetLocationRequest request, io.grpc.stub.StreamObserver<Location> responseObserver)
    Gets information about a location.
    void
    listLocations(ListLocationsRequest request, io.grpc.stub.StreamObserver<ListLocationsResponse> responseObserver)
    Lists information about the supported locations for this service.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait