Show / Hide Table of Contents

Class RouteOptimization

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.
Inheritance
object
RouteOptimization
Inherited Members
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Maps.RouteOptimization.V1
Assembly: Google.Maps.RouteOptimization.V1.dll
Syntax
public static class RouteOptimization

Methods

BindService(RouteOptimizationBase)

Creates service definition that can be registered with a server

Declaration
public static ServerServiceDefinition BindService(RouteOptimization.RouteOptimizationBase serviceImpl)
Parameters
Type Name Description
RouteOptimization.RouteOptimizationBase serviceImpl

An object implementing the server-side handling logic.

Returns
Type Description
ServerServiceDefinition

BindService(ServiceBinderBase, RouteOptimizationBase)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Declaration
public static void BindService(ServiceBinderBase serviceBinder, RouteOptimization.RouteOptimizationBase serviceImpl)
Parameters
Type Name Description
ServiceBinderBase serviceBinder

Service methods will be bound by calling AddMethod on this object.

RouteOptimization.RouteOptimizationBase serviceImpl

An object implementing the server-side handling logic.

In this article
Back to top Generated by DocFX