Class ShipmentModel.Types.DurationDistanceMatrix.Types.Row
Specifies a row of the duration and distance matrix.
Implements
Namespace: Google.Maps.RouteOptimization.V1
Assembly: Google.Maps.RouteOptimization.V1.dll
Syntax
public sealed class ShipmentModel.Types.DurationDistanceMatrix.Types.Row : IMessage<ShipmentModel.Types.DurationDistanceMatrix.Types.Row>, IEquatable<ShipmentModel.Types.DurationDistanceMatrix.Types.Row>, IDeepCloneable<ShipmentModel.Types.DurationDistanceMatrix.Types.Row>, IBufferMessage, IMessage
Constructors
Row()
Declaration
public Row()
Row(Row)
Declaration
public Row(ShipmentModel.Types.DurationDistanceMatrix.Types.Row other)
Parameters
Type | Name | Description |
---|---|---|
ShipmentModel.Types.DurationDistanceMatrix.Types.Row | other |
Properties
Durations
Duration values for a given row. It must have as many elements as [ShipmentModel.duration_distance_matrix_dst_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
Declaration
public RepeatedField<Duration> Durations { get; }
Property Value
Type | Description |
---|---|
RepeatedField<Duration> |
Meters
Distance values for a given row. If no costs or constraints refer to
distances in the model, this can be left empty; otherwise it must have
as many elements as durations
.
Declaration
public RepeatedField<double> Meters { get; }
Property Value
Type | Description |
---|---|
RepeatedField<double> |