ErrorSet
extends Message
in package
A set of errors.
The errors included depend on the context. See ExprValue.error.
Generated from protobuf message google.api.expr.v1alpha1.ErrorSet
Table of Contents
Properties
- $errors : mixed
- The errors in the set.
Methods
- __construct() : mixed
- Constructor.
- getErrors() : RepeatedField
- The errors in the set.
- setErrors() : $this
- The errors in the set.
Properties
$errors
The errors in the set.
private
mixed
$errors
Generated from protobuf field repeated .google.rpc.Status errors = 1 [json_name = "errors"];
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 array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $errors The errors in the set.}
getErrors()
The errors in the set.
public
getErrors() : RepeatedField
Generated from protobuf field repeated .google.rpc.Status errors = 1 [json_name = "errors"];
Return values
RepeatedFieldsetErrors()
The errors in the set.
public
setErrors(array<string|int, Status>|RepeatedField $var) : $this
Generated from protobuf field repeated .google.rpc.Status errors = 1 [json_name = "errors"];
Parameters
- $var : array<string|int, Status>|RepeatedField