public sealed class LabelValue : IMessage<LabelValue>, IEquatable<LabelValue>, IDeepCloneable<LabelValue>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Monitoring v3 API class LabelValue.
A label value.
Implements
IMessageLabelValue, IEquatableLabelValue, IDeepCloneableLabelValue, IBufferMessage, IMessageNamespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Constructors
LabelValue()
public LabelValue()
LabelValue(LabelValue)
public LabelValue(LabelValue other)
Parameter | |
---|---|
Name | Description |
other | LabelValue |
Properties
BoolValue
public bool BoolValue { get; set; }
A bool label value.
Property Value | |
---|---|
Type | Description |
bool |
HasBoolValue
public bool HasBoolValue { get; }
Gets whether the "bool_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; }
An int64 label value.
Property Value | |
---|---|
Type | Description |
long |
StringValue
public string StringValue { get; set; }
A string label value.
Property Value | |
---|---|
Type | Description |
string |
ValueCase
public LabelValue.ValueOneofCase ValueCase { get; }
Property Value | |
---|---|
Type | Description |
LabelValueValueOneofCase |