class BadRequest_FieldViolation extends Message

A message type used to describe a single bad request field.

Generated from protobuf message google.rpc.BadRequest.FieldViolation

Methods

__construct()

No description

string
getField()

A path leading to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. E.g., "field_violations.field" would identify this field.

$this
setField(string $var)

A path leading to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. E.g., "field_violations.field" would identify this field.

string
getDescription()

A description of why the request element is bad.

$this
setDescription(string $var)

A description of why the request element is bad.

Details

at line 33
__construct()

at line 46
string getField()

A path leading to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. E.g., "field_violations.field" would identify this field.

Generated from protobuf field string field = 1;

Return Value

string

at line 60
$this setField(string $var)

A path leading to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. E.g., "field_violations.field" would identify this field.

Generated from protobuf field string field = 1;

Parameters

string $var

Return Value

$this

at line 74
string getDescription()

A description of why the request element is bad.

Generated from protobuf field string description = 2;

Return Value

string

at line 86
$this setDescription(string $var)

A description of why the request element is bad.

Generated from protobuf field string description = 2;

Parameters

string $var

Return Value

$this