#![allow(unknown_lints)]
#![allow(clippy)]
#![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(unsafe_code)]
#![allow(unused_imports)]
#![allow(unused_results)]
use protobuf::Message as Message_imported_for_functions;
use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;
#[derive(PartialEq,Clone,Default)]
pub struct Usage {
pub requirements: ::protobuf::RepeatedField<::std::string::String>,
pub rules: ::protobuf::RepeatedField<UsageRule>,
pub producer_notification_channel: ::std::string::String,
unknown_fields: ::protobuf::UnknownFields,
cached_size: ::protobuf::CachedSize,
}
impl Usage {
pub fn new() -> Usage {
::std::default::Default::default()
}
pub fn clear_requirements(&mut self) {
self.requirements.clear();
}
pub fn set_requirements(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) {
self.requirements = v;
}
pub fn mut_requirements(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
&mut self.requirements
}
pub fn take_requirements(&mut self) -> ::protobuf::RepeatedField<::std::string::String> {
::std::mem::replace(&mut self.requirements, ::protobuf::RepeatedField::new())
}
pub fn get_requirements(&self) -> &[::std::string::String] {
&self.requirements
}
pub fn clear_rules(&mut self) {
self.rules.clear();
}
pub fn set_rules(&mut self, v: ::protobuf::RepeatedField<UsageRule>) {
self.rules = v;
}
pub fn mut_rules(&mut self) -> &mut ::protobuf::RepeatedField<UsageRule> {
&mut self.rules
}
pub fn take_rules(&mut self) -> ::protobuf::RepeatedField<UsageRule> {
::std::mem::replace(&mut self.rules, ::protobuf::RepeatedField::new())
}
pub fn get_rules(&self) -> &[UsageRule] {
&self.rules
}
pub fn clear_producer_notification_channel(&mut self) {
self.producer_notification_channel.clear();
}
pub fn set_producer_notification_channel(&mut self, v: ::std::string::String) {
self.producer_notification_channel = v;
}
pub fn mut_producer_notification_channel(&mut self) -> &mut ::std::string::String {
&mut self.producer_notification_channel
}
pub fn take_producer_notification_channel(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.producer_notification_channel, ::std::string::String::new())
}
pub fn get_producer_notification_channel(&self) -> &str {
&self.producer_notification_channel
}
}
impl ::protobuf::Message for Usage {
fn is_initialized(&self) -> bool {
for v in &self.rules {
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_string_into(wire_type, is, &mut self.requirements)?;
},
6 => {
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.rules)?;
},
7 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.producer_notification_channel)?;
},
_ => {
::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.requirements {
my_size += ::protobuf::rt::string_size(1, &value);
};
for value in &self.rules {
let len = value.compute_size();
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
};
if !self.producer_notification_channel.is_empty() {
my_size += ::protobuf::rt::string_size(7, &self.producer_notification_channel);
}
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.requirements {
os.write_string(1, &v)?;
};
for v in &self.rules {
os.write_tag(6, ::protobuf::wire_format::WireTypeLengthDelimited)?;
os.write_raw_varint32(v.get_cached_size())?;
v.write_to_with_cached_sizes(os)?;
};
if !self.producer_notification_channel.is_empty() {
os.write_string(7, &self.producer_notification_channel)?;
}
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) -> &::std::any::Any {
self as &::std::any::Any
}
fn as_any_mut(&mut self) -> &mut ::std::any::Any {
self as &mut ::std::any::Any
}
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
self
}
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
Self::descriptor_static()
}
fn new() -> Usage {
Usage::new()
}
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe {
descriptor.get(|| {
let mut fields = ::std::vec::Vec::new();
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"requirements",
|m: &Usage| { &m.requirements },
|m: &mut Usage| { &mut m.requirements },
));
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<UsageRule>>(
"rules",
|m: &Usage| { &m.rules },
|m: &mut Usage| { &mut m.rules },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"producer_notification_channel",
|m: &Usage| { &m.producer_notification_channel },
|m: &mut Usage| { &mut m.producer_notification_channel },
));
::protobuf::reflect::MessageDescriptor::new::<Usage>(
"Usage",
fields,
file_descriptor_proto()
)
})
}
}
fn default_instance() -> &'static Usage {
static mut instance: ::protobuf::lazy::Lazy<Usage> = ::protobuf::lazy::Lazy {
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const Usage,
};
unsafe {
instance.get(Usage::new)
}
}
}
impl ::protobuf::Clear for Usage {
fn clear(&mut self) {
self.clear_requirements();
self.clear_rules();
self.clear_producer_notification_channel();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for Usage {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for Usage {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct UsageRule {
pub selector: ::std::string::String,
pub allow_unregistered_calls: bool,
pub skip_service_control: bool,
unknown_fields: ::protobuf::UnknownFields,
cached_size: ::protobuf::CachedSize,
}
impl UsageRule {
pub fn new() -> UsageRule {
::std::default::Default::default()
}
pub fn clear_selector(&mut self) {
self.selector.clear();
}
pub fn set_selector(&mut self, v: ::std::string::String) {
self.selector = v;
}
pub fn mut_selector(&mut self) -> &mut ::std::string::String {
&mut self.selector
}
pub fn take_selector(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.selector, ::std::string::String::new())
}
pub fn get_selector(&self) -> &str {
&self.selector
}
pub fn clear_allow_unregistered_calls(&mut self) {
self.allow_unregistered_calls = false;
}
pub fn set_allow_unregistered_calls(&mut self, v: bool) {
self.allow_unregistered_calls = v;
}
pub fn get_allow_unregistered_calls(&self) -> bool {
self.allow_unregistered_calls
}
pub fn clear_skip_service_control(&mut self) {
self.skip_service_control = false;
}
pub fn set_skip_service_control(&mut self, v: bool) {
self.skip_service_control = v;
}
pub fn get_skip_service_control(&self) -> bool {
self.skip_service_control
}
}
impl ::protobuf::Message for UsageRule {
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.selector)?;
},
2 => {
if wire_type != ::protobuf::wire_format::WireTypeVarint {
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
}
let tmp = is.read_bool()?;
self.allow_unregistered_calls = tmp;
},
3 => {
if wire_type != ::protobuf::wire_format::WireTypeVarint {
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
}
let tmp = is.read_bool()?;
self.skip_service_control = tmp;
},
_ => {
::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.selector.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.selector);
}
if self.allow_unregistered_calls != false {
my_size += 2;
}
if self.skip_service_control != false {
my_size += 2;
}
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.selector.is_empty() {
os.write_string(1, &self.selector)?;
}
if self.allow_unregistered_calls != false {
os.write_bool(2, self.allow_unregistered_calls)?;
}
if self.skip_service_control != false {
os.write_bool(3, self.skip_service_control)?;
}
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) -> &::std::any::Any {
self as &::std::any::Any
}
fn as_any_mut(&mut self) -> &mut ::std::any::Any {
self as &mut ::std::any::Any
}
fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
self
}
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
Self::descriptor_static()
}
fn new() -> UsageRule {
UsageRule::new()
}
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
};
unsafe {
descriptor.get(|| {
let mut fields = ::std::vec::Vec::new();
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"selector",
|m: &UsageRule| { &m.selector },
|m: &mut UsageRule| { &mut m.selector },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>(
"allow_unregistered_calls",
|m: &UsageRule| { &m.allow_unregistered_calls },
|m: &mut UsageRule| { &mut m.allow_unregistered_calls },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>(
"skip_service_control",
|m: &UsageRule| { &m.skip_service_control },
|m: &mut UsageRule| { &mut m.skip_service_control },
));
::protobuf::reflect::MessageDescriptor::new::<UsageRule>(
"UsageRule",
fields,
file_descriptor_proto()
)
})
}
}
fn default_instance() -> &'static UsageRule {
static mut instance: ::protobuf::lazy::Lazy<UsageRule> = ::protobuf::lazy::Lazy {
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const UsageRule,
};
unsafe {
instance.get(UsageRule::new)
}
}
}
impl ::protobuf::Clear for UsageRule {
fn clear(&mut self) {
self.clear_selector();
self.clear_allow_unregistered_calls();
self.clear_skip_service_control();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for UsageRule {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for UsageRule {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self)
}
}
static file_descriptor_proto_data: &'static [u8] = b"\
\n\x16google/api/usage.proto\x12\ngoogle.api\x1a\x1cgoogle/api/annotatio\
ns.proto\"\x9c\x01\n\x05Usage\x12\"\n\x0crequirements\x18\x01\x20\x03(\t\
R\x0crequirements\x12+\n\x05rules\x18\x06\x20\x03(\x0b2\x15.google.api.U\
sageRuleR\x05rules\x12B\n\x1dproducer_notification_channel\x18\x07\x20\
\x01(\tR\x1bproducerNotificationChannel\"\x93\x01\n\tUsageRule\x12\x1a\n\
\x08selector\x18\x01\x20\x01(\tR\x08selector\x128\n\x18allow_unregistere\
d_calls\x18\x02\x20\x01(\x08R\x16allowUnregisteredCalls\x120\n\x14skip_s\
ervice_control\x18\x03\x20\x01(\x08R\x12skipServiceControlBl\n\x0ecom.go\
ogle.apiB\nUsageProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/se\
rviceconfig;serviceconfig\xa2\x02\x04GAPIJ\xbc\x1b\n\x06\x12\x04\x0e\0X\
\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\x20you\x20may\x20not\x20us\
e\x20this\x20file\x20except\x20in\x20compliance\x20with\x20the\x20Licens\
e.\n\x20You\x20may\x20obtain\x20a\x20copy\x20of\x20the\x20License\x20at\
\n\n\x20\x20\x20\x20\x20http://www.apache.org/licenses/LICENSE-2.0\n\n\
\x20Unless\x20required\x20by\x20applicable\x20law\x20or\x20agreed\x20to\
\x20in\x20writing,\x20software\n\x20distributed\x20under\x20the\x20Licen\
se\x20is\x20distributed\x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\x20WITHO\
UT\x20WARRANTIES\x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20\
express\x20or\x20implied.\n\x20See\x20the\x20License\x20for\x20the\x20sp\
ecific\x20language\x20governing\x20permissions\x20and\n\x20limitations\
\x20under\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\x08\x12\n\t\n\
\x02\x03\0\x12\x03\x12\x07%\n\x08\n\x01\x08\x12\x03\x14\0\\\n\x0b\n\x04\
\x08\xe7\x07\0\x12\x03\x14\0\\\n\x0c\n\x05\x08\xe7\x07\0\x02\x12\x03\x14\
\x07\x11\n\r\n\x06\x08\xe7\x07\0\x02\0\x12\x03\x14\x07\x11\n\x0e\n\x07\
\x08\xe7\x07\0\x02\0\x01\x12\x03\x14\x07\x11\n\x0c\n\x05\x08\xe7\x07\0\
\x07\x12\x03\x14\x14[\n\x08\n\x01\x08\x12\x03\x15\0\"\n\x0b\n\x04\x08\
\xe7\x07\x01\x12\x03\x15\0\"\n\x0c\n\x05\x08\xe7\x07\x01\x02\x12\x03\x15\
\x07\x1a\n\r\n\x06\x08\xe7\x07\x01\x02\0\x12\x03\x15\x07\x1a\n\x0e\n\x07\
\x08\xe7\x07\x01\x02\0\x01\x12\x03\x15\x07\x1a\n\x0c\n\x05\x08\xe7\x07\
\x01\x03\x12\x03\x15\x1d!\n\x08\n\x01\x08\x12\x03\x16\0+\n\x0b\n\x04\x08\
\xe7\x07\x02\x12\x03\x16\0+\n\x0c\n\x05\x08\xe7\x07\x02\x02\x12\x03\x16\
\x07\x1b\n\r\n\x06\x08\xe7\x07\x02\x02\0\x12\x03\x16\x07\x1b\n\x0e\n\x07\
\x08\xe7\x07\x02\x02\0\x01\x12\x03\x16\x07\x1b\n\x0c\n\x05\x08\xe7\x07\
\x02\x07\x12\x03\x16\x1e*\n\x08\n\x01\x08\x12\x03\x17\0'\n\x0b\n\x04\x08\
\xe7\x07\x03\x12\x03\x17\0'\n\x0c\n\x05\x08\xe7\x07\x03\x02\x12\x03\x17\
\x07\x13\n\r\n\x06\x08\xe7\x07\x03\x02\0\x12\x03\x17\x07\x13\n\x0e\n\x07\
\x08\xe7\x07\x03\x02\0\x01\x12\x03\x17\x07\x13\n\x0c\n\x05\x08\xe7\x07\
\x03\x07\x12\x03\x17\x16&\n\x08\n\x01\x08\x12\x03\x18\0\"\n\x0b\n\x04\
\x08\xe7\x07\x04\x12\x03\x18\0\"\n\x0c\n\x05\x08\xe7\x07\x04\x02\x12\x03\
\x18\x07\x18\n\r\n\x06\x08\xe7\x07\x04\x02\0\x12\x03\x18\x07\x18\n\x0e\n\
\x07\x08\xe7\x07\x04\x02\0\x01\x12\x03\x18\x07\x18\n\x0c\n\x05\x08\xe7\
\x07\x04\x07\x12\x03\x18\x1b!\n;\n\x02\x04\0\x12\x04\x1c\00\x01\x1a/\x20\
Configuration\x20controlling\x20usage\x20of\x20a\x20service.\n\n\n\n\x03\
\x04\0\x01\x12\x03\x1c\x08\r\n\xe0\x01\n\x04\x04\0\x02\0\x12\x03\x20\x02\
#\x1a\xd2\x01\x20Requirements\x20that\x20must\x20be\x20satisfied\x20befo\
re\x20a\x20consumer\x20project\x20can\x20use\x20the\n\x20service.\x20Eac\
h\x20requirement\x20is\x20of\x20the\x20form\x20<service.name>/<requireme\
nt-id>;\n\x20for\x20example\x20'serviceusage.googleapis.com/billing-enab\
led'.\n\n\x0c\n\x05\x04\0\x02\0\x04\x12\x03\x20\x02\n\n\x0c\n\x05\x04\0\
\x02\0\x05\x12\x03\x20\x0b\x11\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03\x20\
\x12\x1e\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03\x20!\"\n\x95\x01\n\x04\x04\
\0\x02\x01\x12\x03%\x02\x1f\x1a\x87\x01\x20A\x20list\x20of\x20usage\x20r\
ules\x20that\x20apply\x20to\x20individual\x20API\x20methods.\n\n\x20**NO\
TE:**\x20All\x20service\x20configuration\x20rules\x20follow\x20\"last\
\x20one\x20wins\"\x20order.\n\n\x0c\n\x05\x04\0\x02\x01\x04\x12\x03%\x02\
\n\n\x0c\n\x05\x04\0\x02\x01\x06\x12\x03%\x0b\x14\n\x0c\n\x05\x04\0\x02\
\x01\x01\x12\x03%\x15\x1a\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03%\x1d\x1e\
\n\xbd\x03\n\x04\x04\0\x02\x02\x12\x03/\x02+\x1a\xaf\x03\x20The\x20full\
\x20resource\x20name\x20of\x20a\x20channel\x20used\x20for\x20sending\x20\
notifications\x20to\x20the\n\x20service\x20producer.\n\n\x20Google\x20Se\
rvice\x20Management\x20currently\x20only\x20supports\n\x20[Google\x20Clo\
ud\x20Pub/Sub](https://cloud.google.com/pubsub)\x20as\x20a\x20notificati\
on\n\x20channel.\x20To\x20use\x20Google\x20Cloud\x20Pub/Sub\x20as\x20the\
\x20channel,\x20this\x20must\x20be\x20the\x20name\n\x20of\x20a\x20Cloud\
\x20Pub/Sub\x20topic\x20that\x20uses\x20the\x20Cloud\x20Pub/Sub\x20topic\
\x20name\x20format\n\x20documented\x20in\x20https://cloud.google.com/pub\
sub/docs/overview.\n\n\r\n\x05\x04\0\x02\x02\x04\x12\x04/\x02%\x1f\n\x0c\
\n\x05\x04\0\x02\x02\x05\x12\x03/\x02\x08\n\x0c\n\x05\x04\0\x02\x02\x01\
\x12\x03/\t&\n\x0c\n\x05\x04\0\x02\x02\x03\x12\x03/)*\n\xc0\x06\n\x02\
\x04\x01\x12\x04K\0X\x01\x1a\xb3\x06\x20Usage\x20configuration\x20rules\
\x20for\x20the\x20service.\n\n\x20NOTE:\x20Under\x20development.\n\n\n\
\x20Use\x20this\x20rule\x20to\x20configure\x20unregistered\x20calls\x20f\
or\x20the\x20service.\x20Unregistered\n\x20calls\x20are\x20calls\x20that\
\x20do\x20not\x20contain\x20consumer\x20project\x20identity.\n\x20(Examp\
le:\x20calls\x20that\x20do\x20not\x20contain\x20an\x20API\x20key).\n\x20\
By\x20default,\x20API\x20methods\x20do\x20not\x20allow\x20unregistered\
\x20calls,\x20and\x20each\x20method\x20call\n\x20must\x20be\x20identifie\
d\x20by\x20a\x20consumer\x20project\x20identity.\x20Use\x20this\x20rule\
\x20to\n\x20allow/disallow\x20unregistered\x20calls.\n\n\x20Example\x20o\
f\x20an\x20API\x20that\x20wants\x20to\x20allow\x20unregistered\x20calls\
\x20for\x20entire\x20service.\n\n\x20\x20\x20\x20\x20usage:\n\x20\x20\
\x20\x20\x20\x20\x20rules:\n\x20\x20\x20\x20\x20\x20\x20-\x20selector:\
\x20\"*\"\n\x20\x20\x20\x20\x20\x20\x20\x20\x20allow_unregistered_calls:\
\x20true\n\n\x20Example\x20of\x20a\x20method\x20that\x20wants\x20to\x20a\
llow\x20unregistered\x20calls.\n\n\x20\x20\x20\x20\x20usage:\n\x20\x20\
\x20\x20\x20\x20\x20rules:\n\x20\x20\x20\x20\x20\x20\x20-\x20selector:\
\x20\"google.example.library.v1.LibraryService.CreateBook\"\n\x20\x20\
\x20\x20\x20\x20\x20\x20\x20allow_unregistered_calls:\x20true\n\n\n\n\
\x03\x04\x01\x01\x12\x03K\x08\x11\n\xbe\x01\n\x04\x04\x01\x02\0\x12\x03P\
\x02\x16\x1a\xb0\x01\x20Selects\x20the\x20methods\x20to\x20which\x20this\
\x20rule\x20applies.\x20Use\x20'*'\x20to\x20indicate\x20all\n\x20methods\
\x20in\x20all\x20APIs.\n\n\x20Refer\x20to\x20[selector][google.api.Docum\
entationRule.selector]\x20for\x20syntax\x20details.\n\n\r\n\x05\x04\x01\
\x02\0\x04\x12\x04P\x02K\x13\n\x0c\n\x05\x04\x01\x02\0\x05\x12\x03P\x02\
\x08\n\x0c\n\x05\x04\x01\x02\0\x01\x12\x03P\t\x11\n\x0c\n\x05\x04\x01\
\x02\0\x03\x12\x03P\x14\x15\nN\n\x04\x04\x01\x02\x01\x12\x03S\x02$\x1aA\
\x20True,\x20if\x20the\x20method\x20allows\x20unregistered\x20calls;\x20\
false\x20otherwise.\n\n\r\n\x05\x04\x01\x02\x01\x04\x12\x04S\x02P\x16\n\
\x0c\n\x05\x04\x01\x02\x01\x05\x12\x03S\x02\x06\n\x0c\n\x05\x04\x01\x02\
\x01\x01\x12\x03S\x07\x1f\n\x0c\n\x05\x04\x01\x02\x01\x03\x12\x03S\"#\n\
\x8a\x01\n\x04\x04\x01\x02\x02\x12\x03W\x02\x20\x1a}\x20True,\x20if\x20t\
he\x20method\x20should\x20skip\x20service\x20control.\x20If\x20so,\x20no\
\x20control\x20plane\n\x20feature\x20(like\x20quota\x20and\x20billing)\
\x20will\x20be\x20enabled.\n\n\r\n\x05\x04\x01\x02\x02\x04\x12\x04W\x02S\
$\n\x0c\n\x05\x04\x01\x02\x02\x05\x12\x03W\x02\x06\n\x0c\n\x05\x04\x01\
\x02\x02\x01\x12\x03W\x07\x1b\n\x0c\n\x05\x04\x01\x02\x02\x03\x12\x03W\
\x1e\x1fb\x06proto3\
";
static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy {
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto,
};
fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap()
}
pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
unsafe {
file_descriptor_proto_lazy.get(|| {
parse_descriptor_proto()
})
}
}