Call
extends Message
in package
A call expression, including calls to predefined functions and operators.
For example, value == 10, size(map_value).
Generated from protobuf message google.api.expr.v1beta1.Expr.Call
Table of Contents
Properties
- $function : mixed
- Required. The name of the function or method being called.
- $target : mixed
- The target of an method call-style expression. For example, `x` in `x.f()`.
- $args : mixed
- The arguments.
Methods
- __construct() : mixed
- Constructor.
- clearTarget() : mixed
- getArgs() : RepeatedField
- The arguments.
- getFunction() : string
- Required. The name of the function or method being called.
- getTarget() : Expr|null
- The target of an method call-style expression. For example, `x` in `x.f()`.
- hasTarget() : mixed
- setArgs() : $this
- The arguments.
- setFunction() : $this
- Required. The name of the function or method being called.
- setTarget() : $this
- The target of an method call-style expression. For example, `x` in `x.f()`.
Properties
$function
Required. The name of the function or method being called.
protected
mixed
$function
= ''
Generated from protobuf field string function = 2 [json_name = "function"];
$target
The target of an method call-style expression. For example, `x` in `x.f()`.
protected
mixed
$target
= null
Generated from protobuf field .google.api.expr.v1beta1.Expr target = 1 [json_name = "target"];
$args
The arguments.
private
mixed
$args
Generated from protobuf field repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
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\Expr $target The target of an method call-style expression. For example, `x` in `x.f()`. @type string $function Required. The name of the function or method being called. @type array<\Google\Api\Expr\V1beta1\Expr>|\Google\Protobuf\Internal\RepeatedField $args The arguments.}
clearTarget()
public
clearTarget() : mixed
getArgs()
The arguments.
public
getArgs() : RepeatedField
Generated from protobuf field repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
Return values
RepeatedFieldgetFunction()
Required. The name of the function or method being called.
public
getFunction() : string
Generated from protobuf field string function = 2 [json_name = "function"];
Return values
stringgetTarget()
The target of an method call-style expression. For example, `x` in `x.f()`.
public
getTarget() : Expr|null
Generated from protobuf field .google.api.expr.v1beta1.Expr target = 1 [json_name = "target"];
Return values
Expr|nullhasTarget()
public
hasTarget() : mixed
setArgs()
The arguments.
public
setArgs(array<string|int, Expr>|RepeatedField $var) : $this
Generated from protobuf field repeated .google.api.expr.v1beta1.Expr args = 3 [json_name = "args"];
Parameters
- $var : array<string|int, Expr>|RepeatedField
Return values
$thissetFunction()
Required. The name of the function or method being called.
public
setFunction(string $var) : $this
Generated from protobuf field string function = 2 [json_name = "function"];
Parameters
- $var : string
Return values
$thissetTarget()
The target of an method call-style expression. For example, `x` in `x.f()`.
public
setTarget(Expr $var) : $this
Generated from protobuf field .google.api.expr.v1beta1.Expr target = 1 [json_name = "target"];
Parameters
- $var : Expr