Class LocationsGrpc (2.15.0)

public final class LocationsGrpc

An abstract interface that provides location-related information for a service. Service-specific metadata is provided through the Location.metadata field.

Inheritance

java.lang.Object > LocationsGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getGetLocationMethod()

public static MethodDescriptor<GetLocationRequest,Location> getGetLocationMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetLocationRequest,Location>

getListLocationsMethod()

public static MethodDescriptor<ListLocationsRequest,ListLocationsResponse> getListLocationsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListLocationsRequest,ListLocationsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static LocationsGrpc.LocationsBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
LocationsGrpc.LocationsBlockingStub

newFutureStub(Channel channel)

public static LocationsGrpc.LocationsFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
LocationsGrpc.LocationsFutureStub

newStub(Channel channel)

public static LocationsGrpc.LocationsStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
LocationsGrpc.LocationsStub