BadRequest

com.google.rpc.error_details.BadRequest
See theBadRequest companion class
object BadRequest extends GeneratedMessageCompanion[BadRequest]

Attributes

Companion
class
Source
BadRequest.scala
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[BadRequest]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
BadRequest.type

Members list

Type members

Classlikes

implicit class BadRequestLens[UpperPB](_l: Lens[UpperPB, BadRequest]) extends ObjectLens[UpperPB, BadRequest]

Attributes

Source
BadRequest.scala
Supertypes
class ObjectLens[UpperPB, BadRequest]
trait Lens[UpperPB, BadRequest]
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class FieldViolation(field: String, description: String, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[FieldViolation]

A message type used to describe a single bad request field.

A message type used to describe a single bad request field.

Value parameters

description

A description of why the request element is bad.

field

A path that leads to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. Consider the following: message CreateContactRequest { message EmailAddress { enum Type { TYPE_UNSPECIFIED = 0; HOME = 1; WORK = 2; } optional string email = 1; repeated EmailType type = 2; } string full_name = 1; repeated EmailAddress email_addresses = 2; } In this example, in proto field could take one of the following values: * full_name for a violation in the full_name value * email_addresses[1].email for a violation in the email field of the first email_addresses message * email_addresses[3].type[2] for a violation in the second type value in the third email_addresses message. In JSON, the same values are represented as: * fullName for a violation in the fullName value * emailAddresses[1].email for a violation in the email field of the first emailAddresses message * emailAddresses[3].type[2] for a violation in the second type value in the third emailAddresses message.

Attributes

Companion
object
Source
BadRequest.scala
Supertypes
trait Updatable[FieldViolation]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object FieldViolation extends GeneratedMessageCompanion[FieldViolation]

Attributes

Companion
class
Source
BadRequest.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[FieldViolation]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type ValueType = A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala

Value members

Concrete methods

def enumCompanionForFieldNumber(`__fieldNumber`: Int): GeneratedEnumCompanion[_]

Attributes

Source
BadRequest.scala
def javaDescriptor: Descriptor

Returns the Java descriptors for this message.

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Attributes

Source
BadRequest.scala
def messageCompanionForFieldNumber(`__number`: Int): GeneratedMessageCompanion[_]

Attributes

Source
BadRequest.scala
def of(fieldViolations: Seq[FieldViolation]): BadRequest

Attributes

Source
BadRequest.scala
def parseFrom(`_input__`: CodedInputStream): BadRequest

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Attributes

Source
BadRequest.scala
def scalaDescriptor: Descriptor

Attributes

Source
BadRequest.scala

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def fromAscii(s: String): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def merge(a: BadRequest, input: CodedInputStream): A

Merges the given message with the additional fields in the steam.

Merges the given message with the additional fields in the steam.

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseDelimitedFrom(input: InputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseDelimitedFrom(input: CodedInputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseFrom(s: Array[Byte]): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseFrom(input: InputStream): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def streamFromDelimitedInput(input: InputStream): Stream[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def toByteArray(a: BadRequest): Array[Byte]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def validate(s: Array[Byte]): Try[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def validateAscii(s: String): Either[TextFormatError, A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala

Concrete fields

Attributes

Source
BadRequest.scala

Attributes

Source
BadRequest.scala
lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]

Attributes

Source
BadRequest.scala

Implicits

Implicits

final implicit def BadRequestLens[UpperPB](_l: Lens[UpperPB, BadRequest]): BadRequestLens[UpperPB]

Attributes

Source
BadRequest.scala
implicit def messageCompanion: GeneratedMessageCompanion[BadRequest]

Attributes

Source
BadRequest.scala
implicit def messageReads: Reads[BadRequest]

Attributes

Source
BadRequest.scala