Google Bigtable v2 API - Class Value (3.14.0)

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

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

Value represents a dynamically typed value. The typed fields in Value are used as a transport encoding for the actual value (which may be of a more complex type). See the documentation of the Type message for more details.

Inheritance

object > Value

Namespace

Google.Cloud.Bigtable.V2

Assembly

Google.Cloud.Bigtable.V2.dll

Constructors

Value()

public Value()

Value(Value)

public Value(Value other)
Parameter
Name Description
other Value

Properties

ArrayValue

public ArrayValue ArrayValue { get; set; }

Represents a typed value transported as a sequence of values. To differentiate between Struct, Array, and Map, the outermost Value must provide an explicit type on write. This type will apply recursively to the nested Struct fields, Array elements, or Map key/value pairs, which must not supply their own type.

Property Value
Type Description
ArrayValue

BoolValue

public bool BoolValue { get; set; }

Represents a typed value transported as a boolean.

Property Value
Type Description
bool

BytesValue

public ByteString BytesValue { get; set; }

Represents a typed value transported as a byte sequence.

Property Value
Type Description
ByteString

DateValue

public Date DateValue { get; set; }

Represents a typed value transported as a date.

Property Value
Type Description
Date

FloatValue

public double FloatValue { get; set; }

Represents a typed value transported as a floating point number.

Property Value
Type Description
double

HasBoolValue

public bool HasBoolValue { get; }

Gets whether the "bool_value" field is set

Property Value
Type Description
bool

HasBytesValue

public bool HasBytesValue { get; }

Gets whether the "bytes_value" field is set

Property Value
Type Description
bool

HasFloatValue

public bool HasFloatValue { get; }

Gets whether the "float_value" field is set

Property Value
Type Description
bool

HasIntValue

public bool HasIntValue { get; }

Gets whether the "int_value" field is set

Property Value
Type Description
bool

HasRawTimestampMicros

public bool HasRawTimestampMicros { get; }

Gets whether the "raw_timestamp_micros" field is set

Property Value
Type Description
bool

HasRawValue

public bool HasRawValue { get; }

Gets whether the "raw_value" field is set

Property Value
Type Description
bool

HasStringValue

public bool HasStringValue { get; }

Gets whether the "string_value" field is set

Property Value
Type Description
bool

IntValue

public long IntValue { get; set; }

Represents a typed value transported as an integer.

Property Value
Type Description
long

KindCase

public Value.KindOneofCase KindCase { get; }
Property Value
Type Description
ValueKindOneofCase

RawTimestampMicros

public long RawTimestampMicros { get; set; }

Represents a raw cell timestamp with no type information. The type field must be omitted.

Property Value
Type Description
long

RawValue

public ByteString RawValue { get; set; }

Represents a raw byte sequence with no type information. The type field must be omitted.

Property Value
Type Description
ByteString

StringValue

public string StringValue { get; set; }

Represents a typed value transported as a string.

Property Value
Type Description
string

TimestampValue

public Timestamp TimestampValue { get; set; }

Represents a typed value transported as a timestamp.

Property Value
Type Description
Timestamp

Type

public Type Type { get; set; }

The verified Type of this Value, if it cannot be inferred.

Read results will never specify the encoding for type since the value will already have been decoded by the server. Furthermore, the type will be omitted entirely if it can be inferred from a previous response. The exact semantics for inferring type will vary, and are therefore documented separately for each read method.

When using composite types (Struct, Array, Map) only the outermost Value will specify the type. This top-level type will define the types for any nested Struct' fields,Arrayelements, orMapkey/value pairs. If a nestedValueprovides atype` on write, the request will be rejected with INVALID_ARGUMENT.

Property Value
Type Description
Type