3.33.0 (latest) 3.32.0 3.31.0 3.30.0 3.29.0 3.28.0 3.27.0 3.26.0 3.25.0 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0

    public sealed class RowRange : IMessage<RowRange>, IEquatable<RowRange>, IDeepCloneable<RowRange>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Bigtable v2 API class RowRange.

Specifies a contiguous range of rows.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> RowRange

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[RowRange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.RowRange.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RowRange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.RowRange.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[RowRange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.RowRange.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.Bigtable.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.md.txt)

## Assembly

Google.Cloud.Bigtable.V2.dll

## Constructors

### RowRange()

    public RowRange()

### RowRange(RowRange)

    public RowRange(RowRange other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `RowRange` |

## Properties

### EndKeyCase

    public RowRange.EndKeyOneofCase EndKeyCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RowRangeEndKeyOneofCase` |   |

### EndKeyClosed

    public ByteString EndKeyClosed { get; set; }

Used when giving an inclusive upper bound for the range.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ByteString` |   |

### EndKeyOpen

    public ByteString EndKeyOpen { get; set; }

Used when giving an exclusive upper bound for the range.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ByteString` |   |

### HasEndKeyClosed

    public bool HasEndKeyClosed { get; }

Gets whether the "end_key_closed" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasEndKeyOpen

    public bool HasEndKeyOpen { get; }

Gets whether the "end_key_open" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasStartKeyClosed

    public bool HasStartKeyClosed { get; }

Gets whether the "start_key_closed" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasStartKeyOpen

    public bool HasStartKeyOpen { get; }

Gets whether the "start_key_open" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### StartKeyCase

    public RowRange.StartKeyOneofCase StartKeyCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RowRangeStartKeyOneofCase` |   |

### StartKeyClosed

    public ByteString StartKeyClosed { get; set; }

Used when giving an inclusive lower bound for the range.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ByteString` |   |

### StartKeyOpen

    public ByteString StartKeyOpen { get; set; }

Used when giving an exclusive lower bound for the range.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ByteString` |   |

## Methods

### Closed(BigtableByteString?, BigtableByteString?)

    public static RowRange Closed(BigtableByteString? startKeyClosed, BigtableByteString? endKeyClosed)

Creates a [RowRange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.RowRange.md.txt) instance with inclusive bounds.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `startKeyClosed` | `BigtableByteString` The inclusive lower bound for the range. If null or empty, it is interpreted as the empty string. |
| `endKeyClosed` | `BigtableByteString` The inclusive upper bound for the range. If null or empty, it is interpreted as the infinite row key. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `RowRange` | The created range. |

**Remarks**
Note that string is implicitly convertible to [BigtableByteString](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.BigtableByteString.md.txt), so the ranges can
be specified using strings as well and their UTF-8 representations will be used for the key.

### ClosedOpen(BigtableByteString?, BigtableByteString?)

    public static RowRange ClosedOpen(BigtableByteString? startKeyClosed, BigtableByteString? endKeyOpen)

Creates a [RowRange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.RowRange.md.txt) instance with an inclusive lower bound and an exclusive upper bound.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `startKeyClosed` | `BigtableByteString` The inclusive lower bound for the range. If null or empty, it is interpreted as the empty string. |
| `endKeyOpen` | `BigtableByteString` The exclusive upper bound for the range. If null or empty, it is interpreted as the infinite row key. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `RowRange` | The created range. |

**Remarks**
Note that string is implicitly convertible to [BigtableByteString](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.BigtableByteString.md.txt), so the ranges can
be specified using strings as well and their UTF-8 representations will be used for the key.

### Open(BigtableByteString?, BigtableByteString?)

    public static RowRange Open(BigtableByteString? startKeyOpen, BigtableByteString? endKeyOpen)

Creates a [RowRange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.RowRange.md.txt) instance with exclusive bounds.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `startKeyOpen` | `BigtableByteString` The exclusive lower bound for the range. If null or empty, it is interpreted as the empty string. |
| `endKeyOpen` | `BigtableByteString` The exclusive upper bound for the range. If null or empty, it is interpreted as the infinite row key. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `RowRange` | The created range. |

**Remarks**
Note that string is implicitly convertible to [BigtableByteString](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.BigtableByteString.md.txt), so the ranges can
be specified using strings as well and their UTF-8 representations will be used for the key.

### OpenClosed(BigtableByteString?, BigtableByteString?)

    public static RowRange OpenClosed(BigtableByteString? startKeyOpen, BigtableByteString? endKeyClosed)

Creates a [RowRange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.RowRange.md.txt) instance with an exclusive lower bound and an inclusive upper bound.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `startKeyOpen` | `BigtableByteString` The exclusive lower bound for the range. If null or empty, it is interpreted as the empty string. |
| `endKeyClosed` | `BigtableByteString` The inclusive upper bound for the range. If null or empty, it is interpreted as the infinite row key. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `RowRange` | The created range. |

**Remarks**
Note that string is implicitly convertible to [BigtableByteString](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.BigtableByteString.md.txt), so the ranges can
be specified using strings as well and their UTF-8 representations will be used for the key.