public sealed class TypedValue : IMessage<TypedValue>, IEquatable<TypedValue>, IDeepCloneable<TypedValue>, IBufferMessage, IMessage
Reference documentation and code samples for the BigQuery Migration v2 API class TypedValue.
A single strongly-typed value.
Implements
IMessageTypedValue, IEquatableTypedValue, IDeepCloneableTypedValue, IBufferMessage, IMessageNamespace
Google.Cloud.BigQuery.Migration.V2Assembly
Google.Cloud.BigQuery.Migration.V2.dll
Constructors
TypedValue()
public TypedValue()
TypedValue(TypedValue)
public TypedValue(TypedValue other)
Parameter | |
---|---|
Name | Description |
other | TypedValue |
Properties
BoolValue
public bool BoolValue { get; set; }
A Boolean value: true
or false
.
Property Value | |
---|---|
Type | Description |
bool |
DistributionValue
public Distribution DistributionValue { get; set; }
A distribution value.
Property Value | |
---|---|
Type | Description |
Distribution |
DoubleValue
public double DoubleValue { get; set; }
A 64-bit double-precision floating-point number. Its magnitude
is approximately +/-10^(+/-300)
and it has 16 significant digits of
precision.
Property Value | |
---|---|
Type | Description |
double |
HasBoolValue
public bool HasBoolValue { get; }
Gets whether the "bool_value" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasDoubleValue
public bool HasDoubleValue { get; }
Gets whether the "double_value" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasInt64Value
public bool HasInt64Value { get; }
Gets whether the "int64_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 |
Int64Value
public long Int64Value { get; set; }
A 64-bit integer. Its range is approximately +/-9.2x10^18
.
Property Value | |
---|---|
Type | Description |
long |
StringValue
public string StringValue { get; set; }
A variable-length string value.
Property Value | |
---|---|
Type | Description |
string |
ValueCase
public TypedValue.ValueOneofCase ValueCase { get; }
Property Value | |
---|---|
Type | Description |
TypedValueValueOneofCase |