Cloud Channel v1 API - Class Value (2.9.0)

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.

Inheritance

object > Value

Namespace

Google.Cloud.Channel.V1

Assembly

Google.Cloud.Channel.V1.dll

Constructors

Value()

public Value()

Value(Value)

public Value(Value other)
Parameter
NameDescription
otherValue

Properties

BoolValue

public bool BoolValue { get; set; }

Represents a boolean value.

Property Value
TypeDescription
bool

DoubleValue

public double DoubleValue { get; set; }

Represents a double value.

Property Value
TypeDescription
double

HasBoolValue

public bool HasBoolValue { get; }

Gets whether the "bool_value" field is set

Property Value
TypeDescription
bool

HasDoubleValue

public bool HasDoubleValue { get; }

Gets whether the "double_value" field is set

Property Value
TypeDescription
bool

HasInt64Value

public bool HasInt64Value { get; }

Gets whether the "int64_value" field is set

Property Value
TypeDescription
bool

HasStringValue

public bool HasStringValue { get; }

Gets whether the "string_value" field is set

Property Value
TypeDescription
bool

Int64Value

public long Int64Value { get; set; }

Represents an int64 value.

Property Value
TypeDescription
long

KindCase

public Value.KindOneofCase KindCase { get; }
Property Value
TypeDescription
ValueKindOneofCase

ProtoValue

public Any ProtoValue { get; set; }

Represents an 'Any' proto value.

Property Value
TypeDescription
Any

StringValue

public string StringValue { get; set; }

Represents a string value.

Property Value
TypeDescription
string