Interface ErrorsOrBuilder (1.8.1)

public interface ErrorsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCode()

public abstract String getCode()

[Output Only] The error type identifier for this error.

optional string code = 3059181;

Returns
TypeDescription
String

The code.

getCodeBytes()

public abstract ByteString getCodeBytes()

[Output Only] The error type identifier for this error.

optional string code = 3059181;

Returns
TypeDescription
ByteString

The bytes for code.

getLocation()

public abstract String getLocation()

[Output Only] Indicates the field in the request that caused the error. This property is optional.

optional string location = 290430901;

Returns
TypeDescription
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

[Output Only] Indicates the field in the request that caused the error. This property is optional.

optional string location = 290430901;

Returns
TypeDescription
ByteString

The bytes for location.

getMessage()

public abstract String getMessage()

[Output Only] An optional, human-readable error message.

optional string message = 418054151;

Returns
TypeDescription
String

The message.

getMessageBytes()

public abstract ByteString getMessageBytes()

[Output Only] An optional, human-readable error message.

optional string message = 418054151;

Returns
TypeDescription
ByteString

The bytes for message.

hasCode()

public abstract boolean hasCode()

[Output Only] The error type identifier for this error.

optional string code = 3059181;

Returns
TypeDescription
boolean

Whether the code field is set.

hasLocation()

public abstract boolean hasLocation()

[Output Only] Indicates the field in the request that caused the error. This property is optional.

optional string location = 290430901;

Returns
TypeDescription
boolean

Whether the location field is set.

hasMessage()

public abstract boolean hasMessage()

[Output Only] An optional, human-readable error message.

optional string message = 418054151;

Returns
TypeDescription
boolean

Whether the message field is set.