public sealed class Row : IMessage<ShipmentModel.Types.DurationDistanceMatrix.Types.Row>, IEquatable<ShipmentModel.Types.DurationDistanceMatrix.Types.Row>, IDeepCloneable<ShipmentModel.Types.DurationDistanceMatrix.Types.Row>, IBufferMessage, IMessage
Specifies a row of the duration and distance matrix.
Implements
IMessage<ShipmentModel.Types.DurationDistanceMatrix.Types.Row>, IEquatable<ShipmentModel.Types.DurationDistanceMatrix.Types.Row>, IDeepCloneable<ShipmentModel.Types.DurationDistanceMatrix.Types.Row>, IBufferMessage, IMessageNamespace
Google.Cloud.Optimization.V1Assembly
Google.Cloud.Optimization.V1.dll
Constructors
Row()
public Row()
Row(ShipmentModel.Types.DurationDistanceMatrix.Types.Row)
public Row(ShipmentModel.Types.DurationDistanceMatrix.Types.Row other)
Parameter | |
---|---|
Name | Description |
other | ShipmentModel.Types.DurationDistanceMatrix.Types.Row |
Properties
Durations
public RepeatedField<Duration> Durations { get; }
Duration values for a given row. It must have as many elements as [ShipmentModel.duration_distance_matrix_dst_tags][google.cloud.optimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].
Property Value | |
---|---|
Type | Description |
RepeatedField<Duration> |
Meters
public RepeatedField<double> Meters { get; }
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
.
Property Value | |
---|---|
Type | Description |
RepeatedField<Double> |