google_api_firebase v0.2.0 GoogleApi.Firebase.V1beta1.Model.StatusProto View Source
Wire-format for a Status object
Attributes
canonicalCode
(type:integer()
, default:nil
) - The canonical error code (see codes.proto) that most closely corresponds to this status. May be missing.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.protomessage
(type:String.t
, default:nil
) - Detail messagemessageSet
(type:GoogleApi.Firebase.V1beta1.Model.MessageSet.t
, default:nil
) - message_set associates an arbitrary proto message with the status.payload
(type:GoogleApi.Firebase.V1beta1.Model.TypedMessage.t
, default:nil
) - DEPRECATED.This field was deprecated in 2011 with cl/20297133. Java support for the field was moved to a proto1 backward compatibility class in April 2017 with cl/142615857 and cl/154123203. There was never support for this field in Go; if set Go will ignore it. C++ stopped setting StatusProto::payload in October 2015 with cl/106347055, and stopped reading the field in October 2017 with cl/173324114.
In general, newly written code should use only "message_set". If you need to maintain backward compatibility with code written before 3/25/2011, do the following:
During the transition period, either (1) set both "payload" and "message_set", or (2) write the consumer of StatusProto so that it can forge a MessageSet object from "payload" if "message_set" is missing. The C++ util::Status implementation does (2).
Once all the consumers are converted to accept "message_set", then remove the use of "payload" on the producer side.
space
(type:String.t
, default:nil
) - The following are usually only present when code != 0 Space to which this status belongs
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
t()
View Sourcet() :: %GoogleApi.Firebase.V1beta1.Model.StatusProto{ canonicalCode: integer(), code: integer(), message: String.t(), messageSet: GoogleApi.Firebase.V1beta1.Model.MessageSet.t(), payload: GoogleApi.Firebase.V1beta1.Model.TypedMessage.t(), space: String.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.