class BadRequest_FieldViolation extends Message

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

Protobuf type 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.

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.

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 59
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

at line 71
string getDescription()

A description of why the request element is bad.

Generated from protobuf field string description = 2;

Return Value

string

at line 82
setDescription(string $var)

A description of why the request element is bad.

Generated from protobuf field string description = 2;

Parameters

string $var