BadRequest_FieldViolation class final

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

Inheritance
  • Object
  • ProtoMessage
  • BadRequest_FieldViolation

Constructors

BadRequest_FieldViolation({String field = '', String description = '', String reason = '', LocalizedMessage? localizedMessage})
BadRequest_FieldViolation.fromJson(Object? j)
factory

Properties

description String
A description of why the request element is bad.
final
field String
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.
final
hashCode int
The hash code for this object.
no setterinherited
localizedMessage LocalizedMessage?
Provides a localized error message for field-level errors that is safe to return to the API consumer.
final
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
reason String
The reason of the field-level error. This is a constant value that identifies the proximate cause of the field-level error. It should uniquely identify the type of the FieldViolation within the scope of the google.rpc.ErrorInfo.domain. This should be at most 63 characters and match a regular expression of [A-Z][A-Z0-9_]+[A-Z0-9], which represents UPPER_SNAKE_CASE.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String