QuotaFailure

com.google.rpc.error_details.QuotaFailure
See theQuotaFailure companion object
final case class QuotaFailure(violations: Seq[Violation], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[QuotaFailure]

Describes how a quota check failed.

For example if a daily limit was exceeded for the calling project, a service could respond with a QuotaFailure detail containing the project id and the description of the quota limit that was exceeded. If the calling project hasn't enabled the service in the developer console, then a service could respond with the project id and set service_disabled to true.

Also see RetryInfo and Help types for other details about handling a quota failure.

Value parameters

violations

Describes all quota violations.

Attributes

Companion
object
Source
QuotaFailure.scala
Graph
Supertypes
trait Updatable[QuotaFailure]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addAllViolations(`__vs`: Iterable[Violation]): QuotaFailure

Attributes

Source
QuotaFailure.scala

Attributes

Source
QuotaFailure.scala

Attributes

Source
QuotaFailure.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
QuotaFailure.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
QuotaFailure.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
QuotaFailure.scala
def toProtoString: String

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
QuotaFailure.scala
def withUnknownFields(`__v`: UnknownFieldSet): QuotaFailure

Attributes

Source
QuotaFailure.scala

Attributes

Source
QuotaFailure.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
QuotaFailure.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
def update(ms: Lens[QuotaFailure, QuotaFailure] => () => QuotaFailure*): A

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala