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 ClassesModifier and TypeClassDescriptionstatic interfaceAn abstract interface that provides location-related information for a service.static final classA stub to allow clients to do synchronous rpc calls to service Locations.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service Locations.static classBase class for the server implementation of the service Locations.static final classA stub to allow clients to do asynchronous rpc calls to service Locations. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionbindService(LocationsGrpc.AsyncService service) static io.grpc.MethodDescriptor<GetLocationRequest,Location> static io.grpc.MethodDescriptor<ListLocationsRequest,ListLocationsResponse> static io.grpc.ServiceDescriptornewBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic LocationsGrpc.LocationsStubnewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getListLocationsMethod
public static io.grpc.MethodDescriptor<ListLocationsRequest,ListLocationsResponse> getListLocationsMethod() -
getGetLocationMethod
-
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-