Module pb
Expand description
Useful protobuf types
Modules§
- bad_
request - Nested message and enum types in
BadRequest. - help
- Nested message and enum types in
Help. - precondition_
failure - Nested message and enum types in
PreconditionFailure. - quota_
failure - Nested message and enum types in
QuotaFailure.
Structs§
- BadRequest
- Describes violations in a client request. This error type focuses on the syntactic aspects of the request.
- Debug
Info - Describes additional debugging info.
- Error
Info - Describes the cause of the error with structured details.
- Help
- Provides links to documentation or for performing an out of band action.
- Localized
Message - Provides a localized error message that is safe to return to the user which can be attached to an RPC error.
- Precondition
Failure - Describes what preconditions have failed.
- Quota
Failure - Describes how a quota check failed.
- Request
Info - Contains metadata about the request that clients can attach when filing a bug or providing other forms of feedback.
- Resource
Info - Describes the resource that is being accessed.
- Retry
Info - Describes when the clients can retry a failed request. Clients could ignore the recommendation here or retry when this information is missing from error responses.
- Status
- The
Statustype defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. EachStatusmessage contains three pieces of data: error code, error message, and error details.
Constants§
- FILE_
DESCRIPTOR_ SET - Byte encoded FILE_DESCRIPTOR_SET.