# Google Bigtable v2 API - Class Value (3.29.0)

3.29.0 (latest) 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 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](https://learn.microsoft.com/dotnet/api/system.object) \> Value

## Implements

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

## 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)

## Assembly

Google.Cloud.Bigtable.V2.dll

## Constructors

### Value()

    public Value()

### Value(Value)

    public Value(Value other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.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** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ArrayValue` |   |

### BoolValue

    public bool BoolValue { get; set; }

Represents a typed value transported as a boolean.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### BytesValue

    public ByteString BytesValue { get; set; }

Represents a typed value transported as a byte sequence.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.ByteString.html` |   |

### DateValue

    public Date DateValue { get; set; }

Represents a typed value transported as a date.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Type.Date.html` |   |

### FloatValue

    public double FloatValue { get; set; }

Represents a typed value transported as a floating point number.
Does not support NaN or infinities.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.double` |   |

### HasBoolValue

    public bool HasBoolValue { get; }

Gets whether the "bool_value" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasBytesValue

    public bool HasBytesValue { get; }

Gets whether the "bytes_value" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasFloatValue

    public bool HasFloatValue { get; }

Gets whether the "float_value" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasIntValue

    public bool HasIntValue { get; }

Gets whether the "int_value" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasRawTimestampMicros

    public bool HasRawTimestampMicros { get; }

Gets whether the "raw_timestamp_micros" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasRawValue

    public bool HasRawValue { get; }

Gets whether the "raw_value" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasStringValue

    public bool HasStringValue { get; }

Gets whether the "string_value" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### IntValue

    public long IntValue { get; set; }

Represents a typed value transported as an integer.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int64` |   |

### KindCase

    public Value.KindOneofCase KindCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Valuehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Value.KindOneofCase` |   |

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.int64` |   |

### 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** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.ByteString.html` |   |

### StringValue

    public string StringValue { get; set; }

Represents a typed value transported as a string.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### TimestampValue

    public Timestamp TimestampValue { get; set; }

Represents a typed value transported as a timestamp.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### 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,`Array`elements, or`Map`key/value pairs.
If a nested`Value`provides a`type\` on write, the request will be
rejected with INVALID_ARGUMENT.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type` |   |