Class ValueRange (2.4.0)

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

Specifies a contiguous range of raw byte values.

Inheritance

Object > ValueRange

Namespace

Google.Cloud.Bigtable.V2

Assembly

Google.Cloud.Bigtable.V2.dll

Constructors

ValueRange()

public ValueRange()

ValueRange(ValueRange)

public ValueRange(ValueRange other)
Parameter
NameDescription
otherValueRange

Properties

EndValueCase

public ValueRange.EndValueOneofCase EndValueCase { get; }
Property Value
TypeDescription
ValueRange.EndValueOneofCase

EndValueClosed

public ByteString EndValueClosed { get; set; }

Used when giving an inclusive upper bound for the range.

Property Value
TypeDescription
ByteString

EndValueOpen

public ByteString EndValueOpen { get; set; }

Used when giving an exclusive upper bound for the range.

Property Value
TypeDescription
ByteString

StartValueCase

public ValueRange.StartValueOneofCase StartValueCase { get; }
Property Value
TypeDescription
ValueRange.StartValueOneofCase

StartValueClosed

public ByteString StartValueClosed { get; set; }

Used when giving an inclusive lower bound for the range.

Property Value
TypeDescription
ByteString

StartValueOpen

public ByteString StartValueOpen { get; set; }

Used when giving an exclusive lower bound for the range.

Property Value
TypeDescription
ByteString

Methods

Closed(Nullable<BigtableByteString>, Nullable<BigtableByteString>)

public static ValueRange Closed(BigtableByteString? startValueClosed, BigtableByteString? endValueClosed)

Creates a ValueRange instance with inclusive bounds.

Parameters
NameDescription
startValueClosedNullable<BigtableByteString>

The inclusive lower bound for the range. If null or empty, it is interpreted as the empty string.

endValueClosedNullable<BigtableByteString>

The inclusive upper bound for the range. If null or empty, it is interpreted as the infinite value.

Returns
TypeDescription
ValueRange

The created range.

Remarks

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.

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
NameDescription
startValueClosedNullable<BigtableByteString>

The inclusive lower bound for the range. If null or empty, it is interpreted as the empty string.

endValueOpenNullable<BigtableByteString>

The exclusive upper bound for the range. If null or empty, it is interpreted as the infinite value.

Returns
TypeDescription
ValueRange

The created range.

Remarks

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(Nullable<BigtableByteString>, Nullable<BigtableByteString>)

public static ValueRange Open(BigtableByteString? startValueOpen, BigtableByteString? endValueOpen)

Creates a ValueRange instance with exclusive bounds.

Parameters
NameDescription
startValueOpenNullable<BigtableByteString>

The exclusive lower bound for the range. If null or empty, it is interpreted as the empty string.

endValueOpenNullable<BigtableByteString>

The exclusive upper bound for the range. If null or empty, it is interpreted as the infinite value.

Returns
TypeDescription
ValueRange

The created range.

Remarks

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.

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
NameDescription
startValueOpenNullable<BigtableByteString>

The exclusive lower bound for the range. If null or empty, it is interpreted as the empty string.

endValueClosedNullable<BigtableByteString>

The inclusive upper bound for the range. If null or empty, it is interpreted as the infinite value.

Returns
TypeDescription
ValueRange

The created range.

Remarks

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.