ParsedExpr
extends Message
in package
An expression together with source information as returned by the parser.
Generated from protobuf message google.api.expr.v1alpha1.ParsedExpr
Table of Contents
Properties
- $expr : mixed
- The parsed expression.
- $source_info : mixed
- The source info derived from input that generated the parsed `expr`.
Methods
- __construct() : mixed
- Constructor.
- clearExpr() : mixed
- clearSourceInfo() : mixed
- getExpr() : Expr|null
- The parsed expression.
- getSourceInfo() : SourceInfo|null
- The source info derived from input that generated the parsed `expr`.
- hasExpr() : mixed
- hasSourceInfo() : mixed
- setExpr() : $this
- The parsed expression.
- setSourceInfo() : $this
- The source info derived from input that generated the parsed `expr`.
Properties
$expr
The parsed expression.
protected
mixed
$expr
= null
Generated from protobuf field .google.api.expr.v1alpha1.Expr expr = 2 [json_name = "expr"];
$source_info
The source info derived from input that generated the parsed `expr`.
protected
mixed
$source_info
= null
Generated from protobuf field .google.api.expr.v1alpha1.SourceInfo source_info = 3 [json_name = "sourceInfo"];
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\V1alpha1\Expr $expr The parsed expression. @type \Google\Api\Expr\V1alpha1\SourceInfo $source_info The source info derived from input that generated the parsed `expr`.}
clearExpr()
public
clearExpr() : mixed
clearSourceInfo()
public
clearSourceInfo() : mixed
getExpr()
The parsed expression.
public
getExpr() : Expr|null
Generated from protobuf field .google.api.expr.v1alpha1.Expr expr = 2 [json_name = "expr"];
Return values
Expr|nullgetSourceInfo()
The source info derived from input that generated the parsed `expr`.
public
getSourceInfo() : SourceInfo|null
Generated from protobuf field .google.api.expr.v1alpha1.SourceInfo source_info = 3 [json_name = "sourceInfo"];
Return values
SourceInfo|nullhasExpr()
public
hasExpr() : mixed
hasSourceInfo()
public
hasSourceInfo() : mixed
setExpr()
The parsed expression.
public
setExpr(Expr $var) : $this
Generated from protobuf field .google.api.expr.v1alpha1.Expr expr = 2 [json_name = "expr"];
Parameters
- $var : Expr
Return values
$thissetSourceInfo()
The source info derived from input that generated the parsed `expr`.
public
setSourceInfo(SourceInfo $var) : $this
Generated from protobuf field .google.api.expr.v1alpha1.SourceInfo source_info = 3 [json_name = "sourceInfo"];
Parameters
- $var : SourceInfo