#![allow(unknown_lints)]
#![allow(clippy::all)]
#![allow(unused_attributes)]
#![cfg_attr(rustfmt, rustfmt::skip)]
#![allow(box_pointers)]
#![allow(dead_code)]
#![allow(missing_docs)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(non_upper_case_globals)]
#![allow(trivial_casts)]
#![allow(unused_imports)]
#![allow(unused_results)]
#[derive(PartialEq,Clone,Default)]
pub struct RetryInfo {
pub retry_delay: ::protobuf::SingularPtrField<::protobuf::well_known_types::Duration>,
pub unknown_fields: ::protobuf::UnknownFields,
pub cached_size: ::protobuf::CachedSize,
}
impl<'a> ::std::default::Default for &'a RetryInfo {
fn default() -> &'a RetryInfo {
<RetryInfo as ::protobuf::Message>::default_instance()
}
}
impl RetryInfo {
pub fn new() -> RetryInfo {
::std::default::Default::default()
}
pub fn get_retry_delay(&self) -> &::protobuf::well_known_types::Duration {
self.retry_delay.as_ref().unwrap_or_else(|| <::protobuf::well_known_types::Duration as ::protobuf::Message>::default_instance())
}
pub fn clear_retry_delay(&mut self) {
self.retry_delay.clear();
}
pub fn has_retry_delay(&self) -> bool {
self.retry_delay.is_some()
}
pub fn set_retry_delay(&mut self, v: ::protobuf::well_known_types::Duration) {
self.retry_delay = ::protobuf::SingularPtrField::some(v);
}
pub fn mut_retry_delay(&mut self) -> &mut ::protobuf::well_known_types::Duration {
if self.retry_delay.is_none() {
self.retry_delay.set_default();
}
self.retry_delay.as_mut().unwrap()
}
pub fn take_retry_delay(&mut self) -> ::protobuf::well_known_types::Duration {
self.retry_delay.take().unwrap_or_else(|| ::protobuf::well_known_types::Duration::new())
}
}
impl ::protobuf::Message for RetryInfo {
fn is_initialized(&self) -> bool {
for v in &self.retry_delay {
if !v.is_initialized() {
return false;
}
};
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
while !is.eof()? {
let (field_number, wire_type) = is.read_tag_unpack()?;
match field_number {
1 => {
::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.retry_delay)?;
},
_ => {
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u32 {
let mut my_size = 0;
if let Some(ref v) = self.retry_delay.as_ref() {
let len = v.compute_size();
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
}
my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
self.cached_size.set(my_size);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
if let Some(ref v) = self.retry_delay.as_ref() {
os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
os.write_raw_varint32(v.get_cached_size())?;
v.write_to_with_cached_sizes(os)?;
}
os.write_unknown_fields(self.get_unknown_fields())?;
::std::result::Result::Ok(())
}
fn get_cached_size(&self) -> u32 {
self.cached_size.get()
}
fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
&self.unknown_fields
}
fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
&mut self.unknown_fields
}
fn as_any(&self) -> &dyn (::std::any::Any) {
self as &dyn (::std::any::Any)
}
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut dyn (::std::any::Any)
}
fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self
}
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
Self::descriptor_static()
}
fn new() -> RetryInfo {
RetryInfo::new()
}
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
descriptor.get(|| {
let mut fields = ::std::vec::Vec::new();
fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Duration>>(
"retry_delay",
|m: &RetryInfo| { &m.retry_delay },
|m: &mut RetryInfo| { &mut m.retry_delay },
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<RetryInfo>(
"RetryInfo",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static RetryInfo {
static instance: ::protobuf::rt::LazyV2<RetryInfo> = ::protobuf::rt::LazyV2::INIT;
instance.get(RetryInfo::new)
}
}
impl ::protobuf::Clear for RetryInfo {
fn clear(&mut self) {
self.retry_delay.clear();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for RetryInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for RetryInfo {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct DebugInfo {
pub stack_entries: ::protobuf::RepeatedField<::std::string::String>,
pub detail: ::std::string::String,
pub unknown_fields: ::protobuf::UnknownFields,
pub cached_size: ::protobuf::CachedSize,
}
impl<'a> ::std::default::Default for &'a DebugInfo {
fn default() -> &'a DebugInfo {
<DebugInfo as ::protobuf::Message>::default_instance()
}
}
impl DebugInfo {
pub fn new() -> DebugInfo {
::std::default::Default::default()
}
pub fn get_stack_entries(&self) -> &[::std::string::String] {
&self.stack_entries
}
pub fn clear_stack_entries(&mut self) {
self.stack_entries.clear();
}
pub fn set_stack_entries(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) {
self.stack_entries = v;
}
pub fn mut_stack_entries(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
&mut self.stack_entries
}
pub fn take_stack_entries(&mut self) -> ::protobuf::RepeatedField<::std::string::String> {
::std::mem::replace(&mut self.stack_entries, ::protobuf::RepeatedField::new())
}
pub fn get_detail(&self) -> &str {
&self.detail
}
pub fn clear_detail(&mut self) {
self.detail.clear();
}
pub fn set_detail(&mut self, v: ::std::string::String) {
self.detail = v;
}
pub fn mut_detail(&mut self) -> &mut ::std::string::String {
&mut self.detail
}
pub fn take_detail(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.detail, ::std::string::String::new())
}
}
impl ::protobuf::Message for DebugInfo {
fn is_initialized(&self) -> bool {
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
while !is.eof()? {
let (field_number, wire_type) = is.read_tag_unpack()?;
match field_number {
1 => {
::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.stack_entries)?;
},
2 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.detail)?;
},
_ => {
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u32 {
let mut my_size = 0;
for value in &self.stack_entries {
my_size += ::protobuf::rt::string_size(1, &value);
};
if !self.detail.is_empty() {
my_size += ::protobuf::rt::string_size(2, &self.detail);
}
my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
self.cached_size.set(my_size);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
for v in &self.stack_entries {
os.write_string(1, &v)?;
};
if !self.detail.is_empty() {
os.write_string(2, &self.detail)?;
}
os.write_unknown_fields(self.get_unknown_fields())?;
::std::result::Result::Ok(())
}
fn get_cached_size(&self) -> u32 {
self.cached_size.get()
}
fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
&self.unknown_fields
}
fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
&mut self.unknown_fields
}
fn as_any(&self) -> &dyn (::std::any::Any) {
self as &dyn (::std::any::Any)
}
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut dyn (::std::any::Any)
}
fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self
}
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
Self::descriptor_static()
}
fn new() -> DebugInfo {
DebugInfo::new()
}
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
descriptor.get(|| {
let mut fields = ::std::vec::Vec::new();
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"stack_entries",
|m: &DebugInfo| { &m.stack_entries },
|m: &mut DebugInfo| { &mut m.stack_entries },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"detail",
|m: &DebugInfo| { &m.detail },
|m: &mut DebugInfo| { &mut m.detail },
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<DebugInfo>(
"DebugInfo",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static DebugInfo {
static instance: ::protobuf::rt::LazyV2<DebugInfo> = ::protobuf::rt::LazyV2::INIT;
instance.get(DebugInfo::new)
}
}
impl ::protobuf::Clear for DebugInfo {
fn clear(&mut self) {
self.stack_entries.clear();
self.detail.clear();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for DebugInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for DebugInfo {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct QuotaFailure {
pub violations: ::protobuf::RepeatedField<QuotaFailure_Violation>,
pub unknown_fields: ::protobuf::UnknownFields,
pub cached_size: ::protobuf::CachedSize,
}
impl<'a> ::std::default::Default for &'a QuotaFailure {
fn default() -> &'a QuotaFailure {
<QuotaFailure as ::protobuf::Message>::default_instance()
}
}
impl QuotaFailure {
pub fn new() -> QuotaFailure {
::std::default::Default::default()
}
pub fn get_violations(&self) -> &[QuotaFailure_Violation] {
&self.violations
}
pub fn clear_violations(&mut self) {
self.violations.clear();
}
pub fn set_violations(&mut self, v: ::protobuf::RepeatedField<QuotaFailure_Violation>) {
self.violations = v;
}
pub fn mut_violations(&mut self) -> &mut ::protobuf::RepeatedField<QuotaFailure_Violation> {
&mut self.violations
}
pub fn take_violations(&mut self) -> ::protobuf::RepeatedField<QuotaFailure_Violation> {
::std::mem::replace(&mut self.violations, ::protobuf::RepeatedField::new())
}
}
impl ::protobuf::Message for QuotaFailure {
fn is_initialized(&self) -> bool {
for v in &self.violations {
if !v.is_initialized() {
return false;
}
};
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
while !is.eof()? {
let (field_number, wire_type) = is.read_tag_unpack()?;
match field_number {
1 => {
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.violations)?;
},
_ => {
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u32 {
let mut my_size = 0;
for value in &self.violations {
let len = value.compute_size();
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
};
my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
self.cached_size.set(my_size);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
for v in &self.violations {
os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
os.write_raw_varint32(v.get_cached_size())?;
v.write_to_with_cached_sizes(os)?;
};
os.write_unknown_fields(self.get_unknown_fields())?;
::std::result::Result::Ok(())
}
fn get_cached_size(&self) -> u32 {
self.cached_size.get()
}
fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
&self.unknown_fields
}
fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
&mut self.unknown_fields
}
fn as_any(&self) -> &dyn (::std::any::Any) {
self as &dyn (::std::any::Any)
}
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut dyn (::std::any::Any)
}
fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self
}
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
Self::descriptor_static()
}
fn new() -> QuotaFailure {
QuotaFailure::new()
}
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
descriptor.get(|| {
let mut fields = ::std::vec::Vec::new();
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<QuotaFailure_Violation>>(
"violations",
|m: &QuotaFailure| { &m.violations },
|m: &mut QuotaFailure| { &mut m.violations },
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<QuotaFailure>(
"QuotaFailure",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static QuotaFailure {
static instance: ::protobuf::rt::LazyV2<QuotaFailure> = ::protobuf::rt::LazyV2::INIT;
instance.get(QuotaFailure::new)
}
}
impl ::protobuf::Clear for QuotaFailure {
fn clear(&mut self) {
self.violations.clear();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for QuotaFailure {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for QuotaFailure {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct QuotaFailure_Violation {
pub subject: ::std::string::String,
pub description: ::std::string::String,
pub unknown_fields: ::protobuf::UnknownFields,
pub cached_size: ::protobuf::CachedSize,
}
impl<'a> ::std::default::Default for &'a QuotaFailure_Violation {
fn default() -> &'a QuotaFailure_Violation {
<QuotaFailure_Violation as ::protobuf::Message>::default_instance()
}
}
impl QuotaFailure_Violation {
pub fn new() -> QuotaFailure_Violation {
::std::default::Default::default()
}
pub fn get_subject(&self) -> &str {
&self.subject
}
pub fn clear_subject(&mut self) {
self.subject.clear();
}
pub fn set_subject(&mut self, v: ::std::string::String) {
self.subject = v;
}
pub fn mut_subject(&mut self) -> &mut ::std::string::String {
&mut self.subject
}
pub fn take_subject(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.subject, ::std::string::String::new())
}
pub fn get_description(&self) -> &str {
&self.description
}
pub fn clear_description(&mut self) {
self.description.clear();
}
pub fn set_description(&mut self, v: ::std::string::String) {
self.description = v;
}
pub fn mut_description(&mut self) -> &mut ::std::string::String {
&mut self.description
}
pub fn take_description(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.description, ::std::string::String::new())
}
}
impl ::protobuf::Message for QuotaFailure_Violation {
fn is_initialized(&self) -> bool {
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
while !is.eof()? {
let (field_number, wire_type) = is.read_tag_unpack()?;
match field_number {
1 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.subject)?;
},
2 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.description)?;
},
_ => {
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u32 {
let mut my_size = 0;
if !self.subject.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.subject);
}
if !self.description.is_empty() {
my_size += ::protobuf::rt::string_size(2, &self.description);
}
my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
self.cached_size.set(my_size);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
if !self.subject.is_empty() {
os.write_string(1, &self.subject)?;
}
if !self.description.is_empty() {
os.write_string(2, &self.description)?;
}
os.write_unknown_fields(self.get_unknown_fields())?;
::std::result::Result::Ok(())
}
fn get_cached_size(&self) -> u32 {
self.cached_size.get()
}
fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
&self.unknown_fields
}
fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
&mut self.unknown_fields
}
fn as_any(&self) -> &dyn (::std::any::Any) {
self as &dyn (::std::any::Any)
}
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut dyn (::std::any::Any)
}
fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self
}
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
Self::descriptor_static()
}
fn new() -> QuotaFailure_Violation {
QuotaFailure_Violation::new()
}
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
descriptor.get(|| {
let mut fields = ::std::vec::Vec::new();
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"subject",
|m: &QuotaFailure_Violation| { &m.subject },
|m: &mut QuotaFailure_Violation| { &mut m.subject },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"description",
|m: &QuotaFailure_Violation| { &m.description },
|m: &mut QuotaFailure_Violation| { &mut m.description },
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<QuotaFailure_Violation>(
"QuotaFailure.Violation",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static QuotaFailure_Violation {
static instance: ::protobuf::rt::LazyV2<QuotaFailure_Violation> = ::protobuf::rt::LazyV2::INIT;
instance.get(QuotaFailure_Violation::new)
}
}
impl ::protobuf::Clear for QuotaFailure_Violation {
fn clear(&mut self) {
self.subject.clear();
self.description.clear();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for QuotaFailure_Violation {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for QuotaFailure_Violation {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct PreconditionFailure {
pub violations: ::protobuf::RepeatedField<PreconditionFailure_Violation>,
pub unknown_fields: ::protobuf::UnknownFields,
pub cached_size: ::protobuf::CachedSize,
}
impl<'a> ::std::default::Default for &'a PreconditionFailure {
fn default() -> &'a PreconditionFailure {
<PreconditionFailure as ::protobuf::Message>::default_instance()
}
}
impl PreconditionFailure {
pub fn new() -> PreconditionFailure {
::std::default::Default::default()
}
pub fn get_violations(&self) -> &[PreconditionFailure_Violation] {
&self.violations
}
pub fn clear_violations(&mut self) {
self.violations.clear();
}
pub fn set_violations(&mut self, v: ::protobuf::RepeatedField<PreconditionFailure_Violation>) {
self.violations = v;
}
pub fn mut_violations(&mut self) -> &mut ::protobuf::RepeatedField<PreconditionFailure_Violation> {
&mut self.violations
}
pub fn take_violations(&mut self) -> ::protobuf::RepeatedField<PreconditionFailure_Violation> {
::std::mem::replace(&mut self.violations, ::protobuf::RepeatedField::new())
}
}
impl ::protobuf::Message for PreconditionFailure {
fn is_initialized(&self) -> bool {
for v in &self.violations {
if !v.is_initialized() {
return false;
}
};
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
while !is.eof()? {
let (field_number, wire_type) = is.read_tag_unpack()?;
match field_number {
1 => {
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.violations)?;
},
_ => {
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u32 {
let mut my_size = 0;
for value in &self.violations {
let len = value.compute_size();
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
};
my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
self.cached_size.set(my_size);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
for v in &self.violations {
os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
os.write_raw_varint32(v.get_cached_size())?;
v.write_to_with_cached_sizes(os)?;
};
os.write_unknown_fields(self.get_unknown_fields())?;
::std::result::Result::Ok(())
}
fn get_cached_size(&self) -> u32 {
self.cached_size.get()
}
fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
&self.unknown_fields
}
fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
&mut self.unknown_fields
}
fn as_any(&self) -> &dyn (::std::any::Any) {
self as &dyn (::std::any::Any)
}
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut dyn (::std::any::Any)
}
fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self
}
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
Self::descriptor_static()
}
fn new() -> PreconditionFailure {
PreconditionFailure::new()
}
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
descriptor.get(|| {
let mut fields = ::std::vec::Vec::new();
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<PreconditionFailure_Violation>>(
"violations",
|m: &PreconditionFailure| { &m.violations },
|m: &mut PreconditionFailure| { &mut m.violations },
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<PreconditionFailure>(
"PreconditionFailure",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static PreconditionFailure {
static instance: ::protobuf::rt::LazyV2<PreconditionFailure> = ::protobuf::rt::LazyV2::INIT;
instance.get(PreconditionFailure::new)
}
}
impl ::protobuf::Clear for PreconditionFailure {
fn clear(&mut self) {
self.violations.clear();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for PreconditionFailure {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for PreconditionFailure {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct PreconditionFailure_Violation {
pub field_type: ::std::string::String,
pub subject: ::std::string::String,
pub description: ::std::string::String,
pub unknown_fields: ::protobuf::UnknownFields,
pub cached_size: ::protobuf::CachedSize,
}
impl<'a> ::std::default::Default for &'a PreconditionFailure_Violation {
fn default() -> &'a PreconditionFailure_Violation {
<PreconditionFailure_Violation as ::protobuf::Message>::default_instance()
}
}
impl PreconditionFailure_Violation {
pub fn new() -> PreconditionFailure_Violation {
::std::default::Default::default()
}
pub fn get_field_type(&self) -> &str {
&self.field_type
}
pub fn clear_field_type(&mut self) {
self.field_type.clear();
}
pub fn set_field_type(&mut self, v: ::std::string::String) {
self.field_type = v;
}
pub fn mut_field_type(&mut self) -> &mut ::std::string::String {
&mut self.field_type
}
pub fn take_field_type(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.field_type, ::std::string::String::new())
}
pub fn get_subject(&self) -> &str {
&self.subject
}
pub fn clear_subject(&mut self) {
self.subject.clear();
}
pub fn set_subject(&mut self, v: ::std::string::String) {
self.subject = v;
}
pub fn mut_subject(&mut self) -> &mut ::std::string::String {
&mut self.subject
}
pub fn take_subject(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.subject, ::std::string::String::new())
}
pub fn get_description(&self) -> &str {
&self.description
}
pub fn clear_description(&mut self) {
self.description.clear();
}
pub fn set_description(&mut self, v: ::std::string::String) {
self.description = v;
}
pub fn mut_description(&mut self) -> &mut ::std::string::String {
&mut self.description
}
pub fn take_description(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.description, ::std::string::String::new())
}
}
impl ::protobuf::Message for PreconditionFailure_Violation {
fn is_initialized(&self) -> bool {
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
while !is.eof()? {
let (field_number, wire_type) = is.read_tag_unpack()?;
match field_number {
1 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.field_type)?;
},
2 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.subject)?;
},
3 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.description)?;
},
_ => {
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u32 {
let mut my_size = 0;
if !self.field_type.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.field_type);
}
if !self.subject.is_empty() {
my_size += ::protobuf::rt::string_size(2, &self.subject);
}
if !self.description.is_empty() {
my_size += ::protobuf::rt::string_size(3, &self.description);
}
my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
self.cached_size.set(my_size);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
if !self.field_type.is_empty() {
os.write_string(1, &self.field_type)?;
}
if !self.subject.is_empty() {
os.write_string(2, &self.subject)?;
}
if !self.description.is_empty() {
os.write_string(3, &self.description)?;
}
os.write_unknown_fields(self.get_unknown_fields())?;
::std::result::Result::Ok(())
}
fn get_cached_size(&self) -> u32 {
self.cached_size.get()
}
fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
&self.unknown_fields
}
fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
&mut self.unknown_fields
}
fn as_any(&self) -> &dyn (::std::any::Any) {
self as &dyn (::std::any::Any)
}
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut dyn (::std::any::Any)
}
fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self
}
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
Self::descriptor_static()
}
fn new() -> PreconditionFailure_Violation {
PreconditionFailure_Violation::new()
}
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
descriptor.get(|| {
let mut fields = ::std::vec::Vec::new();
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"type",
|m: &PreconditionFailure_Violation| { &m.field_type },
|m: &mut PreconditionFailure_Violation| { &mut m.field_type },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"subject",
|m: &PreconditionFailure_Violation| { &m.subject },
|m: &mut PreconditionFailure_Violation| { &mut m.subject },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"description",
|m: &PreconditionFailure_Violation| { &m.description },
|m: &mut PreconditionFailure_Violation| { &mut m.description },
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<PreconditionFailure_Violation>(
"PreconditionFailure.Violation",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static PreconditionFailure_Violation {
static instance: ::protobuf::rt::LazyV2<PreconditionFailure_Violation> = ::protobuf::rt::LazyV2::INIT;
instance.get(PreconditionFailure_Violation::new)
}
}
impl ::protobuf::Clear for PreconditionFailure_Violation {
fn clear(&mut self) {
self.field_type.clear();
self.subject.clear();
self.description.clear();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for PreconditionFailure_Violation {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for PreconditionFailure_Violation {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct BadRequest {
pub field_violations: ::protobuf::RepeatedField<BadRequest_FieldViolation>,
pub unknown_fields: ::protobuf::UnknownFields,
pub cached_size: ::protobuf::CachedSize,
}
impl<'a> ::std::default::Default for &'a BadRequest {
fn default() -> &'a BadRequest {
<BadRequest as ::protobuf::Message>::default_instance()
}
}
impl BadRequest {
pub fn new() -> BadRequest {
::std::default::Default::default()
}
pub fn get_field_violations(&self) -> &[BadRequest_FieldViolation] {
&self.field_violations
}
pub fn clear_field_violations(&mut self) {
self.field_violations.clear();
}
pub fn set_field_violations(&mut self, v: ::protobuf::RepeatedField<BadRequest_FieldViolation>) {
self.field_violations = v;
}
pub fn mut_field_violations(&mut self) -> &mut ::protobuf::RepeatedField<BadRequest_FieldViolation> {
&mut self.field_violations
}
pub fn take_field_violations(&mut self) -> ::protobuf::RepeatedField<BadRequest_FieldViolation> {
::std::mem::replace(&mut self.field_violations, ::protobuf::RepeatedField::new())
}
}
impl ::protobuf::Message for BadRequest {
fn is_initialized(&self) -> bool {
for v in &self.field_violations {
if !v.is_initialized() {
return false;
}
};
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
while !is.eof()? {
let (field_number, wire_type) = is.read_tag_unpack()?;
match field_number {
1 => {
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.field_violations)?;
},
_ => {
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u32 {
let mut my_size = 0;
for value in &self.field_violations {
let len = value.compute_size();
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
};
my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
self.cached_size.set(my_size);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
for v in &self.field_violations {
os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
os.write_raw_varint32(v.get_cached_size())?;
v.write_to_with_cached_sizes(os)?;
};
os.write_unknown_fields(self.get_unknown_fields())?;
::std::result::Result::Ok(())
}
fn get_cached_size(&self) -> u32 {
self.cached_size.get()
}
fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
&self.unknown_fields
}
fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
&mut self.unknown_fields
}
fn as_any(&self) -> &dyn (::std::any::Any) {
self as &dyn (::std::any::Any)
}
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut dyn (::std::any::Any)
}
fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self
}
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
Self::descriptor_static()
}
fn new() -> BadRequest {
BadRequest::new()
}
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
descriptor.get(|| {
let mut fields = ::std::vec::Vec::new();
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<BadRequest_FieldViolation>>(
"field_violations",
|m: &BadRequest| { &m.field_violations },
|m: &mut BadRequest| { &mut m.field_violations },
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<BadRequest>(
"BadRequest",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static BadRequest {
static instance: ::protobuf::rt::LazyV2<BadRequest> = ::protobuf::rt::LazyV2::INIT;
instance.get(BadRequest::new)
}
}
impl ::protobuf::Clear for BadRequest {
fn clear(&mut self) {
self.field_violations.clear();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for BadRequest {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for BadRequest {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct BadRequest_FieldViolation {
pub field: ::std::string::String,
pub description: ::std::string::String,
pub unknown_fields: ::protobuf::UnknownFields,
pub cached_size: ::protobuf::CachedSize,
}
impl<'a> ::std::default::Default for &'a BadRequest_FieldViolation {
fn default() -> &'a BadRequest_FieldViolation {
<BadRequest_FieldViolation as ::protobuf::Message>::default_instance()
}
}
impl BadRequest_FieldViolation {
pub fn new() -> BadRequest_FieldViolation {
::std::default::Default::default()
}
pub fn get_field(&self) -> &str {
&self.field
}
pub fn clear_field(&mut self) {
self.field.clear();
}
pub fn set_field(&mut self, v: ::std::string::String) {
self.field = v;
}
pub fn mut_field(&mut self) -> &mut ::std::string::String {
&mut self.field
}
pub fn take_field(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.field, ::std::string::String::new())
}
pub fn get_description(&self) -> &str {
&self.description
}
pub fn clear_description(&mut self) {
self.description.clear();
}
pub fn set_description(&mut self, v: ::std::string::String) {
self.description = v;
}
pub fn mut_description(&mut self) -> &mut ::std::string::String {
&mut self.description
}
pub fn take_description(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.description, ::std::string::String::new())
}
}
impl ::protobuf::Message for BadRequest_FieldViolation {
fn is_initialized(&self) -> bool {
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
while !is.eof()? {
let (field_number, wire_type) = is.read_tag_unpack()?;
match field_number {
1 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.field)?;
},
2 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.description)?;
},
_ => {
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u32 {
let mut my_size = 0;
if !self.field.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.field);
}
if !self.description.is_empty() {
my_size += ::protobuf::rt::string_size(2, &self.description);
}
my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
self.cached_size.set(my_size);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
if !self.field.is_empty() {
os.write_string(1, &self.field)?;
}
if !self.description.is_empty() {
os.write_string(2, &self.description)?;
}
os.write_unknown_fields(self.get_unknown_fields())?;
::std::result::Result::Ok(())
}
fn get_cached_size(&self) -> u32 {
self.cached_size.get()
}
fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
&self.unknown_fields
}
fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
&mut self.unknown_fields
}
fn as_any(&self) -> &dyn (::std::any::Any) {
self as &dyn (::std::any::Any)
}
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut dyn (::std::any::Any)
}
fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self
}
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
Self::descriptor_static()
}
fn new() -> BadRequest_FieldViolation {
BadRequest_FieldViolation::new()
}
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
descriptor.get(|| {
let mut fields = ::std::vec::Vec::new();
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"field",
|m: &BadRequest_FieldViolation| { &m.field },
|m: &mut BadRequest_FieldViolation| { &mut m.field },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"description",
|m: &BadRequest_FieldViolation| { &m.description },
|m: &mut BadRequest_FieldViolation| { &mut m.description },
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<BadRequest_FieldViolation>(
"BadRequest.FieldViolation",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static BadRequest_FieldViolation {
static instance: ::protobuf::rt::LazyV2<BadRequest_FieldViolation> = ::protobuf::rt::LazyV2::INIT;
instance.get(BadRequest_FieldViolation::new)
}
}
impl ::protobuf::Clear for BadRequest_FieldViolation {
fn clear(&mut self) {
self.field.clear();
self.description.clear();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for BadRequest_FieldViolation {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for BadRequest_FieldViolation {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct RequestInfo {
pub request_id: ::std::string::String,
pub serving_data: ::std::string::String,
pub unknown_fields: ::protobuf::UnknownFields,
pub cached_size: ::protobuf::CachedSize,
}
impl<'a> ::std::default::Default for &'a RequestInfo {
fn default() -> &'a RequestInfo {
<RequestInfo as ::protobuf::Message>::default_instance()
}
}
impl RequestInfo {
pub fn new() -> RequestInfo {
::std::default::Default::default()
}
pub fn get_request_id(&self) -> &str {
&self.request_id
}
pub fn clear_request_id(&mut self) {
self.request_id.clear();
}
pub fn set_request_id(&mut self, v: ::std::string::String) {
self.request_id = v;
}
pub fn mut_request_id(&mut self) -> &mut ::std::string::String {
&mut self.request_id
}
pub fn take_request_id(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.request_id, ::std::string::String::new())
}
pub fn get_serving_data(&self) -> &str {
&self.serving_data
}
pub fn clear_serving_data(&mut self) {
self.serving_data.clear();
}
pub fn set_serving_data(&mut self, v: ::std::string::String) {
self.serving_data = v;
}
pub fn mut_serving_data(&mut self) -> &mut ::std::string::String {
&mut self.serving_data
}
pub fn take_serving_data(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.serving_data, ::std::string::String::new())
}
}
impl ::protobuf::Message for RequestInfo {
fn is_initialized(&self) -> bool {
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
while !is.eof()? {
let (field_number, wire_type) = is.read_tag_unpack()?;
match field_number {
1 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.request_id)?;
},
2 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.serving_data)?;
},
_ => {
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u32 {
let mut my_size = 0;
if !self.request_id.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.request_id);
}
if !self.serving_data.is_empty() {
my_size += ::protobuf::rt::string_size(2, &self.serving_data);
}
my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
self.cached_size.set(my_size);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
if !self.request_id.is_empty() {
os.write_string(1, &self.request_id)?;
}
if !self.serving_data.is_empty() {
os.write_string(2, &self.serving_data)?;
}
os.write_unknown_fields(self.get_unknown_fields())?;
::std::result::Result::Ok(())
}
fn get_cached_size(&self) -> u32 {
self.cached_size.get()
}
fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
&self.unknown_fields
}
fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
&mut self.unknown_fields
}
fn as_any(&self) -> &dyn (::std::any::Any) {
self as &dyn (::std::any::Any)
}
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut dyn (::std::any::Any)
}
fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self
}
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
Self::descriptor_static()
}
fn new() -> RequestInfo {
RequestInfo::new()
}
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
descriptor.get(|| {
let mut fields = ::std::vec::Vec::new();
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"request_id",
|m: &RequestInfo| { &m.request_id },
|m: &mut RequestInfo| { &mut m.request_id },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"serving_data",
|m: &RequestInfo| { &m.serving_data },
|m: &mut RequestInfo| { &mut m.serving_data },
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<RequestInfo>(
"RequestInfo",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static RequestInfo {
static instance: ::protobuf::rt::LazyV2<RequestInfo> = ::protobuf::rt::LazyV2::INIT;
instance.get(RequestInfo::new)
}
}
impl ::protobuf::Clear for RequestInfo {
fn clear(&mut self) {
self.request_id.clear();
self.serving_data.clear();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for RequestInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for RequestInfo {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct ResourceInfo {
pub resource_type: ::std::string::String,
pub resource_name: ::std::string::String,
pub owner: ::std::string::String,
pub description: ::std::string::String,
pub unknown_fields: ::protobuf::UnknownFields,
pub cached_size: ::protobuf::CachedSize,
}
impl<'a> ::std::default::Default for &'a ResourceInfo {
fn default() -> &'a ResourceInfo {
<ResourceInfo as ::protobuf::Message>::default_instance()
}
}
impl ResourceInfo {
pub fn new() -> ResourceInfo {
::std::default::Default::default()
}
pub fn get_resource_type(&self) -> &str {
&self.resource_type
}
pub fn clear_resource_type(&mut self) {
self.resource_type.clear();
}
pub fn set_resource_type(&mut self, v: ::std::string::String) {
self.resource_type = v;
}
pub fn mut_resource_type(&mut self) -> &mut ::std::string::String {
&mut self.resource_type
}
pub fn take_resource_type(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.resource_type, ::std::string::String::new())
}
pub fn get_resource_name(&self) -> &str {
&self.resource_name
}
pub fn clear_resource_name(&mut self) {
self.resource_name.clear();
}
pub fn set_resource_name(&mut self, v: ::std::string::String) {
self.resource_name = v;
}
pub fn mut_resource_name(&mut self) -> &mut ::std::string::String {
&mut self.resource_name
}
pub fn take_resource_name(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.resource_name, ::std::string::String::new())
}
pub fn get_owner(&self) -> &str {
&self.owner
}
pub fn clear_owner(&mut self) {
self.owner.clear();
}
pub fn set_owner(&mut self, v: ::std::string::String) {
self.owner = v;
}
pub fn mut_owner(&mut self) -> &mut ::std::string::String {
&mut self.owner
}
pub fn take_owner(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.owner, ::std::string::String::new())
}
pub fn get_description(&self) -> &str {
&self.description
}
pub fn clear_description(&mut self) {
self.description.clear();
}
pub fn set_description(&mut self, v: ::std::string::String) {
self.description = v;
}
pub fn mut_description(&mut self) -> &mut ::std::string::String {
&mut self.description
}
pub fn take_description(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.description, ::std::string::String::new())
}
}
impl ::protobuf::Message for ResourceInfo {
fn is_initialized(&self) -> bool {
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
while !is.eof()? {
let (field_number, wire_type) = is.read_tag_unpack()?;
match field_number {
1 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.resource_type)?;
},
2 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.resource_name)?;
},
3 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.owner)?;
},
4 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.description)?;
},
_ => {
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u32 {
let mut my_size = 0;
if !self.resource_type.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.resource_type);
}
if !self.resource_name.is_empty() {
my_size += ::protobuf::rt::string_size(2, &self.resource_name);
}
if !self.owner.is_empty() {
my_size += ::protobuf::rt::string_size(3, &self.owner);
}
if !self.description.is_empty() {
my_size += ::protobuf::rt::string_size(4, &self.description);
}
my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
self.cached_size.set(my_size);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
if !self.resource_type.is_empty() {
os.write_string(1, &self.resource_type)?;
}
if !self.resource_name.is_empty() {
os.write_string(2, &self.resource_name)?;
}
if !self.owner.is_empty() {
os.write_string(3, &self.owner)?;
}
if !self.description.is_empty() {
os.write_string(4, &self.description)?;
}
os.write_unknown_fields(self.get_unknown_fields())?;
::std::result::Result::Ok(())
}
fn get_cached_size(&self) -> u32 {
self.cached_size.get()
}
fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
&self.unknown_fields
}
fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
&mut self.unknown_fields
}
fn as_any(&self) -> &dyn (::std::any::Any) {
self as &dyn (::std::any::Any)
}
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut dyn (::std::any::Any)
}
fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self
}
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
Self::descriptor_static()
}
fn new() -> ResourceInfo {
ResourceInfo::new()
}
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
descriptor.get(|| {
let mut fields = ::std::vec::Vec::new();
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"resource_type",
|m: &ResourceInfo| { &m.resource_type },
|m: &mut ResourceInfo| { &mut m.resource_type },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"resource_name",
|m: &ResourceInfo| { &m.resource_name },
|m: &mut ResourceInfo| { &mut m.resource_name },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"owner",
|m: &ResourceInfo| { &m.owner },
|m: &mut ResourceInfo| { &mut m.owner },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"description",
|m: &ResourceInfo| { &m.description },
|m: &mut ResourceInfo| { &mut m.description },
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<ResourceInfo>(
"ResourceInfo",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static ResourceInfo {
static instance: ::protobuf::rt::LazyV2<ResourceInfo> = ::protobuf::rt::LazyV2::INIT;
instance.get(ResourceInfo::new)
}
}
impl ::protobuf::Clear for ResourceInfo {
fn clear(&mut self) {
self.resource_type.clear();
self.resource_name.clear();
self.owner.clear();
self.description.clear();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for ResourceInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for ResourceInfo {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct Help {
pub links: ::protobuf::RepeatedField<Help_Link>,
pub unknown_fields: ::protobuf::UnknownFields,
pub cached_size: ::protobuf::CachedSize,
}
impl<'a> ::std::default::Default for &'a Help {
fn default() -> &'a Help {
<Help as ::protobuf::Message>::default_instance()
}
}
impl Help {
pub fn new() -> Help {
::std::default::Default::default()
}
pub fn get_links(&self) -> &[Help_Link] {
&self.links
}
pub fn clear_links(&mut self) {
self.links.clear();
}
pub fn set_links(&mut self, v: ::protobuf::RepeatedField<Help_Link>) {
self.links = v;
}
pub fn mut_links(&mut self) -> &mut ::protobuf::RepeatedField<Help_Link> {
&mut self.links
}
pub fn take_links(&mut self) -> ::protobuf::RepeatedField<Help_Link> {
::std::mem::replace(&mut self.links, ::protobuf::RepeatedField::new())
}
}
impl ::protobuf::Message for Help {
fn is_initialized(&self) -> bool {
for v in &self.links {
if !v.is_initialized() {
return false;
}
};
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
while !is.eof()? {
let (field_number, wire_type) = is.read_tag_unpack()?;
match field_number {
1 => {
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.links)?;
},
_ => {
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u32 {
let mut my_size = 0;
for value in &self.links {
let len = value.compute_size();
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
};
my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
self.cached_size.set(my_size);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
for v in &self.links {
os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
os.write_raw_varint32(v.get_cached_size())?;
v.write_to_with_cached_sizes(os)?;
};
os.write_unknown_fields(self.get_unknown_fields())?;
::std::result::Result::Ok(())
}
fn get_cached_size(&self) -> u32 {
self.cached_size.get()
}
fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
&self.unknown_fields
}
fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
&mut self.unknown_fields
}
fn as_any(&self) -> &dyn (::std::any::Any) {
self as &dyn (::std::any::Any)
}
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut dyn (::std::any::Any)
}
fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self
}
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
Self::descriptor_static()
}
fn new() -> Help {
Help::new()
}
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
descriptor.get(|| {
let mut fields = ::std::vec::Vec::new();
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Help_Link>>(
"links",
|m: &Help| { &m.links },
|m: &mut Help| { &mut m.links },
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<Help>(
"Help",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static Help {
static instance: ::protobuf::rt::LazyV2<Help> = ::protobuf::rt::LazyV2::INIT;
instance.get(Help::new)
}
}
impl ::protobuf::Clear for Help {
fn clear(&mut self) {
self.links.clear();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for Help {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for Help {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct Help_Link {
pub description: ::std::string::String,
pub url: ::std::string::String,
pub unknown_fields: ::protobuf::UnknownFields,
pub cached_size: ::protobuf::CachedSize,
}
impl<'a> ::std::default::Default for &'a Help_Link {
fn default() -> &'a Help_Link {
<Help_Link as ::protobuf::Message>::default_instance()
}
}
impl Help_Link {
pub fn new() -> Help_Link {
::std::default::Default::default()
}
pub fn get_description(&self) -> &str {
&self.description
}
pub fn clear_description(&mut self) {
self.description.clear();
}
pub fn set_description(&mut self, v: ::std::string::String) {
self.description = v;
}
pub fn mut_description(&mut self) -> &mut ::std::string::String {
&mut self.description
}
pub fn take_description(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.description, ::std::string::String::new())
}
pub fn get_url(&self) -> &str {
&self.url
}
pub fn clear_url(&mut self) {
self.url.clear();
}
pub fn set_url(&mut self, v: ::std::string::String) {
self.url = v;
}
pub fn mut_url(&mut self) -> &mut ::std::string::String {
&mut self.url
}
pub fn take_url(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.url, ::std::string::String::new())
}
}
impl ::protobuf::Message for Help_Link {
fn is_initialized(&self) -> bool {
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
while !is.eof()? {
let (field_number, wire_type) = is.read_tag_unpack()?;
match field_number {
1 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.description)?;
},
2 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.url)?;
},
_ => {
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u32 {
let mut my_size = 0;
if !self.description.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.description);
}
if !self.url.is_empty() {
my_size += ::protobuf::rt::string_size(2, &self.url);
}
my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
self.cached_size.set(my_size);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
if !self.description.is_empty() {
os.write_string(1, &self.description)?;
}
if !self.url.is_empty() {
os.write_string(2, &self.url)?;
}
os.write_unknown_fields(self.get_unknown_fields())?;
::std::result::Result::Ok(())
}
fn get_cached_size(&self) -> u32 {
self.cached_size.get()
}
fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
&self.unknown_fields
}
fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
&mut self.unknown_fields
}
fn as_any(&self) -> &dyn (::std::any::Any) {
self as &dyn (::std::any::Any)
}
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut dyn (::std::any::Any)
}
fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self
}
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
Self::descriptor_static()
}
fn new() -> Help_Link {
Help_Link::new()
}
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
descriptor.get(|| {
let mut fields = ::std::vec::Vec::new();
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"description",
|m: &Help_Link| { &m.description },
|m: &mut Help_Link| { &mut m.description },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"url",
|m: &Help_Link| { &m.url },
|m: &mut Help_Link| { &mut m.url },
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<Help_Link>(
"Help.Link",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static Help_Link {
static instance: ::protobuf::rt::LazyV2<Help_Link> = ::protobuf::rt::LazyV2::INIT;
instance.get(Help_Link::new)
}
}
impl ::protobuf::Clear for Help_Link {
fn clear(&mut self) {
self.description.clear();
self.url.clear();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for Help_Link {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for Help_Link {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct LocalizedMessage {
pub locale: ::std::string::String,
pub message: ::std::string::String,
pub unknown_fields: ::protobuf::UnknownFields,
pub cached_size: ::protobuf::CachedSize,
}
impl<'a> ::std::default::Default for &'a LocalizedMessage {
fn default() -> &'a LocalizedMessage {
<LocalizedMessage as ::protobuf::Message>::default_instance()
}
}
impl LocalizedMessage {
pub fn new() -> LocalizedMessage {
::std::default::Default::default()
}
pub fn get_locale(&self) -> &str {
&self.locale
}
pub fn clear_locale(&mut self) {
self.locale.clear();
}
pub fn set_locale(&mut self, v: ::std::string::String) {
self.locale = v;
}
pub fn mut_locale(&mut self) -> &mut ::std::string::String {
&mut self.locale
}
pub fn take_locale(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.locale, ::std::string::String::new())
}
pub fn get_message(&self) -> &str {
&self.message
}
pub fn clear_message(&mut self) {
self.message.clear();
}
pub fn set_message(&mut self, v: ::std::string::String) {
self.message = v;
}
pub fn mut_message(&mut self) -> &mut ::std::string::String {
&mut self.message
}
pub fn take_message(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.message, ::std::string::String::new())
}
}
impl ::protobuf::Message for LocalizedMessage {
fn is_initialized(&self) -> bool {
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
while !is.eof()? {
let (field_number, wire_type) = is.read_tag_unpack()?;
match field_number {
1 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.locale)?;
},
2 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.message)?;
},
_ => {
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u32 {
let mut my_size = 0;
if !self.locale.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.locale);
}
if !self.message.is_empty() {
my_size += ::protobuf::rt::string_size(2, &self.message);
}
my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
self.cached_size.set(my_size);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
if !self.locale.is_empty() {
os.write_string(1, &self.locale)?;
}
if !self.message.is_empty() {
os.write_string(2, &self.message)?;
}
os.write_unknown_fields(self.get_unknown_fields())?;
::std::result::Result::Ok(())
}
fn get_cached_size(&self) -> u32 {
self.cached_size.get()
}
fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
&self.unknown_fields
}
fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
&mut self.unknown_fields
}
fn as_any(&self) -> &dyn (::std::any::Any) {
self as &dyn (::std::any::Any)
}
fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
self as &mut dyn (::std::any::Any)
}
fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
self
}
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
Self::descriptor_static()
}
fn new() -> LocalizedMessage {
LocalizedMessage::new()
}
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
descriptor.get(|| {
let mut fields = ::std::vec::Vec::new();
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"locale",
|m: &LocalizedMessage| { &m.locale },
|m: &mut LocalizedMessage| { &mut m.locale },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"message",
|m: &LocalizedMessage| { &m.message },
|m: &mut LocalizedMessage| { &mut m.message },
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<LocalizedMessage>(
"LocalizedMessage",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static LocalizedMessage {
static instance: ::protobuf::rt::LazyV2<LocalizedMessage> = ::protobuf::rt::LazyV2::INIT;
instance.get(LocalizedMessage::new)
}
}
impl ::protobuf::Clear for LocalizedMessage {
fn clear(&mut self) {
self.locale.clear();
self.message.clear();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for LocalizedMessage {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for LocalizedMessage {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Message(self)
}
}
static file_descriptor_proto_data: &'static [u8] = b"\
\n\x1egoogle/rpc/error_details.proto\x12\ngoogle.rpc\x1a\x1egoogle/proto\
buf/duration.proto\"G\n\tRetryInfo\x12:\n\x0bretry_delay\x18\x01\x20\x01\
(\x0b2\x19.google.protobuf.DurationR\nretryDelay\"H\n\tDebugInfo\x12#\n\
\rstack_entries\x18\x01\x20\x03(\tR\x0cstackEntries\x12\x16\n\x06detail\
\x18\x02\x20\x01(\tR\x06detail\"\x9b\x01\n\x0cQuotaFailure\x12B\n\nviola\
tions\x18\x01\x20\x03(\x0b2\".google.rpc.QuotaFailure.ViolationR\nviolat\
ions\x1aG\n\tViolation\x12\x18\n\x07subject\x18\x01\x20\x01(\tR\x07subje\
ct\x12\x20\n\x0bdescription\x18\x02\x20\x01(\tR\x0bdescription\"\xbd\x01\
\n\x13PreconditionFailure\x12I\n\nviolations\x18\x01\x20\x03(\x0b2).goog\
le.rpc.PreconditionFailure.ViolationR\nviolations\x1a[\n\tViolation\x12\
\x12\n\x04type\x18\x01\x20\x01(\tR\x04type\x12\x18\n\x07subject\x18\x02\
\x20\x01(\tR\x07subject\x12\x20\n\x0bdescription\x18\x03\x20\x01(\tR\x0b\
description\"\xa8\x01\n\nBadRequest\x12P\n\x10field_violations\x18\x01\
\x20\x03(\x0b2%.google.rpc.BadRequest.FieldViolationR\x0ffieldViolations\
\x1aH\n\x0eFieldViolation\x12\x14\n\x05field\x18\x01\x20\x01(\tR\x05fiel\
d\x12\x20\n\x0bdescription\x18\x02\x20\x01(\tR\x0bdescription\"O\n\x0bRe\
questInfo\x12\x1d\n\nrequest_id\x18\x01\x20\x01(\tR\trequestId\x12!\n\
\x0cserving_data\x18\x02\x20\x01(\tR\x0bservingData\"\x90\x01\n\x0cResou\
rceInfo\x12#\n\rresource_type\x18\x01\x20\x01(\tR\x0cresourceType\x12#\n\
\rresource_name\x18\x02\x20\x01(\tR\x0cresourceName\x12\x14\n\x05owner\
\x18\x03\x20\x01(\tR\x05owner\x12\x20\n\x0bdescription\x18\x04\x20\x01(\
\tR\x0bdescription\"o\n\x04Help\x12+\n\x05links\x18\x01\x20\x03(\x0b2\
\x15.google.rpc.Help.LinkR\x05links\x1a:\n\x04Link\x12\x20\n\x0bdescript\
ion\x18\x01\x20\x01(\tR\x0bdescription\x12\x10\n\x03url\x18\x02\x20\x01(\
\tR\x03url\"D\n\x10LocalizedMessage\x12\x16\n\x06locale\x18\x01\x20\x01(\
\tR\x06locale\x12\x18\n\x07message\x18\x02\x20\x01(\tR\x07messageBl\n\
\x0ecom.google.rpcB\x11ErrorDetailsProtoP\x01Z?google.golang.org/genprot\
o/googleapis/rpc/errdetails;errdetails\xa2\x02\x03RPCJ\x80>\n\x07\x12\
\x05\x0e\0\xc7\x01\x01\n\xbd\x04\n\x01\x0c\x12\x03\x0e\0\x122\xb2\x04\
\x20Copyright\x202017\x20Google\x20Inc.\n\n\x20Licensed\x20under\x20the\
\x20Apache\x20License,\x20Version\x202.0\x20(the\x20\"License\");\n\x20y\
ou\x20may\x20not\x20use\x20this\x20file\x20except\x20in\x20compliance\
\x20with\x20the\x20License.\n\x20You\x20may\x20obtain\x20a\x20copy\x20of\
\x20the\x20License\x20at\n\n\x20\x20\x20\x20\x20http://www.apache.org/li\
censes/LICENSE-2.0\n\n\x20Unless\x20required\x20by\x20applicable\x20law\
\x20or\x20agreed\x20to\x20in\x20writing,\x20software\n\x20distributed\
\x20under\x20the\x20License\x20is\x20distributed\x20on\x20an\x20\"AS\x20\
IS\"\x20BASIS,\n\x20WITHOUT\x20WARRANTIES\x20OR\x20CONDITIONS\x20OF\x20A\
NY\x20KIND,\x20either\x20express\x20or\x20implied.\n\x20See\x20the\x20Li\
cense\x20for\x20the\x20specific\x20language\x20governing\x20permissions\
\x20and\n\x20limitations\x20under\x20the\x20License.\n\n\x08\n\x01\x02\
\x12\x03\x10\0\x13\n\t\n\x02\x03\0\x12\x03\x12\0(\n\x08\n\x01\x08\x12\
\x03\x14\0V\n\t\n\x02\x08\x0b\x12\x03\x14\0V\n\x08\n\x01\x08\x12\x03\x15\
\0\"\n\t\n\x02\x08\n\x12\x03\x15\0\"\n\x08\n\x01\x08\x12\x03\x16\02\n\t\
\n\x02\x08\x08\x12\x03\x16\02\n\x08\n\x01\x08\x12\x03\x17\0'\n\t\n\x02\
\x08\x01\x12\x03\x17\0'\n\x08\n\x01\x08\x12\x03\x18\0!\n\t\n\x02\x08$\
\x12\x03\x18\0!\n\x8b\x05\n\x02\x04\0\x12\x04'\0*\x01\x1a\xfe\x04\x20Des\
cribes\x20when\x20the\x20clients\x20can\x20retry\x20a\x20failed\x20reque\
st.\x20Clients\x20could\x20ignore\n\x20the\x20recommendation\x20here\x20\
or\x20retry\x20when\x20this\x20information\x20is\x20missing\x20from\x20e\
rror\n\x20responses.\n\n\x20It's\x20always\x20recommended\x20that\x20cli\
ents\x20should\x20use\x20exponential\x20backoff\x20when\n\x20retrying.\n\
\n\x20Clients\x20should\x20wait\x20until\x20`retry_delay`\x20amount\x20o\
f\x20time\x20has\x20passed\x20since\n\x20receiving\x20the\x20error\x20re\
sponse\x20before\x20retrying.\x20\x20If\x20retrying\x20requests\x20also\
\n\x20fail,\x20clients\x20should\x20use\x20an\x20exponential\x20backoff\
\x20scheme\x20to\x20gradually\x20increase\n\x20the\x20delay\x20between\
\x20retries\x20based\x20on\x20`retry_delay`,\x20until\x20either\x20a\x20\
maximum\n\x20number\x20of\x20retires\x20have\x20been\x20reached\x20or\
\x20a\x20maximum\x20retry\x20delay\x20cap\x20has\x20been\n\x20reached.\n\
\n\n\n\x03\x04\0\x01\x12\x03'\x08\x11\nX\n\x04\x04\0\x02\0\x12\x03)\x02+\
\x1aK\x20Clients\x20should\x20wait\x20at\x20least\x20this\x20long\x20bet\
ween\x20retrying\x20the\x20same\x20request.\n\n\x0c\n\x05\x04\0\x02\0\
\x06\x12\x03)\x02\x1a\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03)\x1b&\n\x0c\n\
\x05\x04\0\x02\0\x03\x12\x03))*\n2\n\x02\x04\x01\x12\x04-\03\x01\x1a&\
\x20Describes\x20additional\x20debugging\x20info.\n\n\n\n\x03\x04\x01\
\x01\x12\x03-\x08\x11\nK\n\x04\x04\x01\x02\0\x12\x03/\x02$\x1a>\x20The\
\x20stack\x20trace\x20entries\x20indicating\x20where\x20the\x20error\x20\
occurred.\n\n\x0c\n\x05\x04\x01\x02\0\x04\x12\x03/\x02\n\n\x0c\n\x05\x04\
\x01\x02\0\x05\x12\x03/\x0b\x11\n\x0c\n\x05\x04\x01\x02\0\x01\x12\x03/\
\x12\x1f\n\x0c\n\x05\x04\x01\x02\0\x03\x12\x03/\"#\nG\n\x04\x04\x01\x02\
\x01\x12\x032\x02\x14\x1a:\x20Additional\x20debugging\x20information\x20\
provided\x20by\x20the\x20server.\n\n\x0c\n\x05\x04\x01\x02\x01\x05\x12\
\x032\x02\x08\n\x0c\n\x05\x04\x01\x02\x01\x01\x12\x032\t\x0f\n\x0c\n\x05\
\x04\x01\x02\x01\x03\x12\x032\x12\x13\n\xfe\x03\n\x02\x04\x02\x12\x04@\0\
U\x01\x1a\xf1\x03\x20Describes\x20how\x20a\x20quota\x20check\x20failed.\
\n\n\x20For\x20example\x20if\x20a\x20daily\x20limit\x20was\x20exceeded\
\x20for\x20the\x20calling\x20project,\n\x20a\x20service\x20could\x20resp\
ond\x20with\x20a\x20QuotaFailure\x20detail\x20containing\x20the\x20proje\
ct\n\x20id\x20and\x20the\x20description\x20of\x20the\x20quota\x20limit\
\x20that\x20was\x20exceeded.\x20\x20If\x20the\n\x20calling\x20project\
\x20hasn't\x20enabled\x20the\x20service\x20in\x20the\x20developer\x20con\
sole,\x20then\n\x20a\x20service\x20could\x20respond\x20with\x20the\x20pr\
oject\x20id\x20and\x20set\x20`service_disabled`\n\x20to\x20true.\n\n\x20\
Also\x20see\x20RetryDetail\x20and\x20Help\x20types\x20for\x20other\x20de\
tails\x20about\x20handling\x20a\n\x20quota\x20failure.\n\n\n\n\x03\x04\
\x02\x01\x12\x03@\x08\x14\n\x8b\x01\n\x04\x04\x02\x03\0\x12\x04C\x02Q\
\x03\x1a}\x20A\x20message\x20type\x20used\x20to\x20describe\x20a\x20sing\
le\x20quota\x20violation.\x20\x20For\x20example,\x20a\n\x20daily\x20quot\
a\x20or\x20a\x20custom\x20quota\x20that\x20was\x20exceeded.\n\n\x0c\n\
\x05\x04\x02\x03\0\x01\x12\x03C\n\x13\n\x9b\x01\n\x06\x04\x02\x03\0\x02\
\0\x12\x03G\x04\x17\x1a\x8b\x01\x20The\x20subject\x20on\x20which\x20the\
\x20quota\x20check\x20failed.\n\x20For\x20example,\x20\"clientip:<ip\x20\
address\x20of\x20client>\"\x20or\x20\"project:<Google\n\x20developer\x20\
project\x20id>\".\n\n\x0e\n\x07\x04\x02\x03\0\x02\0\x05\x12\x03G\x04\n\n\
\x0e\n\x07\x04\x02\x03\0\x02\0\x01\x12\x03G\x0b\x12\n\x0e\n\x07\x04\x02\
\x03\0\x02\0\x03\x12\x03G\x15\x16\n\xcc\x02\n\x06\x04\x02\x03\0\x02\x01\
\x12\x03P\x04\x1b\x1a\xbc\x02\x20A\x20description\x20of\x20how\x20the\
\x20quota\x20check\x20failed.\x20Clients\x20can\x20use\x20this\n\x20desc\
ription\x20to\x20find\x20more\x20about\x20the\x20quota\x20configuration\
\x20in\x20the\x20service's\n\x20public\x20documentation,\x20or\x20find\
\x20the\x20relevant\x20quota\x20limit\x20to\x20adjust\x20through\n\x20de\
veloper\x20console.\n\n\x20For\x20example:\x20\"Service\x20disabled\"\
\x20or\x20\"Daily\x20Limit\x20for\x20read\x20operations\n\x20exceeded\".\
\n\n\x0e\n\x07\x04\x02\x03\0\x02\x01\x05\x12\x03P\x04\n\n\x0e\n\x07\x04\
\x02\x03\0\x02\x01\x01\x12\x03P\x0b\x16\n\x0e\n\x07\x04\x02\x03\0\x02\
\x01\x03\x12\x03P\x19\x1a\n.\n\x04\x04\x02\x02\0\x12\x03T\x02$\x1a!\x20D\
escribes\x20all\x20quota\x20violations.\n\n\x0c\n\x05\x04\x02\x02\0\x04\
\x12\x03T\x02\n\n\x0c\n\x05\x04\x02\x02\0\x06\x12\x03T\x0b\x14\n\x0c\n\
\x05\x04\x02\x02\0\x01\x12\x03T\x15\x1f\n\x0c\n\x05\x04\x02\x02\0\x03\
\x12\x03T\"#\n\xe8\x01\n\x02\x04\x03\x12\x04\\\0r\x01\x1a\xdb\x01\x20Des\
cribes\x20what\x20preconditions\x20have\x20failed.\n\n\x20For\x20example\
,\x20if\x20an\x20RPC\x20failed\x20because\x20it\x20required\x20the\x20Te\
rms\x20of\x20Service\x20to\x20be\n\x20acknowledged,\x20it\x20could\x20li\
st\x20the\x20terms\x20of\x20service\x20violation\x20in\x20the\n\x20Preco\
nditionFailure\x20message.\n\n\n\n\x03\x04\x03\x01\x12\x03\\\x08\x1b\nN\
\n\x04\x04\x03\x03\0\x12\x04^\x02n\x03\x1a@\x20A\x20message\x20type\x20u\
sed\x20to\x20describe\x20a\x20single\x20precondition\x20failure.\n\n\x0c\
\n\x05\x04\x03\x03\0\x01\x12\x03^\n\x13\n\xcf\x01\n\x06\x04\x03\x03\0\
\x02\0\x12\x03b\x04\x14\x1a\xbf\x01\x20The\x20type\x20of\x20Precondition\
Failure.\x20We\x20recommend\x20using\x20a\x20service-specific\n\x20enum\
\x20type\x20to\x20define\x20the\x20supported\x20precondition\x20violatio\
n\x20types.\x20For\n\x20example,\x20\"TOS\"\x20for\x20\"Terms\x20of\x20S\
ervice\x20violation\".\n\n\x0e\n\x07\x04\x03\x03\0\x02\0\x05\x12\x03b\
\x04\n\n\x0e\n\x07\x04\x03\x03\0\x02\0\x01\x12\x03b\x0b\x0f\n\x0e\n\x07\
\x04\x03\x03\0\x02\0\x03\x12\x03b\x12\x13\n\xb9\x01\n\x06\x04\x03\x03\0\
\x02\x01\x12\x03g\x04\x17\x1a\xa9\x01\x20The\x20subject,\x20relative\x20\
to\x20the\x20type,\x20that\x20failed.\n\x20For\x20example,\x20\"google.c\
om/cloud\"\x20relative\x20to\x20the\x20\"TOS\"\x20type\x20would\n\x20ind\
icate\x20which\x20terms\x20of\x20service\x20is\x20being\x20referenced.\n\
\n\x0e\n\x07\x04\x03\x03\0\x02\x01\x05\x12\x03g\x04\n\n\x0e\n\x07\x04\
\x03\x03\0\x02\x01\x01\x12\x03g\x0b\x12\n\x0e\n\x07\x04\x03\x03\0\x02\
\x01\x03\x12\x03g\x15\x16\n\xba\x01\n\x06\x04\x03\x03\0\x02\x02\x12\x03m\
\x04\x1b\x1a\xaa\x01\x20A\x20description\x20of\x20how\x20the\x20precondi\
tion\x20failed.\x20Developers\x20can\x20use\x20this\n\x20description\x20\
to\x20understand\x20how\x20to\x20fix\x20the\x20failure.\n\n\x20For\x20ex\
ample:\x20\"Terms\x20of\x20service\x20not\x20accepted\".\n\n\x0e\n\x07\
\x04\x03\x03\0\x02\x02\x05\x12\x03m\x04\n\n\x0e\n\x07\x04\x03\x03\0\x02\
\x02\x01\x12\x03m\x0b\x16\n\x0e\n\x07\x04\x03\x03\0\x02\x02\x03\x12\x03m\
\x19\x1a\n5\n\x04\x04\x03\x02\0\x12\x03q\x02$\x1a(\x20Describes\x20all\
\x20precondition\x20violations.\n\n\x0c\n\x05\x04\x03\x02\0\x04\x12\x03q\
\x02\n\n\x0c\n\x05\x04\x03\x02\0\x06\x12\x03q\x0b\x14\n\x0c\n\x05\x04\
\x03\x02\0\x01\x12\x03q\x15\x1f\n\x0c\n\x05\x04\x03\x02\0\x03\x12\x03q\"\
#\nz\n\x02\x04\x04\x12\x05v\0\x84\x01\x01\x1am\x20Describes\x20violation\
s\x20in\x20a\x20client\x20request.\x20This\x20error\x20type\x20focuses\
\x20on\x20the\n\x20syntactic\x20aspects\x20of\x20the\x20request.\n\n\n\n\
\x03\x04\x04\x01\x12\x03v\x08\x12\nL\n\x04\x04\x04\x03\0\x12\x05x\x02\
\x80\x01\x03\x1a=\x20A\x20message\x20type\x20used\x20to\x20describe\x20a\
\x20single\x20bad\x20request\x20field.\n\n\x0c\n\x05\x04\x04\x03\0\x01\
\x12\x03x\n\x18\n\xdd\x01\n\x06\x04\x04\x03\0\x02\0\x12\x03|\x04\x15\x1a\
\xcd\x01\x20A\x20path\x20leading\x20to\x20a\x20field\x20in\x20the\x20req\
uest\x20body.\x20The\x20value\x20will\x20be\x20a\n\x20sequence\x20of\x20\
dot-separated\x20identifiers\x20that\x20identify\x20a\x20protocol\x20buf\
fer\n\x20field.\x20E.g.,\x20\"field_violations.field\"\x20would\x20ident\
ify\x20this\x20field.\n\n\x0e\n\x07\x04\x04\x03\0\x02\0\x05\x12\x03|\x04\
\n\n\x0e\n\x07\x04\x04\x03\0\x02\0\x01\x12\x03|\x0b\x10\n\x0e\n\x07\x04\
\x04\x03\0\x02\0\x03\x12\x03|\x13\x14\nA\n\x06\x04\x04\x03\0\x02\x01\x12\
\x03\x7f\x04\x1b\x1a2\x20A\x20description\x20of\x20why\x20the\x20request\
\x20element\x20is\x20bad.\n\n\x0e\n\x07\x04\x04\x03\0\x02\x01\x05\x12\
\x03\x7f\x04\n\n\x0e\n\x07\x04\x04\x03\0\x02\x01\x01\x12\x03\x7f\x0b\x16\
\n\x0e\n\x07\x04\x04\x03\0\x02\x01\x03\x12\x03\x7f\x19\x1a\n=\n\x04\x04\
\x04\x02\0\x12\x04\x83\x01\x02/\x1a/\x20Describes\x20all\x20violations\
\x20in\x20a\x20client\x20request.\n\n\r\n\x05\x04\x04\x02\0\x04\x12\x04\
\x83\x01\x02\n\n\r\n\x05\x04\x04\x02\0\x06\x12\x04\x83\x01\x0b\x19\n\r\n\
\x05\x04\x04\x02\0\x01\x12\x04\x83\x01\x1a*\n\r\n\x05\x04\x04\x02\0\x03\
\x12\x04\x83\x01-.\n\x84\x01\n\x02\x04\x05\x12\x06\x88\x01\0\x90\x01\x01\
\x1av\x20Contains\x20metadata\x20about\x20the\x20request\x20that\x20clie\
nts\x20can\x20attach\x20when\x20filing\x20a\x20bug\n\x20or\x20providing\
\x20other\x20forms\x20of\x20feedback.\n\n\x0b\n\x03\x04\x05\x01\x12\x04\
\x88\x01\x08\x13\n\xa8\x01\n\x04\x04\x05\x02\0\x12\x04\x8b\x01\x02\x18\
\x1a\x99\x01\x20An\x20opaque\x20string\x20that\x20should\x20only\x20be\
\x20interpreted\x20by\x20the\x20service\x20generating\n\x20it.\x20For\
\x20example,\x20it\x20can\x20be\x20used\x20to\x20identify\x20requests\
\x20in\x20the\x20service's\x20logs.\n\n\r\n\x05\x04\x05\x02\0\x05\x12\
\x04\x8b\x01\x02\x08\n\r\n\x05\x04\x05\x02\0\x01\x12\x04\x8b\x01\t\x13\n\
\r\n\x05\x04\x05\x02\0\x03\x12\x04\x8b\x01\x16\x17\n\xa2\x01\n\x04\x04\
\x05\x02\x01\x12\x04\x8f\x01\x02\x1a\x1a\x93\x01\x20Any\x20data\x20that\
\x20was\x20used\x20to\x20serve\x20this\x20request.\x20For\x20example,\
\x20an\x20encrypted\n\x20stack\x20trace\x20that\x20can\x20be\x20sent\x20\
back\x20to\x20the\x20service\x20provider\x20for\x20debugging.\n\n\r\n\
\x05\x04\x05\x02\x01\x05\x12\x04\x8f\x01\x02\x08\n\r\n\x05\x04\x05\x02\
\x01\x01\x12\x04\x8f\x01\t\x15\n\r\n\x05\x04\x05\x02\x01\x03\x12\x04\x8f\
\x01\x18\x19\n>\n\x02\x04\x06\x12\x06\x93\x01\0\xa8\x01\x01\x1a0\x20Desc\
ribes\x20the\x20resource\x20that\x20is\x20being\x20accessed.\n\n\x0b\n\
\x03\x04\x06\x01\x12\x04\x93\x01\x08\x14\n\xdb\x01\n\x04\x04\x06\x02\0\
\x12\x04\x97\x01\x02\x1b\x1a\xcc\x01\x20A\x20name\x20for\x20the\x20type\
\x20of\x20resource\x20being\x20accessed,\x20e.g.\x20\"sql\x20table\",\n\
\x20\"cloud\x20storage\x20bucket\",\x20\"file\",\x20\"Google\x20calendar\
\";\x20or\x20the\x20type\x20URL\n\x20of\x20the\x20resource:\x20e.g.\x20\
\"type.googleapis.com/google.pubsub.v1.Topic\".\n\n\r\n\x05\x04\x06\x02\
\0\x05\x12\x04\x97\x01\x02\x08\n\r\n\x05\x04\x06\x02\0\x01\x12\x04\x97\
\x01\t\x16\n\r\n\x05\x04\x06\x02\0\x03\x12\x04\x97\x01\x19\x1a\n\xf7\x01\
\n\x04\x04\x06\x02\x01\x12\x04\x9d\x01\x02\x1b\x1a\xe8\x01\x20The\x20nam\
e\x20of\x20the\x20resource\x20being\x20accessed.\x20\x20For\x20example,\
\x20a\x20shared\x20calendar\n\x20name:\x20\"example.com_4fghdhgsrgh@grou\
p.calendar.google.com\",\x20if\x20the\x20current\n\x20error\x20is\n\x20[\
google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].\n\
\n\r\n\x05\x04\x06\x02\x01\x05\x12\x04\x9d\x01\x02\x08\n\r\n\x05\x04\x06\
\x02\x01\x01\x12\x04\x9d\x01\t\x16\n\r\n\x05\x04\x06\x02\x01\x03\x12\x04\
\x9d\x01\x19\x1a\n\x85\x01\n\x04\x04\x06\x02\x02\x12\x04\xa2\x01\x02\x13\
\x1aw\x20The\x20owner\x20of\x20the\x20resource\x20(optional).\n\x20For\
\x20example,\x20\"user:<owner\x20email>\"\x20or\x20\"project:<Google\x20\
developer\x20project\n\x20id>\".\n\n\r\n\x05\x04\x06\x02\x02\x05\x12\x04\
\xa2\x01\x02\x08\n\r\n\x05\x04\x06\x02\x02\x01\x12\x04\xa2\x01\t\x0e\n\r\
\n\x05\x04\x06\x02\x02\x03\x12\x04\xa2\x01\x11\x12\n\xc0\x01\n\x04\x04\
\x06\x02\x03\x12\x04\xa7\x01\x02\x19\x1a\xb1\x01\x20Describes\x20what\
\x20error\x20is\x20encountered\x20when\x20accessing\x20this\x20resource.\
\n\x20For\x20example,\x20updating\x20a\x20cloud\x20project\x20may\x20req\
uire\x20the\x20`writer`\x20permission\n\x20on\x20the\x20developer\x20con\
sole\x20project.\n\n\r\n\x05\x04\x06\x02\x03\x05\x12\x04\xa7\x01\x02\x08\
\n\r\n\x05\x04\x06\x02\x03\x01\x12\x04\xa7\x01\t\x14\n\r\n\x05\x04\x06\
\x02\x03\x03\x12\x04\xa7\x01\x17\x18\n\xba\x02\n\x02\x04\x07\x12\x06\xaf\
\x01\0\xbb\x01\x01\x1a\xab\x02\x20Provides\x20links\x20to\x20documentati\
on\x20or\x20for\x20performing\x20an\x20out\x20of\x20band\x20action.\n\n\
\x20For\x20example,\x20if\x20a\x20quota\x20check\x20failed\x20with\x20an\
\x20error\x20indicating\x20the\x20calling\n\x20project\x20hasn't\x20enab\
led\x20the\x20accessed\x20service,\x20this\x20can\x20contain\x20a\x20URL\
\x20pointing\n\x20directly\x20to\x20the\x20right\x20place\x20in\x20the\
\x20developer\x20console\x20to\x20flip\x20the\x20bit.\n\n\x0b\n\x03\x04\
\x07\x01\x12\x04\xaf\x01\x08\x0c\n'\n\x04\x04\x07\x03\0\x12\x06\xb1\x01\
\x02\xb7\x01\x03\x1a\x17\x20Describes\x20a\x20URL\x20link.\n\n\r\n\x05\
\x04\x07\x03\0\x01\x12\x04\xb1\x01\n\x0e\n1\n\x06\x04\x07\x03\0\x02\0\
\x12\x04\xb3\x01\x04\x1b\x1a!\x20Describes\x20what\x20the\x20link\x20off\
ers.\n\n\x0f\n\x07\x04\x07\x03\0\x02\0\x05\x12\x04\xb3\x01\x04\n\n\x0f\n\
\x07\x04\x07\x03\0\x02\0\x01\x12\x04\xb3\x01\x0b\x16\n\x0f\n\x07\x04\x07\
\x03\0\x02\0\x03\x12\x04\xb3\x01\x19\x1a\n&\n\x06\x04\x07\x03\0\x02\x01\
\x12\x04\xb6\x01\x04\x13\x1a\x16\x20The\x20URL\x20of\x20the\x20link.\n\n\
\x0f\n\x07\x04\x07\x03\0\x02\x01\x05\x12\x04\xb6\x01\x04\n\n\x0f\n\x07\
\x04\x07\x03\0\x02\x01\x01\x12\x04\xb6\x01\x0b\x0e\n\x0f\n\x07\x04\x07\
\x03\0\x02\x01\x03\x12\x04\xb6\x01\x11\x12\nX\n\x04\x04\x07\x02\0\x12\
\x04\xba\x01\x02\x1a\x1aJ\x20URL(s)\x20pointing\x20to\x20additional\x20i\
nformation\x20on\x20handling\x20the\x20current\x20error.\n\n\r\n\x05\x04\
\x07\x02\0\x04\x12\x04\xba\x01\x02\n\n\r\n\x05\x04\x07\x02\0\x06\x12\x04\
\xba\x01\x0b\x0f\n\r\n\x05\x04\x07\x02\0\x01\x12\x04\xba\x01\x10\x15\n\r\
\n\x05\x04\x07\x02\0\x03\x12\x04\xba\x01\x18\x19\n}\n\x02\x04\x08\x12\
\x06\xbf\x01\0\xc7\x01\x01\x1ao\x20Provides\x20a\x20localized\x20error\
\x20message\x20that\x20is\x20safe\x20to\x20return\x20to\x20the\x20user\n\
\x20which\x20can\x20be\x20attached\x20to\x20an\x20RPC\x20error.\n\n\x0b\
\n\x03\x04\x08\x01\x12\x04\xbf\x01\x08\x18\n\x9e\x01\n\x04\x04\x08\x02\0\
\x12\x04\xc3\x01\x02\x14\x1a\x8f\x01\x20The\x20locale\x20used\x20followi\
ng\x20the\x20specification\x20defined\x20at\n\x20http://www.rfc-editor.o\
rg/rfc/bcp/bcp47.txt.\n\x20Examples\x20are:\x20\"en-US\",\x20\"fr-CH\",\
\x20\"es-MX\"\n\n\r\n\x05\x04\x08\x02\0\x05\x12\x04\xc3\x01\x02\x08\n\r\
\n\x05\x04\x08\x02\0\x01\x12\x04\xc3\x01\t\x0f\n\r\n\x05\x04\x08\x02\0\
\x03\x12\x04\xc3\x01\x12\x13\n@\n\x04\x04\x08\x02\x01\x12\x04\xc6\x01\
\x02\x15\x1a2\x20The\x20localized\x20error\x20message\x20in\x20the\x20ab\
ove\x20locale.\n\n\r\n\x05\x04\x08\x02\x01\x05\x12\x04\xc6\x01\x02\x08\n\
\r\n\x05\x04\x08\x02\x01\x01\x12\x04\xc6\x01\t\x10\n\r\n\x05\x04\x08\x02\
\x01\x03\x12\x04\xc6\x01\x13\x14b\x06proto3\
";
static file_descriptor_proto_lazy: ::protobuf::rt::LazyV2<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::LazyV2::INIT;
fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
}
pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
file_descriptor_proto_lazy.get(|| {
parse_descriptor_proto()
})
}