Skip to content

Commit 333ea5a

Browse files
authored
chore: Update generated code (#1484)
1 parent 2325e32 commit 333ea5a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

tonic-reflection/src/generated/grpc_reflection_v1alpha.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub mod server_reflection_request {
2525
FileByFilename(::prost::alloc::string::String),
2626
/// Find the proto file that declares the given fully-qualified symbol name.
2727
/// This field should be a fully-qualified symbol name
28-
/// (e.g. <package>.<service>\\[.<method>\\] or <package>.<type>).
28+
/// (e.g. <package>.<service>\[.<method>\] or <package>.<type>).
2929
#[prost(string, tag = "4")]
3030
FileContainingSymbol(::prost::alloc::string::String),
3131
/// Find the proto file which defines an extension extending the given

tonic-types/src/generated/google_rpc.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
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)]
1010
pub 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

Comments
 (0)