Class 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.
     
    • 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
      • getServiceDescriptor

        public static io.grpc.ServiceDescriptor getServiceDescriptor()