Interface BadRequest.FieldViolationOrBuilder (2.10.0)

public static interface BadRequest.FieldViolationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescription()

public abstract String getDescription()

A description of why the request element is bad.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

A description of why the request element is bad.

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getField()

public abstract 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.

string field = 1;

Returns
TypeDescription
String

The field.

getFieldBytes()

public abstract ByteString getFieldBytes()

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 field = 1;

Returns
TypeDescription
ByteString

The bytes for field.