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 classLocationsGrpc.LocationsBlockingStubAn abstract interface that provides location-related information for a service.static classLocationsGrpc.LocationsFutureStubAn abstract interface that provides location-related information for a service.static classLocationsGrpc.LocationsImplBaseAn abstract interface that provides location-related information for a service.static classLocationsGrpc.LocationsStubAn abstract interface that provides location-related information for a service.
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.MethodDescriptor<GetLocationRequest,Location>getGetLocationMethod()static io.grpc.MethodDescriptor<ListLocationsRequest,ListLocationsResponse>getListLocationsMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static LocationsGrpc.LocationsBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic LocationsGrpc.LocationsFutureStubnewFutureStub(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 Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getListLocationsMethod
public static io.grpc.MethodDescriptor<ListLocationsRequest,ListLocationsResponse> getListLocationsMethod()
-
getGetLocationMethod
public static io.grpc.MethodDescriptor<GetLocationRequest,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
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-