Package com.google.cloud.optimization.v1
Class FleetRoutingGrpc
java.lang.Object
com.google.cloud.optimization.v1.FleetRoutingGrpc
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 ClassesModifier and TypeClassDescriptionstatic interfaceA service for optimizing vehicle tours.static final classA stub to allow clients to do limited synchronous rpc calls to service FleetRouting.static final classA stub to allow clients to do synchronous rpc calls to service FleetRouting.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service FleetRouting.static classBase class for the server implementation of the service FleetRouting.static final classA stub to allow clients to do asynchronous rpc calls to service FleetRouting. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionbindService(FleetRoutingGrpc.AsyncService service) static io.grpc.MethodDescriptor<BatchOptimizeToursRequest,Operation> static io.grpc.MethodDescriptor<OptimizeToursRequest,OptimizeToursResponse> static io.grpc.ServiceDescriptornewBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(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
-
getOptimizeToursMethod
public static io.grpc.MethodDescriptor<OptimizeToursRequest,OptimizeToursResponse> getOptimizeToursMethod() -
getBatchOptimizeToursMethod
public static io.grpc.MethodDescriptor<BatchOptimizeToursRequest,Operation> getBatchOptimizeToursMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
public static FleetRoutingGrpc.FleetRoutingBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on 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
public static final io.grpc.ServerServiceDefinition bindService(FleetRoutingGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-