Interface QuotaFailure.ViolationOrBuilder (2.40.0)

public static interface QuotaFailure.ViolationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescription()

public abstract String getDescription()

A description of how the quota check failed. Clients can use this description to find more about the quota configuration in the service's public documentation, or find the relevant quota limit to adjust through developer console.

For example: "Service disabled" or "Daily Limit for read operations exceeded".

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

A description of how the quota check failed. Clients can use this description to find more about the quota configuration in the service's public documentation, or find the relevant quota limit to adjust through developer console.

For example: "Service disabled" or "Daily Limit for read operations exceeded".

string description = 2;

Returns
Type Description
ByteString

The bytes for description.

getSubject()

public abstract String getSubject()

The subject on which the quota check failed. For example, "clientip:<ip address of client>" or "project:<Google developer project id>".

string subject = 1;

Returns
Type Description
String

The subject.

getSubjectBytes()

public abstract ByteString getSubjectBytes()

The subject on which the quota check failed. For example, "clientip:<ip address of client>" or "project:<Google developer project id>".

string subject = 1;

Returns
Type Description
ByteString

The bytes for subject.