public sealed class ValueRange : IMessage<ValueRange>, IEquatable<ValueRange>, IDeepCloneable<ValueRange>, IBufferMessage, IMessage
Specifies a contiguous range of raw byte values.
Implements
IMessage<ValueRange>, IEquatable<ValueRange>, IDeepCloneable<ValueRange>, IBufferMessage, IMessageNamespace
Google.Cloud.Bigtable.V2Assembly
Google.Cloud.Bigtable.V2.dll
Constructors
ValueRange()
public ValueRange()
ValueRange(ValueRange)
public ValueRange(ValueRange other)
Parameter | |
---|---|
Name | Description |
other | ValueRange |
Properties
EndValueCase
public ValueRange.EndValueOneofCase EndValueCase { get; }
Property Value | |
---|---|
Type | Description |
ValueRange.EndValueOneofCase |
EndValueClosed
public ByteString EndValueClosed { get; set; }
Used when giving an inclusive upper bound for the range.
Property Value | |
---|---|
Type | Description |
ByteString |
EndValueOpen
public ByteString EndValueOpen { get; set; }
Used when giving an exclusive upper bound for the range.
Property Value | |
---|---|
Type | Description |
ByteString |
StartValueCase
public ValueRange.StartValueOneofCase StartValueCase { get; }
Property Value | |
---|---|
Type | Description |
ValueRange.StartValueOneofCase |
StartValueClosed
public ByteString StartValueClosed { get; set; }
Used when giving an inclusive lower bound for the range.
Property Value | |
---|---|
Type | Description |
ByteString |
StartValueOpen
public ByteString StartValueOpen { get; set; }
Used when giving an exclusive lower bound for the range.
Property Value | |
---|---|
Type | Description |
ByteString |
Methods
Closed(Nullable<BigtableByteString>, Nullable<BigtableByteString>)
public static ValueRange Closed(BigtableByteString? startValueClosed, BigtableByteString? endValueClosed)
Creates a ValueRange instance with inclusive bounds.
Parameters | |
---|---|
Name | Description |
startValueClosed | Nullable<Google.Cloud.Bigtable.Common.V2.BigtableByteString> The inclusive lower bound for the range. If null or empty, it is interpreted as the empty string. |
endValueClosed | Nullable<Google.Cloud.Bigtable.Common.V2.BigtableByteString> The inclusive upper bound for the range. If null or empty, it is interpreted as the infinite value. |
Returns | |
---|---|
Type | Description |
ValueRange | The created range. |
Note that string is implicitly convertible to Google.Cloud.Bigtable.Common.V2.BigtableByteString, so the ranges can be specified using strings as well and their UTF-8 representations will be used for the value.
ClosedOpen(Nullable<BigtableByteString>, Nullable<BigtableByteString>)
public static ValueRange ClosedOpen(BigtableByteString? startValueClosed, BigtableByteString? endValueOpen)
Creates a ValueRange instance with an inclusive lower bound and an exclusive upper bound.
Parameters | |
---|---|
Name | Description |
startValueClosed | Nullable<Google.Cloud.Bigtable.Common.V2.BigtableByteString> The inclusive lower bound for the range. If null or empty, it is interpreted as the empty string. |
endValueOpen | Nullable<Google.Cloud.Bigtable.Common.V2.BigtableByteString> The exclusive upper bound for the range. If null or empty, it is interpreted as the infinite value. |
Returns | |
---|---|
Type | Description |
ValueRange | The created range. |
Note that string is implicitly convertible to Google.Cloud.Bigtable.Common.V2.BigtableByteString, so the ranges can be specified using strings as well and their UTF-8 representations will be used for the value.
Open(Nullable<BigtableByteString>, Nullable<BigtableByteString>)
public static ValueRange Open(BigtableByteString? startValueOpen, BigtableByteString? endValueOpen)
Creates a ValueRange instance with exclusive bounds.
Parameters | |
---|---|
Name | Description |
startValueOpen | Nullable<Google.Cloud.Bigtable.Common.V2.BigtableByteString> The exclusive lower bound for the range. If null or empty, it is interpreted as the empty string. |
endValueOpen | Nullable<Google.Cloud.Bigtable.Common.V2.BigtableByteString> The exclusive upper bound for the range. If null or empty, it is interpreted as the infinite value. |
Returns | |
---|---|
Type | Description |
ValueRange | The created range. |
Note that string is implicitly convertible to Google.Cloud.Bigtable.Common.V2.BigtableByteString, so the ranges can be specified using strings as well and their UTF-8 representations will be used for the value.
OpenClosed(Nullable<BigtableByteString>, Nullable<BigtableByteString>)
public static ValueRange OpenClosed(BigtableByteString? startValueOpen, BigtableByteString? endValueClosed)
Creates a ValueRange instance with an exclusive lower bound and an inclusive upper bound.
Parameters | |
---|---|
Name | Description |
startValueOpen | Nullable<Google.Cloud.Bigtable.Common.V2.BigtableByteString> The exclusive lower bound for the range. If null or empty, it is interpreted as the empty string. |
endValueClosed | Nullable<Google.Cloud.Bigtable.Common.V2.BigtableByteString> The inclusive upper bound for the range. If null or empty, it is interpreted as the infinite value. |
Returns | |
---|---|
Type | Description |
ValueRange | The created range. |
Note that string is implicitly convertible to Google.Cloud.Bigtable.Common.V2.BigtableByteString, so the ranges can be specified using strings as well and their UTF-8 representations will be used for the value.