class Value extends Message

Represents a CEL value.

This is similar to google.protobuf.Value, but can represent CEL's full range of values.

Generated from protobuf message google.api.expr.v1alpha1.Value

Properties

protected $kind

Methods

__construct(array $data = NULL)

Constructor.

int
getNullValue()

Null value.

$this
setNullValue(int $var)

Null value.

bool
getBoolValue()

Boolean value.

$this
setBoolValue(bool $var)

Boolean value.

int|string
getInt64Value()

Signed integer value.

$this
setInt64Value(int|string $var)

Signed integer value.

int|string
getUint64Value()

Unsigned integer value.

$this
setUint64Value(int|string $var)

Unsigned integer value.

float
getDoubleValue()

Floating point value.

$this
setDoubleValue(float $var)

Floating point value.

string
getStringValue()

UTF-8 string value.

$this
setStringValue(string $var)

UTF-8 string value.

string
getBytesValue()

Byte string value.

$this
setBytesValue(string $var)

Byte string value.

getEnumValue()

An enum value.

$this
setEnumValue(EnumValue $var)

An enum value.

Any
getObjectValue()

The proto message backing an object value.

$this
setObjectValue(Any $var)

The proto message backing an object value.

getMapValue()

Map value.

$this
setMapValue(MapValue $var)

Map value.

getListValue()

List value.

$this
setListValue(ListValue $var)

List value.

string
getTypeValue()

Type value.

$this
setTypeValue(string $var)

Type value.

string
getKind()

No description

Details

at line 54
__construct(array $data = NULL)

Constructor.

Parameters

array $data { Optional. Data for populating the Message object.

@type int $null_value
      Null value.
@type bool $bool_value
      Boolean value.
@type int|string $int64_value
      Signed integer value.
@type int|string $uint64_value
      Unsigned integer value.
@type float $double_value
      Floating point value.
@type string $string_value
      UTF-8 string value.
@type string $bytes_value
      Byte string value.
@type \Google\Api\Expr\V1alpha1\EnumValue $enum_value
      An enum value.
@type \Google\Protobuf\Any $object_value
      The proto message backing an object value.
@type \Google\Api\Expr\V1alpha1\MapValue $map_value
      Map value.
@type \Google\Api\Expr\V1alpha1\ListValue $list_value
      List value.
@type string $type_value
      Type value.

}

at line 65
int getNullValue()

Null value.

Generated from protobuf field .google.protobuf.NullValue null_value = 1;

Return Value

int

at line 77
$this setNullValue(int $var)

Null value.

Generated from protobuf field .google.protobuf.NullValue null_value = 1;

Parameters

int $var

Return Value

$this

at line 91
bool getBoolValue()

Boolean value.

Generated from protobuf field bool bool_value = 2;

Return Value

bool

at line 103
$this setBoolValue(bool $var)

Boolean value.

Generated from protobuf field bool bool_value = 2;

Parameters

bool $var

Return Value

$this

at line 117
int|string getInt64Value()

Signed integer value.

Generated from protobuf field int64 int64_value = 3;

Return Value

int|string

at line 129
$this setInt64Value(int|string $var)

Signed integer value.

Generated from protobuf field int64 int64_value = 3;

Parameters

int|string $var

Return Value

$this

at line 143
int|string getUint64Value()

Unsigned integer value.

Generated from protobuf field uint64 uint64_value = 4;

Return Value

int|string

at line 155
$this setUint64Value(int|string $var)

Unsigned integer value.

Generated from protobuf field uint64 uint64_value = 4;

Parameters

int|string $var

Return Value

$this

at line 169
float getDoubleValue()

Floating point value.

Generated from protobuf field double double_value = 5;

Return Value

float

at line 181
$this setDoubleValue(float $var)

Floating point value.

Generated from protobuf field double double_value = 5;

Parameters

float $var

Return Value

$this

at line 195
string getStringValue()

UTF-8 string value.

Generated from protobuf field string string_value = 6;

Return Value

string

at line 207
$this setStringValue(string $var)

UTF-8 string value.

Generated from protobuf field string string_value = 6;

Parameters

string $var

Return Value

$this

at line 221
string getBytesValue()

Byte string value.

Generated from protobuf field bytes bytes_value = 7;

Return Value

string

at line 233
$this setBytesValue(string $var)

Byte string value.

Generated from protobuf field bytes bytes_value = 7;

Parameters

string $var

Return Value

$this

at line 247
EnumValue getEnumValue()

An enum value.

Generated from protobuf field .google.api.expr.v1alpha1.EnumValue enum_value = 9;

Return Value

EnumValue

at line 259
$this setEnumValue(EnumValue $var)

An enum value.

Generated from protobuf field .google.api.expr.v1alpha1.EnumValue enum_value = 9;

Parameters

EnumValue $var

Return Value

$this

at line 273
Any getObjectValue()

The proto message backing an object value.

Generated from protobuf field .google.protobuf.Any object_value = 10;

Return Value

Any

at line 285
$this setObjectValue(Any $var)

The proto message backing an object value.

Generated from protobuf field .google.protobuf.Any object_value = 10;

Parameters

Any $var

Return Value

$this

at line 299
MapValue getMapValue()

Map value.

Generated from protobuf field .google.api.expr.v1alpha1.MapValue map_value = 11;

Return Value

MapValue

at line 311
$this setMapValue(MapValue $var)

Map value.

Generated from protobuf field .google.api.expr.v1alpha1.MapValue map_value = 11;

Parameters

MapValue $var

Return Value

$this

at line 325
ListValue getListValue()

List value.

Generated from protobuf field .google.api.expr.v1alpha1.ListValue list_value = 12;

Return Value

ListValue

at line 337
$this setListValue(ListValue $var)

List value.

Generated from protobuf field .google.api.expr.v1alpha1.ListValue list_value = 12;

Parameters

ListValue $var

Return Value

$this

at line 351
string getTypeValue()

Type value.

Generated from protobuf field string type_value = 15;

Return Value

string

at line 363
$this setTypeValue(string $var)

Type value.

Generated from protobuf field string type_value = 15;

Parameters

string $var

Return Value

$this

at line 374
string getKind()

Return Value

string