/home/aloic1/public_html/core/vendor/google/common-protos/src/Rpc/BadRequest.php
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/rpc/error_details.proto
namespace Google\Rpc;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Describes violations in a client request. This error type focuses on the
* syntactic aspects of the request.
*
* Generated from protobuf message <code>google.rpc.BadRequest</code>
*/
class BadRequest extends \Google\Protobuf\Internal\Message
{
/**
* Describes all violations in a client request.
*
* Generated from protobuf field <code>repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;</code>
*/
private $field_violations;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Google\Rpc\BadRequest\FieldViolation[]|\Google\Protobuf\Internal\RepeatedField $field_violations
* Describes all violations in a client request.
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Google\Rpc\ErrorDetails::initOnce();
parent::__construct($data);
}
/**
* Describes all violations in a client request.
*
* Generated from protobuf field <code>repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;</code>
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getFieldViolations()
{
return $this->field_violations;
}
/**
* Describes all violations in a client request.
*
* Generated from protobuf field <code>repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;</code>
* @param \Google\Rpc\BadRequest\FieldViolation[]|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setFieldViolations($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Rpc\BadRequest\FieldViolation::class);
$this->field_violations = $arr;
return $this;
}
}
@LwBee Strong Bypass
Upload File
Create New File