IdentDecl
extends Message
in package
An identifier declaration.
Generated from protobuf message google.api.expr.v1beta1.IdentDecl
Table of Contents
Properties
Methods
- __construct() : mixed
- Constructor.
- clearType() : mixed
- clearValue() : mixed
- getType() : DeclType|null
- Optional type of the identifier.
- getValue() : Expr|null
- Optional value of the identifier.
- hasType() : mixed
- hasValue() : mixed
- setType() : $this
- Optional type of the identifier.
- setValue() : $this
- Optional value of the identifier.
Properties
$type
Optional type of the identifier.
protected
mixed
$type
= null
Generated from protobuf field .google.api.expr.v1beta1.DeclType type = 3 [json_name = "type"];
$value
Optional value of the identifier.
protected
mixed
$value
= null
Generated from protobuf field .google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
- $data : array<string|int, mixed> = NULL
-
{ Optional. Data for populating the Message object.
@type \Google\Api\Expr\V1beta1\DeclType $type Optional type of the identifier. @type \Google\Api\Expr\V1beta1\Expr $value Optional value of the identifier.}
clearType()
public
clearType() : mixed
clearValue()
public
clearValue() : mixed
getType()
Optional type of the identifier.
public
getType() : DeclType|null
Generated from protobuf field .google.api.expr.v1beta1.DeclType type = 3 [json_name = "type"];
Return values
DeclType|nullgetValue()
Optional value of the identifier.
public
getValue() : Expr|null
Generated from protobuf field .google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
Return values
Expr|nullhasType()
public
hasType() : mixed
hasValue()
public
hasValue() : mixed
setType()
Optional type of the identifier.
public
setType(DeclType $var) : $this
Generated from protobuf field .google.api.expr.v1beta1.DeclType type = 3 [json_name = "type"];
Parameters
- $var : DeclType
Return values
$thissetValue()
Optional value of the identifier.
public
setValue(Expr $var) : $this
Generated from protobuf field .google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
Parameters
- $var : Expr