Class QuotaFailure.Violation.Builder (2.11.0)

Stay organized with collections Save and categorize content based on your preferences.
public static final class QuotaFailure.Violation.Builder extends GeneratedMessageV3.Builder<QuotaFailure.Violation.Builder> implements QuotaFailure.ViolationOrBuilder

A message type used to describe a single quota violation. For example, a daily quota or a custom quota that was exceeded.

Protobuf type google.rpc.QuotaFailure.Violation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QuotaFailure.Violation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
QuotaFailure.Violation.Builder
Overrides

build()

public QuotaFailure.Violation build()
Returns
TypeDescription
QuotaFailure.Violation

buildPartial()

public QuotaFailure.Violation buildPartial()
Returns
TypeDescription
QuotaFailure.Violation

clear()

public QuotaFailure.Violation.Builder clear()
Returns
TypeDescription
QuotaFailure.Violation.Builder
Overrides

clearDescription()

public QuotaFailure.Violation.Builder clearDescription()

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;