public sealed class Value : IMessage<Value>, IEquatable<Value>, IDeepCloneable<Value>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Channel v1 API class Value.
Data type and value of a parameter.
Namespace
Google.Cloud.Channel.V1Assembly
Google.Cloud.Channel.V1.dll
Constructors
Value()
public Value()
Value(Value)
public Value(Value other)
Parameter | |
---|---|
Name | Description |
other | Value |
Properties
BoolValue
public bool BoolValue { get; set; }
Represents a boolean value.
Property Value | |
---|---|
Type | Description |
bool |
DoubleValue
public double DoubleValue { get; set; }
Represents a double value.
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; }
Represents an int64 value.
Property Value | |
---|---|
Type | Description |
long |
KindCase
public Value.KindOneofCase KindCase { get; }
Property Value | |
---|---|
Type | Description |
ValueKindOneofCase |
ProtoValue
public Any ProtoValue { get; set; }
Represents an 'Any' proto value.
Property Value | |
---|---|
Type | Description |
Any |
StringValue
public string StringValue { get; set; }
Represents a string value.
Property Value | |
---|---|
Type | Description |
string |