1pub trait NamedMessage {
3 const NAME: &'static str;
4}
5
6#[doc(hidden)]
11pub use grpc_build_derive::NamedMessage;
12
13impl NamedMessage for bool {
14 const NAME: &'static str = "google.protobuf.BoolValue";
15}
16impl NamedMessage for bytes::Bytes {
17 const NAME: &'static str = "google.protobuf.BytesValue";
18}
19impl NamedMessage for Vec<u8> {
20 const NAME: &'static str = "google.protobuf.BytesValue";
21}
22impl NamedMessage for f64 {
23 const NAME: &'static str = "google.protobuf.DoubleValue";
24}
25impl NamedMessage for () {
26 const NAME: &'static str = "google.protobuf.Empty";
27}
28impl NamedMessage for f32 {
29 const NAME: &'static str = "google.protobuf.FloatValue";
30}
31impl NamedMessage for i32 {
32 const NAME: &'static str = "google.protobuf.Int32Value";
33}
34impl NamedMessage for i64 {
35 const NAME: &'static str = "google.protobuf.Int64Value";
36}
37impl NamedMessage for String {
38 const NAME: &'static str = "google.protobuf.StringValue";
39}
40impl NamedMessage for u32 {
41 const NAME: &'static str = "google.protobuf.UInt32Value";
42}
43impl NamedMessage for u64 {
44 const NAME: &'static str = "google.protobuf.UInt64Value";
45}
46
47impl NamedMessage for prost_types::Any {
48 const NAME: &'static str = "google.protobuf.Any";
49}
50impl NamedMessage for prost_types::Api {
51 const NAME: &'static str = "google.protobuf.Api";
52}
53impl NamedMessage for prost_types::DescriptorProto {
54 const NAME: &'static str = "google.protobuf.DescriptorProto";
55}
56impl NamedMessage for prost_types::Duration {
57 const NAME: &'static str = "google.protobuf.Duration";
58}
59impl NamedMessage for prost_types::Enum {
60 const NAME: &'static str = "google.protobuf.Enum";
61}
62impl NamedMessage for prost_types::EnumDescriptorProto {
63 const NAME: &'static str = "google.protobuf.EnumDescriptorProto";
64}
65impl NamedMessage for prost_types::EnumOptions {
66 const NAME: &'static str = "google.protobuf.EnumOptions";
67}
68impl NamedMessage for prost_types::EnumValue {
69 const NAME: &'static str = "google.protobuf.EnumValue";
70}
71impl NamedMessage for prost_types::EnumValueDescriptorProto {
72 const NAME: &'static str = "google.protobuf.EnumValueDescriptorProto";
73}
74impl NamedMessage for prost_types::EnumValueOptions {
75 const NAME: &'static str = "google.protobuf.EnumValueOptions";
76}
77impl NamedMessage for prost_types::ExtensionRangeOptions {
78 const NAME: &'static str = "google.protobuf.ExtensionRangeOptions";
79}
80impl NamedMessage for prost_types::Field {
81 const NAME: &'static str = "google.protobuf.Field";
82}
83impl NamedMessage for prost_types::FieldDescriptorProto {
84 const NAME: &'static str = "google.protobuf.FieldDescriptorProto";
85}
86impl NamedMessage for prost_types::FieldMask {
87 const NAME: &'static str = "google.protobuf.FieldMask";
88}
89impl NamedMessage for prost_types::FieldOptions {
90 const NAME: &'static str = "google.protobuf.FieldOptions";
91}
92impl NamedMessage for prost_types::GeneratedCodeInfo {
93 const NAME: &'static str = "google.protobuf.GeneratedCodeInfo";
94}
95impl NamedMessage for prost_types::ListValue {
96 const NAME: &'static str = "google.protobuf.ListValue";
97}
98impl NamedMessage for prost_types::MessageOptions {
99 const NAME: &'static str = "google.protobuf.MessageOptions";
100}
101impl NamedMessage for prost_types::Method {
102 const NAME: &'static str = "google.protobuf.Method";
103}
104impl NamedMessage for prost_types::MethodDescriptorProto {
105 const NAME: &'static str = "google.protobuf.MethodDescriptorProto";
106}
107impl NamedMessage for prost_types::MethodOptions {
108 const NAME: &'static str = "google.protobuf.MethodOptions";
109}
110impl NamedMessage for prost_types::Mixin {
111 const NAME: &'static str = "google.protobuf.Mixin";
112}
113impl NamedMessage for prost_types::OneofDescriptorProto {
114 const NAME: &'static str = "google.protobuf.OneofDescriptorProto";
115}
116impl NamedMessage for prost_types::OneofOptions {
117 const NAME: &'static str = "google.protobuf.OneofOptions";
118}
119impl NamedMessage for prost_types::Option {
120 const NAME: &'static str = "google.protobuf.Option";
121}
122impl NamedMessage for prost_types::ServiceDescriptorProto {
123 const NAME: &'static str = "google.protobuf.ServiceDescriptorProto";
124}
125impl NamedMessage for prost_types::ServiceOptions {
126 const NAME: &'static str = "google.protobuf.ServiceOptions";
127}
128impl NamedMessage for prost_types::SourceCodeInfo {
129 const NAME: &'static str = "google.protobuf.SourceCodeInfo";
130}
131impl NamedMessage for prost_types::SourceContext {
132 const NAME: &'static str = "google.protobuf.SourceContext";
133}
134impl NamedMessage for prost_types::Struct {
135 const NAME: &'static str = "google.protobuf.Struct";
136}
137impl NamedMessage for prost_types::Timestamp {
138 const NAME: &'static str = "google.protobuf.Timestamp";
139}
140impl NamedMessage for prost_types::Type {
141 const NAME: &'static str = "google.protobuf.Type";
142}
143impl NamedMessage for prost_types::UninterpretedOption {
144 const NAME: &'static str = "google.protobuf.UninterpretedOption";
145}
146impl NamedMessage for prost_types::Value {
147 const NAME: &'static str = "google.protobuf.Value";
148}