protobuf/well_known_types/
api.rs

1// This file is generated by rust-protobuf 4.0.0-alpha.0. Do not edit
2// .proto file is parsed by protoc --rs_out=...
3// @generated
4
5// https://github.com/rust-lang/rust-clippy/issues/702
6#![allow(unknown_lints)]
7#![allow(clippy::all)]
8
9#![allow(unused_attributes)]
10#![cfg_attr(rustfmt, rustfmt::skip)]
11
12#![allow(dead_code)]
13#![allow(missing_docs)]
14#![allow(non_camel_case_types)]
15#![allow(non_snake_case)]
16#![allow(non_upper_case_globals)]
17#![allow(trivial_casts)]
18#![allow(unused_results)]
19#![allow(unused_mut)]
20
21//! Generated file from `google/protobuf/api.proto`
22
23///  Api is a light-weight descriptor for an API Interface.
24///
25///  Interfaces are also described as "protocol buffer services" in some contexts,
26///  such as by the "service" keyword in a .proto file, but they are different
27///  from API Services, which represent a concrete implementation of an interface
28///  as opposed to simply a description of methods and bindings. They are also
29///  sometimes simply referred to as "APIs" in other contexts, such as the name of
30///  this message itself. See https://cloud.google.com/apis/design/glossary for
31///  detailed terminology.
32// @@protoc_insertion_point(message:google.protobuf.Api)
33#[derive(PartialEq,Clone,Default,Debug)]
34pub struct Api {
35    // message fields
36    ///  The fully qualified name of this interface, including package name
37    ///  followed by the interface's simple name.
38    // @@protoc_insertion_point(field:google.protobuf.Api.name)
39    pub name: ::std::string::String,
40    ///  The methods of this interface, in unspecified order.
41    // @@protoc_insertion_point(field:google.protobuf.Api.methods)
42    pub methods: ::std::vec::Vec<Method>,
43    ///  Any metadata attached to the interface.
44    // @@protoc_insertion_point(field:google.protobuf.Api.options)
45    pub options: ::std::vec::Vec<crate::well_known_types::type_::Option>,
46    ///  A version string for this interface. If specified, must have the form
47    ///  `major-version.minor-version`, as in `1.10`. If the minor version is
48    ///  omitted, it defaults to zero. If the entire version field is empty, the
49    ///  major version is derived from the package name, as outlined below. If the
50    ///  field is not empty, the version in the package name will be verified to be
51    ///  consistent with what is provided here.
52    ///
53    ///  The versioning schema uses [semantic
54    ///  versioning](http://semver.org) where the major version number
55    ///  indicates a breaking change and the minor version an additive,
56    ///  non-breaking change. Both version numbers are signals to users
57    ///  what to expect from different versions, and should be carefully
58    ///  chosen based on the product plan.
59    ///
60    ///  The major version is also reflected in the package name of the
61    ///  interface, which must end in `v<major-version>`, as in
62    ///  `google.feature.v1`. For major versions 0 and 1, the suffix can
63    ///  be omitted. Zero major versions must only be used for
64    ///  experimental, non-GA interfaces.
65    ///
66    ///
67    // @@protoc_insertion_point(field:google.protobuf.Api.version)
68    pub version: ::std::string::String,
69    ///  Source context for the protocol buffer service represented by this
70    ///  message.
71    // @@protoc_insertion_point(field:google.protobuf.Api.source_context)
72    pub source_context: crate::MessageField<crate::well_known_types::source_context::SourceContext>,
73    ///  Included interfaces. See [Mixin][].
74    // @@protoc_insertion_point(field:google.protobuf.Api.mixins)
75    pub mixins: ::std::vec::Vec<Mixin>,
76    ///  The source syntax of the service.
77    // @@protoc_insertion_point(field:google.protobuf.Api.syntax)
78    pub syntax: crate::EnumOrUnknown<crate::well_known_types::type_::Syntax>,
79    // special fields
80    // @@protoc_insertion_point(special_field:google.protobuf.Api.special_fields)
81    pub special_fields: crate::SpecialFields,
82}
83
84impl<'a> ::std::default::Default for &'a Api {
85    fn default() -> &'a Api {
86        <Api as crate::Message>::default_instance()
87    }
88}
89
90impl Api {
91    pub fn new() -> Api {
92        ::std::default::Default::default()
93    }
94
95    fn generated_message_descriptor_data() -> crate::reflect::GeneratedMessageDescriptorData {
96        let mut fields = ::std::vec::Vec::with_capacity(7);
97        let mut oneofs = ::std::vec::Vec::with_capacity(0);
98        fields.push(crate::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
99            "name",
100            |m: &Api| { &m.name },
101            |m: &mut Api| { &mut m.name },
102        ));
103        fields.push(crate::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
104            "methods",
105            |m: &Api| { &m.methods },
106            |m: &mut Api| { &mut m.methods },
107        ));
108        fields.push(crate::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
109            "options",
110            |m: &Api| { &m.options },
111            |m: &mut Api| { &mut m.options },
112        ));
113        fields.push(crate::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
114            "version",
115            |m: &Api| { &m.version },
116            |m: &mut Api| { &mut m.version },
117        ));
118        fields.push(crate::reflect::rt::v2::make_message_field_accessor::<_, crate::well_known_types::source_context::SourceContext>(
119            "source_context",
120            |m: &Api| { &m.source_context },
121            |m: &mut Api| { &mut m.source_context },
122        ));
123        fields.push(crate::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
124            "mixins",
125            |m: &Api| { &m.mixins },
126            |m: &mut Api| { &mut m.mixins },
127        ));
128        fields.push(crate::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
129            "syntax",
130            |m: &Api| { &m.syntax },
131            |m: &mut Api| { &mut m.syntax },
132        ));
133        crate::reflect::GeneratedMessageDescriptorData::new_2::<Api>(
134            "Api",
135            fields,
136            oneofs,
137        )
138    }
139}
140
141impl crate::Message for Api {
142    const NAME: &'static str = "Api";
143
144    fn is_initialized(&self) -> bool {
145        true
146    }
147
148    fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::Result<()> {
149        while let Some(tag) = is.read_raw_tag_or_eof()? {
150            match tag {
151                10 => {
152                    self.name = is.read_string()?;
153                },
154                18 => {
155                    self.methods.push(is.read_message()?);
156                },
157                26 => {
158                    self.options.push(is.read_message()?);
159                },
160                34 => {
161                    self.version = is.read_string()?;
162                },
163                42 => {
164                    crate::rt::read_singular_message_into_field(is, &mut self.source_context)?;
165                },
166                50 => {
167                    self.mixins.push(is.read_message()?);
168                },
169                56 => {
170                    self.syntax = is.read_enum_or_unknown()?;
171                },
172                tag => {
173                    crate::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
174                },
175            };
176        }
177        ::std::result::Result::Ok(())
178    }
179
180    // Compute sizes of nested messages
181    #[allow(unused_variables)]
182    fn compute_size(&self) -> u64 {
183        let mut my_size = 0;
184        if !self.name.is_empty() {
185            my_size += crate::rt::string_size(1, &self.name);
186        }
187        for value in &self.methods {
188            let len = value.compute_size();
189            my_size += 1 + crate::rt::compute_raw_varint64_size(len) + len;
190        };
191        for value in &self.options {
192            let len = value.compute_size();
193            my_size += 1 + crate::rt::compute_raw_varint64_size(len) + len;
194        };
195        if !self.version.is_empty() {
196            my_size += crate::rt::string_size(4, &self.version);
197        }
198        if let Some(v) = self.source_context.as_ref() {
199            let len = v.compute_size();
200            my_size += 1 + crate::rt::compute_raw_varint64_size(len) + len;
201        }
202        for value in &self.mixins {
203            let len = value.compute_size();
204            my_size += 1 + crate::rt::compute_raw_varint64_size(len) + len;
205        };
206        if self.syntax != crate::EnumOrUnknown::new(crate::well_known_types::type_::Syntax::SYNTAX_PROTO2) {
207            my_size += crate::rt::int32_size(7, self.syntax.value());
208        }
209        my_size += crate::rt::unknown_fields_size(self.special_fields.unknown_fields());
210        self.special_fields.cached_size().set(my_size as u32);
211        my_size
212    }
213
214    fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::Result<()> {
215        if !self.name.is_empty() {
216            os.write_string(1, &self.name)?;
217        }
218        for v in &self.methods {
219            crate::rt::write_message_field_with_cached_size(2, v, os)?;
220        };
221        for v in &self.options {
222            crate::rt::write_message_field_with_cached_size(3, v, os)?;
223        };
224        if !self.version.is_empty() {
225            os.write_string(4, &self.version)?;
226        }
227        if let Some(v) = self.source_context.as_ref() {
228            crate::rt::write_message_field_with_cached_size(5, v, os)?;
229        }
230        for v in &self.mixins {
231            crate::rt::write_message_field_with_cached_size(6, v, os)?;
232        };
233        if self.syntax != crate::EnumOrUnknown::new(crate::well_known_types::type_::Syntax::SYNTAX_PROTO2) {
234            os.write_enum(7, crate::EnumOrUnknown::value(&self.syntax))?;
235        }
236        os.write_unknown_fields(self.special_fields.unknown_fields())?;
237        ::std::result::Result::Ok(())
238    }
239
240    fn special_fields(&self) -> &crate::SpecialFields {
241        &self.special_fields
242    }
243
244    fn mut_special_fields(&mut self) -> &mut crate::SpecialFields {
245        &mut self.special_fields
246    }
247
248    fn new() -> Api {
249        Api::new()
250    }
251
252    fn clear(&mut self) {
253        self.name.clear();
254        self.methods.clear();
255        self.options.clear();
256        self.version.clear();
257        self.source_context.clear();
258        self.mixins.clear();
259        self.syntax = crate::EnumOrUnknown::new(crate::well_known_types::type_::Syntax::SYNTAX_PROTO2);
260        self.special_fields.clear();
261    }
262
263    fn default_instance() -> &'static Api {
264        static instance: Api = Api {
265            name: ::std::string::String::new(),
266            methods: ::std::vec::Vec::new(),
267            options: ::std::vec::Vec::new(),
268            version: ::std::string::String::new(),
269            source_context: crate::MessageField::none(),
270            mixins: ::std::vec::Vec::new(),
271            syntax: crate::EnumOrUnknown::from_i32(0),
272            special_fields: crate::SpecialFields::new(),
273        };
274        &instance
275    }
276}
277
278impl crate::MessageFull for Api {
279    fn descriptor() -> crate::reflect::MessageDescriptor {
280        static descriptor: crate::rt::Lazy<crate::reflect::MessageDescriptor> = crate::rt::Lazy::new();
281        descriptor.get(|| file_descriptor().message_by_package_relative_name("Api").unwrap()).clone()
282    }
283}
284
285impl ::std::fmt::Display for Api {
286    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
287        crate::text_format::fmt(self, f)
288    }
289}
290
291impl crate::reflect::ProtobufValue for Api {
292    type RuntimeType = crate::reflect::rt::RuntimeTypeMessage<Self>;
293}
294
295///  Method represents a method of an API interface.
296// @@protoc_insertion_point(message:google.protobuf.Method)
297#[derive(PartialEq,Clone,Default,Debug)]
298pub struct Method {
299    // message fields
300    ///  The simple name of this method.
301    // @@protoc_insertion_point(field:google.protobuf.Method.name)
302    pub name: ::std::string::String,
303    ///  A URL of the input message type.
304    // @@protoc_insertion_point(field:google.protobuf.Method.request_type_url)
305    pub request_type_url: ::std::string::String,
306    ///  If true, the request is streamed.
307    // @@protoc_insertion_point(field:google.protobuf.Method.request_streaming)
308    pub request_streaming: bool,
309    ///  The URL of the output message type.
310    // @@protoc_insertion_point(field:google.protobuf.Method.response_type_url)
311    pub response_type_url: ::std::string::String,
312    ///  If true, the response is streamed.
313    // @@protoc_insertion_point(field:google.protobuf.Method.response_streaming)
314    pub response_streaming: bool,
315    ///  Any metadata attached to the method.
316    // @@protoc_insertion_point(field:google.protobuf.Method.options)
317    pub options: ::std::vec::Vec<crate::well_known_types::type_::Option>,
318    ///  The source syntax of this method.
319    // @@protoc_insertion_point(field:google.protobuf.Method.syntax)
320    pub syntax: crate::EnumOrUnknown<crate::well_known_types::type_::Syntax>,
321    // special fields
322    // @@protoc_insertion_point(special_field:google.protobuf.Method.special_fields)
323    pub special_fields: crate::SpecialFields,
324}
325
326impl<'a> ::std::default::Default for &'a Method {
327    fn default() -> &'a Method {
328        <Method as crate::Message>::default_instance()
329    }
330}
331
332impl Method {
333    pub fn new() -> Method {
334        ::std::default::Default::default()
335    }
336
337    fn generated_message_descriptor_data() -> crate::reflect::GeneratedMessageDescriptorData {
338        let mut fields = ::std::vec::Vec::with_capacity(7);
339        let mut oneofs = ::std::vec::Vec::with_capacity(0);
340        fields.push(crate::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
341            "name",
342            |m: &Method| { &m.name },
343            |m: &mut Method| { &mut m.name },
344        ));
345        fields.push(crate::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
346            "request_type_url",
347            |m: &Method| { &m.request_type_url },
348            |m: &mut Method| { &mut m.request_type_url },
349        ));
350        fields.push(crate::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
351            "request_streaming",
352            |m: &Method| { &m.request_streaming },
353            |m: &mut Method| { &mut m.request_streaming },
354        ));
355        fields.push(crate::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
356            "response_type_url",
357            |m: &Method| { &m.response_type_url },
358            |m: &mut Method| { &mut m.response_type_url },
359        ));
360        fields.push(crate::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
361            "response_streaming",
362            |m: &Method| { &m.response_streaming },
363            |m: &mut Method| { &mut m.response_streaming },
364        ));
365        fields.push(crate::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
366            "options",
367            |m: &Method| { &m.options },
368            |m: &mut Method| { &mut m.options },
369        ));
370        fields.push(crate::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
371            "syntax",
372            |m: &Method| { &m.syntax },
373            |m: &mut Method| { &mut m.syntax },
374        ));
375        crate::reflect::GeneratedMessageDescriptorData::new_2::<Method>(
376            "Method",
377            fields,
378            oneofs,
379        )
380    }
381}
382
383impl crate::Message for Method {
384    const NAME: &'static str = "Method";
385
386    fn is_initialized(&self) -> bool {
387        true
388    }
389
390    fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::Result<()> {
391        while let Some(tag) = is.read_raw_tag_or_eof()? {
392            match tag {
393                10 => {
394                    self.name = is.read_string()?;
395                },
396                18 => {
397                    self.request_type_url = is.read_string()?;
398                },
399                24 => {
400                    self.request_streaming = is.read_bool()?;
401                },
402                34 => {
403                    self.response_type_url = is.read_string()?;
404                },
405                40 => {
406                    self.response_streaming = is.read_bool()?;
407                },
408                50 => {
409                    self.options.push(is.read_message()?);
410                },
411                56 => {
412                    self.syntax = is.read_enum_or_unknown()?;
413                },
414                tag => {
415                    crate::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
416                },
417            };
418        }
419        ::std::result::Result::Ok(())
420    }
421
422    // Compute sizes of nested messages
423    #[allow(unused_variables)]
424    fn compute_size(&self) -> u64 {
425        let mut my_size = 0;
426        if !self.name.is_empty() {
427            my_size += crate::rt::string_size(1, &self.name);
428        }
429        if !self.request_type_url.is_empty() {
430            my_size += crate::rt::string_size(2, &self.request_type_url);
431        }
432        if self.request_streaming != false {
433            my_size += 1 + 1;
434        }
435        if !self.response_type_url.is_empty() {
436            my_size += crate::rt::string_size(4, &self.response_type_url);
437        }
438        if self.response_streaming != false {
439            my_size += 1 + 1;
440        }
441        for value in &self.options {
442            let len = value.compute_size();
443            my_size += 1 + crate::rt::compute_raw_varint64_size(len) + len;
444        };
445        if self.syntax != crate::EnumOrUnknown::new(crate::well_known_types::type_::Syntax::SYNTAX_PROTO2) {
446            my_size += crate::rt::int32_size(7, self.syntax.value());
447        }
448        my_size += crate::rt::unknown_fields_size(self.special_fields.unknown_fields());
449        self.special_fields.cached_size().set(my_size as u32);
450        my_size
451    }
452
453    fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::Result<()> {
454        if !self.name.is_empty() {
455            os.write_string(1, &self.name)?;
456        }
457        if !self.request_type_url.is_empty() {
458            os.write_string(2, &self.request_type_url)?;
459        }
460        if self.request_streaming != false {
461            os.write_bool(3, self.request_streaming)?;
462        }
463        if !self.response_type_url.is_empty() {
464            os.write_string(4, &self.response_type_url)?;
465        }
466        if self.response_streaming != false {
467            os.write_bool(5, self.response_streaming)?;
468        }
469        for v in &self.options {
470            crate::rt::write_message_field_with_cached_size(6, v, os)?;
471        };
472        if self.syntax != crate::EnumOrUnknown::new(crate::well_known_types::type_::Syntax::SYNTAX_PROTO2) {
473            os.write_enum(7, crate::EnumOrUnknown::value(&self.syntax))?;
474        }
475        os.write_unknown_fields(self.special_fields.unknown_fields())?;
476        ::std::result::Result::Ok(())
477    }
478
479    fn special_fields(&self) -> &crate::SpecialFields {
480        &self.special_fields
481    }
482
483    fn mut_special_fields(&mut self) -> &mut crate::SpecialFields {
484        &mut self.special_fields
485    }
486
487    fn new() -> Method {
488        Method::new()
489    }
490
491    fn clear(&mut self) {
492        self.name.clear();
493        self.request_type_url.clear();
494        self.request_streaming = false;
495        self.response_type_url.clear();
496        self.response_streaming = false;
497        self.options.clear();
498        self.syntax = crate::EnumOrUnknown::new(crate::well_known_types::type_::Syntax::SYNTAX_PROTO2);
499        self.special_fields.clear();
500    }
501
502    fn default_instance() -> &'static Method {
503        static instance: Method = Method {
504            name: ::std::string::String::new(),
505            request_type_url: ::std::string::String::new(),
506            request_streaming: false,
507            response_type_url: ::std::string::String::new(),
508            response_streaming: false,
509            options: ::std::vec::Vec::new(),
510            syntax: crate::EnumOrUnknown::from_i32(0),
511            special_fields: crate::SpecialFields::new(),
512        };
513        &instance
514    }
515}
516
517impl crate::MessageFull for Method {
518    fn descriptor() -> crate::reflect::MessageDescriptor {
519        static descriptor: crate::rt::Lazy<crate::reflect::MessageDescriptor> = crate::rt::Lazy::new();
520        descriptor.get(|| file_descriptor().message_by_package_relative_name("Method").unwrap()).clone()
521    }
522}
523
524impl ::std::fmt::Display for Method {
525    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
526        crate::text_format::fmt(self, f)
527    }
528}
529
530impl crate::reflect::ProtobufValue for Method {
531    type RuntimeType = crate::reflect::rt::RuntimeTypeMessage<Self>;
532}
533
534// @@protoc_insertion_point(message:google.protobuf.Mixin)
535#[derive(PartialEq,Clone,Default,Debug)]
536pub struct Mixin {
537    // message fields
538    ///  The fully qualified name of the interface which is included.
539    // @@protoc_insertion_point(field:google.protobuf.Mixin.name)
540    pub name: ::std::string::String,
541    ///  If non-empty specifies a path under which inherited HTTP paths
542    ///  are rooted.
543    // @@protoc_insertion_point(field:google.protobuf.Mixin.root)
544    pub root: ::std::string::String,
545    // special fields
546    // @@protoc_insertion_point(special_field:google.protobuf.Mixin.special_fields)
547    pub special_fields: crate::SpecialFields,
548}
549
550impl<'a> ::std::default::Default for &'a Mixin {
551    fn default() -> &'a Mixin {
552        <Mixin as crate::Message>::default_instance()
553    }
554}
555
556impl Mixin {
557    pub fn new() -> Mixin {
558        ::std::default::Default::default()
559    }
560
561    fn generated_message_descriptor_data() -> crate::reflect::GeneratedMessageDescriptorData {
562        let mut fields = ::std::vec::Vec::with_capacity(2);
563        let mut oneofs = ::std::vec::Vec::with_capacity(0);
564        fields.push(crate::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
565            "name",
566            |m: &Mixin| { &m.name },
567            |m: &mut Mixin| { &mut m.name },
568        ));
569        fields.push(crate::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
570            "root",
571            |m: &Mixin| { &m.root },
572            |m: &mut Mixin| { &mut m.root },
573        ));
574        crate::reflect::GeneratedMessageDescriptorData::new_2::<Mixin>(
575            "Mixin",
576            fields,
577            oneofs,
578        )
579    }
580}
581
582impl crate::Message for Mixin {
583    const NAME: &'static str = "Mixin";
584
585    fn is_initialized(&self) -> bool {
586        true
587    }
588
589    fn merge_from(&mut self, is: &mut crate::CodedInputStream<'_>) -> crate::Result<()> {
590        while let Some(tag) = is.read_raw_tag_or_eof()? {
591            match tag {
592                10 => {
593                    self.name = is.read_string()?;
594                },
595                18 => {
596                    self.root = is.read_string()?;
597                },
598                tag => {
599                    crate::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
600                },
601            };
602        }
603        ::std::result::Result::Ok(())
604    }
605
606    // Compute sizes of nested messages
607    #[allow(unused_variables)]
608    fn compute_size(&self) -> u64 {
609        let mut my_size = 0;
610        if !self.name.is_empty() {
611            my_size += crate::rt::string_size(1, &self.name);
612        }
613        if !self.root.is_empty() {
614            my_size += crate::rt::string_size(2, &self.root);
615        }
616        my_size += crate::rt::unknown_fields_size(self.special_fields.unknown_fields());
617        self.special_fields.cached_size().set(my_size as u32);
618        my_size
619    }
620
621    fn write_to_with_cached_sizes(&self, os: &mut crate::CodedOutputStream<'_>) -> crate::Result<()> {
622        if !self.name.is_empty() {
623            os.write_string(1, &self.name)?;
624        }
625        if !self.root.is_empty() {
626            os.write_string(2, &self.root)?;
627        }
628        os.write_unknown_fields(self.special_fields.unknown_fields())?;
629        ::std::result::Result::Ok(())
630    }
631
632    fn special_fields(&self) -> &crate::SpecialFields {
633        &self.special_fields
634    }
635
636    fn mut_special_fields(&mut self) -> &mut crate::SpecialFields {
637        &mut self.special_fields
638    }
639
640    fn new() -> Mixin {
641        Mixin::new()
642    }
643
644    fn clear(&mut self) {
645        self.name.clear();
646        self.root.clear();
647        self.special_fields.clear();
648    }
649
650    fn default_instance() -> &'static Mixin {
651        static instance: Mixin = Mixin {
652            name: ::std::string::String::new(),
653            root: ::std::string::String::new(),
654            special_fields: crate::SpecialFields::new(),
655        };
656        &instance
657    }
658}
659
660impl crate::MessageFull for Mixin {
661    fn descriptor() -> crate::reflect::MessageDescriptor {
662        static descriptor: crate::rt::Lazy<crate::reflect::MessageDescriptor> = crate::rt::Lazy::new();
663        descriptor.get(|| file_descriptor().message_by_package_relative_name("Mixin").unwrap()).clone()
664    }
665}
666
667impl ::std::fmt::Display for Mixin {
668    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
669        crate::text_format::fmt(self, f)
670    }
671}
672
673impl crate::reflect::ProtobufValue for Mixin {
674    type RuntimeType = crate::reflect::rt::RuntimeTypeMessage<Self>;
675}
676
677static file_descriptor_proto_data: &'static [u8] = b"\
678    \n\x19google/protobuf/api.proto\x12\x0fgoogle.protobuf\x1a$google/protob\
679    uf/source_context.proto\x1a\x1agoogle/protobuf/type.proto\"\xc1\x02\n\
680    \x03Api\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\x121\n\x07methods\
681    \x18\x02\x20\x03(\x0b2\x17.google.protobuf.MethodR\x07methods\x121\n\x07\
682    options\x18\x03\x20\x03(\x0b2\x17.google.protobuf.OptionR\x07options\x12\
683    \x18\n\x07version\x18\x04\x20\x01(\tR\x07version\x12E\n\x0esource_contex\
684    t\x18\x05\x20\x01(\x0b2\x1e.google.protobuf.SourceContextR\rsourceContex\
685    t\x12.\n\x06mixins\x18\x06\x20\x03(\x0b2\x16.google.protobuf.MixinR\x06m\
686    ixins\x12/\n\x06syntax\x18\x07\x20\x01(\x0e2\x17.google.protobuf.SyntaxR\
687    \x06syntax\"\xb2\x02\n\x06Method\x12\x12\n\x04name\x18\x01\x20\x01(\tR\
688    \x04name\x12(\n\x10request_type_url\x18\x02\x20\x01(\tR\x0erequestTypeUr\
689    l\x12+\n\x11request_streaming\x18\x03\x20\x01(\x08R\x10requestStreaming\
690    \x12*\n\x11response_type_url\x18\x04\x20\x01(\tR\x0fresponseTypeUrl\x12-\
691    \n\x12response_streaming\x18\x05\x20\x01(\x08R\x11responseStreaming\x121\
692    \n\x07options\x18\x06\x20\x03(\x0b2\x17.google.protobuf.OptionR\x07optio\
693    ns\x12/\n\x06syntax\x18\x07\x20\x01(\x0e2\x17.google.protobuf.SyntaxR\
694    \x06syntax\"/\n\x05Mixin\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\
695    \x12\x12\n\x04root\x18\x02\x20\x01(\tR\x04rootBv\n\x13com.google.protobu\
696    fB\x08ApiProtoP\x01Z,google.golang.org/protobuf/types/known/apipb\xa2\
697    \x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesJ\x81<\n\x07\x12\
698    \x05\x1e\0\xcf\x01\x01\n\xcc\x0c\n\x01\x0c\x12\x03\x1e\0\x122\xc1\x0c\
699    \x20Protocol\x20Buffers\x20-\x20Google's\x20data\x20interchange\x20forma\
700    t\n\x20Copyright\x202008\x20Google\x20Inc.\x20\x20All\x20rights\x20reser\
701    ved.\n\x20https://developers.google.com/protocol-buffers/\n\n\x20Redistr\
702    ibution\x20and\x20use\x20in\x20source\x20and\x20binary\x20forms,\x20with\
703    \x20or\x20without\n\x20modification,\x20are\x20permitted\x20provided\x20\
704    that\x20the\x20following\x20conditions\x20are\n\x20met:\n\n\x20\x20\x20\
705    \x20\x20*\x20Redistributions\x20of\x20source\x20code\x20must\x20retain\
706    \x20the\x20above\x20copyright\n\x20notice,\x20this\x20list\x20of\x20cond\
707    itions\x20and\x20the\x20following\x20disclaimer.\n\x20\x20\x20\x20\x20*\
708    \x20Redistributions\x20in\x20binary\x20form\x20must\x20reproduce\x20the\
709    \x20above\n\x20copyright\x20notice,\x20this\x20list\x20of\x20conditions\
710    \x20and\x20the\x20following\x20disclaimer\n\x20in\x20the\x20documentatio\
711    n\x20and/or\x20other\x20materials\x20provided\x20with\x20the\n\x20distri\
712    bution.\n\x20\x20\x20\x20\x20*\x20Neither\x20the\x20name\x20of\x20Google\
713    \x20Inc.\x20nor\x20the\x20names\x20of\x20its\n\x20contributors\x20may\
714    \x20be\x20used\x20to\x20endorse\x20or\x20promote\x20products\x20derived\
715    \x20from\n\x20this\x20software\x20without\x20specific\x20prior\x20writte\
716    n\x20permission.\n\n\x20THIS\x20SOFTWARE\x20IS\x20PROVIDED\x20BY\x20THE\
717    \x20COPYRIGHT\x20HOLDERS\x20AND\x20CONTRIBUTORS\n\x20\"AS\x20IS\"\x20AND\
718    \x20ANY\x20EXPRESS\x20OR\x20IMPLIED\x20WARRANTIES,\x20INCLUDING,\x20BUT\
719    \x20NOT\n\x20LIMITED\x20TO,\x20THE\x20IMPLIED\x20WARRANTIES\x20OF\x20MER\
720    CHANTABILITY\x20AND\x20FITNESS\x20FOR\n\x20A\x20PARTICULAR\x20PURPOSE\
721    \x20ARE\x20DISCLAIMED.\x20IN\x20NO\x20EVENT\x20SHALL\x20THE\x20COPYRIGHT\
722    \n\x20OWNER\x20OR\x20CONTRIBUTORS\x20BE\x20LIABLE\x20FOR\x20ANY\x20DIREC\
723    T,\x20INDIRECT,\x20INCIDENTAL,\n\x20SPECIAL,\x20EXEMPLARY,\x20OR\x20CONS\
724    EQUENTIAL\x20DAMAGES\x20(INCLUDING,\x20BUT\x20NOT\n\x20LIMITED\x20TO,\
725    \x20PROCUREMENT\x20OF\x20SUBSTITUTE\x20GOODS\x20OR\x20SERVICES;\x20LOSS\
726    \x20OF\x20USE,\n\x20DATA,\x20OR\x20PROFITS;\x20OR\x20BUSINESS\x20INTERRU\
727    PTION)\x20HOWEVER\x20CAUSED\x20AND\x20ON\x20ANY\n\x20THEORY\x20OF\x20LIA\
728    BILITY,\x20WHETHER\x20IN\x20CONTRACT,\x20STRICT\x20LIABILITY,\x20OR\x20T\
729    ORT\n\x20(INCLUDING\x20NEGLIGENCE\x20OR\x20OTHERWISE)\x20ARISING\x20IN\
730    \x20ANY\x20WAY\x20OUT\x20OF\x20THE\x20USE\n\x20OF\x20THIS\x20SOFTWARE,\
731    \x20EVEN\x20IF\x20ADVISED\x20OF\x20THE\x20POSSIBILITY\x20OF\x20SUCH\x20D\
732    AMAGE.\n\n\x08\n\x01\x02\x12\x03\x20\0\x18\n\t\n\x02\x03\0\x12\x03\"\0.\
733    \n\t\n\x02\x03\x01\x12\x03#\0$\n\x08\n\x01\x08\x12\x03%\0;\n\t\n\x02\x08\
734    %\x12\x03%\0;\n\x08\n\x01\x08\x12\x03&\0,\n\t\n\x02\x08\x01\x12\x03&\0,\
735    \n\x08\n\x01\x08\x12\x03'\0)\n\t\n\x02\x08\x08\x12\x03'\0)\n\x08\n\x01\
736    \x08\x12\x03(\0\"\n\t\n\x02\x08\n\x12\x03(\0\"\n\x08\n\x01\x08\x12\x03)\
737    \0!\n\t\n\x02\x08$\x12\x03)\0!\n\x08\n\x01\x08\x12\x03*\0C\n\t\n\x02\x08\
738    \x0b\x12\x03*\0C\n\xab\x04\n\x02\x04\0\x12\x045\0`\x01\x1a\x9e\x04\x20Ap\
739    i\x20is\x20a\x20light-weight\x20descriptor\x20for\x20an\x20API\x20Interf\
740    ace.\n\n\x20Interfaces\x20are\x20also\x20described\x20as\x20\"protocol\
741    \x20buffer\x20services\"\x20in\x20some\x20contexts,\n\x20such\x20as\x20b\
742    y\x20the\x20\"service\"\x20keyword\x20in\x20a\x20.proto\x20file,\x20but\
743    \x20they\x20are\x20different\n\x20from\x20API\x20Services,\x20which\x20r\
744    epresent\x20a\x20concrete\x20implementation\x20of\x20an\x20interface\n\
745    \x20as\x20opposed\x20to\x20simply\x20a\x20description\x20of\x20methods\
746    \x20and\x20bindings.\x20They\x20are\x20also\n\x20sometimes\x20simply\x20\
747    referred\x20to\x20as\x20\"APIs\"\x20in\x20other\x20contexts,\x20such\x20\
748    as\x20the\x20name\x20of\n\x20this\x20message\x20itself.\x20See\x20https:\
749    //cloud.google.com/apis/design/glossary\x20for\n\x20detailed\x20terminol\
750    ogy.\n\n\n\n\x03\x04\0\x01\x12\x035\x08\x0b\n{\n\x04\x04\0\x02\0\x12\x03\
751    8\x02\x12\x1an\x20The\x20fully\x20qualified\x20name\x20of\x20this\x20int\
752    erface,\x20including\x20package\x20name\n\x20followed\x20by\x20the\x20in\
753    terface's\x20simple\x20name.\n\n\x0c\n\x05\x04\0\x02\0\x05\x12\x038\x02\
754    \x08\n\x0c\n\x05\x04\0\x02\0\x01\x12\x038\t\r\n\x0c\n\x05\x04\0\x02\0\
755    \x03\x12\x038\x10\x11\nC\n\x04\x04\0\x02\x01\x12\x03;\x02\x1e\x1a6\x20Th\
756    e\x20methods\x20of\x20this\x20interface,\x20in\x20unspecified\x20order.\
757    \n\n\x0c\n\x05\x04\0\x02\x01\x04\x12\x03;\x02\n\n\x0c\n\x05\x04\0\x02\
758    \x01\x06\x12\x03;\x0b\x11\n\x0c\n\x05\x04\0\x02\x01\x01\x12\x03;\x12\x19\
759    \n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03;\x1c\x1d\n6\n\x04\x04\0\x02\x02\
760    \x12\x03>\x02\x1e\x1a)\x20Any\x20metadata\x20attached\x20to\x20the\x20in\
761    terface.\n\n\x0c\n\x05\x04\0\x02\x02\x04\x12\x03>\x02\n\n\x0c\n\x05\x04\
762    \0\x02\x02\x06\x12\x03>\x0b\x11\n\x0c\n\x05\x04\0\x02\x02\x01\x12\x03>\
763    \x12\x19\n\x0c\n\x05\x04\0\x02\x02\x03\x12\x03>\x1c\x1d\n\x82\x08\n\x04\
764    \x04\0\x02\x03\x12\x03U\x02\x15\x1a\xf4\x07\x20A\x20version\x20string\
765    \x20for\x20this\x20interface.\x20If\x20specified,\x20must\x20have\x20the\
766    \x20form\n\x20`major-version.minor-version`,\x20as\x20in\x20`1.10`.\x20I\
767    f\x20the\x20minor\x20version\x20is\n\x20omitted,\x20it\x20defaults\x20to\
768    \x20zero.\x20If\x20the\x20entire\x20version\x20field\x20is\x20empty,\x20\
769    the\n\x20major\x20version\x20is\x20derived\x20from\x20the\x20package\x20\
770    name,\x20as\x20outlined\x20below.\x20If\x20the\n\x20field\x20is\x20not\
771    \x20empty,\x20the\x20version\x20in\x20the\x20package\x20name\x20will\x20\
772    be\x20verified\x20to\x20be\n\x20consistent\x20with\x20what\x20is\x20prov\
773    ided\x20here.\n\n\x20The\x20versioning\x20schema\x20uses\x20[semantic\n\
774    \x20versioning](http://semver.org)\x20where\x20the\x20major\x20version\
775    \x20number\n\x20indicates\x20a\x20breaking\x20change\x20and\x20the\x20mi\
776    nor\x20version\x20an\x20additive,\n\x20non-breaking\x20change.\x20Both\
777    \x20version\x20numbers\x20are\x20signals\x20to\x20users\n\x20what\x20to\
778    \x20expect\x20from\x20different\x20versions,\x20and\x20should\x20be\x20c\
779    arefully\n\x20chosen\x20based\x20on\x20the\x20product\x20plan.\n\n\x20Th\
780    e\x20major\x20version\x20is\x20also\x20reflected\x20in\x20the\x20package\
781    \x20name\x20of\x20the\n\x20interface,\x20which\x20must\x20end\x20in\x20`\
782    v<major-version>`,\x20as\x20in\n\x20`google.feature.v1`.\x20For\x20major\
783    \x20versions\x200\x20and\x201,\x20the\x20suffix\x20can\n\x20be\x20omitte\
784    d.\x20Zero\x20major\x20versions\x20must\x20only\x20be\x20used\x20for\n\
785    \x20experimental,\x20non-GA\x20interfaces.\n\n\n\n\x0c\n\x05\x04\0\x02\
786    \x03\x05\x12\x03U\x02\x08\n\x0c\n\x05\x04\0\x02\x03\x01\x12\x03U\t\x10\n\
787    \x0c\n\x05\x04\0\x02\x03\x03\x12\x03U\x13\x14\n[\n\x04\x04\0\x02\x04\x12\
788    \x03Y\x02#\x1aN\x20Source\x20context\x20for\x20the\x20protocol\x20buffer\
789    \x20service\x20represented\x20by\x20this\n\x20message.\n\n\x0c\n\x05\x04\
790    \0\x02\x04\x06\x12\x03Y\x02\x0f\n\x0c\n\x05\x04\0\x02\x04\x01\x12\x03Y\
791    \x10\x1e\n\x0c\n\x05\x04\0\x02\x04\x03\x12\x03Y!\"\n2\n\x04\x04\0\x02\
792    \x05\x12\x03\\\x02\x1c\x1a%\x20Included\x20interfaces.\x20See\x20[Mixin]\
793    [].\n\n\x0c\n\x05\x04\0\x02\x05\x04\x12\x03\\\x02\n\n\x0c\n\x05\x04\0\
794    \x02\x05\x06\x12\x03\\\x0b\x10\n\x0c\n\x05\x04\0\x02\x05\x01\x12\x03\\\
795    \x11\x17\n\x0c\n\x05\x04\0\x02\x05\x03\x12\x03\\\x1a\x1b\n0\n\x04\x04\0\
796    \x02\x06\x12\x03_\x02\x14\x1a#\x20The\x20source\x20syntax\x20of\x20the\
797    \x20service.\n\n\x0c\n\x05\x04\0\x02\x06\x06\x12\x03_\x02\x08\n\x0c\n\
798    \x05\x04\0\x02\x06\x01\x12\x03_\t\x0f\n\x0c\n\x05\x04\0\x02\x06\x03\x12\
799    \x03_\x12\x13\n=\n\x02\x04\x01\x12\x04c\0x\x01\x1a1\x20Method\x20represe\
800    nts\x20a\x20method\x20of\x20an\x20API\x20interface.\n\n\n\n\x03\x04\x01\
801    \x01\x12\x03c\x08\x0e\n.\n\x04\x04\x01\x02\0\x12\x03e\x02\x12\x1a!\x20Th\
802    e\x20simple\x20name\x20of\x20this\x20method.\n\n\x0c\n\x05\x04\x01\x02\0\
803    \x05\x12\x03e\x02\x08\n\x0c\n\x05\x04\x01\x02\0\x01\x12\x03e\t\r\n\x0c\n\
804    \x05\x04\x01\x02\0\x03\x12\x03e\x10\x11\n/\n\x04\x04\x01\x02\x01\x12\x03\
805    h\x02\x1e\x1a\"\x20A\x20URL\x20of\x20the\x20input\x20message\x20type.\n\
806    \n\x0c\n\x05\x04\x01\x02\x01\x05\x12\x03h\x02\x08\n\x0c\n\x05\x04\x01\
807    \x02\x01\x01\x12\x03h\t\x19\n\x0c\n\x05\x04\x01\x02\x01\x03\x12\x03h\x1c\
808    \x1d\n0\n\x04\x04\x01\x02\x02\x12\x03k\x02\x1d\x1a#\x20If\x20true,\x20th\
809    e\x20request\x20is\x20streamed.\n\n\x0c\n\x05\x04\x01\x02\x02\x05\x12\
810    \x03k\x02\x06\n\x0c\n\x05\x04\x01\x02\x02\x01\x12\x03k\x07\x18\n\x0c\n\
811    \x05\x04\x01\x02\x02\x03\x12\x03k\x1b\x1c\n2\n\x04\x04\x01\x02\x03\x12\
812    \x03n\x02\x1f\x1a%\x20The\x20URL\x20of\x20the\x20output\x20message\x20ty\
813    pe.\n\n\x0c\n\x05\x04\x01\x02\x03\x05\x12\x03n\x02\x08\n\x0c\n\x05\x04\
814    \x01\x02\x03\x01\x12\x03n\t\x1a\n\x0c\n\x05\x04\x01\x02\x03\x03\x12\x03n\
815    \x1d\x1e\n1\n\x04\x04\x01\x02\x04\x12\x03q\x02\x1e\x1a$\x20If\x20true,\
816    \x20the\x20response\x20is\x20streamed.\n\n\x0c\n\x05\x04\x01\x02\x04\x05\
817    \x12\x03q\x02\x06\n\x0c\n\x05\x04\x01\x02\x04\x01\x12\x03q\x07\x19\n\x0c\
818    \n\x05\x04\x01\x02\x04\x03\x12\x03q\x1c\x1d\n3\n\x04\x04\x01\x02\x05\x12\
819    \x03t\x02\x1e\x1a&\x20Any\x20metadata\x20attached\x20to\x20the\x20method\
820    .\n\n\x0c\n\x05\x04\x01\x02\x05\x04\x12\x03t\x02\n\n\x0c\n\x05\x04\x01\
821    \x02\x05\x06\x12\x03t\x0b\x11\n\x0c\n\x05\x04\x01\x02\x05\x01\x12\x03t\
822    \x12\x19\n\x0c\n\x05\x04\x01\x02\x05\x03\x12\x03t\x1c\x1d\n0\n\x04\x04\
823    \x01\x02\x06\x12\x03w\x02\x14\x1a#\x20The\x20source\x20syntax\x20of\x20t\
824    his\x20method.\n\n\x0c\n\x05\x04\x01\x02\x06\x06\x12\x03w\x02\x08\n\x0c\
825    \n\x05\x04\x01\x02\x06\x01\x12\x03w\t\x0f\n\x0c\n\x05\x04\x01\x02\x06\
826    \x03\x12\x03w\x12\x13\n\xca\x13\n\x02\x04\x02\x12\x06\xc8\x01\0\xcf\x01\
827    \x01\x1a\xbb\x13\x20Declares\x20an\x20API\x20Interface\x20to\x20be\x20in\
828    cluded\x20in\x20this\x20interface.\x20The\x20including\n\x20interface\
829    \x20must\x20redeclare\x20all\x20the\x20methods\x20from\x20the\x20include\
830    d\x20interface,\x20but\n\x20documentation\x20and\x20options\x20are\x20in\
831    herited\x20as\x20follows:\n\n\x20-\x20If\x20after\x20comment\x20and\x20w\
832    hitespace\x20stripping,\x20the\x20documentation\n\x20\x20\x20string\x20o\
833    f\x20the\x20redeclared\x20method\x20is\x20empty,\x20it\x20will\x20be\x20\
834    inherited\n\x20\x20\x20from\x20the\x20original\x20method.\n\n\x20-\x20Ea\
835    ch\x20annotation\x20belonging\x20to\x20the\x20service\x20config\x20(http\
836    ,\n\x20\x20\x20visibility)\x20which\x20is\x20not\x20set\x20in\x20the\x20\
837    redeclared\x20method\x20will\x20be\n\x20\x20\x20inherited.\n\n\x20-\x20I\
838    f\x20an\x20http\x20annotation\x20is\x20inherited,\x20the\x20path\x20patt\
839    ern\x20will\x20be\n\x20\x20\x20modified\x20as\x20follows.\x20Any\x20vers\
840    ion\x20prefix\x20will\x20be\x20replaced\x20by\x20the\n\x20\x20\x20versio\
841    n\x20of\x20the\x20including\x20interface\x20plus\x20the\x20[root][]\x20p\
842    ath\x20if\n\x20\x20\x20specified.\n\n\x20Example\x20of\x20a\x20simple\
843    \x20mixin:\n\n\x20\x20\x20\x20\x20package\x20google.acl.v1;\n\x20\x20\
844    \x20\x20\x20service\x20AccessControl\x20{\n\x20\x20\x20\x20\x20\x20\x20/\
845    /\x20Get\x20the\x20underlying\x20ACL\x20object.\n\x20\x20\x20\x20\x20\
846    \x20\x20rpc\x20GetAcl(GetAclRequest)\x20returns\x20(Acl)\x20{\n\x20\x20\
847    \x20\x20\x20\x20\x20\x20\x20option\x20(google.api.http).get\x20=\x20\"/v\
848    1/{resource=**}:getAcl\";\n\x20\x20\x20\x20\x20\x20\x20}\n\x20\x20\x20\
849    \x20\x20}\n\n\x20\x20\x20\x20\x20package\x20google.storage.v2;\n\x20\x20\
850    \x20\x20\x20service\x20Storage\x20{\n\x20\x20\x20\x20\x20\x20\x20rpc\x20\
851    GetAcl(GetAclRequest)\x20returns\x20(Acl);\n\n\x20\x20\x20\x20\x20\x20\
852    \x20//\x20Get\x20a\x20data\x20record.\n\x20\x20\x20\x20\x20\x20\x20rpc\
853    \x20GetData(GetDataRequest)\x20returns\x20(Data)\x20{\n\x20\x20\x20\x20\
854    \x20\x20\x20\x20\x20option\x20(google.api.http).get\x20=\x20\"/v2/{resou\
855    rce=**}\";\n\x20\x20\x20\x20\x20\x20\x20}\n\x20\x20\x20\x20\x20}\n\n\x20\
856    Example\x20of\x20a\x20mixin\x20configuration:\n\n\x20\x20\x20\x20\x20api\
857    s:\n\x20\x20\x20\x20\x20-\x20name:\x20google.storage.v2.Storage\n\x20\
858    \x20\x20\x20\x20\x20\x20mixins:\n\x20\x20\x20\x20\x20\x20\x20-\x20name:\
859    \x20google.acl.v1.AccessControl\n\n\x20The\x20mixin\x20construct\x20impl\
860    ies\x20that\x20all\x20methods\x20in\x20`AccessControl`\x20are\n\x20also\
861    \x20declared\x20with\x20same\x20name\x20and\x20request/response\x20types\
862    \x20in\n\x20`Storage`.\x20A\x20documentation\x20generator\x20or\x20annot\
863    ation\x20processor\x20will\n\x20see\x20the\x20effective\x20`Storage.GetA\
864    cl`\x20method\x20after\x20inheriting\n\x20documentation\x20and\x20annota\
865    tions\x20as\x20follows:\n\n\x20\x20\x20\x20\x20service\x20Storage\x20{\n\
866    \x20\x20\x20\x20\x20\x20\x20//\x20Get\x20the\x20underlying\x20ACL\x20obj\
867    ect.\n\x20\x20\x20\x20\x20\x20\x20rpc\x20GetAcl(GetAclRequest)\x20return\
868    s\x20(Acl)\x20{\n\x20\x20\x20\x20\x20\x20\x20\x20\x20option\x20(google.a\
869    pi.http).get\x20=\x20\"/v2/{resource=**}:getAcl\";\n\x20\x20\x20\x20\x20\
870    \x20\x20}\n\x20\x20\x20\x20\x20\x20\x20...\n\x20\x20\x20\x20\x20}\n\n\
871    \x20Note\x20how\x20the\x20version\x20in\x20the\x20path\x20pattern\x20cha\
872    nged\x20from\x20`v1`\x20to\x20`v2`.\n\n\x20If\x20the\x20`root`\x20field\
873    \x20in\x20the\x20mixin\x20is\x20specified,\x20it\x20should\x20be\x20a\n\
874    \x20relative\x20path\x20under\x20which\x20inherited\x20HTTP\x20paths\x20\
875    are\x20placed.\x20Example:\n\n\x20\x20\x20\x20\x20apis:\n\x20\x20\x20\
876    \x20\x20-\x20name:\x20google.storage.v2.Storage\n\x20\x20\x20\x20\x20\
877    \x20\x20mixins:\n\x20\x20\x20\x20\x20\x20\x20-\x20name:\x20google.acl.v1\
878    .AccessControl\n\x20\x20\x20\x20\x20\x20\x20\x20\x20root:\x20acls\n\n\
879    \x20This\x20implies\x20the\x20following\x20inherited\x20HTTP\x20annotati\
880    on:\n\n\x20\x20\x20\x20\x20service\x20Storage\x20{\n\x20\x20\x20\x20\x20\
881    \x20\x20//\x20Get\x20the\x20underlying\x20ACL\x20object.\n\x20\x20\x20\
882    \x20\x20\x20\x20rpc\x20GetAcl(GetAclRequest)\x20returns\x20(Acl)\x20{\n\
883    \x20\x20\x20\x20\x20\x20\x20\x20\x20option\x20(google.api.http).get\x20=\
884    \x20\"/v2/acls/{resource=**}:getAcl\";\n\x20\x20\x20\x20\x20\x20\x20}\n\
885    \x20\x20\x20\x20\x20\x20\x20...\n\x20\x20\x20\x20\x20}\n\n\x0b\n\x03\x04\
886    \x02\x01\x12\x04\xc8\x01\x08\r\nL\n\x04\x04\x02\x02\0\x12\x04\xca\x01\
887    \x02\x12\x1a>\x20The\x20fully\x20qualified\x20name\x20of\x20the\x20inter\
888    face\x20which\x20is\x20included.\n\n\r\n\x05\x04\x02\x02\0\x05\x12\x04\
889    \xca\x01\x02\x08\n\r\n\x05\x04\x02\x02\0\x01\x12\x04\xca\x01\t\r\n\r\n\
890    \x05\x04\x02\x02\0\x03\x12\x04\xca\x01\x10\x11\n[\n\x04\x04\x02\x02\x01\
891    \x12\x04\xce\x01\x02\x12\x1aM\x20If\x20non-empty\x20specifies\x20a\x20pa\
892    th\x20under\x20which\x20inherited\x20HTTP\x20paths\n\x20are\x20rooted.\n\
893    \n\r\n\x05\x04\x02\x02\x01\x05\x12\x04\xce\x01\x02\x08\n\r\n\x05\x04\x02\
894    \x02\x01\x01\x12\x04\xce\x01\t\r\n\r\n\x05\x04\x02\x02\x01\x03\x12\x04\
895    \xce\x01\x10\x11b\x06proto3\
896";
897
898/// `FileDescriptorProto` object which was a source for this generated file
899fn file_descriptor_proto() -> &'static crate::descriptor::FileDescriptorProto {
900    static file_descriptor_proto_lazy: crate::rt::Lazy<crate::descriptor::FileDescriptorProto> = crate::rt::Lazy::new();
901    file_descriptor_proto_lazy.get(|| {
902        crate::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
903    })
904}
905
906/// `FileDescriptor` object which allows dynamic access to files
907pub fn file_descriptor() -> &'static crate::reflect::FileDescriptor {
908    static generated_file_descriptor_lazy: crate::rt::Lazy<crate::reflect::GeneratedFileDescriptor> = crate::rt::Lazy::new();
909    static file_descriptor: crate::rt::Lazy<crate::reflect::FileDescriptor> = crate::rt::Lazy::new();
910    file_descriptor.get(|| {
911        let generated_file_descriptor = generated_file_descriptor_lazy.get(|| {
912            let mut deps = ::std::vec::Vec::with_capacity(2);
913            deps.push(crate::well_known_types::source_context::file_descriptor().clone());
914            deps.push(crate::well_known_types::type_::file_descriptor().clone());
915            let mut messages = ::std::vec::Vec::with_capacity(3);
916            messages.push(Api::generated_message_descriptor_data());
917            messages.push(Method::generated_message_descriptor_data());
918            messages.push(Mixin::generated_message_descriptor_data());
919            let mut enums = ::std::vec::Vec::with_capacity(0);
920            crate::reflect::GeneratedFileDescriptor::new_generated(
921                file_descriptor_proto(),
922                deps,
923                messages,
924                enums,
925            )
926        });
927        crate::reflect::FileDescriptor::new_generated_2(generated_file_descriptor)
928    })
929}