2.7.0 (latest) 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0-beta01

    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

Reference 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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ShipmentModel.Types.DurationDistanceMatrix.Types.Row

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ShipmentModel](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.ShipmentModel.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.ShipmentModel.Types.md.txt)[DurationDistanceMatrix](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.ShipmentModel.Types.DurationDistanceMatrix.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.ShipmentModel.Types.DurationDistanceMatrix.Types.md.txt)[Row](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.ShipmentModel.Types.DurationDistanceMatrix.Types.Row.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ShipmentModel](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.ShipmentModel.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.ShipmentModel.Types.md.txt)[DurationDistanceMatrix](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.ShipmentModel.Types.DurationDistanceMatrix.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.ShipmentModel.Types.DurationDistanceMatrix.Types.md.txt)[Row](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.ShipmentModel.Types.DurationDistanceMatrix.Types.Row.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ShipmentModel](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.ShipmentModel.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.ShipmentModel.Types.md.txt)[DurationDistanceMatrix](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.ShipmentModel.Types.DurationDistanceMatrix.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.ShipmentModel.Types.DurationDistanceMatrix.Types.md.txt)[Row](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.ShipmentModel.Types.DurationDistanceMatrix.Types.Row.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Optimization.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.md.txt)

## Assembly

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` |   |