PrimitiveType
in package
CEL primitive types.
Protobuf type google.api.expr.v1alpha1.Type.PrimitiveType
Table of Contents
Constants
- BOOL = 1
- Boolean type.
- BYTES = 6
- Bytes type.
- DOUBLE = 4
- Double type.
- INT64 = 2
- Int64 type.
- PRIMITIVE_TYPE_UNSPECIFIED = 0
- Unspecified type.
- STRING = 5
- String type.
- UINT64 = 3
- Uint64 type.
Properties
- $valueToName : mixed
Methods
Constants
BOOL
Boolean type.
public
mixed
BOOL
= 1
Generated from protobuf enum BOOL = 1;
BYTES
Bytes type.
public
mixed
BYTES
= 6
Generated from protobuf enum BYTES = 6;
DOUBLE
Double type.
public
mixed
DOUBLE
= 4
Proto-based float values are widened to double values.
Generated from protobuf enum DOUBLE = 4;
INT64
Int64 type.
public
mixed
INT64
= 2
Proto-based integer values are widened to int64.
Generated from protobuf enum INT64 = 2;
PRIMITIVE_TYPE_UNSPECIFIED
Unspecified type.
public
mixed
PRIMITIVE_TYPE_UNSPECIFIED
= 0
Generated from protobuf enum PRIMITIVE_TYPE_UNSPECIFIED = 0;
STRING
String type.
public
mixed
STRING
= 5
Generated from protobuf enum STRING = 5;
UINT64
Uint64 type.
public
mixed
UINT64
= 3
Proto-based unsigned integer values are widened to uint64.
Generated from protobuf enum UINT64 = 3;
Properties
$valueToName
private
static mixed
$valueToName
= [self::PRIMITIVE_TYPE_UNSPECIFIED => 'PRIMITIVE_TYPE_UNSPECIFIED', self::BOOL => 'BOOL', self::INT64 => 'INT64', self::UINT64 => 'UINT64', self::DOUBLE => 'DOUBLE', self::STRING => 'STRING', self::BYTES => 'BYTES']
Methods
name()
public
static name(mixed $value) : mixed
Parameters
- $value : mixed
value()
public
static value(mixed $name) : mixed
Parameters
- $name : mixed