Reference documentation and code samples for the Google Cloud Channel V1 Client class Value.
Data type and value of a parameter.
Generated from protobuf message google.cloud.channel.v1.Value
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ int64_value
int|string
Represents an int64 value.
↳ string_value
string
Represents a string value.
↳ double_value
float
Represents a double value.
↳ proto_value
Google\Protobuf\Any
Represents an 'Any' proto value.
↳ bool_value
bool
Represents a boolean value.
getInt64Value
Represents an int64 value.
Generated from protobuf field int64 int64_value = 1;
int|string
hasInt64Value
setInt64Value
Represents an int64 value.
Generated from protobuf field int64 int64_value = 1;
var
int|string
$this
getStringValue
Represents a string value.
Generated from protobuf field string string_value = 2;
string
hasStringValue
setStringValue
Represents a string value.
Generated from protobuf field string string_value = 2;
var
string
$this
getDoubleValue
Represents a double value.
Generated from protobuf field double double_value = 3;
float
hasDoubleValue
setDoubleValue
Represents a double value.
Generated from protobuf field double double_value = 3;
var
float
$this
getProtoValue
Represents an 'Any' proto value.
Generated from protobuf field .google.protobuf.Any proto_value = 4;
Google\Protobuf\Any|null
hasProtoValue
setProtoValue
Represents an 'Any' proto value.
Generated from protobuf field .google.protobuf.Any proto_value = 4;
var
Google\Protobuf\Any
$this
getBoolValue
Represents a boolean value.
Generated from protobuf field bool bool_value = 5;
bool
hasBoolValue
setBoolValue
Represents a boolean value.
Generated from protobuf field bool bool_value = 5;
var
bool
$this
getKind
string