1#![allow(unknown_lints)]
6#![allow(clippy::all)]
7
8#![allow(unused_attributes)]
9#![cfg_attr(rustfmt, rustfmt::skip)]
10
11#![allow(box_pointers)]
12#![allow(dead_code)]
13#![allow(missing_docs)]
14#![allow(non_camel_case_types)]
15#![allow(non_snake_case)]
16#![allow(non_upper_case_globals)]
17#![allow(trivial_casts)]
18#![allow(unused_imports)]
19#![allow(unused_results)]
20#[derive(PartialEq,Clone,Default)]
27pub struct Operation {
28 pub operation_id: ::std::string::String,
30 pub operation_name: ::std::string::String,
31 pub consumer_id: ::std::string::String,
32 pub start_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>,
33 pub end_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>,
34 pub labels: ::std::collections::HashMap<::std::string::String, ::std::string::String>,
35 pub metric_value_sets: ::protobuf::RepeatedField<super::metric_value::MetricValueSet>,
36 pub log_entries: ::protobuf::RepeatedField<super::log_entry::LogEntry>,
37 pub importance: Operation_Importance,
38 pub extensions: ::protobuf::RepeatedField<::protobuf::well_known_types::Any>,
39 pub unknown_fields: ::protobuf::UnknownFields,
41 pub cached_size: ::protobuf::CachedSize,
42}
43
44impl<'a> ::std::default::Default for &'a Operation {
45 fn default() -> &'a Operation {
46 <Operation as ::protobuf::Message>::default_instance()
47 }
48}
49
50impl Operation {
51 pub fn new() -> Operation {
52 ::std::default::Default::default()
53 }
54
55 pub fn get_operation_id(&self) -> &str {
59 &self.operation_id
60 }
61 pub fn clear_operation_id(&mut self) {
62 self.operation_id.clear();
63 }
64
65 pub fn set_operation_id(&mut self, v: ::std::string::String) {
67 self.operation_id = v;
68 }
69
70 pub fn mut_operation_id(&mut self) -> &mut ::std::string::String {
73 &mut self.operation_id
74 }
75
76 pub fn take_operation_id(&mut self) -> ::std::string::String {
78 ::std::mem::replace(&mut self.operation_id, ::std::string::String::new())
79 }
80
81 pub fn get_operation_name(&self) -> &str {
85 &self.operation_name
86 }
87 pub fn clear_operation_name(&mut self) {
88 self.operation_name.clear();
89 }
90
91 pub fn set_operation_name(&mut self, v: ::std::string::String) {
93 self.operation_name = v;
94 }
95
96 pub fn mut_operation_name(&mut self) -> &mut ::std::string::String {
99 &mut self.operation_name
100 }
101
102 pub fn take_operation_name(&mut self) -> ::std::string::String {
104 ::std::mem::replace(&mut self.operation_name, ::std::string::String::new())
105 }
106
107 pub fn get_consumer_id(&self) -> &str {
111 &self.consumer_id
112 }
113 pub fn clear_consumer_id(&mut self) {
114 self.consumer_id.clear();
115 }
116
117 pub fn set_consumer_id(&mut self, v: ::std::string::String) {
119 self.consumer_id = v;
120 }
121
122 pub fn mut_consumer_id(&mut self) -> &mut ::std::string::String {
125 &mut self.consumer_id
126 }
127
128 pub fn take_consumer_id(&mut self) -> ::std::string::String {
130 ::std::mem::replace(&mut self.consumer_id, ::std::string::String::new())
131 }
132
133 pub fn get_start_time(&self) -> &::protobuf::well_known_types::Timestamp {
137 self.start_time.as_ref().unwrap_or_else(|| <::protobuf::well_known_types::Timestamp as ::protobuf::Message>::default_instance())
138 }
139 pub fn clear_start_time(&mut self) {
140 self.start_time.clear();
141 }
142
143 pub fn has_start_time(&self) -> bool {
144 self.start_time.is_some()
145 }
146
147 pub fn set_start_time(&mut self, v: ::protobuf::well_known_types::Timestamp) {
149 self.start_time = ::protobuf::SingularPtrField::some(v);
150 }
151
152 pub fn mut_start_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp {
155 if self.start_time.is_none() {
156 self.start_time.set_default();
157 }
158 self.start_time.as_mut().unwrap()
159 }
160
161 pub fn take_start_time(&mut self) -> ::protobuf::well_known_types::Timestamp {
163 self.start_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new())
164 }
165
166 pub fn get_end_time(&self) -> &::protobuf::well_known_types::Timestamp {
170 self.end_time.as_ref().unwrap_or_else(|| <::protobuf::well_known_types::Timestamp as ::protobuf::Message>::default_instance())
171 }
172 pub fn clear_end_time(&mut self) {
173 self.end_time.clear();
174 }
175
176 pub fn has_end_time(&self) -> bool {
177 self.end_time.is_some()
178 }
179
180 pub fn set_end_time(&mut self, v: ::protobuf::well_known_types::Timestamp) {
182 self.end_time = ::protobuf::SingularPtrField::some(v);
183 }
184
185 pub fn mut_end_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp {
188 if self.end_time.is_none() {
189 self.end_time.set_default();
190 }
191 self.end_time.as_mut().unwrap()
192 }
193
194 pub fn take_end_time(&mut self) -> ::protobuf::well_known_types::Timestamp {
196 self.end_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new())
197 }
198
199 pub fn get_labels(&self) -> &::std::collections::HashMap<::std::string::String, ::std::string::String> {
203 &self.labels
204 }
205 pub fn clear_labels(&mut self) {
206 self.labels.clear();
207 }
208
209 pub fn set_labels(&mut self, v: ::std::collections::HashMap<::std::string::String, ::std::string::String>) {
211 self.labels = v;
212 }
213
214 pub fn mut_labels(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, ::std::string::String> {
216 &mut self.labels
217 }
218
219 pub fn take_labels(&mut self) -> ::std::collections::HashMap<::std::string::String, ::std::string::String> {
221 ::std::mem::replace(&mut self.labels, ::std::collections::HashMap::new())
222 }
223
224 pub fn get_metric_value_sets(&self) -> &[super::metric_value::MetricValueSet] {
228 &self.metric_value_sets
229 }
230 pub fn clear_metric_value_sets(&mut self) {
231 self.metric_value_sets.clear();
232 }
233
234 pub fn set_metric_value_sets(&mut self, v: ::protobuf::RepeatedField<super::metric_value::MetricValueSet>) {
236 self.metric_value_sets = v;
237 }
238
239 pub fn mut_metric_value_sets(&mut self) -> &mut ::protobuf::RepeatedField<super::metric_value::MetricValueSet> {
241 &mut self.metric_value_sets
242 }
243
244 pub fn take_metric_value_sets(&mut self) -> ::protobuf::RepeatedField<super::metric_value::MetricValueSet> {
246 ::std::mem::replace(&mut self.metric_value_sets, ::protobuf::RepeatedField::new())
247 }
248
249 pub fn get_log_entries(&self) -> &[super::log_entry::LogEntry] {
253 &self.log_entries
254 }
255 pub fn clear_log_entries(&mut self) {
256 self.log_entries.clear();
257 }
258
259 pub fn set_log_entries(&mut self, v: ::protobuf::RepeatedField<super::log_entry::LogEntry>) {
261 self.log_entries = v;
262 }
263
264 pub fn mut_log_entries(&mut self) -> &mut ::protobuf::RepeatedField<super::log_entry::LogEntry> {
266 &mut self.log_entries
267 }
268
269 pub fn take_log_entries(&mut self) -> ::protobuf::RepeatedField<super::log_entry::LogEntry> {
271 ::std::mem::replace(&mut self.log_entries, ::protobuf::RepeatedField::new())
272 }
273
274 pub fn get_importance(&self) -> Operation_Importance {
278 self.importance
279 }
280 pub fn clear_importance(&mut self) {
281 self.importance = Operation_Importance::LOW;
282 }
283
284 pub fn set_importance(&mut self, v: Operation_Importance) {
286 self.importance = v;
287 }
288
289 pub fn get_extensions(&self) -> &[::protobuf::well_known_types::Any] {
293 &self.extensions
294 }
295 pub fn clear_extensions(&mut self) {
296 self.extensions.clear();
297 }
298
299 pub fn set_extensions(&mut self, v: ::protobuf::RepeatedField<::protobuf::well_known_types::Any>) {
301 self.extensions = v;
302 }
303
304 pub fn mut_extensions(&mut self) -> &mut ::protobuf::RepeatedField<::protobuf::well_known_types::Any> {
306 &mut self.extensions
307 }
308
309 pub fn take_extensions(&mut self) -> ::protobuf::RepeatedField<::protobuf::well_known_types::Any> {
311 ::std::mem::replace(&mut self.extensions, ::protobuf::RepeatedField::new())
312 }
313}
314
315impl ::protobuf::Message for Operation {
316 fn is_initialized(&self) -> bool {
317 for v in &self.start_time {
318 if !v.is_initialized() {
319 return false;
320 }
321 };
322 for v in &self.end_time {
323 if !v.is_initialized() {
324 return false;
325 }
326 };
327 for v in &self.metric_value_sets {
328 if !v.is_initialized() {
329 return false;
330 }
331 };
332 for v in &self.log_entries {
333 if !v.is_initialized() {
334 return false;
335 }
336 };
337 for v in &self.extensions {
338 if !v.is_initialized() {
339 return false;
340 }
341 };
342 true
343 }
344
345 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
346 while !is.eof()? {
347 let (field_number, wire_type) = is.read_tag_unpack()?;
348 match field_number {
349 1 => {
350 ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.operation_id)?;
351 },
352 2 => {
353 ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.operation_name)?;
354 },
355 3 => {
356 ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.consumer_id)?;
357 },
358 4 => {
359 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.start_time)?;
360 },
361 5 => {
362 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.end_time)?;
363 },
364 6 => {
365 ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(wire_type, is, &mut self.labels)?;
366 },
367 7 => {
368 ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.metric_value_sets)?;
369 },
370 8 => {
371 ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.log_entries)?;
372 },
373 11 => {
374 ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.importance, 11, &mut self.unknown_fields)?
375 },
376 16 => {
377 ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.extensions)?;
378 },
379 _ => {
380 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
381 },
382 };
383 }
384 ::std::result::Result::Ok(())
385 }
386
387 #[allow(unused_variables)]
389 fn compute_size(&self) -> u32 {
390 let mut my_size = 0;
391 if !self.operation_id.is_empty() {
392 my_size += ::protobuf::rt::string_size(1, &self.operation_id);
393 }
394 if !self.operation_name.is_empty() {
395 my_size += ::protobuf::rt::string_size(2, &self.operation_name);
396 }
397 if !self.consumer_id.is_empty() {
398 my_size += ::protobuf::rt::string_size(3, &self.consumer_id);
399 }
400 if let Some(ref v) = self.start_time.as_ref() {
401 let len = v.compute_size();
402 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
403 }
404 if let Some(ref v) = self.end_time.as_ref() {
405 let len = v.compute_size();
406 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
407 }
408 my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(6, &self.labels);
409 for value in &self.metric_value_sets {
410 let len = value.compute_size();
411 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
412 };
413 for value in &self.log_entries {
414 let len = value.compute_size();
415 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
416 };
417 if self.importance != Operation_Importance::LOW {
418 my_size += ::protobuf::rt::enum_size(11, self.importance);
419 }
420 for value in &self.extensions {
421 let len = value.compute_size();
422 my_size += 2 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
423 };
424 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
425 self.cached_size.set(my_size);
426 my_size
427 }
428
429 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
430 if !self.operation_id.is_empty() {
431 os.write_string(1, &self.operation_id)?;
432 }
433 if !self.operation_name.is_empty() {
434 os.write_string(2, &self.operation_name)?;
435 }
436 if !self.consumer_id.is_empty() {
437 os.write_string(3, &self.consumer_id)?;
438 }
439 if let Some(ref v) = self.start_time.as_ref() {
440 os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?;
441 os.write_raw_varint32(v.get_cached_size())?;
442 v.write_to_with_cached_sizes(os)?;
443 }
444 if let Some(ref v) = self.end_time.as_ref() {
445 os.write_tag(5, ::protobuf::wire_format::WireTypeLengthDelimited)?;
446 os.write_raw_varint32(v.get_cached_size())?;
447 v.write_to_with_cached_sizes(os)?;
448 }
449 ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(6, &self.labels, os)?;
450 for v in &self.metric_value_sets {
451 os.write_tag(7, ::protobuf::wire_format::WireTypeLengthDelimited)?;
452 os.write_raw_varint32(v.get_cached_size())?;
453 v.write_to_with_cached_sizes(os)?;
454 };
455 for v in &self.log_entries {
456 os.write_tag(8, ::protobuf::wire_format::WireTypeLengthDelimited)?;
457 os.write_raw_varint32(v.get_cached_size())?;
458 v.write_to_with_cached_sizes(os)?;
459 };
460 if self.importance != Operation_Importance::LOW {
461 os.write_enum(11, ::protobuf::ProtobufEnum::value(&self.importance))?;
462 }
463 for v in &self.extensions {
464 os.write_tag(16, ::protobuf::wire_format::WireTypeLengthDelimited)?;
465 os.write_raw_varint32(v.get_cached_size())?;
466 v.write_to_with_cached_sizes(os)?;
467 };
468 os.write_unknown_fields(self.get_unknown_fields())?;
469 ::std::result::Result::Ok(())
470 }
471
472 fn get_cached_size(&self) -> u32 {
473 self.cached_size.get()
474 }
475
476 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
477 &self.unknown_fields
478 }
479
480 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
481 &mut self.unknown_fields
482 }
483
484 fn as_any(&self) -> &dyn (::std::any::Any) {
485 self as &dyn (::std::any::Any)
486 }
487 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
488 self as &mut dyn (::std::any::Any)
489 }
490 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
491 self
492 }
493
494 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
495 Self::descriptor_static()
496 }
497
498 fn new() -> Operation {
499 Operation::new()
500 }
501
502 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
503 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
504 descriptor.get(|| {
505 let mut fields = ::std::vec::Vec::new();
506 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
507 "operation_id",
508 |m: &Operation| { &m.operation_id },
509 |m: &mut Operation| { &mut m.operation_id },
510 ));
511 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
512 "operation_name",
513 |m: &Operation| { &m.operation_name },
514 |m: &mut Operation| { &mut m.operation_name },
515 ));
516 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
517 "consumer_id",
518 |m: &Operation| { &m.consumer_id },
519 |m: &mut Operation| { &mut m.consumer_id },
520 ));
521 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>(
522 "start_time",
523 |m: &Operation| { &m.start_time },
524 |m: &mut Operation| { &mut m.start_time },
525 ));
526 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>(
527 "end_time",
528 |m: &Operation| { &m.end_time },
529 |m: &mut Operation| { &mut m.end_time },
530 ));
531 fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(
532 "labels",
533 |m: &Operation| { &m.labels },
534 |m: &mut Operation| { &mut m.labels },
535 ));
536 fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::metric_value::MetricValueSet>>(
537 "metric_value_sets",
538 |m: &Operation| { &m.metric_value_sets },
539 |m: &mut Operation| { &mut m.metric_value_sets },
540 ));
541 fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::log_entry::LogEntry>>(
542 "log_entries",
543 |m: &Operation| { &m.log_entries },
544 |m: &mut Operation| { &mut m.log_entries },
545 ));
546 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<Operation_Importance>>(
547 "importance",
548 |m: &Operation| { &m.importance },
549 |m: &mut Operation| { &mut m.importance },
550 ));
551 fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Any>>(
552 "extensions",
553 |m: &Operation| { &m.extensions },
554 |m: &mut Operation| { &mut m.extensions },
555 ));
556 ::protobuf::reflect::MessageDescriptor::new_pb_name::<Operation>(
557 "Operation",
558 fields,
559 file_descriptor_proto()
560 )
561 })
562 }
563
564 fn default_instance() -> &'static Operation {
565 static instance: ::protobuf::rt::LazyV2<Operation> = ::protobuf::rt::LazyV2::INIT;
566 instance.get(Operation::new)
567 }
568}
569
570impl ::protobuf::Clear for Operation {
571 fn clear(&mut self) {
572 self.operation_id.clear();
573 self.operation_name.clear();
574 self.consumer_id.clear();
575 self.start_time.clear();
576 self.end_time.clear();
577 self.labels.clear();
578 self.metric_value_sets.clear();
579 self.log_entries.clear();
580 self.importance = Operation_Importance::LOW;
581 self.extensions.clear();
582 self.unknown_fields.clear();
583 }
584}
585
586impl ::std::fmt::Debug for Operation {
587 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
588 ::protobuf::text_format::fmt(self, f)
589 }
590}
591
592impl ::protobuf::reflect::ProtobufValue for Operation {
593 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
594 ::protobuf::reflect::ReflectValueRef::Message(self)
595 }
596}
597
598#[derive(Clone,PartialEq,Eq,Debug,Hash)]
599pub enum Operation_Importance {
600 LOW = 0,
601 HIGH = 1,
602}
603
604impl ::protobuf::ProtobufEnum for Operation_Importance {
605 fn value(&self) -> i32 {
606 *self as i32
607 }
608
609 fn from_i32(value: i32) -> ::std::option::Option<Operation_Importance> {
610 match value {
611 0 => ::std::option::Option::Some(Operation_Importance::LOW),
612 1 => ::std::option::Option::Some(Operation_Importance::HIGH),
613 _ => ::std::option::Option::None
614 }
615 }
616
617 fn values() -> &'static [Self] {
618 static values: &'static [Operation_Importance] = &[
619 Operation_Importance::LOW,
620 Operation_Importance::HIGH,
621 ];
622 values
623 }
624
625 fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
626 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
627 descriptor.get(|| {
628 ::protobuf::reflect::EnumDescriptor::new_pb_name::<Operation_Importance>("Operation.Importance", file_descriptor_proto())
629 })
630 }
631}
632
633impl ::std::marker::Copy for Operation_Importance {
634}
635
636impl ::std::default::Default for Operation_Importance {
637 fn default() -> Self {
638 Operation_Importance::LOW
639 }
640}
641
642impl ::protobuf::reflect::ProtobufValue for Operation_Importance {
643 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
644 ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
645 }
646}
647
648static file_descriptor_proto_data: &'static [u8] = b"\
649 \n,google/api/servicecontrol/v1/operation.proto\x12\x1cgoogle.api.servic\
650 econtrol.v1\x1a,google/api/servicecontrol/v1/log_entry.proto\x1a/google/\
651 api/servicecontrol/v1/metric_value.proto\x1a\x19google/protobuf/any.prot\
652 o\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbe\x05\n\tOperation\x12!\n\
653 \x0coperation_id\x18\x01\x20\x01(\tR\x0boperationId\x12%\n\x0eoperation_\
654 name\x18\x02\x20\x01(\tR\roperationName\x12\x1f\n\x0bconsumer_id\x18\x03\
655 \x20\x01(\tR\nconsumerId\x129\n\nstart_time\x18\x04\x20\x01(\x0b2\x1a.go\
656 ogle.protobuf.TimestampR\tstartTime\x125\n\x08end_time\x18\x05\x20\x01(\
657 \x0b2\x1a.google.protobuf.TimestampR\x07endTime\x12K\n\x06labels\x18\x06\
658 \x20\x03(\x0b23.google.api.servicecontrol.v1.Operation.LabelsEntryR\x06l\
659 abels\x12X\n\x11metric_value_sets\x18\x07\x20\x03(\x0b2,.google.api.serv\
660 icecontrol.v1.MetricValueSetR\x0fmetricValueSets\x12G\n\x0blog_entries\
661 \x18\x08\x20\x03(\x0b2&.google.api.servicecontrol.v1.LogEntryR\nlogEntri\
662 es\x12R\n\nimportance\x18\x0b\x20\x01(\x0e22.google.api.servicecontrol.v\
663 1.Operation.ImportanceR\nimportance\x124\n\nextensions\x18\x10\x20\x03(\
664 \x0b2\x14.google.protobuf.AnyR\nextensions\x1a9\n\x0bLabelsEntry\x12\x10\
665 \n\x03key\x18\x01\x20\x01(\tR\x03key\x12\x14\n\x05value\x18\x02\x20\x01(\
666 \tR\x05value:\x028\x01\"\x1f\n\nImportance\x12\x07\n\x03LOW\x10\0\x12\
667 \x08\n\x04HIGH\x10\x01B\xe9\x01\n\x20com.google.api.servicecontrol.v1B\
668 \x0eOperationProtoP\x01ZJcloud.google.com/go/servicecontrol/apiv1/servic\
669 econtrolpb;servicecontrolpb\xf8\x01\x01\xaa\x02\x1eGoogle.Cloud.ServiceC\
670 ontrol.V1\xca\x02\x1eGoogle\\Cloud\\ServiceControl\\V1\xea\x02!Google::C\
671 loud::ServiceControl::V1J\x9b%\n\x06\x12\x04\x0e\0z\x01\n\xbc\x04\n\x01\
672 \x0c\x12\x03\x0e\0\x122\xb1\x04\x20Copyright\x202021\x20Google\x20LLC\n\
673 \n\x20Licensed\x20under\x20the\x20Apache\x20License,\x20Version\x202.0\
674 \x20(the\x20\"License\");\n\x20you\x20may\x20not\x20use\x20this\x20file\
675 \x20except\x20in\x20compliance\x20with\x20the\x20License.\n\x20You\x20ma\
676 y\x20obtain\x20a\x20copy\x20of\x20the\x20License\x20at\n\n\x20\x20\x20\
677 \x20\x20http://www.apache.org/licenses/LICENSE-2.0\n\n\x20Unless\x20requ\
678 ired\x20by\x20applicable\x20law\x20or\x20agreed\x20to\x20in\x20writing,\
679 \x20software\n\x20distributed\x20under\x20the\x20License\x20is\x20distri\
680 buted\x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\x20WITHOUT\x20WARRANTIES\
681 \x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20express\x20or\
682 \x20implied.\n\x20See\x20the\x20License\x20for\x20the\x20specific\x20lan\
683 guage\x20governing\x20permissions\x20and\n\x20limitations\x20under\x20th\
684 e\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\0%\n\t\n\x02\x03\0\x12\x03\
685 \x12\06\n\t\n\x02\x03\x01\x12\x03\x13\09\n\t\n\x02\x03\x02\x12\x03\x14\0\
686 #\n\t\n\x02\x03\x03\x12\x03\x15\0)\n\x08\n\x01\x08\x12\x03\x17\0\x1f\n\t\
687 \n\x02\x08\x1f\x12\x03\x17\0\x1f\n\x08\n\x01\x08\x12\x03\x18\0;\n\t\n\
688 \x02\x08%\x12\x03\x18\0;\n\x08\n\x01\x08\x12\x03\x19\0a\n\t\n\x02\x08\
689 \x0b\x12\x03\x19\0a\n\x08\n\x01\x08\x12\x03\x1a\0\"\n\t\n\x02\x08\n\x12\
690 \x03\x1a\0\"\n\x08\n\x01\x08\x12\x03\x1b\0/\n\t\n\x02\x08\x08\x12\x03\
691 \x1b\0/\n\x08\n\x01\x08\x12\x03\x1c\09\n\t\n\x02\x08\x01\x12\x03\x1c\09\
692 \n\x08\n\x01\x08\x12\x03\x1d\0;\n\t\n\x02\x08)\x12\x03\x1d\0;\n\x08\n\
693 \x01\x08\x12\x03\x1e\0:\n\t\n\x02\x08-\x12\x03\x1e\0:\n<\n\x02\x04\0\x12\
694 \x04!\0z\x01\x1a0\x20Represents\x20information\x20regarding\x20an\x20ope\
695 ration.\n\n\n\n\x03\x04\0\x01\x12\x03!\x08\x11\nN\n\x04\x04\0\x04\0\x12\
696 \x04#\x02,\x03\x1a@\x20Defines\x20the\x20importance\x20of\x20the\x20data\
697 \x20contained\x20in\x20the\x20operation.\n\n\x0c\n\x05\x04\0\x04\0\x01\
698 \x12\x03#\x07\x11\n|\n\x06\x04\0\x04\0\x02\0\x12\x03&\x04\x0c\x1am\x20Al\
699 lows\x20data\x20caching,\x20batching,\x20and\x20aggregation.\x20It\x20pr\
700 ovides\n\x20higher\x20performance\x20with\x20higher\x20data\x20loss\x20r\
701 isk.\n\n\x0e\n\x07\x04\0\x04\0\x02\0\x01\x12\x03&\x04\x07\n\x0e\n\x07\
702 \x04\0\x04\0\x02\0\x02\x12\x03&\n\x0b\n\xc5\x01\n\x06\x04\0\x04\0\x02\
703 \x01\x12\x03+\x04\r\x1a\xb5\x01\x20Disables\x20data\x20aggregation\x20to\
704 \x20minimize\x20data\x20loss.\x20It\x20is\x20for\x20operations\n\x20that\
705 \x20contains\x20significant\x20monetary\x20value\x20or\x20audit\x20trail\
706 .\x20This\x20feature\n\x20only\x20applies\x20to\x20the\x20client\x20libr\
707 aries.\n\n\x0e\n\x07\x04\0\x04\0\x02\x01\x01\x12\x03+\x04\x08\n\x0e\n\
708 \x07\x04\0\x04\0\x02\x01\x02\x12\x03+\x0b\x0c\n\xdd\x03\n\x04\x04\0\x02\
709 \0\x12\x037\x02\x1a\x1a\xcf\x03\x20Identity\x20of\x20the\x20operation.\
710 \x20This\x20must\x20be\x20unique\x20within\x20the\x20scope\x20of\x20the\
711 \n\x20service\x20that\x20generated\x20the\x20operation.\x20If\x20the\x20\
712 service\x20calls\n\x20Check()\x20and\x20Report()\x20on\x20the\x20same\
713 \x20operation,\x20the\x20two\x20calls\x20should\x20carry\n\x20the\x20sam\
714 e\x20id.\n\n\x20UUID\x20version\x204\x20is\x20recommended,\x20though\x20\
715 not\x20required.\n\x20In\x20scenarios\x20where\x20an\x20operation\x20is\
716 \x20computed\x20from\x20existing\x20information\n\x20and\x20an\x20idempo\
717 tent\x20id\x20is\x20desirable\x20for\x20deduplication\x20purpose,\x20UUI\
718 D\x20version\x205\n\x20is\x20recommended.\x20See\x20RFC\x204122\x20for\
719 \x20details.\n\n\x0c\n\x05\x04\0\x02\0\x05\x12\x037\x02\x08\n\x0c\n\x05\
720 \x04\0\x02\0\x01\x12\x037\t\x15\n\x0c\n\x05\x04\0\x02\0\x03\x12\x037\x18\
721 \x19\nN\n\x04\x04\0\x02\x01\x12\x03:\x02\x1c\x1aA\x20Fully\x20qualified\
722 \x20name\x20of\x20the\x20operation.\x20Reserved\x20for\x20future\x20use.\
723 \n\n\x0c\n\x05\x04\0\x02\x01\x05\x12\x03:\x02\x08\n\x0c\n\x05\x04\0\x02\
724 \x01\x01\x12\x03:\t\x17\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03:\x1a\x1b\n\
725 \xea\x03\n\x04\x04\0\x02\x02\x12\x03H\x02\x19\x1a\xdc\x03\x20Identity\
726 \x20of\x20the\x20consumer\x20who\x20is\x20using\x20the\x20service.\n\x20\
727 This\x20field\x20should\x20be\x20filled\x20in\x20for\x20the\x20operation\
728 s\x20initiated\x20by\x20a\n\x20consumer,\x20but\x20not\x20for\x20service\
729 -initiated\x20operations\x20that\x20are\n\x20not\x20related\x20to\x20a\
730 \x20specific\x20consumer.\n\n\x20-\x20This\x20can\x20be\x20in\x20one\x20\
731 of\x20the\x20following\x20formats:\n\x20\x20\x20\x20\x20-\x20project:PRO\
732 JECT_ID,\n\x20\x20\x20\x20\x20-\x20project`_`number:PROJECT_NUMBER,\n\
733 \x20\x20\x20\x20\x20-\x20projects/PROJECT_ID\x20or\x20PROJECT_NUMBER,\n\
734 \x20\x20\x20\x20\x20-\x20folders/FOLDER_NUMBER,\n\x20\x20\x20\x20\x20-\
735 \x20organizations/ORGANIZATION_NUMBER,\n\x20\x20\x20\x20\x20-\x20api`_`k\
736 ey:API_KEY.\n\n\x0c\n\x05\x04\0\x02\x02\x05\x12\x03H\x02\x08\n\x0c\n\x05\
737 \x04\0\x02\x02\x01\x12\x03H\t\x14\n\x0c\n\x05\x04\0\x02\x02\x03\x12\x03H\
738 \x17\x18\n5\n\x04\x04\0\x02\x03\x12\x03K\x02+\x1a(\x20Required.\x20Start\
739 \x20time\x20of\x20the\x20operation.\n\n\x0c\n\x05\x04\0\x02\x03\x06\x12\
740 \x03K\x02\x1b\n\x0c\n\x05\x04\0\x02\x03\x01\x12\x03K\x1c&\n\x0c\n\x05\
741 \x04\0\x02\x03\x03\x12\x03K)*\n\xa4\x02\n\x04\x04\0\x02\x04\x12\x03R\x02\
742 )\x1a\x96\x02\x20End\x20time\x20of\x20the\x20operation.\n\x20Required\
743 \x20when\x20the\x20operation\x20is\x20used\x20in\n\x20[ServiceController\
744 .Report][google.api.servicecontrol.v1.ServiceController.Report],\n\x20bu\
745 t\x20optional\x20when\x20the\x20operation\x20is\x20used\x20in\n\x20[Serv\
746 iceController.Check][google.api.servicecontrol.v1.ServiceController.Chec\
747 k].\n\n\x0c\n\x05\x04\0\x02\x04\x06\x12\x03R\x02\x1b\n\x0c\n\x05\x04\0\
748 \x02\x04\x01\x12\x03R\x1c$\n\x0c\n\x05\x04\0\x02\x04\x03\x12\x03R'(\n\
749 \xd0\x06\n\x04\x04\0\x02\x05\x12\x03d\x02!\x1a\xc2\x06\x20Labels\x20desc\
750 ribing\x20the\x20operation.\x20Only\x20the\x20following\x20labels\x20are\
751 \x20allowed:\n\n\x20-\x20Labels\x20describing\x20monitored\x20resources\
752 \x20as\x20defined\x20in\n\x20\x20\x20the\x20service\x20configuration.\n\
753 \x20-\x20Default\x20labels\x20of\x20metric\x20values.\x20When\x20specifi\
754 ed,\x20labels\x20defined\x20in\x20the\n\x20\x20\x20metric\x20value\x20ov\
755 erride\x20these\x20default.\n\x20-\x20The\x20following\x20labels\x20defi\
756 ned\x20by\x20Google\x20Cloud\x20Platform:\n\x20\x20\x20\x20\x20-\x20`clo\
757 ud.googleapis.com/location`\x20describing\x20the\x20location\x20where\
758 \x20the\n\x20\x20\x20\x20\x20\x20\x20\x20operation\x20happened,\n\x20\
759 \x20\x20\x20\x20-\x20`servicecontrol.googleapis.com/user_agent`\x20descr\
760 ibing\x20the\x20user\x20agent\n\x20\x20\x20\x20\x20\x20\x20\x20of\x20the\
761 \x20API\x20request,\n\x20\x20\x20\x20\x20-\x20`servicecontrol.googleapis\
762 .com/service_agent`\x20describing\x20the\x20service\n\x20\x20\x20\x20\
763 \x20\x20\x20\x20used\x20to\x20handle\x20the\x20API\x20request\x20(e.g.\
764 \x20ESP),\n\x20\x20\x20\x20\x20-\x20`servicecontrol.googleapis.com/platf\
765 orm`\x20describing\x20the\x20platform\n\x20\x20\x20\x20\x20\x20\x20\x20w\
766 here\x20the\x20API\x20is\x20served,\x20such\x20as\x20App\x20Engine,\x20C\
767 ompute\x20Engine,\x20or\n\x20\x20\x20\x20\x20\x20\x20\x20Kubernetes\x20E\
768 ngine.\n\n\x0c\n\x05\x04\0\x02\x05\x06\x12\x03d\x02\x15\n\x0c\n\x05\x04\
769 \0\x02\x05\x01\x12\x03d\x16\x1c\n\x0c\n\x05\x04\0\x02\x05\x03\x12\x03d\
770 \x1f\x20\n\x9a\x04\n\x04\x04\0\x02\x06\x12\x03p\x020\x1a\x8c\x04\x20Repr\
771 esents\x20information\x20about\x20this\x20operation.\x20Each\x20MetricVa\
772 lueSet\n\x20corresponds\x20to\x20a\x20metric\x20defined\x20in\x20the\x20\
773 service\x20configuration.\n\x20The\x20data\x20type\x20used\x20in\x20the\
774 \x20MetricValueSet\x20must\x20agree\x20with\n\x20the\x20data\x20type\x20\
775 specified\x20in\x20the\x20metric\x20definition.\n\n\x20Within\x20a\x20si\
776 ngle\x20operation,\x20it\x20is\x20not\x20allowed\x20to\x20have\x20more\
777 \x20than\x20one\n\x20MetricValue\x20instances\x20that\x20have\x20the\x20\
778 same\x20metric\x20names\x20and\x20identical\n\x20label\x20value\x20combi\
779 nations.\x20If\x20a\x20request\x20has\x20such\x20duplicated\x20MetricVal\
780 ue\n\x20instances,\x20the\x20entire\x20request\x20is\x20rejected\x20with\
781 \n\x20an\x20invalid\x20argument\x20error.\n\n\x0c\n\x05\x04\0\x02\x06\
782 \x04\x12\x03p\x02\n\n\x0c\n\x05\x04\0\x02\x06\x06\x12\x03p\x0b\x19\n\x0c\
783 \n\x05\x04\0\x02\x06\x01\x12\x03p\x1a+\n\x0c\n\x05\x04\0\x02\x06\x03\x12\
784 \x03p./\n3\n\x04\x04\0\x02\x07\x12\x03s\x02$\x1a&\x20Represents\x20infor\
785 mation\x20to\x20be\x20logged.\n\n\x0c\n\x05\x04\0\x02\x07\x04\x12\x03s\
786 \x02\n\n\x0c\n\x05\x04\0\x02\x07\x06\x12\x03s\x0b\x13\n\x0c\n\x05\x04\0\
787 \x02\x07\x01\x12\x03s\x14\x1f\n\x0c\n\x05\x04\0\x02\x07\x03\x12\x03s\"#\
788 \n9\n\x04\x04\0\x02\x08\x12\x03v\x02\x1d\x1a,\x20DO\x20NOT\x20USE.\x20Th\
789 is\x20is\x20an\x20experimental\x20field.\n\n\x0c\n\x05\x04\0\x02\x08\x06\
790 \x12\x03v\x02\x0c\n\x0c\n\x05\x04\0\x02\x08\x01\x12\x03v\r\x17\n\x0c\n\
791 \x05\x04\0\x02\x08\x03\x12\x03v\x1a\x1c\n\x1d\n\x04\x04\0\x02\t\x12\x03y\
792 \x02/\x1a\x10\x20Unimplemented.\n\n\x0c\n\x05\x04\0\x02\t\x04\x12\x03y\
793 \x02\n\n\x0c\n\x05\x04\0\x02\t\x06\x12\x03y\x0b\x1e\n\x0c\n\x05\x04\0\
794 \x02\t\x01\x12\x03y\x1f)\n\x0c\n\x05\x04\0\x02\t\x03\x12\x03y,.b\x06prot\
795 o3\
796";
797
798static file_descriptor_proto_lazy: ::protobuf::rt::LazyV2<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::LazyV2::INIT;
799
800fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
801 ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
802}
803
804pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
805 file_descriptor_proto_lazy.get(|| {
806 parse_descriptor_proto()
807 })
808}