11/// The `Status` type defines a logical error model that is suitable for
22/// different programming environments, including REST APIs and RPC APIs. It is
3- /// used by \ [gRPC\ ](<https://github.com/grpc>). Each `Status` message contains
3+ /// used by [gRPC](<https://github.com/grpc>). Each `Status` message contains
44/// three pieces of data: error code, error message, and error details.
55///
66/// You can find out more about this error model and how to work with it in the
77/// [API Design Guide](<https://cloud.google.com/apis/design/errors>).
88#[ allow( clippy:: derive_partial_eq_without_eq) ]
99#[ derive( Clone , PartialEq , :: prost:: Message ) ]
1010pub struct Status {
11- /// The status code, which should be an enum value of \\ [google.rpc.Code\]\[google.rpc.Code\ \].
11+ /// The status code, which should be an enum value of \[google.rpc.Code\]\[google.rpc.Code\].
1212 #[ prost( int32, tag = "1" ) ]
1313 pub code : i32 ,
1414 /// A developer-facing error message, which should be in English. Any
1515 /// user-facing error message should be localized and sent in the
16- /// \\ [google.rpc.Status.details\]\[google.rpc.Status.details\ \] field, or localized by the client.
16+ /// \[google.rpc.Status.details\]\[google.rpc.Status.details\] field, or localized by the client.
1717 #[ prost( string, tag = "2" ) ]
1818 pub message : :: prost:: alloc:: string:: String ,
1919 /// A list of messages that carry the error details. There is a common set of
@@ -127,7 +127,7 @@ pub struct ErrorInfo {
127127 /// The reason of the error. This is a constant value that identifies the
128128 /// proximate cause of the error. Error reasons are unique within a particular
129129 /// domain of errors. This should be at most 63 characters and match
130- /// /\\ [A-Z0-9\_\ \]+/.
130+ /// /\[A-Z0-9\_\]+/.
131131 #[ prost( string, tag = "1" ) ]
132132 pub reason : :: prost:: alloc:: string:: String ,
133133 /// The logical grouping to which the "reason" belongs. The error domain
@@ -140,7 +140,7 @@ pub struct ErrorInfo {
140140 pub domain : :: prost:: alloc:: string:: String ,
141141 /// Additional structured details about this error.
142142 ///
143- /// Keys should match /\\ [a-zA-Z0-9-\_\ \]/ and be limited to 64 characters in
143+ /// Keys should match /\[a-zA-Z0-9-\_\]/ and be limited to 64 characters in
144144 /// length. When identifying the current value of an exceeded limit, the units
145145 /// should be contained in the key, not the value. For example, rather than
146146 /// {"instanceLimit": "100/request"}, should be returned as,
@@ -238,7 +238,7 @@ pub struct ResourceInfo {
238238 pub resource_type : :: prost:: alloc:: string:: String ,
239239 /// The name of the resource being accessed. For example, a shared calendar
240240 /// name: "[email protected] ", if the current 241- /// error is \\ [google.rpc.Code.PERMISSION_DENIED\]\[google.rpc.Code.PERMISSION_DENIED\ \].
241+ /// error is \[google.rpc.Code.PERMISSION_DENIED\]\[google.rpc.Code.PERMISSION_DENIED\].
242242 #[ prost( string, tag = "2" ) ]
243243 pub resource_name : :: prost:: alloc:: string:: String ,
244244 /// The owner of the resource (optional).
0 commit comments