Interface QuotaErrorOrBuilder (1.24.0)

public interface QuotaErrorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCode()

public abstract QuotaError.Code getCode()

Error code.

.google.api.servicecontrol.v1.QuotaError.Code code = 1;

Returns
TypeDescription
QuotaError.Code

The code.

getCodeValue()

public abstract int getCodeValue()

Error code.

.google.api.servicecontrol.v1.QuotaError.Code code = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for code.

getDescription()

public abstract String getDescription()

Free-form text that provides details on the cause of the error.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Free-form text that provides details on the cause of the error.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getStatus()

public abstract Status getStatus()

Contains additional information about the quota error. If available, status.code will be non zero.

.google.rpc.Status status = 4;

Returns
TypeDescription
com.google.rpc.Status

The status.

getStatusOrBuilder()

public abstract StatusOrBuilder getStatusOrBuilder()

Contains additional information about the quota error. If available, status.code will be non zero.

.google.rpc.Status status = 4;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getSubject()

public abstract String getSubject()

Subject to whom this error applies. See the specific enum for more details on this field. For example, "clientip:<ip address of client>" or "project:<Google developer project id>".

string subject = 2;

Returns
TypeDescription
String

The subject.

getSubjectBytes()

public abstract ByteString getSubjectBytes()

Subject to whom this error applies. See the specific enum for more details on this field. For example, "clientip:<ip address of client>" or "project:<Google developer project id>".

string subject = 2;

Returns
TypeDescription
ByteString

The bytes for subject.

hasStatus()

public abstract boolean hasStatus()

Contains additional information about the quota error. If available, status.code will be non zero.

.google.rpc.Status status = 4;

Returns
TypeDescription
boolean

Whether the status field is set.