Type
class Type extends Message
Represents a CEL type.
Generated from protobuf message google.api.expr.v1alpha1.Type
Properties
protected | $type_kind |
Methods
Constructor.
Dynamic type.
Dynamic type.
Null value.
Null value.
Primitive types: true
, 1u
, -2.0
, 'string'
, b'bytes'
.
Primitive types: true
, 1u
, -2.0
, 'string'
, b'bytes'
.
Wrapper of a primitive type, e.g. google.protobuf.Int64Value
.
Wrapper of a primitive type, e.g. google.protobuf.Int64Value
.
Well-known protobuf type such as google.protobuf.Timestamp
.
Well-known protobuf type such as google.protobuf.Timestamp
.
Parameterized list with elements of list_type
, e.g. list<timestamp>
.
Parameterized map with typed keys and values.
Function type.
Protocol buffer message type.
Protocol buffer message type.
Type param type.
Type param type.
Error type.
Error type.
Abstract, application defined type.
No description
Details
at line 64
__construct(array $data = NULL)
Constructor.
at line 75
GPBEmpty
getDyn()
Dynamic type.
Generated from protobuf field .google.protobuf.Empty dyn = 1;
at line 87
$this
setDyn(GPBEmpty $var)
Dynamic type.
Generated from protobuf field .google.protobuf.Empty dyn = 1;
at line 101
int
getNull()
Null value.
Generated from protobuf field .google.protobuf.NullValue null = 2;
at line 113
$this
setNull(int $var)
Null value.
Generated from protobuf field .google.protobuf.NullValue null = 2;
at line 127
int
getPrimitive()
Primitive types: true
, 1u
, -2.0
, 'string'
, b'bytes'
.
Generated from protobuf field .google.api.expr.v1alpha1.Type.PrimitiveType primitive = 3;
at line 139
$this
setPrimitive(int $var)
Primitive types: true
, 1u
, -2.0
, 'string'
, b'bytes'
.
Generated from protobuf field .google.api.expr.v1alpha1.Type.PrimitiveType primitive = 3;
at line 153
int
getWrapper()
Wrapper of a primitive type, e.g. google.protobuf.Int64Value
.
Generated from protobuf field .google.api.expr.v1alpha1.Type.PrimitiveType wrapper = 4;
at line 165
$this
setWrapper(int $var)
Wrapper of a primitive type, e.g. google.protobuf.Int64Value
.
Generated from protobuf field .google.api.expr.v1alpha1.Type.PrimitiveType wrapper = 4;
at line 179
int
getWellKnown()
Well-known protobuf type such as google.protobuf.Timestamp
.
Generated from protobuf field .google.api.expr.v1alpha1.Type.WellKnownType well_known = 5;
at line 191
$this
setWellKnown(int $var)
Well-known protobuf type such as google.protobuf.Timestamp
.
Generated from protobuf field .google.api.expr.v1alpha1.Type.WellKnownType well_known = 5;
at line 205
ListType
getListType()
Parameterized list with elements of list_type
, e.g. list<timestamp>
.
Generated from protobuf field .google.api.expr.v1alpha1.Type.ListType list_type = 6;
at line 217
$this
setListType(ListType $var)
Parameterized list with elements of list_type
, e.g. list<timestamp>
.
Generated from protobuf field .google.api.expr.v1alpha1.Type.ListType list_type = 6;
at line 231
MapType
getMapType()
Parameterized map with typed keys and values.
Generated from protobuf field .google.api.expr.v1alpha1.Type.MapType map_type = 7;
at line 243
$this
setMapType(MapType $var)
Parameterized map with typed keys and values.
Generated from protobuf field .google.api.expr.v1alpha1.Type.MapType map_type = 7;
at line 257
FunctionType
getFunction()
Function type.
Generated from protobuf field .google.api.expr.v1alpha1.Type.FunctionType function = 8;
at line 269
$this
setFunction(FunctionType $var)
Function type.
Generated from protobuf field .google.api.expr.v1alpha1.Type.FunctionType function = 8;
at line 285
string
getMessageType()
Protocol buffer message type.
The message_type
string specifies the qualified message type name. For
example, google.plus.Profile
.
Generated from protobuf field string message_type = 9;
at line 299
$this
setMessageType(string $var)
Protocol buffer message type.
The message_type
string specifies the qualified message type name. For
example, google.plus.Profile
.
Generated from protobuf field string message_type = 9;
at line 316
string
getTypeParam()
Type param type.
The type_param
string specifies the type parameter name, e.g. list<E>
would be a list_type
whose element type was a type_param
type
named E
.
Generated from protobuf field string type_param = 10;
at line 331
$this
setTypeParam(string $var)
Type param type.
The type_param
string specifies the type parameter name, e.g. list<E>
would be a list_type
whose element type was a type_param
type
named E
.
Generated from protobuf field string type_param = 10;
at line 347
Type
getType()
Type type.
The type
value specifies the target type. e.g. int is type with a
target type of Primitive.INT
.
Generated from protobuf field .google.api.expr.v1alpha1.Type type = 11;
at line 361
$this
setType(Type $var)
Type type.
The type
value specifies the target type. e.g. int is type with a
target type of Primitive.INT
.
Generated from protobuf field .google.api.expr.v1alpha1.Type type = 11;
at line 378
GPBEmpty
getError()
Error type.
During type-checking if an expression is an error, its type is propagated
as the ERROR
type. This permits the type-checker to discover other
errors present in the expression.
Generated from protobuf field .google.protobuf.Empty error = 12;
at line 393
$this
setError(GPBEmpty $var)
Error type.
During type-checking if an expression is an error, its type is propagated
as the ERROR
type. This permits the type-checker to discover other
errors present in the expression.
Generated from protobuf field .google.protobuf.Empty error = 12;
at line 407
AbstractType
getAbstractType()
Abstract, application defined type.
Generated from protobuf field .google.api.expr.v1alpha1.Type.AbstractType abstract_type = 14;
at line 419
$this
setAbstractType(AbstractType $var)
Abstract, application defined type.
Generated from protobuf field .google.api.expr.v1alpha1.Type.AbstractType abstract_type = 14;