#![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 CheckRequest {
pub service_name: ::std::string::String,
pub operation: ::protobuf::SingularPtrField<super::operation::Operation>,
pub service_config_id: ::std::string::String,
pub unknown_fields: ::protobuf::UnknownFields,
pub cached_size: ::protobuf::CachedSize,
}
impl<'a> ::std::default::Default for &'a CheckRequest {
fn default() -> &'a CheckRequest {
<CheckRequest as ::protobuf::Message>::default_instance()
}
}
impl CheckRequest {
pub fn new() -> CheckRequest {
::std::default::Default::default()
}
pub fn get_service_name(&self) -> &str {
&self.service_name
}
pub fn clear_service_name(&mut self) {
self.service_name.clear();
}
pub fn set_service_name(&mut self, v: ::std::string::String) {
self.service_name = v;
}
pub fn mut_service_name(&mut self) -> &mut ::std::string::String {
&mut self.service_name
}
pub fn take_service_name(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.service_name, ::std::string::String::new())
}
pub fn get_operation(&self) -> &super::operation::Operation {
self.operation.as_ref().unwrap_or_else(|| <super::operation::Operation as ::protobuf::Message>::default_instance())
}
pub fn clear_operation(&mut self) {
self.operation.clear();
}
pub fn has_operation(&self) -> bool {
self.operation.is_some()
}
pub fn set_operation(&mut self, v: super::operation::Operation) {
self.operation = ::protobuf::SingularPtrField::some(v);
}
pub fn mut_operation(&mut self) -> &mut super::operation::Operation {
if self.operation.is_none() {
self.operation.set_default();
}
self.operation.as_mut().unwrap()
}
pub fn take_operation(&mut self) -> super::operation::Operation {
self.operation.take().unwrap_or_else(|| super::operation::Operation::new())
}
pub fn get_service_config_id(&self) -> &str {
&self.service_config_id
}
pub fn clear_service_config_id(&mut self) {
self.service_config_id.clear();
}
pub fn set_service_config_id(&mut self, v: ::std::string::String) {
self.service_config_id = v;
}
pub fn mut_service_config_id(&mut self) -> &mut ::std::string::String {
&mut self.service_config_id
}
pub fn take_service_config_id(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.service_config_id, ::std::string::String::new())
}
}
impl ::protobuf::Message for CheckRequest {
fn is_initialized(&self) -> bool {
for v in &self.operation {
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_proto3_string_into(wire_type, is, &mut self.service_name)?;
},
2 => {
::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.operation)?;
},
4 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.service_config_id)?;
},
_ => {
::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.service_name.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.service_name);
}
if let Some(ref v) = self.operation.as_ref() {
let len = v.compute_size();
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
}
if !self.service_config_id.is_empty() {
my_size += ::protobuf::rt::string_size(4, &self.service_config_id);
}
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.service_name.is_empty() {
os.write_string(1, &self.service_name)?;
}
if let Some(ref v) = self.operation.as_ref() {
os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
os.write_raw_varint32(v.get_cached_size())?;
v.write_to_with_cached_sizes(os)?;
}
if !self.service_config_id.is_empty() {
os.write_string(4, &self.service_config_id)?;
}
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() -> CheckRequest {
CheckRequest::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>(
"service_name",
|m: &CheckRequest| { &m.service_name },
|m: &mut CheckRequest| { &mut m.service_name },
));
fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::operation::Operation>>(
"operation",
|m: &CheckRequest| { &m.operation },
|m: &mut CheckRequest| { &mut m.operation },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"service_config_id",
|m: &CheckRequest| { &m.service_config_id },
|m: &mut CheckRequest| { &mut m.service_config_id },
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<CheckRequest>(
"CheckRequest",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static CheckRequest {
static instance: ::protobuf::rt::LazyV2<CheckRequest> = ::protobuf::rt::LazyV2::INIT;
instance.get(CheckRequest::new)
}
}
impl ::protobuf::Clear for CheckRequest {
fn clear(&mut self) {
self.service_name.clear();
self.operation.clear();
self.service_config_id.clear();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for CheckRequest {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for CheckRequest {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct CheckResponse {
pub operation_id: ::std::string::String,
pub check_errors: ::protobuf::RepeatedField<super::check_error::CheckError>,
pub service_config_id: ::std::string::String,
pub service_rollout_id: ::std::string::String,
pub check_info: ::protobuf::SingularPtrField<CheckResponse_CheckInfo>,
pub unknown_fields: ::protobuf::UnknownFields,
pub cached_size: ::protobuf::CachedSize,
}
impl<'a> ::std::default::Default for &'a CheckResponse {
fn default() -> &'a CheckResponse {
<CheckResponse as ::protobuf::Message>::default_instance()
}
}
impl CheckResponse {
pub fn new() -> CheckResponse {
::std::default::Default::default()
}
pub fn get_operation_id(&self) -> &str {
&self.operation_id
}
pub fn clear_operation_id(&mut self) {
self.operation_id.clear();
}
pub fn set_operation_id(&mut self, v: ::std::string::String) {
self.operation_id = v;
}
pub fn mut_operation_id(&mut self) -> &mut ::std::string::String {
&mut self.operation_id
}
pub fn take_operation_id(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.operation_id, ::std::string::String::new())
}
pub fn get_check_errors(&self) -> &[super::check_error::CheckError] {
&self.check_errors
}
pub fn clear_check_errors(&mut self) {
self.check_errors.clear();
}
pub fn set_check_errors(&mut self, v: ::protobuf::RepeatedField<super::check_error::CheckError>) {
self.check_errors = v;
}
pub fn mut_check_errors(&mut self) -> &mut ::protobuf::RepeatedField<super::check_error::CheckError> {
&mut self.check_errors
}
pub fn take_check_errors(&mut self) -> ::protobuf::RepeatedField<super::check_error::CheckError> {
::std::mem::replace(&mut self.check_errors, ::protobuf::RepeatedField::new())
}
pub fn get_service_config_id(&self) -> &str {
&self.service_config_id
}
pub fn clear_service_config_id(&mut self) {
self.service_config_id.clear();
}
pub fn set_service_config_id(&mut self, v: ::std::string::String) {
self.service_config_id = v;
}
pub fn mut_service_config_id(&mut self) -> &mut ::std::string::String {
&mut self.service_config_id
}
pub fn take_service_config_id(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.service_config_id, ::std::string::String::new())
}
pub fn get_service_rollout_id(&self) -> &str {
&self.service_rollout_id
}
pub fn clear_service_rollout_id(&mut self) {
self.service_rollout_id.clear();
}
pub fn set_service_rollout_id(&mut self, v: ::std::string::String) {
self.service_rollout_id = v;
}
pub fn mut_service_rollout_id(&mut self) -> &mut ::std::string::String {
&mut self.service_rollout_id
}
pub fn take_service_rollout_id(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.service_rollout_id, ::std::string::String::new())
}
pub fn get_check_info(&self) -> &CheckResponse_CheckInfo {
self.check_info.as_ref().unwrap_or_else(|| <CheckResponse_CheckInfo as ::protobuf::Message>::default_instance())
}
pub fn clear_check_info(&mut self) {
self.check_info.clear();
}
pub fn has_check_info(&self) -> bool {
self.check_info.is_some()
}
pub fn set_check_info(&mut self, v: CheckResponse_CheckInfo) {
self.check_info = ::protobuf::SingularPtrField::some(v);
}
pub fn mut_check_info(&mut self) -> &mut CheckResponse_CheckInfo {
if self.check_info.is_none() {
self.check_info.set_default();
}
self.check_info.as_mut().unwrap()
}
pub fn take_check_info(&mut self) -> CheckResponse_CheckInfo {
self.check_info.take().unwrap_or_else(|| CheckResponse_CheckInfo::new())
}
}
impl ::protobuf::Message for CheckResponse {
fn is_initialized(&self) -> bool {
for v in &self.check_errors {
if !v.is_initialized() {
return false;
}
};
for v in &self.check_info {
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_proto3_string_into(wire_type, is, &mut self.operation_id)?;
},
2 => {
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.check_errors)?;
},
5 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.service_config_id)?;
},
11 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.service_rollout_id)?;
},
6 => {
::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.check_info)?;
},
_ => {
::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.operation_id.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.operation_id);
}
for value in &self.check_errors {
let len = value.compute_size();
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
};
if !self.service_config_id.is_empty() {
my_size += ::protobuf::rt::string_size(5, &self.service_config_id);
}
if !self.service_rollout_id.is_empty() {
my_size += ::protobuf::rt::string_size(11, &self.service_rollout_id);
}
if let Some(ref v) = self.check_info.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 !self.operation_id.is_empty() {
os.write_string(1, &self.operation_id)?;
}
for v in &self.check_errors {
os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
os.write_raw_varint32(v.get_cached_size())?;
v.write_to_with_cached_sizes(os)?;
};
if !self.service_config_id.is_empty() {
os.write_string(5, &self.service_config_id)?;
}
if !self.service_rollout_id.is_empty() {
os.write_string(11, &self.service_rollout_id)?;
}
if let Some(ref v) = self.check_info.as_ref() {
os.write_tag(6, ::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() -> CheckResponse {
CheckResponse::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>(
"operation_id",
|m: &CheckResponse| { &m.operation_id },
|m: &mut CheckResponse| { &mut m.operation_id },
));
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::check_error::CheckError>>(
"check_errors",
|m: &CheckResponse| { &m.check_errors },
|m: &mut CheckResponse| { &mut m.check_errors },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"service_config_id",
|m: &CheckResponse| { &m.service_config_id },
|m: &mut CheckResponse| { &mut m.service_config_id },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"service_rollout_id",
|m: &CheckResponse| { &m.service_rollout_id },
|m: &mut CheckResponse| { &mut m.service_rollout_id },
));
fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<CheckResponse_CheckInfo>>(
"check_info",
|m: &CheckResponse| { &m.check_info },
|m: &mut CheckResponse| { &mut m.check_info },
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<CheckResponse>(
"CheckResponse",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static CheckResponse {
static instance: ::protobuf::rt::LazyV2<CheckResponse> = ::protobuf::rt::LazyV2::INIT;
instance.get(CheckResponse::new)
}
}
impl ::protobuf::Clear for CheckResponse {
fn clear(&mut self) {
self.operation_id.clear();
self.check_errors.clear();
self.service_config_id.clear();
self.service_rollout_id.clear();
self.check_info.clear();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for CheckResponse {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for CheckResponse {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct CheckResponse_CheckInfo {
pub unused_arguments: ::protobuf::RepeatedField<::std::string::String>,
pub consumer_info: ::protobuf::SingularPtrField<CheckResponse_ConsumerInfo>,
pub unknown_fields: ::protobuf::UnknownFields,
pub cached_size: ::protobuf::CachedSize,
}
impl<'a> ::std::default::Default for &'a CheckResponse_CheckInfo {
fn default() -> &'a CheckResponse_CheckInfo {
<CheckResponse_CheckInfo as ::protobuf::Message>::default_instance()
}
}
impl CheckResponse_CheckInfo {
pub fn new() -> CheckResponse_CheckInfo {
::std::default::Default::default()
}
pub fn get_unused_arguments(&self) -> &[::std::string::String] {
&self.unused_arguments
}
pub fn clear_unused_arguments(&mut self) {
self.unused_arguments.clear();
}
pub fn set_unused_arguments(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) {
self.unused_arguments = v;
}
pub fn mut_unused_arguments(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
&mut self.unused_arguments
}
pub fn take_unused_arguments(&mut self) -> ::protobuf::RepeatedField<::std::string::String> {
::std::mem::replace(&mut self.unused_arguments, ::protobuf::RepeatedField::new())
}
pub fn get_consumer_info(&self) -> &CheckResponse_ConsumerInfo {
self.consumer_info.as_ref().unwrap_or_else(|| <CheckResponse_ConsumerInfo as ::protobuf::Message>::default_instance())
}
pub fn clear_consumer_info(&mut self) {
self.consumer_info.clear();
}
pub fn has_consumer_info(&self) -> bool {
self.consumer_info.is_some()
}
pub fn set_consumer_info(&mut self, v: CheckResponse_ConsumerInfo) {
self.consumer_info = ::protobuf::SingularPtrField::some(v);
}
pub fn mut_consumer_info(&mut self) -> &mut CheckResponse_ConsumerInfo {
if self.consumer_info.is_none() {
self.consumer_info.set_default();
}
self.consumer_info.as_mut().unwrap()
}
pub fn take_consumer_info(&mut self) -> CheckResponse_ConsumerInfo {
self.consumer_info.take().unwrap_or_else(|| CheckResponse_ConsumerInfo::new())
}
}
impl ::protobuf::Message for CheckResponse_CheckInfo {
fn is_initialized(&self) -> bool {
for v in &self.consumer_info {
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.unused_arguments)?;
},
2 => {
::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.consumer_info)?;
},
_ => {
::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.unused_arguments {
my_size += ::protobuf::rt::string_size(1, &value);
};
if let Some(ref v) = self.consumer_info.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<()> {
for v in &self.unused_arguments {
os.write_string(1, &v)?;
};
if let Some(ref v) = self.consumer_info.as_ref() {
os.write_tag(2, ::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() -> CheckResponse_CheckInfo {
CheckResponse_CheckInfo::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>(
"unused_arguments",
|m: &CheckResponse_CheckInfo| { &m.unused_arguments },
|m: &mut CheckResponse_CheckInfo| { &mut m.unused_arguments },
));
fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<CheckResponse_ConsumerInfo>>(
"consumer_info",
|m: &CheckResponse_CheckInfo| { &m.consumer_info },
|m: &mut CheckResponse_CheckInfo| { &mut m.consumer_info },
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<CheckResponse_CheckInfo>(
"CheckResponse.CheckInfo",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static CheckResponse_CheckInfo {
static instance: ::protobuf::rt::LazyV2<CheckResponse_CheckInfo> = ::protobuf::rt::LazyV2::INIT;
instance.get(CheckResponse_CheckInfo::new)
}
}
impl ::protobuf::Clear for CheckResponse_CheckInfo {
fn clear(&mut self) {
self.unused_arguments.clear();
self.consumer_info.clear();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for CheckResponse_CheckInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for CheckResponse_CheckInfo {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct CheckResponse_ConsumerInfo {
pub project_number: i64,
pub field_type: CheckResponse_ConsumerInfo_ConsumerType,
pub consumer_number: i64,
pub unknown_fields: ::protobuf::UnknownFields,
pub cached_size: ::protobuf::CachedSize,
}
impl<'a> ::std::default::Default for &'a CheckResponse_ConsumerInfo {
fn default() -> &'a CheckResponse_ConsumerInfo {
<CheckResponse_ConsumerInfo as ::protobuf::Message>::default_instance()
}
}
impl CheckResponse_ConsumerInfo {
pub fn new() -> CheckResponse_ConsumerInfo {
::std::default::Default::default()
}
pub fn get_project_number(&self) -> i64 {
self.project_number
}
pub fn clear_project_number(&mut self) {
self.project_number = 0;
}
pub fn set_project_number(&mut self, v: i64) {
self.project_number = v;
}
pub fn get_field_type(&self) -> CheckResponse_ConsumerInfo_ConsumerType {
self.field_type
}
pub fn clear_field_type(&mut self) {
self.field_type = CheckResponse_ConsumerInfo_ConsumerType::CONSUMER_TYPE_UNSPECIFIED;
}
pub fn set_field_type(&mut self, v: CheckResponse_ConsumerInfo_ConsumerType) {
self.field_type = v;
}
pub fn get_consumer_number(&self) -> i64 {
self.consumer_number
}
pub fn clear_consumer_number(&mut self) {
self.consumer_number = 0;
}
pub fn set_consumer_number(&mut self, v: i64) {
self.consumer_number = v;
}
}
impl ::protobuf::Message for CheckResponse_ConsumerInfo {
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 => {
if wire_type != ::protobuf::wire_format::WireTypeVarint {
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
}
let tmp = is.read_int64()?;
self.project_number = tmp;
},
2 => {
::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.field_type, 2, &mut self.unknown_fields)?
},
3 => {
if wire_type != ::protobuf::wire_format::WireTypeVarint {
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
}
let tmp = is.read_int64()?;
self.consumer_number = 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.project_number != 0 {
my_size += ::protobuf::rt::value_size(1, self.project_number, ::protobuf::wire_format::WireTypeVarint);
}
if self.field_type != CheckResponse_ConsumerInfo_ConsumerType::CONSUMER_TYPE_UNSPECIFIED {
my_size += ::protobuf::rt::enum_size(2, self.field_type);
}
if self.consumer_number != 0 {
my_size += ::protobuf::rt::value_size(3, self.consumer_number, ::protobuf::wire_format::WireTypeVarint);
}
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.project_number != 0 {
os.write_int64(1, self.project_number)?;
}
if self.field_type != CheckResponse_ConsumerInfo_ConsumerType::CONSUMER_TYPE_UNSPECIFIED {
os.write_enum(2, ::protobuf::ProtobufEnum::value(&self.field_type))?;
}
if self.consumer_number != 0 {
os.write_int64(3, self.consumer_number)?;
}
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() -> CheckResponse_ConsumerInfo {
CheckResponse_ConsumerInfo::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::ProtobufTypeInt64>(
"project_number",
|m: &CheckResponse_ConsumerInfo| { &m.project_number },
|m: &mut CheckResponse_ConsumerInfo| { &mut m.project_number },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<CheckResponse_ConsumerInfo_ConsumerType>>(
"type",
|m: &CheckResponse_ConsumerInfo| { &m.field_type },
|m: &mut CheckResponse_ConsumerInfo| { &mut m.field_type },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt64>(
"consumer_number",
|m: &CheckResponse_ConsumerInfo| { &m.consumer_number },
|m: &mut CheckResponse_ConsumerInfo| { &mut m.consumer_number },
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<CheckResponse_ConsumerInfo>(
"CheckResponse.ConsumerInfo",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static CheckResponse_ConsumerInfo {
static instance: ::protobuf::rt::LazyV2<CheckResponse_ConsumerInfo> = ::protobuf::rt::LazyV2::INIT;
instance.get(CheckResponse_ConsumerInfo::new)
}
}
impl ::protobuf::Clear for CheckResponse_ConsumerInfo {
fn clear(&mut self) {
self.project_number = 0;
self.field_type = CheckResponse_ConsumerInfo_ConsumerType::CONSUMER_TYPE_UNSPECIFIED;
self.consumer_number = 0;
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for CheckResponse_ConsumerInfo {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for CheckResponse_ConsumerInfo {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Message(self)
}
}
#[derive(Clone,PartialEq,Eq,Debug,Hash)]
pub enum CheckResponse_ConsumerInfo_ConsumerType {
CONSUMER_TYPE_UNSPECIFIED = 0,
PROJECT = 1,
FOLDER = 2,
ORGANIZATION = 3,
SERVICE_SPECIFIC = 4,
}
impl ::protobuf::ProtobufEnum for CheckResponse_ConsumerInfo_ConsumerType {
fn value(&self) -> i32 {
*self as i32
}
fn from_i32(value: i32) -> ::std::option::Option<CheckResponse_ConsumerInfo_ConsumerType> {
match value {
0 => ::std::option::Option::Some(CheckResponse_ConsumerInfo_ConsumerType::CONSUMER_TYPE_UNSPECIFIED),
1 => ::std::option::Option::Some(CheckResponse_ConsumerInfo_ConsumerType::PROJECT),
2 => ::std::option::Option::Some(CheckResponse_ConsumerInfo_ConsumerType::FOLDER),
3 => ::std::option::Option::Some(CheckResponse_ConsumerInfo_ConsumerType::ORGANIZATION),
4 => ::std::option::Option::Some(CheckResponse_ConsumerInfo_ConsumerType::SERVICE_SPECIFIC),
_ => ::std::option::Option::None
}
}
fn values() -> &'static [Self] {
static values: &'static [CheckResponse_ConsumerInfo_ConsumerType] = &[
CheckResponse_ConsumerInfo_ConsumerType::CONSUMER_TYPE_UNSPECIFIED,
CheckResponse_ConsumerInfo_ConsumerType::PROJECT,
CheckResponse_ConsumerInfo_ConsumerType::FOLDER,
CheckResponse_ConsumerInfo_ConsumerType::ORGANIZATION,
CheckResponse_ConsumerInfo_ConsumerType::SERVICE_SPECIFIC,
];
values
}
fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
descriptor.get(|| {
::protobuf::reflect::EnumDescriptor::new_pb_name::<CheckResponse_ConsumerInfo_ConsumerType>("CheckResponse.ConsumerInfo.ConsumerType", file_descriptor_proto())
})
}
}
impl ::std::marker::Copy for CheckResponse_ConsumerInfo_ConsumerType {
}
impl ::std::default::Default for CheckResponse_ConsumerInfo_ConsumerType {
fn default() -> Self {
CheckResponse_ConsumerInfo_ConsumerType::CONSUMER_TYPE_UNSPECIFIED
}
}
impl ::protobuf::reflect::ProtobufValue for CheckResponse_ConsumerInfo_ConsumerType {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
}
}
#[derive(PartialEq,Clone,Default)]
pub struct ReportRequest {
pub service_name: ::std::string::String,
pub operations: ::protobuf::RepeatedField<super::operation::Operation>,
pub service_config_id: ::std::string::String,
pub unknown_fields: ::protobuf::UnknownFields,
pub cached_size: ::protobuf::CachedSize,
}
impl<'a> ::std::default::Default for &'a ReportRequest {
fn default() -> &'a ReportRequest {
<ReportRequest as ::protobuf::Message>::default_instance()
}
}
impl ReportRequest {
pub fn new() -> ReportRequest {
::std::default::Default::default()
}
pub fn get_service_name(&self) -> &str {
&self.service_name
}
pub fn clear_service_name(&mut self) {
self.service_name.clear();
}
pub fn set_service_name(&mut self, v: ::std::string::String) {
self.service_name = v;
}
pub fn mut_service_name(&mut self) -> &mut ::std::string::String {
&mut self.service_name
}
pub fn take_service_name(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.service_name, ::std::string::String::new())
}
pub fn get_operations(&self) -> &[super::operation::Operation] {
&self.operations
}
pub fn clear_operations(&mut self) {
self.operations.clear();
}
pub fn set_operations(&mut self, v: ::protobuf::RepeatedField<super::operation::Operation>) {
self.operations = v;
}
pub fn mut_operations(&mut self) -> &mut ::protobuf::RepeatedField<super::operation::Operation> {
&mut self.operations
}
pub fn take_operations(&mut self) -> ::protobuf::RepeatedField<super::operation::Operation> {
::std::mem::replace(&mut self.operations, ::protobuf::RepeatedField::new())
}
pub fn get_service_config_id(&self) -> &str {
&self.service_config_id
}
pub fn clear_service_config_id(&mut self) {
self.service_config_id.clear();
}
pub fn set_service_config_id(&mut self, v: ::std::string::String) {
self.service_config_id = v;
}
pub fn mut_service_config_id(&mut self) -> &mut ::std::string::String {
&mut self.service_config_id
}
pub fn take_service_config_id(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.service_config_id, ::std::string::String::new())
}
}
impl ::protobuf::Message for ReportRequest {
fn is_initialized(&self) -> bool {
for v in &self.operations {
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_proto3_string_into(wire_type, is, &mut self.service_name)?;
},
2 => {
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.operations)?;
},
3 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.service_config_id)?;
},
_ => {
::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.service_name.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.service_name);
}
for value in &self.operations {
let len = value.compute_size();
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
};
if !self.service_config_id.is_empty() {
my_size += ::protobuf::rt::string_size(3, &self.service_config_id);
}
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.service_name.is_empty() {
os.write_string(1, &self.service_name)?;
}
for v in &self.operations {
os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
os.write_raw_varint32(v.get_cached_size())?;
v.write_to_with_cached_sizes(os)?;
};
if !self.service_config_id.is_empty() {
os.write_string(3, &self.service_config_id)?;
}
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() -> ReportRequest {
ReportRequest::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>(
"service_name",
|m: &ReportRequest| { &m.service_name },
|m: &mut ReportRequest| { &mut m.service_name },
));
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::operation::Operation>>(
"operations",
|m: &ReportRequest| { &m.operations },
|m: &mut ReportRequest| { &mut m.operations },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"service_config_id",
|m: &ReportRequest| { &m.service_config_id },
|m: &mut ReportRequest| { &mut m.service_config_id },
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<ReportRequest>(
"ReportRequest",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static ReportRequest {
static instance: ::protobuf::rt::LazyV2<ReportRequest> = ::protobuf::rt::LazyV2::INIT;
instance.get(ReportRequest::new)
}
}
impl ::protobuf::Clear for ReportRequest {
fn clear(&mut self) {
self.service_name.clear();
self.operations.clear();
self.service_config_id.clear();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for ReportRequest {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for ReportRequest {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct ReportResponse {
pub report_errors: ::protobuf::RepeatedField<ReportResponse_ReportError>,
pub service_config_id: ::std::string::String,
pub service_rollout_id: ::std::string::String,
pub unknown_fields: ::protobuf::UnknownFields,
pub cached_size: ::protobuf::CachedSize,
}
impl<'a> ::std::default::Default for &'a ReportResponse {
fn default() -> &'a ReportResponse {
<ReportResponse as ::protobuf::Message>::default_instance()
}
}
impl ReportResponse {
pub fn new() -> ReportResponse {
::std::default::Default::default()
}
pub fn get_report_errors(&self) -> &[ReportResponse_ReportError] {
&self.report_errors
}
pub fn clear_report_errors(&mut self) {
self.report_errors.clear();
}
pub fn set_report_errors(&mut self, v: ::protobuf::RepeatedField<ReportResponse_ReportError>) {
self.report_errors = v;
}
pub fn mut_report_errors(&mut self) -> &mut ::protobuf::RepeatedField<ReportResponse_ReportError> {
&mut self.report_errors
}
pub fn take_report_errors(&mut self) -> ::protobuf::RepeatedField<ReportResponse_ReportError> {
::std::mem::replace(&mut self.report_errors, ::protobuf::RepeatedField::new())
}
pub fn get_service_config_id(&self) -> &str {
&self.service_config_id
}
pub fn clear_service_config_id(&mut self) {
self.service_config_id.clear();
}
pub fn set_service_config_id(&mut self, v: ::std::string::String) {
self.service_config_id = v;
}
pub fn mut_service_config_id(&mut self) -> &mut ::std::string::String {
&mut self.service_config_id
}
pub fn take_service_config_id(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.service_config_id, ::std::string::String::new())
}
pub fn get_service_rollout_id(&self) -> &str {
&self.service_rollout_id
}
pub fn clear_service_rollout_id(&mut self) {
self.service_rollout_id.clear();
}
pub fn set_service_rollout_id(&mut self, v: ::std::string::String) {
self.service_rollout_id = v;
}
pub fn mut_service_rollout_id(&mut self) -> &mut ::std::string::String {
&mut self.service_rollout_id
}
pub fn take_service_rollout_id(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.service_rollout_id, ::std::string::String::new())
}
}
impl ::protobuf::Message for ReportResponse {
fn is_initialized(&self) -> bool {
for v in &self.report_errors {
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.report_errors)?;
},
2 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.service_config_id)?;
},
4 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.service_rollout_id)?;
},
_ => {
::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.report_errors {
let len = value.compute_size();
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
};
if !self.service_config_id.is_empty() {
my_size += ::protobuf::rt::string_size(2, &self.service_config_id);
}
if !self.service_rollout_id.is_empty() {
my_size += ::protobuf::rt::string_size(4, &self.service_rollout_id);
}
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.report_errors {
os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
os.write_raw_varint32(v.get_cached_size())?;
v.write_to_with_cached_sizes(os)?;
};
if !self.service_config_id.is_empty() {
os.write_string(2, &self.service_config_id)?;
}
if !self.service_rollout_id.is_empty() {
os.write_string(4, &self.service_rollout_id)?;
}
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() -> ReportResponse {
ReportResponse::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<ReportResponse_ReportError>>(
"report_errors",
|m: &ReportResponse| { &m.report_errors },
|m: &mut ReportResponse| { &mut m.report_errors },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"service_config_id",
|m: &ReportResponse| { &m.service_config_id },
|m: &mut ReportResponse| { &mut m.service_config_id },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"service_rollout_id",
|m: &ReportResponse| { &m.service_rollout_id },
|m: &mut ReportResponse| { &mut m.service_rollout_id },
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<ReportResponse>(
"ReportResponse",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static ReportResponse {
static instance: ::protobuf::rt::LazyV2<ReportResponse> = ::protobuf::rt::LazyV2::INIT;
instance.get(ReportResponse::new)
}
}
impl ::protobuf::Clear for ReportResponse {
fn clear(&mut self) {
self.report_errors.clear();
self.service_config_id.clear();
self.service_rollout_id.clear();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for ReportResponse {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for ReportResponse {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct ReportResponse_ReportError {
pub operation_id: ::std::string::String,
pub status: ::protobuf::SingularPtrField<super::status::Status>,
pub unknown_fields: ::protobuf::UnknownFields,
pub cached_size: ::protobuf::CachedSize,
}
impl<'a> ::std::default::Default for &'a ReportResponse_ReportError {
fn default() -> &'a ReportResponse_ReportError {
<ReportResponse_ReportError as ::protobuf::Message>::default_instance()
}
}
impl ReportResponse_ReportError {
pub fn new() -> ReportResponse_ReportError {
::std::default::Default::default()
}
pub fn get_operation_id(&self) -> &str {
&self.operation_id
}
pub fn clear_operation_id(&mut self) {
self.operation_id.clear();
}
pub fn set_operation_id(&mut self, v: ::std::string::String) {
self.operation_id = v;
}
pub fn mut_operation_id(&mut self) -> &mut ::std::string::String {
&mut self.operation_id
}
pub fn take_operation_id(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.operation_id, ::std::string::String::new())
}
pub fn get_status(&self) -> &super::status::Status {
self.status.as_ref().unwrap_or_else(|| <super::status::Status as ::protobuf::Message>::default_instance())
}
pub fn clear_status(&mut self) {
self.status.clear();
}
pub fn has_status(&self) -> bool {
self.status.is_some()
}
pub fn set_status(&mut self, v: super::status::Status) {
self.status = ::protobuf::SingularPtrField::some(v);
}
pub fn mut_status(&mut self) -> &mut super::status::Status {
if self.status.is_none() {
self.status.set_default();
}
self.status.as_mut().unwrap()
}
pub fn take_status(&mut self) -> super::status::Status {
self.status.take().unwrap_or_else(|| super::status::Status::new())
}
}
impl ::protobuf::Message for ReportResponse_ReportError {
fn is_initialized(&self) -> bool {
for v in &self.status {
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_proto3_string_into(wire_type, is, &mut self.operation_id)?;
},
2 => {
::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.status)?;
},
_ => {
::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.operation_id.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.operation_id);
}
if let Some(ref v) = self.status.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 !self.operation_id.is_empty() {
os.write_string(1, &self.operation_id)?;
}
if let Some(ref v) = self.status.as_ref() {
os.write_tag(2, ::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() -> ReportResponse_ReportError {
ReportResponse_ReportError::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>(
"operation_id",
|m: &ReportResponse_ReportError| { &m.operation_id },
|m: &mut ReportResponse_ReportError| { &mut m.operation_id },
));
fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::status::Status>>(
"status",
|m: &ReportResponse_ReportError| { &m.status },
|m: &mut ReportResponse_ReportError| { &mut m.status },
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<ReportResponse_ReportError>(
"ReportResponse.ReportError",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static ReportResponse_ReportError {
static instance: ::protobuf::rt::LazyV2<ReportResponse_ReportError> = ::protobuf::rt::LazyV2::INIT;
instance.get(ReportResponse_ReportError::new)
}
}
impl ::protobuf::Clear for ReportResponse_ReportError {
fn clear(&mut self) {
self.operation_id.clear();
self.status.clear();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for ReportResponse_ReportError {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for ReportResponse_ReportError {
fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
::protobuf::reflect::ReflectValueRef::Message(self)
}
}
static file_descriptor_proto_data: &'static [u8] = b"\
\n5google/api/servicecontrol/v1/service_controller.proto\x12\x1cgoogle.a\
pi.servicecontrol.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/a\
pi/client.proto\x1a.google/api/servicecontrol/v1/check_error.proto\x1a,g\
oogle/api/servicecontrol/v1/operation.proto\x1a\x17google/rpc/status.pro\
to\"\xa4\x01\n\x0cCheckRequest\x12!\n\x0cservice_name\x18\x01\x20\x01(\t\
R\x0bserviceName\x12E\n\toperation\x18\x02\x20\x01(\x0b2'.google.api.ser\
vicecontrol.v1.OperationR\toperation\x12*\n\x11service_config_id\x18\x04\
\x20\x01(\tR\x0fserviceConfigId\"\xf3\x05\n\rCheckResponse\x12!\n\x0cope\
ration_id\x18\x01\x20\x01(\tR\x0boperationId\x12K\n\x0ccheck_errors\x18\
\x02\x20\x03(\x0b2(.google.api.servicecontrol.v1.CheckErrorR\x0bcheckErr\
ors\x12*\n\x11service_config_id\x18\x05\x20\x01(\tR\x0fserviceConfigId\
\x12,\n\x12service_rollout_id\x18\x0b\x20\x01(\tR\x10serviceRolloutId\
\x12T\n\ncheck_info\x18\x06\x20\x01(\x0b25.google.api.servicecontrol.v1.\
CheckResponse.CheckInfoR\tcheckInfo\x1a\x95\x01\n\tCheckInfo\x12)\n\x10u\
nused_arguments\x18\x01\x20\x03(\tR\x0funusedArguments\x12]\n\rconsumer_\
info\x18\x02\x20\x01(\x0b28.google.api.servicecontrol.v1.CheckResponse.C\
onsumerInfoR\x0cconsumerInfo\x1a\xa9\x02\n\x0cConsumerInfo\x12%\n\x0epro\
ject_number\x18\x01\x20\x01(\x03R\rprojectNumber\x12Y\n\x04type\x18\x02\
\x20\x01(\x0e2E.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.\
ConsumerTypeR\x04type\x12'\n\x0fconsumer_number\x18\x03\x20\x01(\x03R\
\x0econsumerNumber\"n\n\x0cConsumerType\x12\x1d\n\x19CONSUMER_TYPE_UNSPE\
CIFIED\x10\0\x12\x0b\n\x07PROJECT\x10\x01\x12\n\n\x06FOLDER\x10\x02\x12\
\x10\n\x0cORGANIZATION\x10\x03\x12\x14\n\x10SERVICE_SPECIFIC\x10\x04\"\
\xa7\x01\n\rReportRequest\x12!\n\x0cservice_name\x18\x01\x20\x01(\tR\x0b\
serviceName\x12G\n\noperations\x18\x02\x20\x03(\x0b2'.google.api.service\
control.v1.OperationR\noperations\x12*\n\x11service_config_id\x18\x03\
\x20\x01(\tR\x0fserviceConfigId\"\xa7\x02\n\x0eReportResponse\x12]\n\rre\
port_errors\x18\x01\x20\x03(\x0b28.google.api.servicecontrol.v1.ReportRe\
sponse.ReportErrorR\x0creportErrors\x12*\n\x11service_config_id\x18\x02\
\x20\x01(\tR\x0fserviceConfigId\x12,\n\x12service_rollout_id\x18\x04\x20\
\x01(\tR\x10serviceRolloutId\x1a\\\n\x0bReportError\x12!\n\x0coperation_\
id\x18\x01\x20\x01(\tR\x0boperationId\x12*\n\x06status\x18\x02\x20\x01(\
\x0b2\x12.google.rpc.StatusR\x06status2\xbc\x03\n\x11ServiceController\
\x12\x8e\x01\n\x05Check\x12*.google.api.servicecontrol.v1.CheckRequest\
\x1a+.google.api.servicecontrol.v1.CheckResponse\",\x82\xd3\xe4\x93\x02&\
\"!/v1/services/{service_name}:check:\x01*\x12\x92\x01\n\x06Report\x12+.\
google.api.servicecontrol.v1.ReportRequest\x1a,.google.api.servicecontro\
l.v1.ReportResponse\"-\x82\xd3\xe4\x93\x02'\"\"/v1/services/{service_nam\
e}:report:\x01*\x1a\x80\x01\xd2A]https://www.googleapis.com/auth/cloud-p\
latform,https://www.googleapis.com/auth/servicecontrol\xcaA\x1dserviceco\
ntrol.googleapis.comB\xf8\x01\n\x20com.google.api.servicecontrol.v1B\x16\
ServiceControllerProtoP\x01ZJcloud.google.com/go/servicecontrol/apiv1/se\
rvicecontrolpb;servicecontrolpb\xf8\x01\x01\xa2\x02\x04GASC\xaa\x02\x1eG\
oogle.Cloud.ServiceControl.V1\xca\x02\x1eGoogle\\Cloud\\ServiceControl\\\
V1\xea\x02!Google::Cloud::ServiceControl::V1J\xd3J\n\x07\x12\x05\x0e\0\
\xfe\x01\x01\n\xbc\x04\n\x01\x0c\x12\x03\x0e\0\x122\xb1\x04\x20Copyright\
\x202021\x20Google\x20LLC\n\n\x20Licensed\x20under\x20the\x20Apache\x20L\
icense,\x20Version\x202.0\x20(the\x20\"License\");\n\x20you\x20may\x20no\
t\x20use\x20this\x20file\x20except\x20in\x20compliance\x20with\x20the\
\x20License.\n\x20You\x20may\x20obtain\x20a\x20copy\x20of\x20the\x20Lice\
nse\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\
\x20License\x20is\x20distributed\x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\
\x20WITHOUT\x20WARRANTIES\x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20e\
ither\x20express\x20or\x20implied.\n\x20See\x20the\x20License\x20for\x20\
the\x20specific\x20language\x20governing\x20permissions\x20and\n\x20limi\
tations\x20under\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\0%\n\t\
\n\x02\x03\0\x12\x03\x12\0&\n\t\n\x02\x03\x01\x12\x03\x13\0!\n\t\n\x02\
\x03\x02\x12\x03\x14\08\n\t\n\x02\x03\x03\x12\x03\x15\06\n\t\n\x02\x03\
\x04\x12\x03\x16\0!\n\x08\n\x01\x08\x12\x03\x18\0\x1f\n\t\n\x02\x08\x1f\
\x12\x03\x18\0\x1f\n\x08\n\x01\x08\x12\x03\x19\0;\n\t\n\x02\x08%\x12\x03\
\x19\0;\n\x08\n\x01\x08\x12\x03\x1a\0a\n\t\n\x02\x08\x0b\x12\x03\x1a\0a\
\n\x08\n\x01\x08\x12\x03\x1b\0\"\n\t\n\x02\x08\n\x12\x03\x1b\0\"\n\x08\n\
\x01\x08\x12\x03\x1c\07\n\t\n\x02\x08\x08\x12\x03\x1c\07\n\x08\n\x01\x08\
\x12\x03\x1d\09\n\t\n\x02\x08\x01\x12\x03\x1d\09\n\x08\n\x01\x08\x12\x03\
\x1e\0\"\n\t\n\x02\x08$\x12\x03\x1e\0\"\n\x08\n\x01\x08\x12\x03\x1f\0;\n\
\t\n\x02\x08)\x12\x03\x1f\0;\n\x08\n\x01\x08\x12\x03\x20\0:\n\t\n\x02\
\x08-\x12\x03\x20\0:\n\x99\x02\n\x02\x06\0\x12\x04&\0Y\x01\x1a\x8c\x02\
\x20[Google\x20Service\x20Control\x20API](/service-control/overview)\n\n\
\x20Lets\x20clients\x20check\x20and\x20report\x20operations\x20against\
\x20a\x20[managed\n\x20service](https://cloud.google.com/service-managem\
ent/reference/rpc/google.api/servicemanagement.v1#google.api.servicemana\
gement.v1.ManagedService).\n\n\n\n\x03\x06\0\x01\x12\x03&\x08\x19\n\n\n\
\x03\x06\0\x03\x12\x03'\x02E\n\x0c\n\x05\x06\0\x03\x99\x08\x12\x03'\x02E\
\n\x0b\n\x03\x06\0\x03\x12\x04(\x02*7\n\r\n\x05\x06\0\x03\x9a\x08\x12\
\x04(\x02*7\n\xee\x06\n\x04\x06\0\x02\0\x12\x04=\x02B\x03\x1a\xdf\x06\
\x20Checks\x20whether\x20an\x20operation\x20on\x20a\x20service\x20should\
\x20be\x20allowed\x20to\x20proceed\n\x20based\x20on\x20the\x20configurat\
ion\x20of\x20the\x20service\x20and\x20related\x20policies.\x20It\x20must\
\x20be\n\x20called\x20before\x20the\x20operation\x20is\x20executed.\n\n\
\x20If\x20feasible,\x20the\x20client\x20should\x20cache\x20the\x20check\
\x20results\x20and\x20reuse\x20them\x20for\n\x2060\x20seconds.\x20In\x20\
case\x20of\x20any\x20server\x20errors,\x20the\x20client\x20should\x20rel\
y\x20on\x20the\n\x20cached\x20results\x20for\x20much\x20longer\x20time\
\x20to\x20avoid\x20outage.\n\x20WARNING:\x20There\x20is\x20general\x2060\
s\x20delay\x20for\x20the\x20configuration\x20and\x20policy\n\x20propagat\
ion,\x20therefore\x20callers\x20MUST\x20NOT\x20depend\x20on\x20the\x20`C\
heck`\x20method\x20having\n\x20the\x20latest\x20policy\x20information.\n\
\n\x20NOTE:\x20the\x20[CheckRequest][google.api.servicecontrol.v1.CheckR\
equest]\x20has\n\x20the\x20size\x20limit\x20(wire-format\x20byte\x20size\
)\x20of\x201MB.\n\n\x20This\x20method\x20requires\x20the\x20`servicemana\
gement.services.check`\x20permission\n\x20on\x20the\x20specified\x20serv\
ice.\x20For\x20more\x20information,\x20see\n\x20[Cloud\x20IAM](https://c\
loud.google.com/iam).\n\n\x0c\n\x05\x06\0\x02\0\x01\x12\x03=\x06\x0b\n\
\x0c\n\x05\x06\0\x02\0\x02\x12\x03=\x0c\x18\n\x0c\n\x05\x06\0\x02\0\x03\
\x12\x03=#0\n\r\n\x05\x06\0\x02\0\x04\x12\x04>\x04A\x06\n\x11\n\t\x06\0\
\x02\0\x04\xb0\xca\xbc\"\x12\x04>\x04A\x06\n\x85\x06\n\x04\x06\0\x02\x01\
\x12\x04S\x02X\x03\x1a\xf6\x05\x20Reports\x20operation\x20results\x20to\
\x20Google\x20Service\x20Control,\x20such\x20as\x20logs\x20and\n\x20metr\
ics.\x20It\x20should\x20be\x20called\x20after\x20an\x20operation\x20is\
\x20completed.\n\n\x20If\x20feasible,\x20the\x20client\x20should\x20aggr\
egate\x20reporting\x20data\x20for\x20up\x20to\x205\n\x20seconds\x20to\
\x20reduce\x20API\x20traffic.\x20Limiting\x20aggregation\x20to\x205\x20s\
econds\x20is\x20to\n\x20reduce\x20data\x20loss\x20during\x20client\x20cr\
ashes.\x20Clients\x20should\x20carefully\x20choose\n\x20the\x20aggregati\
on\x20time\x20window\x20to\x20avoid\x20data\x20loss\x20risk\x20more\x20t\
han\x200.01%\n\x20for\x20business\x20and\x20compliance\x20reasons.\n\n\
\x20NOTE:\x20the\x20[ReportRequest][google.api.servicecontrol.v1.ReportR\
equest]\x20has\n\x20the\x20size\x20limit\x20(wire-format\x20byte\x20size\
)\x20of\x201MB.\n\n\x20This\x20method\x20requires\x20the\x20`servicemana\
gement.services.report`\x20permission\n\x20on\x20the\x20specified\x20ser\
vice.\x20For\x20more\x20information,\x20see\n\x20[Google\x20Cloud\x20IAM\
](https://cloud.google.com/iam).\n\n\x0c\n\x05\x06\0\x02\x01\x01\x12\x03\
S\x06\x0c\n\x0c\n\x05\x06\0\x02\x01\x02\x12\x03S\r\x1a\n\x0c\n\x05\x06\0\
\x02\x01\x03\x12\x03S%3\n\r\n\x05\x06\0\x02\x01\x04\x12\x04T\x04W\x06\n\
\x11\n\t\x06\0\x02\x01\x04\xb0\xca\xbc\"\x12\x04T\x04W\x06\n3\n\x02\x04\
\0\x12\x04\\\0n\x01\x1a'\x20Request\x20message\x20for\x20the\x20Check\
\x20method.\n\n\n\n\x03\x04\0\x01\x12\x03\\\x08\x14\n\x90\x02\n\x04\x04\
\0\x02\0\x12\x03c\x02\x1a\x1a\x82\x02\x20The\x20service\x20name\x20as\
\x20specified\x20in\x20its\x20service\x20configuration.\x20For\x20exampl\
e,\n\x20`\"pubsub.googleapis.com\"`.\n\n\x20See\n\x20[google.api.Service\
](https://cloud.google.com/service-management/reference/rpc/google.api#g\
oogle.api.Service)\n\x20for\x20the\x20definition\x20of\x20a\x20service\
\x20name.\n\n\x0c\n\x05\x04\0\x02\0\x05\x12\x03c\x02\x08\n\x0c\n\x05\x04\
\0\x02\0\x01\x12\x03c\t\x15\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03c\x18\x19\
\n+\n\x04\x04\0\x02\x01\x12\x03f\x02\x1a\x1a\x1e\x20The\x20operation\x20\
to\x20be\x20checked.\n\n\x0c\n\x05\x04\0\x02\x01\x06\x12\x03f\x02\x0b\n\
\x0c\n\x05\x04\0\x02\x01\x01\x12\x03f\x0c\x15\n\x0c\n\x05\x04\0\x02\x01\
\x03\x12\x03f\x18\x19\n\xbc\x01\n\x04\x04\0\x02\x02\x12\x03m\x02\x1f\x1a\
\xae\x01\x20Specifies\x20which\x20version\x20of\x20service\x20configurat\
ion\x20should\x20be\x20used\x20to\x20process\n\x20the\x20request.\n\n\
\x20If\x20unspecified\x20or\x20no\x20matching\x20version\x20can\x20be\
\x20found,\x20the\n\x20latest\x20one\x20will\x20be\x20used.\n\n\x0c\n\
\x05\x04\0\x02\x02\x05\x12\x03m\x02\x08\n\x0c\n\x05\x04\0\x02\x02\x01\
\x12\x03m\t\x1a\n\x0c\n\x05\x04\0\x02\x02\x03\x12\x03m\x1d\x1e\n5\n\x02\
\x04\x01\x12\x05q\0\xb9\x01\x01\x1a(\x20Response\x20message\x20for\x20th\
e\x20Check\x20method.\n\n\n\n\x03\x04\x01\x01\x12\x03q\x08\x15\nJ\n\x04\
\x04\x01\x03\0\x12\x04s\x02{\x03\x1a<\x20Contains\x20additional\x20infor\
mation\x20about\x20the\x20check\x20operation.\n\n\x0c\n\x05\x04\x01\x03\
\0\x01\x12\x03s\n\x13\n\xc4\x01\n\x06\x04\x01\x03\0\x02\0\x12\x03w\x04)\
\x1a\xb4\x01\x20A\x20list\x20of\x20fields\x20and\x20label\x20keys\x20tha\
t\x20are\x20ignored\x20by\x20the\x20server.\n\x20The\x20client\x20doesn'\
t\x20need\x20to\x20send\x20them\x20for\x20following\x20requests\x20to\
\x20improve\n\x20performance\x20and\x20allow\x20better\x20aggregation.\n\
\n\x0e\n\x07\x04\x01\x03\0\x02\0\x04\x12\x03w\x04\x0c\n\x0e\n\x07\x04\
\x01\x03\0\x02\0\x05\x12\x03w\r\x13\n\x0e\n\x07\x04\x01\x03\0\x02\0\x01\
\x12\x03w\x14$\n\x0e\n\x07\x04\x01\x03\0\x02\0\x03\x12\x03w'(\n-\n\x06\
\x04\x01\x03\0\x02\x01\x12\x03z\x04#\x1a\x1e\x20Consumer\x20info\x20of\
\x20this\x20check.\n\n\x0e\n\x07\x04\x01\x03\0\x02\x01\x06\x12\x03z\x04\
\x10\n\x0e\n\x07\x04\x01\x03\0\x02\x01\x01\x12\x03z\x11\x1e\n\x0e\n\x07\
\x04\x01\x03\0\x02\x01\x03\x12\x03z!\"\nH\n\x04\x04\x01\x03\x01\x12\x05~\
\x02\xa3\x01\x03\x1a9\x20`ConsumerInfo`\x20provides\x20information\x20ab\
out\x20the\x20consumer.\n\n\x0c\n\x05\x04\x01\x03\x01\x01\x12\x03~\n\x16\
\n\x82\x01\n\x06\x04\x01\x03\x01\x04\0\x12\x06\x81\x01\x04\x92\x01\x05\
\x1ap\x20The\x20type\x20of\x20the\x20consumer\x20as\x20defined\x20in\n\
\x20[Google\x20Resource\x20Manager](https://cloud.google.com/resource-ma\
nager/).\n\n\x0f\n\x07\x04\x01\x03\x01\x04\0\x01\x12\x04\x81\x01\t\x15\n\
'\n\x08\x04\x01\x03\x01\x04\0\x02\0\x12\x04\x83\x01\x06$\x1a\x15\x20This\
\x20is\x20never\x20used.\n\n\x11\n\t\x04\x01\x03\x01\x04\0\x02\0\x01\x12\
\x04\x83\x01\x06\x1f\n\x11\n\t\x04\x01\x03\x01\x04\0\x02\0\x02\x12\x04\
\x83\x01\"#\n;\n\x08\x04\x01\x03\x01\x04\0\x02\x01\x12\x04\x86\x01\x06\
\x12\x1a)\x20The\x20consumer\x20is\x20a\x20Google\x20Cloud\x20Project.\n\
\n\x11\n\t\x04\x01\x03\x01\x04\0\x02\x01\x01\x12\x04\x86\x01\x06\r\n\x11\
\n\t\x04\x01\x03\x01\x04\0\x02\x01\x02\x12\x04\x86\x01\x10\x11\n:\n\x08\
\x04\x01\x03\x01\x04\0\x02\x02\x12\x04\x89\x01\x06\x11\x1a(\x20The\x20co\
nsumer\x20is\x20a\x20Google\x20Cloud\x20Folder.\n\n\x11\n\t\x04\x01\x03\
\x01\x04\0\x02\x02\x01\x12\x04\x89\x01\x06\x0c\n\x11\n\t\x04\x01\x03\x01\
\x04\0\x02\x02\x02\x12\x04\x89\x01\x0f\x10\n@\n\x08\x04\x01\x03\x01\x04\
\0\x02\x03\x12\x04\x8c\x01\x06\x17\x1a.\x20The\x20consumer\x20is\x20a\
\x20Google\x20Cloud\x20Organization.\n\n\x11\n\t\x04\x01\x03\x01\x04\0\
\x02\x03\x01\x12\x04\x8c\x01\x06\x12\n\x11\n\t\x04\x01\x03\x01\x04\0\x02\
\x03\x02\x12\x04\x8c\x01\x15\x16\n\xe0\x01\n\x08\x04\x01\x03\x01\x04\0\
\x02\x04\x12\x04\x91\x01\x06\x1b\x1a\xcd\x01\x20Service-specific\x20reso\
urce\x20container\x20which\x20is\x20defined\x20by\x20the\x20service\n\
\x20producer\x20to\x20offer\x20their\x20users\x20the\x20ability\x20to\
\x20manage\x20service\x20control\n\x20functionalities\x20at\x20a\x20fine\
r\x20level\x20of\x20granularity\x20than\x20the\x20PROJECT.\n\n\x11\n\t\
\x04\x01\x03\x01\x04\0\x02\x04\x01\x12\x04\x91\x01\x06\x16\n\x11\n\t\x04\
\x01\x03\x01\x04\0\x02\x04\x02\x12\x04\x91\x01\x19\x1a\n\xf3\x01\n\x06\
\x04\x01\x03\x01\x02\0\x12\x04\x99\x01\x04\x1d\x1a\xe2\x01\x20The\x20Goo\
gle\x20cloud\x20project\x20number,\x20e.g.\x201234567890.\x20A\x20value\
\x20of\x200\x20indicates\n\x20no\x20project\x20number\x20is\x20found.\n\
\n\x20NOTE:\x20This\x20field\x20is\x20deprecated\x20after\x20we\x20suppo\
rt\x20flexible\x20consumer\n\x20id.\x20New\x20code\x20should\x20not\x20d\
epend\x20on\x20this\x20field\x20anymore.\n\n\x0f\n\x07\x04\x01\x03\x01\
\x02\0\x05\x12\x04\x99\x01\x04\t\n\x0f\n\x07\x04\x01\x03\x01\x02\0\x01\
\x12\x04\x99\x01\n\x18\n\x0f\n\x07\x04\x01\x03\x01\x02\0\x03\x12\x04\x99\
\x01\x1b\x1c\n\x95\x01\n\x06\x04\x01\x03\x01\x02\x01\x12\x04\x9d\x01\x04\
\x1a\x1a\x84\x01\x20The\x20type\x20of\x20the\x20consumer\x20which\x20sho\
uld\x20have\x20been\x20defined\x20in\n\x20[Google\x20Resource\x20Manager\
](https://cloud.google.com/resource-manager/).\n\n\x0f\n\x07\x04\x01\x03\
\x01\x02\x01\x06\x12\x04\x9d\x01\x04\x10\n\x0f\n\x07\x04\x01\x03\x01\x02\
\x01\x01\x12\x04\x9d\x01\x11\x15\n\x0f\n\x07\x04\x01\x03\x01\x02\x01\x03\
\x12\x04\x9d\x01\x18\x19\n\xc0\x01\n\x06\x04\x01\x03\x01\x02\x02\x12\x04\
\xa2\x01\x04\x1e\x1a\xaf\x01\x20The\x20consumer\x20identity\x20number,\
\x20can\x20be\x20Google\x20cloud\x20project\x20number,\x20folder\n\x20nu\
mber\x20or\x20organization\x20number\x20e.g.\x201234567890.\x20A\x20valu\
e\x20of\x200\x20indicates\x20no\n\x20consumer\x20number\x20is\x20found.\
\n\n\x0f\n\x07\x04\x01\x03\x01\x02\x02\x05\x12\x04\xa2\x01\x04\t\n\x0f\n\
\x07\x04\x01\x03\x01\x02\x02\x01\x12\x04\xa2\x01\n\x19\n\x0f\n\x07\x04\
\x01\x03\x01\x02\x02\x03\x12\x04\xa2\x01\x1c\x1d\n\xa0\x01\n\x04\x04\x01\
\x02\0\x12\x04\xa8\x01\x02\x1a\x1a\x91\x01\x20The\x20same\x20operation_i\
d\x20value\x20used\x20in\x20the\n\x20[CheckRequest][google.api.serviceco\
ntrol.v1.CheckRequest].\x20Used\x20for\x20logging\n\x20and\x20diagnostic\
s\x20purposes.\n\n\r\n\x05\x04\x01\x02\0\x05\x12\x04\xa8\x01\x02\x08\n\r\
\n\x05\x04\x01\x02\0\x01\x12\x04\xa8\x01\t\x15\n\r\n\x05\x04\x01\x02\0\
\x03\x12\x04\xa8\x01\x18\x19\n\xdb\x01\n\x04\x04\x01\x02\x01\x12\x04\xaf\
\x01\x02'\x1a\xcc\x01\x20Indicate\x20the\x20decision\x20of\x20the\x20che\
ck.\n\n\x20If\x20no\x20check\x20errors\x20are\x20present,\x20the\x20serv\
ice\x20should\x20process\x20the\x20operation.\n\x20Otherwise\x20the\x20s\
ervice\x20should\x20use\x20the\x20list\x20of\x20errors\x20to\x20determin\
e\x20the\n\x20appropriate\x20action.\n\n\r\n\x05\x04\x01\x02\x01\x04\x12\
\x04\xaf\x01\x02\n\n\r\n\x05\x04\x01\x02\x01\x06\x12\x04\xaf\x01\x0b\x15\
\n\r\n\x05\x04\x01\x02\x01\x01\x12\x04\xaf\x01\x16\"\n\r\n\x05\x04\x01\
\x02\x01\x03\x12\x04\xaf\x01%&\nA\n\x04\x04\x01\x02\x02\x12\x04\xb2\x01\
\x02\x1f\x1a3\x20The\x20actual\x20config\x20id\x20used\x20to\x20process\
\x20the\x20request.\n\n\r\n\x05\x04\x01\x02\x02\x05\x12\x04\xb2\x01\x02\
\x08\n\r\n\x05\x04\x01\x02\x02\x01\x12\x04\xb2\x01\t\x1a\n\r\n\x05\x04\
\x01\x02\x02\x03\x12\x04\xb2\x01\x1d\x1e\nK\n\x04\x04\x01\x02\x03\x12\
\x04\xb5\x01\x02!\x1a=\x20The\x20current\x20service\x20rollout\x20id\x20\
used\x20to\x20process\x20the\x20request.\n\n\r\n\x05\x04\x01\x02\x03\x05\
\x12\x04\xb5\x01\x02\x08\n\r\n\x05\x04\x01\x02\x03\x01\x12\x04\xb5\x01\t\
\x1b\n\r\n\x05\x04\x01\x02\x03\x03\x12\x04\xb5\x01\x1e\x20\nY\n\x04\x04\
\x01\x02\x04\x12\x04\xb8\x01\x02\x1b\x1aK\x20Feedback\x20data\x20returne\
d\x20from\x20the\x20server\x20during\x20processing\x20a\x20Check\x20requ\
est.\n\n\r\n\x05\x04\x01\x02\x04\x06\x12\x04\xb8\x01\x02\x0b\n\r\n\x05\
\x04\x01\x02\x04\x01\x12\x04\xb8\x01\x0c\x16\n\r\n\x05\x04\x01\x02\x04\
\x03\x12\x04\xb8\x01\x19\x1a\n6\n\x02\x04\x02\x12\x06\xbc\x01\0\xd8\x01\
\x01\x1a(\x20Request\x20message\x20for\x20the\x20Report\x20method.\n\n\
\x0b\n\x03\x04\x02\x01\x12\x04\xbc\x01\x08\x15\n\x91\x02\n\x04\x04\x02\
\x02\0\x12\x04\xc3\x01\x02\x1a\x1a\x82\x02\x20The\x20service\x20name\x20\
as\x20specified\x20in\x20its\x20service\x20configuration.\x20For\x20exam\
ple,\n\x20`\"pubsub.googleapis.com\"`.\n\n\x20See\n\x20[google.api.Servi\
ce](https://cloud.google.com/service-management/reference/rpc/google.api\
#google.api.Service)\n\x20for\x20the\x20definition\x20of\x20a\x20service\
\x20name.\n\n\r\n\x05\x04\x02\x02\0\x05\x12\x04\xc3\x01\x02\x08\n\r\n\
\x05\x04\x02\x02\0\x01\x12\x04\xc3\x01\t\x15\n\r\n\x05\x04\x02\x02\0\x03\
\x12\x04\xc3\x01\x18\x19\n\x97\x04\n\x04\x04\x02\x02\x01\x12\x04\xd0\x01\
\x02$\x1a\x88\x04\x20Operations\x20to\x20be\x20reported.\n\n\x20Typicall\
y\x20the\x20service\x20should\x20report\x20one\x20operation\x20per\x20re\
quest.\n\x20Putting\x20multiple\x20operations\x20into\x20a\x20single\x20\
request\x20is\x20allowed,\x20but\x20should\n\x20be\x20used\x20only\x20wh\
en\x20multiple\x20operations\x20are\x20natually\x20available\x20at\x20th\
e\x20time\n\x20of\x20the\x20report.\n\n\x20There\x20is\x20no\x20limit\
\x20on\x20the\x20number\x20of\x20operations\x20in\x20the\x20same\x20Repo\
rtRequest,\n\x20however\x20the\x20ReportRequest\x20size\x20should\x20be\
\x20no\x20larger\x20than\x201MB.\x20See\n\x20[ReportResponse.report_erro\
rs][google.api.servicecontrol.v1.ReportResponse.report_errors]\n\x20for\
\x20partial\x20failure\x20behavior.\n\n\r\n\x05\x04\x02\x02\x01\x04\x12\
\x04\xd0\x01\x02\n\n\r\n\x05\x04\x02\x02\x01\x06\x12\x04\xd0\x01\x0b\x14\
\n\r\n\x05\x04\x02\x02\x01\x01\x12\x04\xd0\x01\x15\x1f\n\r\n\x05\x04\x02\
\x02\x01\x03\x12\x04\xd0\x01\"#\n\xb6\x01\n\x04\x04\x02\x02\x02\x12\x04\
\xd7\x01\x02\x1f\x1a\xa7\x01\x20Specifies\x20which\x20version\x20of\x20s\
ervice\x20config\x20should\x20be\x20used\x20to\x20process\x20the\n\x20re\
quest.\n\n\x20If\x20unspecified\x20or\x20no\x20matching\x20version\x20ca\
n\x20be\x20found,\x20the\n\x20latest\x20one\x20will\x20be\x20used.\n\n\r\
\n\x05\x04\x02\x02\x02\x05\x12\x04\xd7\x01\x02\x08\n\r\n\x05\x04\x02\x02\
\x02\x01\x12\x04\xd7\x01\t\x1a\n\r\n\x05\x04\x02\x02\x02\x03\x12\x04\xd7\
\x01\x1d\x1e\n7\n\x02\x04\x03\x12\x06\xdb\x01\0\xfe\x01\x01\x1a)\x20Resp\
onse\x20message\x20for\x20the\x20Report\x20method.\n\n\x0b\n\x03\x04\x03\
\x01\x12\x04\xdb\x01\x08\x16\n}\n\x04\x04\x03\x03\0\x12\x06\xde\x01\x02\
\xe7\x01\x03\x1am\x20Represents\x20the\x20processing\x20error\x20of\x20o\
ne\n\x20[Operation][google.api.servicecontrol.v1.Operation]\x20in\x20the\
\x20request.\n\n\r\n\x05\x04\x03\x03\0\x01\x12\x04\xde\x01\n\x15\n}\n\
\x06\x04\x03\x03\0\x02\0\x12\x04\xe2\x01\x04\x1c\x1am\x20The\n\x20[Opera\
tion.operation_id][google.api.servicecontrol.v1.Operation.operation_id]\
\n\x20value\x20from\x20the\x20request.\n\n\x0f\n\x07\x04\x03\x03\0\x02\0\
\x05\x12\x04\xe2\x01\x04\n\n\x0f\n\x07\x04\x03\x03\0\x02\0\x01\x12\x04\
\xe2\x01\x0b\x17\n\x0f\n\x07\x04\x03\x03\0\x02\0\x03\x12\x04\xe2\x01\x1a\
\x1b\np\n\x06\x04\x03\x03\0\x02\x01\x12\x04\xe6\x01\x04!\x1a`\x20Details\
\x20of\x20the\x20error\x20when\x20processing\x20the\n\x20[Operation][goo\
gle.api.servicecontrol.v1.Operation].\n\n\x0f\n\x07\x04\x03\x03\0\x02\
\x01\x06\x12\x04\xe6\x01\x04\x15\n\x0f\n\x07\x04\x03\x03\0\x02\x01\x01\
\x12\x04\xe6\x01\x16\x1c\n\x0f\n\x07\x04\x03\x03\0\x02\x01\x03\x12\x04\
\xe6\x01\x1f\x20\n\x8e\x06\n\x04\x04\x03\x02\0\x12\x04\xf7\x01\x02)\x1a\
\xff\x05\x20Partial\x20failures,\x20one\x20for\x20each\x20`Operation`\
\x20in\x20the\x20request\x20that\x20failed\n\x20processing.\x20There\x20\
are\x20three\x20possible\x20combinations\x20of\x20the\x20RPC\x20status:\
\n\n\x201.\x20The\x20combination\x20of\x20a\x20successful\x20RPC\x20stat\
us\x20and\x20an\x20empty\x20`report_errors`\n\x20\x20\x20\x20list\x20ind\
icates\x20a\x20complete\x20success\x20where\x20all\x20`Operations`\x20in\
\x20the\n\x20\x20\x20\x20request\x20are\x20processed\x20successfully.\n\
\x202.\x20The\x20combination\x20of\x20a\x20successful\x20RPC\x20status\
\x20and\x20a\x20non-empty\n\x20\x20\x20\x20`report_errors`\x20list\x20in\
dicates\x20a\x20partial\x20success\x20where\x20some\n\x20\x20\x20\x20`Op\
erations`\x20in\x20the\x20request\x20succeeded.\x20Each\n\x20\x20\x20\
\x20`Operation`\x20that\x20failed\x20processing\x20has\x20a\x20correspon\
ding\x20item\n\x20\x20\x20\x20in\x20this\x20list.\n\x203.\x20A\x20failed\
\x20RPC\x20status\x20indicates\x20a\x20general\x20non-deterministic\x20f\
ailure.\n\x20\x20\x20\x20When\x20this\x20happens,\x20it's\x20impossible\
\x20to\x20know\x20which\x20of\x20the\n\x20\x20\x20\x20'Operations'\x20in\
\x20the\x20request\x20succeeded\x20or\x20failed.\n\n\r\n\x05\x04\x03\x02\
\0\x04\x12\x04\xf7\x01\x02\n\n\r\n\x05\x04\x03\x02\0\x06\x12\x04\xf7\x01\
\x0b\x16\n\r\n\x05\x04\x03\x02\0\x01\x12\x04\xf7\x01\x17$\n\r\n\x05\x04\
\x03\x02\0\x03\x12\x04\xf7\x01'(\nA\n\x04\x04\x03\x02\x01\x12\x04\xfa\
\x01\x02\x1f\x1a3\x20The\x20actual\x20config\x20id\x20used\x20to\x20proc\
ess\x20the\x20request.\n\n\r\n\x05\x04\x03\x02\x01\x05\x12\x04\xfa\x01\
\x02\x08\n\r\n\x05\x04\x03\x02\x01\x01\x12\x04\xfa\x01\t\x1a\n\r\n\x05\
\x04\x03\x02\x01\x03\x12\x04\xfa\x01\x1d\x1e\nK\n\x04\x04\x03\x02\x02\
\x12\x04\xfd\x01\x02\x20\x1a=\x20The\x20current\x20service\x20rollout\
\x20id\x20used\x20to\x20process\x20the\x20request.\n\n\r\n\x05\x04\x03\
\x02\x02\x05\x12\x04\xfd\x01\x02\x08\n\r\n\x05\x04\x03\x02\x02\x01\x12\
\x04\xfd\x01\t\x1b\n\r\n\x05\x04\x03\x02\x02\x03\x12\x04\xfd\x01\x1e\x1f\
b\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()
})
}