Package com.google.cloud.location
Class LocationsGrpc
- java.lang.Object
-
- com.google.cloud.location.LocationsGrpc
-
@Generated(value="by gRPC proto compiler", comments="Source: google/cloud/location/locations.proto") public final class LocationsGrpc extends Object
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 Modifier and Type Class Description static interface
LocationsGrpc.AsyncService
An abstract interface that provides location-related information for a service.static class
LocationsGrpc.LocationsBlockingStub
A stub to allow clients to do synchronous rpc calls to service Locations.static class
LocationsGrpc.LocationsFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service Locations.static class
LocationsGrpc.LocationsImplBase
Base class for the server implementation of the service Locations.static class
LocationsGrpc.LocationsStub
A stub to allow clients to do asynchronous rpc calls to service Locations.
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinition
bindService(LocationsGrpc.AsyncService service)
static io.grpc.MethodDescriptor<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getGetLocationMethod()
static io.grpc.MethodDescriptor<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
getListLocationsMethod()
static io.grpc.ServiceDescriptor
getServiceDescriptor()
static LocationsGrpc.LocationsBlockingStub
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic LocationsGrpc.LocationsFutureStub
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic LocationsGrpc.LocationsStub
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getListLocationsMethod
public static io.grpc.MethodDescriptor<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> getListLocationsMethod()
-
getGetLocationMethod
public static io.grpc.MethodDescriptor<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getGetLocationMethod()
-
newStub
public static LocationsGrpc.LocationsStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static LocationsGrpc.LocationsBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static LocationsGrpc.LocationsFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
bindService
public static final io.grpc.ServerServiceDefinition bindService(LocationsGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-