DeclType
class DeclType extends Message
The declared type of a variable.
Extends runtime type values with extra information used for type checking and dispatching.
Generated from protobuf message google.api.expr.v1beta1.DeclType
Methods
Constructor.
The expression id of the declared type, if applicable.
The expression id of the declared type, if applicable.
The type name, e.g. 'int', 'my.type.Type' or 'T'
The type name, e.g. 'int', 'my.type.Type' or 'T'
An ordered list of type parameters, e.g. <string, int>
.
An ordered list of type parameters, e.g. <string, int>
.
Details
at line 55
__construct(array $data = NULL)
Constructor.
at line 66
int
getId()
The expression id of the declared type, if applicable.
Generated from protobuf field int32 id = 1;
at line 78
$this
setId(int $var)
The expression id of the declared type, if applicable.
Generated from protobuf field int32 id = 1;
at line 92
string
getType()
The type name, e.g. 'int', 'my.type.Type' or 'T'
Generated from protobuf field string type = 2;
at line 104
$this
setType(string $var)
The type name, e.g. 'int', 'my.type.Type' or 'T'
Generated from protobuf field string type = 2;
at line 119
RepeatedField
getTypeParams()
An ordered list of type parameters, e.g. <string, int>
.
Only applies to a subset of types, e.g. map
, list
.
Generated from protobuf field repeated .google.api.expr.v1beta1.DeclType type_params = 4;
at line 132
$this
setTypeParams(DeclType[]|RepeatedField $var)
An ordered list of type parameters, e.g. <string, int>
.
Only applies to a subset of types, e.g. map
, list
.
Generated from protobuf field repeated .google.api.expr.v1beta1.DeclType type_params = 4;