#![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 Operation {
pub name: ::std::string::String,
pub metadata: ::protobuf::SingularPtrField<::protobuf::well_known_types::Any>,
pub done: bool,
pub result: ::std::option::Option<Operation_oneof_result>,
unknown_fields: ::protobuf::UnknownFields,
cached_size: ::protobuf::CachedSize,
}
#[derive(Clone,PartialEq)]
pub enum Operation_oneof_result {
error(super::super::rpc::status::Status),
response(::protobuf::well_known_types::Any),
}
impl Operation {
pub fn new() -> Operation {
::std::default::Default::default()
}
pub fn clear_name(&mut self) {
self.name.clear();
}
pub fn set_name(&mut self, v: ::std::string::String) {
self.name = v;
}
pub fn mut_name(&mut self) -> &mut ::std::string::String {
&mut self.name
}
pub fn take_name(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.name, ::std::string::String::new())
}
pub fn get_name(&self) -> &str {
&self.name
}
pub fn clear_metadata(&mut self) {
self.metadata.clear();
}
pub fn has_metadata(&self) -> bool {
self.metadata.is_some()
}
pub fn set_metadata(&mut self, v: ::protobuf::well_known_types::Any) {
self.metadata = ::protobuf::SingularPtrField::some(v);
}
pub fn mut_metadata(&mut self) -> &mut ::protobuf::well_known_types::Any {
if self.metadata.is_none() {
self.metadata.set_default();
}
self.metadata.as_mut().unwrap()
}
pub fn take_metadata(&mut self) -> ::protobuf::well_known_types::Any {
self.metadata.take().unwrap_or_else(|| ::protobuf::well_known_types::Any::new())
}
pub fn get_metadata(&self) -> &::protobuf::well_known_types::Any {
self.metadata.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Any::default_instance())
}
pub fn clear_done(&mut self) {
self.done = false;
}
pub fn set_done(&mut self, v: bool) {
self.done = v;
}
pub fn get_done(&self) -> bool {
self.done
}
pub fn clear_error(&mut self) {
self.result = ::std::option::Option::None;
}
pub fn has_error(&self) -> bool {
match self.result {
::std::option::Option::Some(Operation_oneof_result::error(..)) => true,
_ => false,
}
}
pub fn set_error(&mut self, v: super::super::rpc::status::Status) {
self.result = ::std::option::Option::Some(Operation_oneof_result::error(v))
}
pub fn mut_error(&mut self) -> &mut super::super::rpc::status::Status {
if let ::std::option::Option::Some(Operation_oneof_result::error(_)) = self.result {
} else {
self.result = ::std::option::Option::Some(Operation_oneof_result::error(super::super::rpc::status::Status::new()));
}
match self.result {
::std::option::Option::Some(Operation_oneof_result::error(ref mut v)) => v,
_ => panic!(),
}
}
pub fn take_error(&mut self) -> super::super::rpc::status::Status {
if self.has_error() {
match self.result.take() {
::std::option::Option::Some(Operation_oneof_result::error(v)) => v,
_ => panic!(),
}
} else {
super::super::rpc::status::Status::new()
}
}
pub fn get_error(&self) -> &super::super::rpc::status::Status {
match self.result {
::std::option::Option::Some(Operation_oneof_result::error(ref v)) => v,
_ => super::super::rpc::status::Status::default_instance(),
}
}
pub fn clear_response(&mut self) {
self.result = ::std::option::Option::None;
}
pub fn has_response(&self) -> bool {
match self.result {
::std::option::Option::Some(Operation_oneof_result::response(..)) => true,
_ => false,
}
}
pub fn set_response(&mut self, v: ::protobuf::well_known_types::Any) {
self.result = ::std::option::Option::Some(Operation_oneof_result::response(v))
}
pub fn mut_response(&mut self) -> &mut ::protobuf::well_known_types::Any {
if let ::std::option::Option::Some(Operation_oneof_result::response(_)) = self.result {
} else {
self.result = ::std::option::Option::Some(Operation_oneof_result::response(::protobuf::well_known_types::Any::new()));
}
match self.result {
::std::option::Option::Some(Operation_oneof_result::response(ref mut v)) => v,
_ => panic!(),
}
}
pub fn take_response(&mut self) -> ::protobuf::well_known_types::Any {
if self.has_response() {
match self.result.take() {
::std::option::Option::Some(Operation_oneof_result::response(v)) => v,
_ => panic!(),
}
} else {
::protobuf::well_known_types::Any::new()
}
}
pub fn get_response(&self) -> &::protobuf::well_known_types::Any {
match self.result {
::std::option::Option::Some(Operation_oneof_result::response(ref v)) => v,
_ => ::protobuf::well_known_types::Any::default_instance(),
}
}
}
impl ::protobuf::Message for Operation {
fn is_initialized(&self) -> bool {
for v in &self.metadata {
if !v.is_initialized() {
return false;
}
};
if let Some(Operation_oneof_result::error(ref v)) = self.result {
if !v.is_initialized() {
return false;
}
}
if let Some(Operation_oneof_result::response(ref v)) = self.result {
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.name)?;
},
2 => {
::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.metadata)?;
},
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.done = tmp;
},
4 => {
if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
}
self.result = ::std::option::Option::Some(Operation_oneof_result::error(is.read_message()?));
},
5 => {
if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
}
self.result = ::std::option::Option::Some(Operation_oneof_result::response(is.read_message()?));
},
_ => {
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u32 {
let mut my_size = 0;
if !self.name.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.name);
}
if let Some(ref v) = self.metadata.as_ref() {
let len = v.compute_size();
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
}
if self.done != false {
my_size += 2;
}
if let ::std::option::Option::Some(ref v) = self.result {
match v {
&Operation_oneof_result::error(ref v) => {
let len = v.compute_size();
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
},
&Operation_oneof_result::response(ref v) => {
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.name.is_empty() {
os.write_string(1, &self.name)?;
}
if let Some(ref v) = self.metadata.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.done != false {
os.write_bool(3, self.done)?;
}
if let ::std::option::Option::Some(ref v) = self.result {
match v {
&Operation_oneof_result::error(ref v) => {
os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?;
os.write_raw_varint32(v.get_cached_size())?;
v.write_to_with_cached_sizes(os)?;
},
&Operation_oneof_result::response(ref v) => {
os.write_tag(5, ::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) -> &::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() -> Operation {
Operation::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>(
"name",
|m: &Operation| { &m.name },
|m: &mut Operation| { &mut m.name },
));
fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Any>>(
"metadata",
|m: &Operation| { &m.metadata },
|m: &mut Operation| { &mut m.metadata },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>(
"done",
|m: &Operation| { &m.done },
|m: &mut Operation| { &mut m.done },
));
fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, super::super::rpc::status::Status>(
"error",
Operation::has_error,
Operation::get_error,
));
fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, ::protobuf::well_known_types::Any>(
"response",
Operation::has_response,
Operation::get_response,
));
::protobuf::reflect::MessageDescriptor::new::<Operation>(
"Operation",
fields,
file_descriptor_proto()
)
})
}
}
fn default_instance() -> &'static Operation {
static mut instance: ::protobuf::lazy::Lazy<Operation> = ::protobuf::lazy::Lazy {
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const Operation,
};
unsafe {
instance.get(Operation::new)
}
}
}
impl ::protobuf::Clear for Operation {
fn clear(&mut self) {
self.clear_name();
self.clear_metadata();
self.clear_done();
self.clear_error();
self.clear_response();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for Operation {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for Operation {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct GetOperationRequest {
pub name: ::std::string::String,
unknown_fields: ::protobuf::UnknownFields,
cached_size: ::protobuf::CachedSize,
}
impl GetOperationRequest {
pub fn new() -> GetOperationRequest {
::std::default::Default::default()
}
pub fn clear_name(&mut self) {
self.name.clear();
}
pub fn set_name(&mut self, v: ::std::string::String) {
self.name = v;
}
pub fn mut_name(&mut self) -> &mut ::std::string::String {
&mut self.name
}
pub fn take_name(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.name, ::std::string::String::new())
}
pub fn get_name(&self) -> &str {
&self.name
}
}
impl ::protobuf::Message for GetOperationRequest {
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.name)?;
},
_ => {
::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.name.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.name);
}
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.name.is_empty() {
os.write_string(1, &self.name)?;
}
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() -> GetOperationRequest {
GetOperationRequest::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>(
"name",
|m: &GetOperationRequest| { &m.name },
|m: &mut GetOperationRequest| { &mut m.name },
));
::protobuf::reflect::MessageDescriptor::new::<GetOperationRequest>(
"GetOperationRequest",
fields,
file_descriptor_proto()
)
})
}
}
fn default_instance() -> &'static GetOperationRequest {
static mut instance: ::protobuf::lazy::Lazy<GetOperationRequest> = ::protobuf::lazy::Lazy {
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const GetOperationRequest,
};
unsafe {
instance.get(GetOperationRequest::new)
}
}
}
impl ::protobuf::Clear for GetOperationRequest {
fn clear(&mut self) {
self.clear_name();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for GetOperationRequest {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for GetOperationRequest {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct ListOperationsRequest {
pub name: ::std::string::String,
pub filter: ::std::string::String,
pub page_size: i32,
pub page_token: ::std::string::String,
unknown_fields: ::protobuf::UnknownFields,
cached_size: ::protobuf::CachedSize,
}
impl ListOperationsRequest {
pub fn new() -> ListOperationsRequest {
::std::default::Default::default()
}
pub fn clear_name(&mut self) {
self.name.clear();
}
pub fn set_name(&mut self, v: ::std::string::String) {
self.name = v;
}
pub fn mut_name(&mut self) -> &mut ::std::string::String {
&mut self.name
}
pub fn take_name(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.name, ::std::string::String::new())
}
pub fn get_name(&self) -> &str {
&self.name
}
pub fn clear_filter(&mut self) {
self.filter.clear();
}
pub fn set_filter(&mut self, v: ::std::string::String) {
self.filter = v;
}
pub fn mut_filter(&mut self) -> &mut ::std::string::String {
&mut self.filter
}
pub fn take_filter(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.filter, ::std::string::String::new())
}
pub fn get_filter(&self) -> &str {
&self.filter
}
pub fn clear_page_size(&mut self) {
self.page_size = 0;
}
pub fn set_page_size(&mut self, v: i32) {
self.page_size = v;
}
pub fn get_page_size(&self) -> i32 {
self.page_size
}
pub fn clear_page_token(&mut self) {
self.page_token.clear();
}
pub fn set_page_token(&mut self, v: ::std::string::String) {
self.page_token = v;
}
pub fn mut_page_token(&mut self) -> &mut ::std::string::String {
&mut self.page_token
}
pub fn take_page_token(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.page_token, ::std::string::String::new())
}
pub fn get_page_token(&self) -> &str {
&self.page_token
}
}
impl ::protobuf::Message for ListOperationsRequest {
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 {
4 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?;
},
1 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.filter)?;
},
2 => {
if wire_type != ::protobuf::wire_format::WireTypeVarint {
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
}
let tmp = is.read_int32()?;
self.page_size = tmp;
},
3 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.page_token)?;
},
_ => {
::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.name.is_empty() {
my_size += ::protobuf::rt::string_size(4, &self.name);
}
if !self.filter.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.filter);
}
if self.page_size != 0 {
my_size += ::protobuf::rt::value_size(2, self.page_size, ::protobuf::wire_format::WireTypeVarint);
}
if !self.page_token.is_empty() {
my_size += ::protobuf::rt::string_size(3, &self.page_token);
}
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.name.is_empty() {
os.write_string(4, &self.name)?;
}
if !self.filter.is_empty() {
os.write_string(1, &self.filter)?;
}
if self.page_size != 0 {
os.write_int32(2, self.page_size)?;
}
if !self.page_token.is_empty() {
os.write_string(3, &self.page_token)?;
}
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() -> ListOperationsRequest {
ListOperationsRequest::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>(
"name",
|m: &ListOperationsRequest| { &m.name },
|m: &mut ListOperationsRequest| { &mut m.name },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"filter",
|m: &ListOperationsRequest| { &m.filter },
|m: &mut ListOperationsRequest| { &mut m.filter },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>(
"page_size",
|m: &ListOperationsRequest| { &m.page_size },
|m: &mut ListOperationsRequest| { &mut m.page_size },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"page_token",
|m: &ListOperationsRequest| { &m.page_token },
|m: &mut ListOperationsRequest| { &mut m.page_token },
));
::protobuf::reflect::MessageDescriptor::new::<ListOperationsRequest>(
"ListOperationsRequest",
fields,
file_descriptor_proto()
)
})
}
}
fn default_instance() -> &'static ListOperationsRequest {
static mut instance: ::protobuf::lazy::Lazy<ListOperationsRequest> = ::protobuf::lazy::Lazy {
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ListOperationsRequest,
};
unsafe {
instance.get(ListOperationsRequest::new)
}
}
}
impl ::protobuf::Clear for ListOperationsRequest {
fn clear(&mut self) {
self.clear_name();
self.clear_filter();
self.clear_page_size();
self.clear_page_token();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for ListOperationsRequest {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for ListOperationsRequest {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct ListOperationsResponse {
pub operations: ::protobuf::RepeatedField<Operation>,
pub next_page_token: ::std::string::String,
unknown_fields: ::protobuf::UnknownFields,
cached_size: ::protobuf::CachedSize,
}
impl ListOperationsResponse {
pub fn new() -> ListOperationsResponse {
::std::default::Default::default()
}
pub fn clear_operations(&mut self) {
self.operations.clear();
}
pub fn set_operations(&mut self, v: ::protobuf::RepeatedField<Operation>) {
self.operations = v;
}
pub fn mut_operations(&mut self) -> &mut ::protobuf::RepeatedField<Operation> {
&mut self.operations
}
pub fn take_operations(&mut self) -> ::protobuf::RepeatedField<Operation> {
::std::mem::replace(&mut self.operations, ::protobuf::RepeatedField::new())
}
pub fn get_operations(&self) -> &[Operation] {
&self.operations
}
pub fn clear_next_page_token(&mut self) {
self.next_page_token.clear();
}
pub fn set_next_page_token(&mut self, v: ::std::string::String) {
self.next_page_token = v;
}
pub fn mut_next_page_token(&mut self) -> &mut ::std::string::String {
&mut self.next_page_token
}
pub fn take_next_page_token(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.next_page_token, ::std::string::String::new())
}
pub fn get_next_page_token(&self) -> &str {
&self.next_page_token
}
}
impl ::protobuf::Message for ListOperationsResponse {
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_repeated_message_into(wire_type, is, &mut self.operations)?;
},
2 => {
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.next_page_token)?;
},
_ => {
::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.operations {
let len = value.compute_size();
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
};
if !self.next_page_token.is_empty() {
my_size += ::protobuf::rt::string_size(2, &self.next_page_token);
}
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.operations {
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.next_page_token.is_empty() {
os.write_string(2, &self.next_page_token)?;
}
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() -> ListOperationsResponse {
ListOperationsResponse::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::ProtobufTypeMessage<Operation>>(
"operations",
|m: &ListOperationsResponse| { &m.operations },
|m: &mut ListOperationsResponse| { &mut m.operations },
));
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
"next_page_token",
|m: &ListOperationsResponse| { &m.next_page_token },
|m: &mut ListOperationsResponse| { &mut m.next_page_token },
));
::protobuf::reflect::MessageDescriptor::new::<ListOperationsResponse>(
"ListOperationsResponse",
fields,
file_descriptor_proto()
)
})
}
}
fn default_instance() -> &'static ListOperationsResponse {
static mut instance: ::protobuf::lazy::Lazy<ListOperationsResponse> = ::protobuf::lazy::Lazy {
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const ListOperationsResponse,
};
unsafe {
instance.get(ListOperationsResponse::new)
}
}
}
impl ::protobuf::Clear for ListOperationsResponse {
fn clear(&mut self) {
self.clear_operations();
self.clear_next_page_token();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for ListOperationsResponse {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for ListOperationsResponse {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct CancelOperationRequest {
pub name: ::std::string::String,
unknown_fields: ::protobuf::UnknownFields,
cached_size: ::protobuf::CachedSize,
}
impl CancelOperationRequest {
pub fn new() -> CancelOperationRequest {
::std::default::Default::default()
}
pub fn clear_name(&mut self) {
self.name.clear();
}
pub fn set_name(&mut self, v: ::std::string::String) {
self.name = v;
}
pub fn mut_name(&mut self) -> &mut ::std::string::String {
&mut self.name
}
pub fn take_name(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.name, ::std::string::String::new())
}
pub fn get_name(&self) -> &str {
&self.name
}
}
impl ::protobuf::Message for CancelOperationRequest {
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.name)?;
},
_ => {
::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.name.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.name);
}
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.name.is_empty() {
os.write_string(1, &self.name)?;
}
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() -> CancelOperationRequest {
CancelOperationRequest::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>(
"name",
|m: &CancelOperationRequest| { &m.name },
|m: &mut CancelOperationRequest| { &mut m.name },
));
::protobuf::reflect::MessageDescriptor::new::<CancelOperationRequest>(
"CancelOperationRequest",
fields,
file_descriptor_proto()
)
})
}
}
fn default_instance() -> &'static CancelOperationRequest {
static mut instance: ::protobuf::lazy::Lazy<CancelOperationRequest> = ::protobuf::lazy::Lazy {
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const CancelOperationRequest,
};
unsafe {
instance.get(CancelOperationRequest::new)
}
}
}
impl ::protobuf::Clear for CancelOperationRequest {
fn clear(&mut self) {
self.clear_name();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for CancelOperationRequest {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for CancelOperationRequest {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self)
}
}
#[derive(PartialEq,Clone,Default)]
pub struct DeleteOperationRequest {
pub name: ::std::string::String,
unknown_fields: ::protobuf::UnknownFields,
cached_size: ::protobuf::CachedSize,
}
impl DeleteOperationRequest {
pub fn new() -> DeleteOperationRequest {
::std::default::Default::default()
}
pub fn clear_name(&mut self) {
self.name.clear();
}
pub fn set_name(&mut self, v: ::std::string::String) {
self.name = v;
}
pub fn mut_name(&mut self) -> &mut ::std::string::String {
&mut self.name
}
pub fn take_name(&mut self) -> ::std::string::String {
::std::mem::replace(&mut self.name, ::std::string::String::new())
}
pub fn get_name(&self) -> &str {
&self.name
}
}
impl ::protobuf::Message for DeleteOperationRequest {
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.name)?;
},
_ => {
::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.name.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.name);
}
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.name.is_empty() {
os.write_string(1, &self.name)?;
}
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() -> DeleteOperationRequest {
DeleteOperationRequest::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>(
"name",
|m: &DeleteOperationRequest| { &m.name },
|m: &mut DeleteOperationRequest| { &mut m.name },
));
::protobuf::reflect::MessageDescriptor::new::<DeleteOperationRequest>(
"DeleteOperationRequest",
fields,
file_descriptor_proto()
)
})
}
}
fn default_instance() -> &'static DeleteOperationRequest {
static mut instance: ::protobuf::lazy::Lazy<DeleteOperationRequest> = ::protobuf::lazy::Lazy {
lock: ::protobuf::lazy::ONCE_INIT,
ptr: 0 as *const DeleteOperationRequest,
};
unsafe {
instance.get(DeleteOperationRequest::new)
}
}
}
impl ::protobuf::Clear for DeleteOperationRequest {
fn clear(&mut self) {
self.clear_name();
self.unknown_fields.clear();
}
}
impl ::std::fmt::Debug for DeleteOperationRequest {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for DeleteOperationRequest {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
::protobuf::reflect::ProtobufValueRef::Message(self)
}
}
static file_descriptor_proto_data: &'static [u8] = b"\
\n#google/longrunning/operations.proto\x12\x12google.longrunning\x1a\x1c\
google/api/annotations.proto\x1a\x19google/protobuf/any.proto\x1a\x1bgoo\
gle/protobuf/empty.proto\x1a\x17google/rpc/status.proto\"\xcf\x01\n\tOpe\
ration\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\x120\n\x08metadata\
\x18\x02\x20\x01(\x0b2\x14.google.protobuf.AnyR\x08metadata\x12\x12\n\
\x04done\x18\x03\x20\x01(\x08R\x04done\x12*\n\x05error\x18\x04\x20\x01(\
\x0b2\x12.google.rpc.StatusH\0R\x05error\x122\n\x08response\x18\x05\x20\
\x01(\x0b2\x14.google.protobuf.AnyH\0R\x08responseB\x08\n\x06result\")\n\
\x13GetOperationRequest\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\"\
\x7f\n\x15ListOperationsRequest\x12\x12\n\x04name\x18\x04\x20\x01(\tR\
\x04name\x12\x16\n\x06filter\x18\x01\x20\x01(\tR\x06filter\x12\x1b\n\tpa\
ge_size\x18\x02\x20\x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x03\
\x20\x01(\tR\tpageToken\"\x7f\n\x16ListOperationsResponse\x12=\n\noperat\
ions\x18\x01\x20\x03(\x0b2\x1d.google.longrunning.OperationR\noperations\
\x12&\n\x0fnext_page_token\x18\x02\x20\x01(\tR\rnextPageToken\",\n\x16Ca\
ncelOperationRequest\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\",\n\
\x16DeleteOperationRequest\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\
2\x8c\x04\n\nOperations\x12\x86\x01\n\x0eListOperations\x12).google.long\
running.ListOperationsRequest\x1a*.google.longrunning.ListOperationsResp\
onse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/{name=operations}\x12x\n\
\x0cGetOperation\x12'.google.longrunning.GetOperationRequest\x1a\x1d.goo\
gle.longrunning.Operation\"\x20\x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/{name\
=operations/**}\x12w\n\x0fDeleteOperation\x12*.google.longrunning.Delete\
OperationRequest\x1a\x16.google.protobuf.Empty\"\x20\x82\xd3\xe4\x93\x02\
\x1a*\x18/v1/{name=operations/**}\x12\x81\x01\n\x0fCancelOperation\x12*.\
google.longrunning.CancelOperationRequest\x1a\x16.google.protobuf.Empty\
\"*\x82\xd3\xe4\x93\x02$\"\x1f/v1/{name=operations/**}:cancel:\x01*B\x94\
\x01\n\x16com.google.longrunningB\x0fOperationsProtoP\x01Z=google.golang\
.org/genproto/googleapis/longrunning;longrunning\xaa\x02\x12Google.LongR\
unning\xca\x02\x12Google\\LongRunningJ\x83:\n\x07\x12\x05\x0e\0\x9e\x01\
\x01\n\xbd\x04\n\x01\x0c\x12\x03\x0e\0\x122\xb2\x04\x20Copyright\x202016\
\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\x1a\n\t\n\
\x02\x03\0\x12\x03\x12\x07%\n\t\n\x02\x03\x01\x12\x03\x13\x07\"\n\t\n\
\x02\x03\x02\x12\x03\x14\x07$\n\t\n\x02\x03\x03\x12\x03\x15\x07\x20\n\
\x08\n\x01\x08\x12\x03\x17\0/\n\x0b\n\x04\x08\xe7\x07\0\x12\x03\x17\0/\n\
\x0c\n\x05\x08\xe7\x07\0\x02\x12\x03\x17\x07\x17\n\r\n\x06\x08\xe7\x07\0\
\x02\0\x12\x03\x17\x07\x17\n\x0e\n\x07\x08\xe7\x07\0\x02\0\x01\x12\x03\
\x17\x07\x17\n\x0c\n\x05\x08\xe7\x07\0\x07\x12\x03\x17\x1a.\n\x08\n\x01\
\x08\x12\x03\x18\0T\n\x0b\n\x04\x08\xe7\x07\x01\x12\x03\x18\0T\n\x0c\n\
\x05\x08\xe7\x07\x01\x02\x12\x03\x18\x07\x11\n\r\n\x06\x08\xe7\x07\x01\
\x02\0\x12\x03\x18\x07\x11\n\x0e\n\x07\x08\xe7\x07\x01\x02\0\x01\x12\x03\
\x18\x07\x11\n\x0c\n\x05\x08\xe7\x07\x01\x07\x12\x03\x18\x14S\n\x08\n\
\x01\x08\x12\x03\x19\0\"\n\x0b\n\x04\x08\xe7\x07\x02\x12\x03\x19\0\"\n\
\x0c\n\x05\x08\xe7\x07\x02\x02\x12\x03\x19\x07\x1a\n\r\n\x06\x08\xe7\x07\
\x02\x02\0\x12\x03\x19\x07\x1a\n\x0e\n\x07\x08\xe7\x07\x02\x02\0\x01\x12\
\x03\x19\x07\x1a\n\x0c\n\x05\x08\xe7\x07\x02\x03\x12\x03\x19\x1d!\n\x08\
\n\x01\x08\x12\x03\x1a\00\n\x0b\n\x04\x08\xe7\x07\x03\x12\x03\x1a\00\n\
\x0c\n\x05\x08\xe7\x07\x03\x02\x12\x03\x1a\x07\x1b\n\r\n\x06\x08\xe7\x07\
\x03\x02\0\x12\x03\x1a\x07\x1b\n\x0e\n\x07\x08\xe7\x07\x03\x02\0\x01\x12\
\x03\x1a\x07\x1b\n\x0c\n\x05\x08\xe7\x07\x03\x07\x12\x03\x1a\x1e/\n\x08\
\n\x01\x08\x12\x03\x1b\0/\n\x0b\n\x04\x08\xe7\x07\x04\x12\x03\x1b\0/\n\
\x0c\n\x05\x08\xe7\x07\x04\x02\x12\x03\x1b\x07\x13\n\r\n\x06\x08\xe7\x07\
\x04\x02\0\x12\x03\x1b\x07\x13\n\x0e\n\x07\x08\xe7\x07\x04\x02\0\x01\x12\
\x03\x1b\x07\x13\n\x0c\n\x05\x08\xe7\x07\x04\x07\x12\x03\x1b\x16.\n\x08\
\n\x01\x08\x12\x03\x1c\0-\n\x0b\n\x04\x08\xe7\x07\x05\x12\x03\x1c\0-\n\
\x0c\n\x05\x08\xe7\x07\x05\x02\x12\x03\x1c\x07\x14\n\r\n\x06\x08\xe7\x07\
\x05\x02\0\x12\x03\x1c\x07\x14\n\x0e\n\x07\x08\xe7\x07\x05\x02\0\x01\x12\
\x03\x1c\x07\x14\n\x0c\n\x05\x08\xe7\x07\x05\x07\x12\x03\x1c\x17,\n\xd2\
\x04\n\x02\x06\0\x12\x04(\0N\x01\x1a\xc5\x04\x20Manages\x20long-running\
\x20operations\x20with\x20an\x20API\x20service.\n\n\x20When\x20an\x20API\
\x20method\x20normally\x20takes\x20long\x20time\x20to\x20complete,\x20it\
\x20can\x20be\x20designed\n\x20to\x20return\x20[Operation][google.longru\
nning.Operation]\x20to\x20the\x20client,\x20and\x20the\x20client\x20can\
\x20use\x20this\n\x20interface\x20to\x20receive\x20the\x20real\x20respon\
se\x20asynchronously\x20by\x20polling\x20the\n\x20operation\x20resource,\
\x20or\x20pass\x20the\x20operation\x20resource\x20to\x20another\x20API\
\x20(such\x20as\n\x20Google\x20Cloud\x20Pub/Sub\x20API)\x20to\x20receive\
\x20the\x20response.\x20\x20Any\x20API\x20service\x20that\n\x20returns\
\x20long-running\x20operations\x20should\x20implement\x20the\x20`Operati\
ons`\x20interface\n\x20so\x20developers\x20can\x20have\x20a\x20consisten\
t\x20client\x20experience.\n\n\n\n\x03\x06\0\x01\x12\x03(\x08\x12\n\xad\
\x02\n\x04\x06\0\x02\0\x12\x04.\x020\x03\x1a\x9e\x02\x20Lists\x20operati\
ons\x20that\x20match\x20the\x20specified\x20filter\x20in\x20the\x20reque\
st.\x20If\x20the\n\x20server\x20doesn't\x20support\x20this\x20method,\
\x20it\x20returns\x20`UNIMPLEMENTED`.\n\n\x20NOTE:\x20the\x20`name`\x20b\
inding\x20below\x20allows\x20API\x20services\x20to\x20override\x20the\
\x20binding\n\x20to\x20use\x20different\x20resource\x20name\x20schemes,\
\x20such\x20as\x20`users/*/operations`.\n\n\x0c\n\x05\x06\0\x02\0\x01\
\x12\x03.\x06\x14\n\x0c\n\x05\x06\0\x02\0\x02\x12\x03.\x15*\n\x0c\n\x05\
\x06\0\x02\0\x03\x12\x03.5K\n\x0c\n\x05\x06\0\x02\0\x04\x12\x03/\x04@\n\
\x0f\n\x08\x06\0\x02\0\x04\xe7\x07\0\x12\x03/\x04@\n\x10\n\t\x06\0\x02\0\
\x04\xe7\x07\0\x02\x12\x03/\x0b\x1c\n\x11\n\n\x06\0\x02\0\x04\xe7\x07\0\
\x02\0\x12\x03/\x0b\x1c\n\x12\n\x0b\x06\0\x02\0\x04\xe7\x07\0\x02\0\x01\
\x12\x03/\x0c\x1b\n\x10\n\t\x06\0\x02\0\x04\xe7\x07\0\x08\x12\x03/\x1f?\
\n\xaf\x01\n\x04\x06\0\x02\x01\x12\x045\x027\x03\x1a\xa0\x01\x20Gets\x20\
the\x20latest\x20state\x20of\x20a\x20long-running\x20operation.\x20\x20C\
lients\x20can\x20use\x20this\n\x20method\x20to\x20poll\x20the\x20operati\
on\x20result\x20at\x20intervals\x20as\x20recommended\x20by\x20the\x20API\
\n\x20service.\n\n\x0c\n\x05\x06\0\x02\x01\x01\x12\x035\x06\x12\n\x0c\n\
\x05\x06\0\x02\x01\x02\x12\x035\x13&\n\x0c\n\x05\x06\0\x02\x01\x03\x12\
\x0351:\n\x0c\n\x05\x06\0\x02\x01\x04\x12\x036\x04C\n\x0f\n\x08\x06\0\
\x02\x01\x04\xe7\x07\0\x12\x036\x04C\n\x10\n\t\x06\0\x02\x01\x04\xe7\x07\
\0\x02\x12\x036\x0b\x1c\n\x11\n\n\x06\0\x02\x01\x04\xe7\x07\0\x02\0\x12\
\x036\x0b\x1c\n\x12\n\x0b\x06\0\x02\x01\x04\xe7\x07\0\x02\0\x01\x12\x036\
\x0c\x1b\n\x10\n\t\x06\0\x02\x01\x04\xe7\x07\0\x08\x12\x036\x1fB\n\x85\
\x02\n\x04\x06\0\x02\x02\x12\x04=\x02?\x03\x1a\xf6\x01\x20Deletes\x20a\
\x20long-running\x20operation.\x20This\x20method\x20indicates\x20that\
\x20the\x20client\x20is\n\x20no\x20longer\x20interested\x20in\x20the\x20\
operation\x20result.\x20It\x20does\x20not\x20cancel\x20the\n\x20operatio\
n.\x20If\x20the\x20server\x20doesn't\x20support\x20this\x20method,\x20it\
\x20returns\n\x20`google.rpc.Code.UNIMPLEMENTED`.\n\n\x0c\n\x05\x06\0\
\x02\x02\x01\x12\x03=\x06\x15\n\x0c\n\x05\x06\0\x02\x02\x02\x12\x03=\x16\
,\n\x0c\n\x05\x06\0\x02\x02\x03\x12\x03=7L\n\x0c\n\x05\x06\0\x02\x02\x04\
\x12\x03>\x04F\n\x0f\n\x08\x06\0\x02\x02\x04\xe7\x07\0\x12\x03>\x04F\n\
\x10\n\t\x06\0\x02\x02\x04\xe7\x07\0\x02\x12\x03>\x0b\x1c\n\x11\n\n\x06\
\0\x02\x02\x04\xe7\x07\0\x02\0\x12\x03>\x0b\x1c\n\x12\n\x0b\x06\0\x02\
\x02\x04\xe7\x07\0\x02\0\x01\x12\x03>\x0c\x1b\n\x10\n\t\x06\0\x02\x02\
\x04\xe7\x07\0\x08\x12\x03>\x1fE\n\xd4\x05\n\x04\x06\0\x02\x03\x12\x04K\
\x02M\x03\x1a\xc5\x05\x20Starts\x20asynchronous\x20cancellation\x20on\
\x20a\x20long-running\x20operation.\x20\x20The\x20server\n\x20makes\x20a\
\x20best\x20effort\x20to\x20cancel\x20the\x20operation,\x20but\x20succes\
s\x20is\x20not\n\x20guaranteed.\x20\x20If\x20the\x20server\x20doesn't\
\x20support\x20this\x20method,\x20it\x20returns\n\x20`google.rpc.Code.UN\
IMPLEMENTED`.\x20\x20Clients\x20can\x20use\n\x20[Operations.GetOperation\
][google.longrunning.Operations.GetOperation]\x20or\n\x20other\x20method\
s\x20to\x20check\x20whether\x20the\x20cancellation\x20succeeded\x20or\
\x20whether\x20the\n\x20operation\x20completed\x20despite\x20cancellatio\
n.\x20On\x20successful\x20cancellation,\n\x20the\x20operation\x20is\x20n\
ot\x20deleted;\x20instead,\x20it\x20becomes\x20an\x20operation\x20with\n\
\x20an\x20[Operation.error][google.longrunning.Operation.error]\x20value\
\x20with\x20a\x20[google.rpc.Status.code][google.rpc.Status.code]\x20of\
\x201,\n\x20corresponding\x20to\x20`Code.CANCELLED`.\n\n\x0c\n\x05\x06\0\
\x02\x03\x01\x12\x03K\x06\x15\n\x0c\n\x05\x06\0\x02\x03\x02\x12\x03K\x16\
,\n\x0c\n\x05\x06\0\x02\x03\x03\x12\x03K7L\n\x0c\n\x05\x06\0\x02\x03\x04\
\x12\x03L\x04U\n\x0f\n\x08\x06\0\x02\x03\x04\xe7\x07\0\x12\x03L\x04U\n\
\x10\n\t\x06\0\x02\x03\x04\xe7\x07\0\x02\x12\x03L\x0b\x1c\n\x11\n\n\x06\
\0\x02\x03\x04\xe7\x07\0\x02\0\x12\x03L\x0b\x1c\n\x12\n\x0b\x06\0\x02\
\x03\x04\xe7\x07\0\x02\0\x01\x12\x03L\x0c\x1b\n\x10\n\t\x06\0\x02\x03\
\x04\xe7\x07\0\x08\x12\x03L\x1fT\nj\n\x02\x04\0\x12\x04R\0t\x01\x1a^\x20\
This\x20resource\x20represents\x20a\x20long-running\x20operation\x20that\
\x20is\x20the\x20result\x20of\x20a\n\x20network\x20API\x20call.\n\n\n\n\
\x03\x04\0\x01\x12\x03R\x08\x11\n\xdd\x01\n\x04\x04\0\x02\0\x12\x03V\x02\
\x12\x1a\xcf\x01\x20The\x20server-assigned\x20name,\x20which\x20is\x20on\
ly\x20unique\x20within\x20the\x20same\x20service\x20that\n\x20originally\
\x20returns\x20it.\x20If\x20you\x20use\x20the\x20default\x20HTTP\x20mapp\
ing,\x20the\n\x20`name`\x20should\x20have\x20the\x20format\x20of\x20`ope\
rations/some/unique/name`.\n\n\r\n\x05\x04\0\x02\0\x04\x12\x04V\x02R\x13\
\n\x0c\n\x05\x04\0\x02\0\x05\x12\x03V\x02\x08\n\x0c\n\x05\x04\0\x02\0\
\x01\x12\x03V\t\r\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03V\x10\x11\n\xac\x02\
\n\x04\x04\0\x02\x01\x12\x03\\\x02#\x1a\x9e\x02\x20Service-specific\x20m\
etadata\x20associated\x20with\x20the\x20operation.\x20\x20It\x20typicall\
y\n\x20contains\x20progress\x20information\x20and\x20common\x20metadata\
\x20such\x20as\x20create\x20time.\n\x20Some\x20services\x20might\x20not\
\x20provide\x20such\x20metadata.\x20\x20Any\x20method\x20that\x20returns\
\x20a\n\x20long-running\x20operation\x20should\x20document\x20the\x20met\
adata\x20type,\x20if\x20any.\n\n\r\n\x05\x04\0\x02\x01\x04\x12\x04\\\x02\
V\x12\n\x0c\n\x05\x04\0\x02\x01\x06\x12\x03\\\x02\x15\n\x0c\n\x05\x04\0\
\x02\x01\x01\x12\x03\\\x16\x1e\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03\\!\
\"\n\xab\x01\n\x04\x04\0\x02\x02\x12\x03a\x02\x10\x1a\x9d\x01\x20If\x20t\
he\x20value\x20is\x20`false`,\x20it\x20means\x20the\x20operation\x20is\
\x20still\x20in\x20progress.\n\x20If\x20true,\x20the\x20operation\x20is\
\x20completed,\x20and\x20either\x20`error`\x20or\x20`response`\x20is\n\
\x20available.\n\n\r\n\x05\x04\0\x02\x02\x04\x12\x04a\x02\\#\n\x0c\n\x05\
\x04\0\x02\x02\x05\x12\x03a\x02\x06\n\x0c\n\x05\x04\0\x02\x02\x01\x12\
\x03a\x07\x0b\n\x0c\n\x05\x04\0\x02\x02\x03\x12\x03a\x0e\x0f\n\xdd\x01\n\
\x04\x04\0\x08\0\x12\x04f\x02s\x03\x1a\xce\x01\x20The\x20operation\x20re\
sult,\x20which\x20can\x20be\x20either\x20an\x20`error`\x20or\x20a\x20val\
id\x20`response`.\n\x20If\x20`done`\x20==\x20`false`,\x20neither\x20`err\
or`\x20nor\x20`response`\x20is\x20set.\n\x20If\x20`done`\x20==\x20`true`\
,\x20exactly\x20one\x20of\x20`error`\x20or\x20`response`\x20is\x20set.\n\
\n\x0c\n\x05\x04\0\x08\0\x01\x12\x03f\x08\x0e\nT\n\x04\x04\0\x02\x03\x12\
\x03h\x04\x20\x1aG\x20The\x20error\x20result\x20of\x20the\x20operation\
\x20in\x20case\x20of\x20failure\x20or\x20cancellation.\n\n\x0c\n\x05\x04\
\0\x02\x03\x06\x12\x03h\x04\x15\n\x0c\n\x05\x04\0\x02\x03\x01\x12\x03h\
\x16\x1b\n\x0c\n\x05\x04\0\x02\x03\x03\x12\x03h\x1e\x1f\n\x83\x04\n\x04\
\x04\0\x02\x04\x12\x03r\x04%\x1a\xf5\x03\x20The\x20normal\x20response\
\x20of\x20the\x20operation\x20in\x20case\x20of\x20success.\x20\x20If\x20\
the\x20original\n\x20method\x20returns\x20no\x20data\x20on\x20success,\
\x20such\x20as\x20`Delete`,\x20the\x20response\x20is\n\x20`google.protob\
uf.Empty`.\x20\x20If\x20the\x20original\x20method\x20is\x20standard\n\
\x20`Get`/`Create`/`Update`,\x20the\x20response\x20should\x20be\x20the\
\x20resource.\x20\x20For\x20other\n\x20methods,\x20the\x20response\x20sh\
ould\x20have\x20the\x20type\x20`XxxResponse`,\x20where\x20`Xxx`\n\x20is\
\x20the\x20original\x20method\x20name.\x20\x20For\x20example,\x20if\x20t\
he\x20original\x20method\x20name\n\x20is\x20`TakeSnapshot()`,\x20the\x20\
inferred\x20response\x20type\x20is\n\x20`TakeSnapshotResponse`.\n\n\x0c\
\n\x05\x04\0\x02\x04\x06\x12\x03r\x04\x17\n\x0c\n\x05\x04\0\x02\x04\x01\
\x12\x03r\x18\x20\n\x0c\n\x05\x04\0\x02\x04\x03\x12\x03r#$\nl\n\x02\x04\
\x01\x12\x04w\0z\x01\x1a`\x20The\x20request\x20message\x20for\x20[Operat\
ions.GetOperation][google.longrunning.Operations.GetOperation].\n\n\n\n\
\x03\x04\x01\x01\x12\x03w\x08\x1b\n2\n\x04\x04\x01\x02\0\x12\x03y\x02\
\x12\x1a%\x20The\x20name\x20of\x20the\x20operation\x20resource.\n\n\r\n\
\x05\x04\x01\x02\0\x04\x12\x04y\x02w\x1d\n\x0c\n\x05\x04\x01\x02\0\x05\
\x12\x03y\x02\x08\n\x0c\n\x05\x04\x01\x02\0\x01\x12\x03y\t\r\n\x0c\n\x05\
\x04\x01\x02\0\x03\x12\x03y\x10\x11\nq\n\x02\x04\x02\x12\x05}\0\x89\x01\
\x01\x1ad\x20The\x20request\x20message\x20for\x20[Operations.ListOperati\
ons][google.longrunning.Operations.ListOperations].\n\n\n\n\x03\x04\x02\
\x01\x12\x03}\x08\x1d\n4\n\x04\x04\x02\x02\0\x12\x03\x7f\x02\x12\x1a'\
\x20The\x20name\x20of\x20the\x20operation\x20collection.\n\n\r\n\x05\x04\
\x02\x02\0\x04\x12\x04\x7f\x02}\x1f\n\x0c\n\x05\x04\x02\x02\0\x05\x12\
\x03\x7f\x02\x08\n\x0c\n\x05\x04\x02\x02\0\x01\x12\x03\x7f\t\r\n\x0c\n\
\x05\x04\x02\x02\0\x03\x12\x03\x7f\x10\x11\n)\n\x04\x04\x02\x02\x01\x12\
\x04\x82\x01\x02\x14\x1a\x1b\x20The\x20standard\x20list\x20filter.\n\n\
\x0e\n\x05\x04\x02\x02\x01\x04\x12\x05\x82\x01\x02\x7f\x12\n\r\n\x05\x04\
\x02\x02\x01\x05\x12\x04\x82\x01\x02\x08\n\r\n\x05\x04\x02\x02\x01\x01\
\x12\x04\x82\x01\t\x0f\n\r\n\x05\x04\x02\x02\x01\x03\x12\x04\x82\x01\x12\
\x13\n,\n\x04\x04\x02\x02\x02\x12\x04\x85\x01\x02\x16\x1a\x1e\x20The\x20\
standard\x20list\x20page\x20size.\n\n\x0f\n\x05\x04\x02\x02\x02\x04\x12\
\x06\x85\x01\x02\x82\x01\x14\n\r\n\x05\x04\x02\x02\x02\x05\x12\x04\x85\
\x01\x02\x07\n\r\n\x05\x04\x02\x02\x02\x01\x12\x04\x85\x01\x08\x11\n\r\n\
\x05\x04\x02\x02\x02\x03\x12\x04\x85\x01\x14\x15\n-\n\x04\x04\x02\x02\
\x03\x12\x04\x88\x01\x02\x18\x1a\x1f\x20The\x20standard\x20list\x20page\
\x20token.\n\n\x0f\n\x05\x04\x02\x02\x03\x04\x12\x06\x88\x01\x02\x85\x01\
\x16\n\r\n\x05\x04\x02\x02\x03\x05\x12\x04\x88\x01\x02\x08\n\r\n\x05\x04\
\x02\x02\x03\x01\x12\x04\x88\x01\t\x13\n\r\n\x05\x04\x02\x02\x03\x03\x12\
\x04\x88\x01\x16\x17\ns\n\x02\x04\x03\x12\x06\x8c\x01\0\x92\x01\x01\x1ae\
\x20The\x20response\x20message\x20for\x20[Operations.ListOperations][goo\
gle.longrunning.Operations.ListOperations].\n\n\x0b\n\x03\x04\x03\x01\
\x12\x04\x8c\x01\x08\x1e\nV\n\x04\x04\x03\x02\0\x12\x04\x8e\x01\x02$\x1a\
H\x20A\x20list\x20of\x20operations\x20that\x20matches\x20the\x20specifie\
d\x20filter\x20in\x20the\x20request.\n\n\r\n\x05\x04\x03\x02\0\x04\x12\
\x04\x8e\x01\x02\n\n\r\n\x05\x04\x03\x02\0\x06\x12\x04\x8e\x01\x0b\x14\n\
\r\n\x05\x04\x03\x02\0\x01\x12\x04\x8e\x01\x15\x1f\n\r\n\x05\x04\x03\x02\
\0\x03\x12\x04\x8e\x01\"#\n2\n\x04\x04\x03\x02\x01\x12\x04\x91\x01\x02\
\x1d\x1a$\x20The\x20standard\x20List\x20next-page\x20token.\n\n\x0f\n\
\x05\x04\x03\x02\x01\x04\x12\x06\x91\x01\x02\x8e\x01$\n\r\n\x05\x04\x03\
\x02\x01\x05\x12\x04\x91\x01\x02\x08\n\r\n\x05\x04\x03\x02\x01\x01\x12\
\x04\x91\x01\t\x18\n\r\n\x05\x04\x03\x02\x01\x03\x12\x04\x91\x01\x1b\x1c\
\nt\n\x02\x04\x04\x12\x06\x95\x01\0\x98\x01\x01\x1af\x20The\x20request\
\x20message\x20for\x20[Operations.CancelOperation][google.longrunning.Op\
erations.CancelOperation].\n\n\x0b\n\x03\x04\x04\x01\x12\x04\x95\x01\x08\
\x1e\nC\n\x04\x04\x04\x02\0\x12\x04\x97\x01\x02\x12\x1a5\x20The\x20name\
\x20of\x20the\x20operation\x20resource\x20to\x20be\x20cancelled.\n\n\x0f\
\n\x05\x04\x04\x02\0\x04\x12\x06\x97\x01\x02\x95\x01\x20\n\r\n\x05\x04\
\x04\x02\0\x05\x12\x04\x97\x01\x02\x08\n\r\n\x05\x04\x04\x02\0\x01\x12\
\x04\x97\x01\t\r\n\r\n\x05\x04\x04\x02\0\x03\x12\x04\x97\x01\x10\x11\nt\
\n\x02\x04\x05\x12\x06\x9b\x01\0\x9e\x01\x01\x1af\x20The\x20request\x20m\
essage\x20for\x20[Operations.DeleteOperation][google.longrunning.Operati\
ons.DeleteOperation].\n\n\x0b\n\x03\x04\x05\x01\x12\x04\x9b\x01\x08\x1e\
\nA\n\x04\x04\x05\x02\0\x12\x04\x9d\x01\x02\x12\x1a3\x20The\x20name\x20o\
f\x20the\x20operation\x20resource\x20to\x20be\x20deleted.\n\n\x0f\n\x05\
\x04\x05\x02\0\x04\x12\x06\x9d\x01\x02\x9b\x01\x20\n\r\n\x05\x04\x05\x02\
\0\x05\x12\x04\x9d\x01\x02\x08\n\r\n\x05\x04\x05\x02\0\x01\x12\x04\x9d\
\x01\t\r\n\r\n\x05\x04\x05\x02\0\x03\x12\x04\x9d\x01\x10\x11b\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()
})
}
}