Package com.google.cloud.optimization.v1
Class FleetRoutingGrpc
- java.lang.Object
-
- com.google.cloud.optimization.v1.FleetRoutingGrpc
-
@Generated(value="by gRPC proto compiler", comments="Source: google/cloud/optimization/v1/fleet_routing.proto") public final class FleetRoutingGrpc extends Object
A service for optimizing vehicle tours. Validity of certain types of fields: * `google.protobuf.Timestamp` * Times are in Unix time: seconds since 1970-01-01T00:00:00+00:00. * seconds must be in [0, 253402300799], i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. * nanos must be unset or set to 0. * `google.protobuf.Duration` * seconds must be in [0, 253402300799], i.e. in [1970-01-01T00:00:00+00:00, 9999-12-31T23:59:59+00:00]. * nanos must be unset or set to 0. * `google.type.LatLng` * latitude must be in [-90.0, 90.0]. * longitude must be in [-180.0, 180.0]. * at least one of latitude and longitude must be non-zero.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFleetRoutingGrpc.AsyncServiceA service for optimizing vehicle tours.static classFleetRoutingGrpc.FleetRoutingBlockingStubA stub to allow clients to do synchronous rpc calls to service FleetRouting.static classFleetRoutingGrpc.FleetRoutingFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service FleetRouting.static classFleetRoutingGrpc.FleetRoutingImplBaseBase class for the server implementation of the service FleetRouting.static classFleetRoutingGrpc.FleetRoutingStubA stub to allow clients to do asynchronous rpc calls to service FleetRouting.
-
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.ServerServiceDefinitionbindService(FleetRoutingGrpc.AsyncService service)static io.grpc.MethodDescriptor<BatchOptimizeToursRequest,com.google.longrunning.Operation>getBatchOptimizeToursMethod()static io.grpc.MethodDescriptor<OptimizeToursRequest,OptimizeToursResponse>getOptimizeToursMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static FleetRoutingGrpc.FleetRoutingBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic FleetRoutingGrpc.FleetRoutingFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic FleetRoutingGrpc.FleetRoutingStubnewStub(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
-
getOptimizeToursMethod
public static io.grpc.MethodDescriptor<OptimizeToursRequest,OptimizeToursResponse> getOptimizeToursMethod()
-
getBatchOptimizeToursMethod
public static io.grpc.MethodDescriptor<BatchOptimizeToursRequest,com.google.longrunning.Operation> getBatchOptimizeToursMethod()
-
newStub
public static FleetRoutingGrpc.FleetRoutingStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static FleetRoutingGrpc.FleetRoutingBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static FleetRoutingGrpc.FleetRoutingFutureStub 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(FleetRoutingGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-