GoogleApi.ContentWarehouse.V1.Model.UtilStatusProto
Table of Contents ▼
Jump to a specific part of the page:
Description
Wire-format for a Status object
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
canonicalCode
(type:integer()
, default:nil
)
- The canonical error code (see codes.proto) that most closely corresponds to this status. This may be missing, and in the common case of the generic space, it definitely will be. -
code
(type:integer()
, default:nil
)
- Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto -
message
(type:String.t
, default:nil
)
- Detail message -
messageSet
(type:GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet
, default:nil
)
- message_set associates an arbitrary proto message with the status. -
space
(type:String.t
, default:nil
)
- The following are usually only present when code != 0 Space to which this status belongs
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.UtilStatusProto{
canonicalCode: integer() | nil,
code: integer() | nil,
message: String.t() | nil,
messageSet: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
space: String.t() | nil
}
canonicalCode: integer() | nil,
code: integer() | nil,
message: String.t() | nil,
messageSet: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
space: String.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.UtilStatusProto