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, IMessageReference documentation and code samples for the Cloud Optimization v1 API class ShipmentModel.Types.DurationDistanceMatrix.Types.Row.
Specifies a row of the duration and distance matrix.
Implements
IMessageShipmentModelTypesDurationDistanceMatrixTypesRow, IEquatableShipmentModelTypesDurationDistanceMatrixTypesRow, IDeepCloneableShipmentModelTypesDurationDistanceMatrixTypesRow, IBufferMessage, IMessageNamespace
Google.Cloud.Optimization.V1Assembly
Google.Cloud.Optimization.V1.dll
Constructors
Row()
public Row()Row(Row)
public Row(ShipmentModel.Types.DurationDistanceMatrix.Types.Row other)| Parameter | |
|---|---|
| Name | Description |
other |
ShipmentModelTypesDurationDistanceMatrixTypesRow |
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 |
RepeatedFieldDuration |
|
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 |
RepeatedFielddouble |
|