public sealed class TypedValue : IMessage<TypedValue>, IEquatable<TypedValue>, IDeepCloneable<TypedValue>, IBufferMessage, IMessageReference documentation and code samples for the Database Center v1beta API class TypedValue.
TypedValue represents the value of the metric based on data type.
Implements
IMessageTypedValue, IEquatableTypedValue, IDeepCloneableTypedValue, IBufferMessage, IMessageNamespace
Google.Cloud.DatabaseCenter.V1BetaAssembly
Google.Cloud.DatabaseCenter.V1Beta.dll
Constructors
TypedValue()
public TypedValue()TypedValue(TypedValue)
public TypedValue(TypedValue other)| Parameter | |
|---|---|
| Name | Description |
other |
TypedValue |
Properties
DoubleValue
public double DoubleValue { get; set; }The value of the metric as double.
| Property Value | |
|---|---|
| Type | Description |
double |
|
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 |
|
Int64Value
public long Int64Value { get; set; }The value of the metric as int.
| Property Value | |
|---|---|
| Type | Description |
long |
|
ValueCase
public TypedValue.ValueOneofCase ValueCase { get; }| Property Value | |
|---|---|
| Type | Description |
TypedValueValueOneofCase |
|