Note that string is implicitly convertible to BigtableByteString, so the ranges can
be specified using strings as well and their UTF-8 representations will be used for the value.
Note that string is implicitly convertible to BigtableByteString, so the ranges can
be specified using strings as well and their UTF-8 representations will be used for the value.
Open(BigtableByteString?, BigtableByteString?)
public static ValueRange Open(BigtableByteString? startValueOpen, BigtableByteString? endValueOpen)
Creates a ValueRange instance with exclusive bounds.
Note that string is implicitly convertible to BigtableByteString, so the ranges can
be specified using strings as well and their UTF-8 representations will be used for the value.
Note that string is implicitly convertible to BigtableByteString, so the ranges can
be specified using strings as well and their UTF-8 representations will be used for the value.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-12 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eValueRange\u003c/code\u003e class in the Google Bigtable v2 API defines a range of raw byte values and is implemented as part of the Google.Cloud.Bigtable.V2 namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation outlines multiple versions of the \u003ccode\u003eValueRange\u003c/code\u003e class, from version 2.2.0 up to the latest 3.17.0, each available for use with different features.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eValueRange\u003c/code\u003e instances can be created with either inclusive or exclusive bounds, using methods like \u003ccode\u003eClosed\u003c/code\u003e, \u003ccode\u003eClosedOpen\u003c/code\u003e, \u003ccode\u003eOpen\u003c/code\u003e, and \u003ccode\u003eOpenClosed\u003c/code\u003e to specify the range parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties to specify the start and end values of the range, such as \u003ccode\u003eStartValueClosed\u003c/code\u003e, \u003ccode\u003eStartValueOpen\u003c/code\u003e, \u003ccode\u003eEndValueClosed\u003c/code\u003e, and \u003ccode\u003eEndValueOpen\u003c/code\u003e, along with flags like \u003ccode\u003eHasStartValueClosed\u003c/code\u003e and \u003ccode\u003eHasEndValueOpen\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe ranges are defined by \u003ccode\u003eByteString\u003c/code\u003e properties, but they can be created using string inputs that are converted to their UTF-8 representations using methods to create different bound types.\u003c/p\u003e\n"]]],[],null,["# Google Bigtable v2 API - Class ValueRange (3.23.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.23.0 (latest)](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.22.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.22.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.21.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.21.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.20.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.20.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.19.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.19.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.18.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.18.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.17.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.16.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.15.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.14.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.13.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.12.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.11.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.10.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.9.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.8.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.7.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.6.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.5.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.4.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.3.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.2.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.1.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.0.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.6.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.5.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.4.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.3.0/Google.Cloud.Bigtable.V2.ValueRange)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.2.0/Google.Cloud.Bigtable.V2.ValueRange) \n\n public sealed class ValueRange : IMessage\u003cValueRange\u003e, IEquatable\u003cValueRange\u003e, IDeepCloneable\u003cValueRange\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Bigtable v2 API class ValueRange.\n\nSpecifies a contiguous range of raw byte values. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ValueRange \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ValueRange](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ValueRange), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ValueRange](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ValueRange), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ValueRange](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ValueRange), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Bigtable.V2](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Bigtable.V2.dll\n\nConstructors\n------------\n\n### ValueRange()\n\n public ValueRange()\n\n### ValueRange(ValueRange)\n\n public ValueRange(ValueRange other)\n\nProperties\n----------\n\n### EndValueCase\n\n public ValueRange.EndValueOneofCase EndValueCase { get; }\n\n### EndValueClosed\n\n public ByteString EndValueClosed { get; set; }\n\nUsed when giving an inclusive upper bound for the range.\n\n### EndValueOpen\n\n public ByteString EndValueOpen { get; set; }\n\nUsed when giving an exclusive upper bound for the range.\n\n### HasEndValueClosed\n\n public bool HasEndValueClosed { get; }\n\nGets whether the \"end_value_closed\" field is set\n\n### HasEndValueOpen\n\n public bool HasEndValueOpen { get; }\n\nGets whether the \"end_value_open\" field is set\n\n### HasStartValueClosed\n\n public bool HasStartValueClosed { get; }\n\nGets whether the \"start_value_closed\" field is set\n\n### HasStartValueOpen\n\n public bool HasStartValueOpen { get; }\n\nGets whether the \"start_value_open\" field is set\n\n### StartValueCase\n\n public ValueRange.StartValueOneofCase StartValueCase { get; }\n\n### StartValueClosed\n\n public ByteString StartValueClosed { get; set; }\n\nUsed when giving an inclusive lower bound for the range.\n\n### StartValueOpen\n\n public ByteString StartValueOpen { get; set; }\n\nUsed when giving an exclusive lower bound for the range.\n\nMethods\n-------\n\n### Closed(BigtableByteString?, BigtableByteString?)\n\n public static ValueRange Closed(BigtableByteString? startValueClosed, BigtableByteString? endValueClosed)\n\nCreates a [ValueRange](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ValueRange) instance with inclusive bounds.\n\n**Remarks** \n\nNote that string is implicitly convertible to [BigtableByteString](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.BigtableByteString.html), so the ranges can\nbe specified using strings as well and their UTF-8 representations will be used for the value.\n\n### ClosedOpen(BigtableByteString?, BigtableByteString?)\n\n public static ValueRange ClosedOpen(BigtableByteString? startValueClosed, BigtableByteString? endValueOpen)\n\nCreates a [ValueRange](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ValueRange) instance with an inclusive lower bound and an exclusive upper bound.\n\n**Remarks** \n\nNote that string is implicitly convertible to [BigtableByteString](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.BigtableByteString.html), so the ranges can\nbe specified using strings as well and their UTF-8 representations will be used for the value.\n\n### Open(BigtableByteString?, BigtableByteString?)\n\n public static ValueRange Open(BigtableByteString? startValueOpen, BigtableByteString? endValueOpen)\n\nCreates a [ValueRange](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ValueRange) instance with exclusive bounds.\n\n**Remarks** \n\nNote that string is implicitly convertible to [BigtableByteString](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.BigtableByteString.html), so the ranges can\nbe specified using strings as well and their UTF-8 representations will be used for the value.\n\n### OpenClosed(BigtableByteString?, BigtableByteString?)\n\n public static ValueRange OpenClosed(BigtableByteString? startValueOpen, BigtableByteString? endValueClosed)\n\nCreates a [ValueRange](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ValueRange) instance with an exclusive lower bound and an inclusive upper bound.\n\n**Remarks** \n\nNote that string is implicitly convertible to [BigtableByteString](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.BigtableByteString.html), so the ranges can\nbe specified using strings as well and their UTF-8 representations will be used for the value."]]