#![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_results)]
#![allow(unused_mut)]
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_2_0;
#[derive(PartialEq,Clone,Default,Debug)]
pub struct NewAudienceRequest {
pub session_id: ::std::string::String,
pub audience: ::protobuf::MessageField<super::sp_common::Audience>,
pub special_fields: ::protobuf::SpecialFields,
}
impl<'a> ::std::default::Default for &'a NewAudienceRequest {
fn default() -> &'a NewAudienceRequest {
<NewAudienceRequest as ::protobuf::Message>::default_instance()
}
}
impl NewAudienceRequest {
pub fn new() -> NewAudienceRequest {
::std::default::Default::default()
}
fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
let mut fields = ::std::vec::Vec::with_capacity(2);
let mut oneofs = ::std::vec::Vec::with_capacity(0);
fields.push(::protobuf::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
"session_id",
|m: &NewAudienceRequest| { &m.session_id },
|m: &mut NewAudienceRequest| { &mut m.session_id },
));
fields.push(::protobuf::reflect::rt::v2::make_message_field_accessor::<_, super::sp_common::Audience>(
"audience",
|m: &NewAudienceRequest| { &m.audience },
|m: &mut NewAudienceRequest| { &mut m.audience },
));
::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<NewAudienceRequest>(
"NewAudienceRequest",
fields,
oneofs,
)
}
}
impl ::protobuf::Message for NewAudienceRequest {
const NAME: &'static str = "NewAudienceRequest";
fn is_initialized(&self) -> bool {
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
while let Some(tag) = is.read_raw_tag_or_eof()? {
match tag {
10 => {
self.session_id = is.read_string()?;
},
18 => {
::protobuf::rt::read_singular_message_into_field(is, &mut self.audience)?;
},
tag => {
::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u64 {
let mut my_size = 0;
if !self.session_id.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.session_id);
}
if let Some(v) = self.audience.as_ref() {
let len = v.compute_size();
my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
}
my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
self.special_fields.cached_size().set(my_size as u32);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
if !self.session_id.is_empty() {
os.write_string(1, &self.session_id)?;
}
if let Some(v) = self.audience.as_ref() {
::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
}
os.write_unknown_fields(self.special_fields.unknown_fields())?;
::std::result::Result::Ok(())
}
fn special_fields(&self) -> &::protobuf::SpecialFields {
&self.special_fields
}
fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
&mut self.special_fields
}
fn new() -> NewAudienceRequest {
NewAudienceRequest::new()
}
fn clear(&mut self) {
self.session_id.clear();
self.audience.clear();
self.special_fields.clear();
}
fn default_instance() -> &'static NewAudienceRequest {
static instance: NewAudienceRequest = NewAudienceRequest {
session_id: ::std::string::String::new(),
audience: ::protobuf::MessageField::none(),
special_fields: ::protobuf::SpecialFields::new(),
};
&instance
}
}
impl ::protobuf::MessageFull for NewAudienceRequest {
fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
descriptor.get(|| file_descriptor().message_by_package_relative_name("NewAudienceRequest").unwrap()).clone()
}
}
impl ::std::fmt::Display for NewAudienceRequest {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for NewAudienceRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}
#[derive(PartialEq,Clone,Default,Debug)]
pub struct HeartbeatRequest {
pub session_id: ::std::string::String,
pub special_fields: ::protobuf::SpecialFields,
}
impl<'a> ::std::default::Default for &'a HeartbeatRequest {
fn default() -> &'a HeartbeatRequest {
<HeartbeatRequest as ::protobuf::Message>::default_instance()
}
}
impl HeartbeatRequest {
pub fn new() -> HeartbeatRequest {
::std::default::Default::default()
}
fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
let mut fields = ::std::vec::Vec::with_capacity(1);
let mut oneofs = ::std::vec::Vec::with_capacity(0);
fields.push(::protobuf::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
"session_id",
|m: &HeartbeatRequest| { &m.session_id },
|m: &mut HeartbeatRequest| { &mut m.session_id },
));
::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<HeartbeatRequest>(
"HeartbeatRequest",
fields,
oneofs,
)
}
}
impl ::protobuf::Message for HeartbeatRequest {
const NAME: &'static str = "HeartbeatRequest";
fn is_initialized(&self) -> bool {
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
while let Some(tag) = is.read_raw_tag_or_eof()? {
match tag {
10 => {
self.session_id = is.read_string()?;
},
tag => {
::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u64 {
let mut my_size = 0;
if !self.session_id.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.session_id);
}
my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
self.special_fields.cached_size().set(my_size as u32);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
if !self.session_id.is_empty() {
os.write_string(1, &self.session_id)?;
}
os.write_unknown_fields(self.special_fields.unknown_fields())?;
::std::result::Result::Ok(())
}
fn special_fields(&self) -> &::protobuf::SpecialFields {
&self.special_fields
}
fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
&mut self.special_fields
}
fn new() -> HeartbeatRequest {
HeartbeatRequest::new()
}
fn clear(&mut self) {
self.session_id.clear();
self.special_fields.clear();
}
fn default_instance() -> &'static HeartbeatRequest {
static instance: HeartbeatRequest = HeartbeatRequest {
session_id: ::std::string::String::new(),
special_fields: ::protobuf::SpecialFields::new(),
};
&instance
}
}
impl ::protobuf::MessageFull for HeartbeatRequest {
fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
descriptor.get(|| file_descriptor().message_by_package_relative_name("HeartbeatRequest").unwrap()).clone()
}
}
impl ::std::fmt::Display for HeartbeatRequest {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for HeartbeatRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}
#[derive(PartialEq,Clone,Default,Debug)]
pub struct NotifyRequest {
pub pipeline_id: ::std::string::String,
pub step_name: ::std::string::String,
pub audience: ::protobuf::MessageField<super::sp_common::Audience>,
pub occurred_at_unix_ts_utc: i64,
pub special_fields: ::protobuf::SpecialFields,
}
impl<'a> ::std::default::Default for &'a NotifyRequest {
fn default() -> &'a NotifyRequest {
<NotifyRequest as ::protobuf::Message>::default_instance()
}
}
impl NotifyRequest {
pub fn new() -> NotifyRequest {
::std::default::Default::default()
}
fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
let mut fields = ::std::vec::Vec::with_capacity(4);
let mut oneofs = ::std::vec::Vec::with_capacity(0);
fields.push(::protobuf::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
"pipeline_id",
|m: &NotifyRequest| { &m.pipeline_id },
|m: &mut NotifyRequest| { &mut m.pipeline_id },
));
fields.push(::protobuf::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
"step_name",
|m: &NotifyRequest| { &m.step_name },
|m: &mut NotifyRequest| { &mut m.step_name },
));
fields.push(::protobuf::reflect::rt::v2::make_message_field_accessor::<_, super::sp_common::Audience>(
"audience",
|m: &NotifyRequest| { &m.audience },
|m: &mut NotifyRequest| { &mut m.audience },
));
fields.push(::protobuf::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
"occurred_at_unix_ts_utc",
|m: &NotifyRequest| { &m.occurred_at_unix_ts_utc },
|m: &mut NotifyRequest| { &mut m.occurred_at_unix_ts_utc },
));
::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<NotifyRequest>(
"NotifyRequest",
fields,
oneofs,
)
}
}
impl ::protobuf::Message for NotifyRequest {
const NAME: &'static str = "NotifyRequest";
fn is_initialized(&self) -> bool {
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
while let Some(tag) = is.read_raw_tag_or_eof()? {
match tag {
10 => {
self.pipeline_id = is.read_string()?;
},
18 => {
self.step_name = is.read_string()?;
},
26 => {
::protobuf::rt::read_singular_message_into_field(is, &mut self.audience)?;
},
32 => {
self.occurred_at_unix_ts_utc = is.read_int64()?;
},
tag => {
::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u64 {
let mut my_size = 0;
if !self.pipeline_id.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.pipeline_id);
}
if !self.step_name.is_empty() {
my_size += ::protobuf::rt::string_size(2, &self.step_name);
}
if let Some(v) = self.audience.as_ref() {
let len = v.compute_size();
my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
}
if self.occurred_at_unix_ts_utc != 0 {
my_size += ::protobuf::rt::int64_size(4, self.occurred_at_unix_ts_utc);
}
my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
self.special_fields.cached_size().set(my_size as u32);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
if !self.pipeline_id.is_empty() {
os.write_string(1, &self.pipeline_id)?;
}
if !self.step_name.is_empty() {
os.write_string(2, &self.step_name)?;
}
if let Some(v) = self.audience.as_ref() {
::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
}
if self.occurred_at_unix_ts_utc != 0 {
os.write_int64(4, self.occurred_at_unix_ts_utc)?;
}
os.write_unknown_fields(self.special_fields.unknown_fields())?;
::std::result::Result::Ok(())
}
fn special_fields(&self) -> &::protobuf::SpecialFields {
&self.special_fields
}
fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
&mut self.special_fields
}
fn new() -> NotifyRequest {
NotifyRequest::new()
}
fn clear(&mut self) {
self.pipeline_id.clear();
self.step_name.clear();
self.audience.clear();
self.occurred_at_unix_ts_utc = 0;
self.special_fields.clear();
}
fn default_instance() -> &'static NotifyRequest {
static instance: NotifyRequest = NotifyRequest {
pipeline_id: ::std::string::String::new(),
step_name: ::std::string::String::new(),
audience: ::protobuf::MessageField::none(),
occurred_at_unix_ts_utc: 0,
special_fields: ::protobuf::SpecialFields::new(),
};
&instance
}
}
impl ::protobuf::MessageFull for NotifyRequest {
fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
descriptor.get(|| file_descriptor().message_by_package_relative_name("NotifyRequest").unwrap()).clone()
}
}
impl ::std::fmt::Display for NotifyRequest {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for NotifyRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}
#[derive(PartialEq,Clone,Default,Debug)]
pub struct Metrics {
pub name: ::std::string::String,
pub labels: ::std::collections::HashMap<::std::string::String, ::std::string::String>,
pub value: f64,
pub special_fields: ::protobuf::SpecialFields,
}
impl<'a> ::std::default::Default for &'a Metrics {
fn default() -> &'a Metrics {
<Metrics as ::protobuf::Message>::default_instance()
}
}
impl Metrics {
pub fn new() -> Metrics {
::std::default::Default::default()
}
fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
let mut fields = ::std::vec::Vec::with_capacity(3);
let mut oneofs = ::std::vec::Vec::with_capacity(0);
fields.push(::protobuf::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
"name",
|m: &Metrics| { &m.name },
|m: &mut Metrics| { &mut m.name },
));
fields.push(::protobuf::reflect::rt::v2::make_map_simpler_accessor::<_, _, _>(
"labels",
|m: &Metrics| { &m.labels },
|m: &mut Metrics| { &mut m.labels },
));
fields.push(::protobuf::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
"value",
|m: &Metrics| { &m.value },
|m: &mut Metrics| { &mut m.value },
));
::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<Metrics>(
"Metrics",
fields,
oneofs,
)
}
}
impl ::protobuf::Message for Metrics {
const NAME: &'static str = "Metrics";
fn is_initialized(&self) -> bool {
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
while let Some(tag) = is.read_raw_tag_or_eof()? {
match tag {
10 => {
self.name = is.read_string()?;
},
18 => {
let len = is.read_raw_varint32()?;
let old_limit = is.push_limit(len as u64)?;
let mut key = ::std::default::Default::default();
let mut value = ::std::default::Default::default();
while let Some(tag) = is.read_raw_tag_or_eof()? {
match tag {
10 => key = is.read_string()?,
18 => value = is.read_string()?,
_ => ::protobuf::rt::skip_field_for_tag(tag, is)?,
};
}
is.pop_limit(old_limit);
self.labels.insert(key, value);
},
25 => {
self.value = is.read_double()?;
},
tag => {
::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u64 {
let mut my_size = 0;
if !self.name.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.name);
}
for (k, v) in &self.labels {
let mut entry_size = 0;
entry_size += ::protobuf::rt::string_size(1, &k);
entry_size += ::protobuf::rt::string_size(2, &v);
my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(entry_size) + entry_size
};
if self.value != 0. {
my_size += 1 + 8;
}
my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
self.special_fields.cached_size().set(my_size as u32);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
if !self.name.is_empty() {
os.write_string(1, &self.name)?;
}
for (k, v) in &self.labels {
let mut entry_size = 0;
entry_size += ::protobuf::rt::string_size(1, &k);
entry_size += ::protobuf::rt::string_size(2, &v);
os.write_raw_varint32(18)?; os.write_raw_varint32(entry_size as u32)?;
os.write_string(1, &k)?;
os.write_string(2, &v)?;
};
if self.value != 0. {
os.write_double(3, self.value)?;
}
os.write_unknown_fields(self.special_fields.unknown_fields())?;
::std::result::Result::Ok(())
}
fn special_fields(&self) -> &::protobuf::SpecialFields {
&self.special_fields
}
fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
&mut self.special_fields
}
fn new() -> Metrics {
Metrics::new()
}
fn clear(&mut self) {
self.name.clear();
self.labels.clear();
self.value = 0.;
self.special_fields.clear();
}
fn default_instance() -> &'static Metrics {
static instance: ::protobuf::rt::Lazy<Metrics> = ::protobuf::rt::Lazy::new();
instance.get(Metrics::new)
}
}
impl ::protobuf::MessageFull for Metrics {
fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
descriptor.get(|| file_descriptor().message_by_package_relative_name("Metrics").unwrap()).clone()
}
}
impl ::std::fmt::Display for Metrics {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for Metrics {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}
#[derive(PartialEq,Clone,Default,Debug)]
pub struct MetricsRequest {
pub metrics: ::std::vec::Vec<Metrics>,
pub special_fields: ::protobuf::SpecialFields,
}
impl<'a> ::std::default::Default for &'a MetricsRequest {
fn default() -> &'a MetricsRequest {
<MetricsRequest as ::protobuf::Message>::default_instance()
}
}
impl MetricsRequest {
pub fn new() -> MetricsRequest {
::std::default::Default::default()
}
fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
let mut fields = ::std::vec::Vec::with_capacity(1);
let mut oneofs = ::std::vec::Vec::with_capacity(0);
fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
"metrics",
|m: &MetricsRequest| { &m.metrics },
|m: &mut MetricsRequest| { &mut m.metrics },
));
::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<MetricsRequest>(
"MetricsRequest",
fields,
oneofs,
)
}
}
impl ::protobuf::Message for MetricsRequest {
const NAME: &'static str = "MetricsRequest";
fn is_initialized(&self) -> bool {
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
while let Some(tag) = is.read_raw_tag_or_eof()? {
match tag {
10 => {
self.metrics.push(is.read_message()?);
},
tag => {
::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u64 {
let mut my_size = 0;
for value in &self.metrics {
let len = value.compute_size();
my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
};
my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
self.special_fields.cached_size().set(my_size as u32);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
for v in &self.metrics {
::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
};
os.write_unknown_fields(self.special_fields.unknown_fields())?;
::std::result::Result::Ok(())
}
fn special_fields(&self) -> &::protobuf::SpecialFields {
&self.special_fields
}
fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
&mut self.special_fields
}
fn new() -> MetricsRequest {
MetricsRequest::new()
}
fn clear(&mut self) {
self.metrics.clear();
self.special_fields.clear();
}
fn default_instance() -> &'static MetricsRequest {
static instance: MetricsRequest = MetricsRequest {
metrics: ::std::vec::Vec::new(),
special_fields: ::protobuf::SpecialFields::new(),
};
&instance
}
}
impl ::protobuf::MessageFull for MetricsRequest {
fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
descriptor.get(|| file_descriptor().message_by_package_relative_name("MetricsRequest").unwrap()).clone()
}
}
impl ::std::fmt::Display for MetricsRequest {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for MetricsRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}
#[derive(PartialEq,Clone,Default,Debug)]
pub struct RegisterRequest {
pub service_name: ::std::string::String,
pub session_id: ::std::string::String,
pub client_info: ::protobuf::MessageField<super::sp_info::ClientInfo>,
pub audiences: ::std::vec::Vec<super::sp_common::Audience>,
pub dry_run: bool,
pub special_fields: ::protobuf::SpecialFields,
}
impl<'a> ::std::default::Default for &'a RegisterRequest {
fn default() -> &'a RegisterRequest {
<RegisterRequest as ::protobuf::Message>::default_instance()
}
}
impl RegisterRequest {
pub fn new() -> RegisterRequest {
::std::default::Default::default()
}
fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
let mut fields = ::std::vec::Vec::with_capacity(5);
let mut oneofs = ::std::vec::Vec::with_capacity(0);
fields.push(::protobuf::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
"service_name",
|m: &RegisterRequest| { &m.service_name },
|m: &mut RegisterRequest| { &mut m.service_name },
));
fields.push(::protobuf::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
"session_id",
|m: &RegisterRequest| { &m.session_id },
|m: &mut RegisterRequest| { &mut m.session_id },
));
fields.push(::protobuf::reflect::rt::v2::make_message_field_accessor::<_, super::sp_info::ClientInfo>(
"client_info",
|m: &RegisterRequest| { &m.client_info },
|m: &mut RegisterRequest| { &mut m.client_info },
));
fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
"audiences",
|m: &RegisterRequest| { &m.audiences },
|m: &mut RegisterRequest| { &mut m.audiences },
));
fields.push(::protobuf::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
"dry_run",
|m: &RegisterRequest| { &m.dry_run },
|m: &mut RegisterRequest| { &mut m.dry_run },
));
::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<RegisterRequest>(
"RegisterRequest",
fields,
oneofs,
)
}
}
impl ::protobuf::Message for RegisterRequest {
const NAME: &'static str = "RegisterRequest";
fn is_initialized(&self) -> bool {
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
while let Some(tag) = is.read_raw_tag_or_eof()? {
match tag {
10 => {
self.service_name = is.read_string()?;
},
18 => {
self.session_id = is.read_string()?;
},
26 => {
::protobuf::rt::read_singular_message_into_field(is, &mut self.client_info)?;
},
34 => {
self.audiences.push(is.read_message()?);
},
40 => {
self.dry_run = is.read_bool()?;
},
tag => {
::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u64 {
let mut my_size = 0;
if !self.service_name.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.service_name);
}
if !self.session_id.is_empty() {
my_size += ::protobuf::rt::string_size(2, &self.session_id);
}
if let Some(v) = self.client_info.as_ref() {
let len = v.compute_size();
my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
}
for value in &self.audiences {
let len = value.compute_size();
my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
};
if self.dry_run != false {
my_size += 1 + 1;
}
my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
self.special_fields.cached_size().set(my_size as u32);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
if !self.service_name.is_empty() {
os.write_string(1, &self.service_name)?;
}
if !self.session_id.is_empty() {
os.write_string(2, &self.session_id)?;
}
if let Some(v) = self.client_info.as_ref() {
::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
}
for v in &self.audiences {
::protobuf::rt::write_message_field_with_cached_size(4, v, os)?;
};
if self.dry_run != false {
os.write_bool(5, self.dry_run)?;
}
os.write_unknown_fields(self.special_fields.unknown_fields())?;
::std::result::Result::Ok(())
}
fn special_fields(&self) -> &::protobuf::SpecialFields {
&self.special_fields
}
fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
&mut self.special_fields
}
fn new() -> RegisterRequest {
RegisterRequest::new()
}
fn clear(&mut self) {
self.service_name.clear();
self.session_id.clear();
self.client_info.clear();
self.audiences.clear();
self.dry_run = false;
self.special_fields.clear();
}
fn default_instance() -> &'static RegisterRequest {
static instance: RegisterRequest = RegisterRequest {
service_name: ::std::string::String::new(),
session_id: ::std::string::String::new(),
client_info: ::protobuf::MessageField::none(),
audiences: ::std::vec::Vec::new(),
dry_run: false,
special_fields: ::protobuf::SpecialFields::new(),
};
&instance
}
}
impl ::protobuf::MessageFull for RegisterRequest {
fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
descriptor.get(|| file_descriptor().message_by_package_relative_name("RegisterRequest").unwrap()).clone()
}
}
impl ::std::fmt::Display for RegisterRequest {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for RegisterRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}
#[derive(PartialEq,Clone,Default,Debug)]
pub struct DeregisterRequest {
pub service_name: ::std::string::String,
pub session_id: ::std::string::String,
pub special_fields: ::protobuf::SpecialFields,
}
impl<'a> ::std::default::Default for &'a DeregisterRequest {
fn default() -> &'a DeregisterRequest {
<DeregisterRequest as ::protobuf::Message>::default_instance()
}
}
impl DeregisterRequest {
pub fn new() -> DeregisterRequest {
::std::default::Default::default()
}
fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
let mut fields = ::std::vec::Vec::with_capacity(2);
let mut oneofs = ::std::vec::Vec::with_capacity(0);
fields.push(::protobuf::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
"service_name",
|m: &DeregisterRequest| { &m.service_name },
|m: &mut DeregisterRequest| { &mut m.service_name },
));
fields.push(::protobuf::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
"session_id",
|m: &DeregisterRequest| { &m.session_id },
|m: &mut DeregisterRequest| { &mut m.session_id },
));
::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<DeregisterRequest>(
"DeregisterRequest",
fields,
oneofs,
)
}
}
impl ::protobuf::Message for DeregisterRequest {
const NAME: &'static str = "DeregisterRequest";
fn is_initialized(&self) -> bool {
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
while let Some(tag) = is.read_raw_tag_or_eof()? {
match tag {
10 => {
self.service_name = is.read_string()?;
},
18 => {
self.session_id = is.read_string()?;
},
tag => {
::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u64 {
let mut my_size = 0;
if !self.service_name.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.service_name);
}
if !self.session_id.is_empty() {
my_size += ::protobuf::rt::string_size(2, &self.session_id);
}
my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
self.special_fields.cached_size().set(my_size as u32);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
if !self.service_name.is_empty() {
os.write_string(1, &self.service_name)?;
}
if !self.session_id.is_empty() {
os.write_string(2, &self.session_id)?;
}
os.write_unknown_fields(self.special_fields.unknown_fields())?;
::std::result::Result::Ok(())
}
fn special_fields(&self) -> &::protobuf::SpecialFields {
&self.special_fields
}
fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
&mut self.special_fields
}
fn new() -> DeregisterRequest {
DeregisterRequest::new()
}
fn clear(&mut self) {
self.service_name.clear();
self.session_id.clear();
self.special_fields.clear();
}
fn default_instance() -> &'static DeregisterRequest {
static instance: DeregisterRequest = DeregisterRequest {
service_name: ::std::string::String::new(),
session_id: ::std::string::String::new(),
special_fields: ::protobuf::SpecialFields::new(),
};
&instance
}
}
impl ::protobuf::MessageFull for DeregisterRequest {
fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
descriptor.get(|| file_descriptor().message_by_package_relative_name("DeregisterRequest").unwrap()).clone()
}
}
impl ::std::fmt::Display for DeregisterRequest {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for DeregisterRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetAttachCommandsByServiceRequest {
pub service_name: ::std::string::String,
pub special_fields: ::protobuf::SpecialFields,
}
impl<'a> ::std::default::Default for &'a GetAttachCommandsByServiceRequest {
fn default() -> &'a GetAttachCommandsByServiceRequest {
<GetAttachCommandsByServiceRequest as ::protobuf::Message>::default_instance()
}
}
impl GetAttachCommandsByServiceRequest {
pub fn new() -> GetAttachCommandsByServiceRequest {
::std::default::Default::default()
}
fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
let mut fields = ::std::vec::Vec::with_capacity(1);
let mut oneofs = ::std::vec::Vec::with_capacity(0);
fields.push(::protobuf::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
"service_name",
|m: &GetAttachCommandsByServiceRequest| { &m.service_name },
|m: &mut GetAttachCommandsByServiceRequest| { &mut m.service_name },
));
::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<GetAttachCommandsByServiceRequest>(
"GetAttachCommandsByServiceRequest",
fields,
oneofs,
)
}
}
impl ::protobuf::Message for GetAttachCommandsByServiceRequest {
const NAME: &'static str = "GetAttachCommandsByServiceRequest";
fn is_initialized(&self) -> bool {
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
while let Some(tag) = is.read_raw_tag_or_eof()? {
match tag {
10 => {
self.service_name = is.read_string()?;
},
tag => {
::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u64 {
let mut my_size = 0;
if !self.service_name.is_empty() {
my_size += ::protobuf::rt::string_size(1, &self.service_name);
}
my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
self.special_fields.cached_size().set(my_size as u32);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
if !self.service_name.is_empty() {
os.write_string(1, &self.service_name)?;
}
os.write_unknown_fields(self.special_fields.unknown_fields())?;
::std::result::Result::Ok(())
}
fn special_fields(&self) -> &::protobuf::SpecialFields {
&self.special_fields
}
fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
&mut self.special_fields
}
fn new() -> GetAttachCommandsByServiceRequest {
GetAttachCommandsByServiceRequest::new()
}
fn clear(&mut self) {
self.service_name.clear();
self.special_fields.clear();
}
fn default_instance() -> &'static GetAttachCommandsByServiceRequest {
static instance: GetAttachCommandsByServiceRequest = GetAttachCommandsByServiceRequest {
service_name: ::std::string::String::new(),
special_fields: ::protobuf::SpecialFields::new(),
};
&instance
}
}
impl ::protobuf::MessageFull for GetAttachCommandsByServiceRequest {
fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
descriptor.get(|| file_descriptor().message_by_package_relative_name("GetAttachCommandsByServiceRequest").unwrap()).clone()
}
}
impl ::std::fmt::Display for GetAttachCommandsByServiceRequest {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for GetAttachCommandsByServiceRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetAttachCommandsByServiceResponse {
pub active: ::std::vec::Vec<super::sp_command::Command>,
pub paused: ::std::vec::Vec<super::sp_command::Command>,
pub special_fields: ::protobuf::SpecialFields,
}
impl<'a> ::std::default::Default for &'a GetAttachCommandsByServiceResponse {
fn default() -> &'a GetAttachCommandsByServiceResponse {
<GetAttachCommandsByServiceResponse as ::protobuf::Message>::default_instance()
}
}
impl GetAttachCommandsByServiceResponse {
pub fn new() -> GetAttachCommandsByServiceResponse {
::std::default::Default::default()
}
fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
let mut fields = ::std::vec::Vec::with_capacity(2);
let mut oneofs = ::std::vec::Vec::with_capacity(0);
fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
"active",
|m: &GetAttachCommandsByServiceResponse| { &m.active },
|m: &mut GetAttachCommandsByServiceResponse| { &mut m.active },
));
fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
"paused",
|m: &GetAttachCommandsByServiceResponse| { &m.paused },
|m: &mut GetAttachCommandsByServiceResponse| { &mut m.paused },
));
::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<GetAttachCommandsByServiceResponse>(
"GetAttachCommandsByServiceResponse",
fields,
oneofs,
)
}
}
impl ::protobuf::Message for GetAttachCommandsByServiceResponse {
const NAME: &'static str = "GetAttachCommandsByServiceResponse";
fn is_initialized(&self) -> bool {
true
}
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
while let Some(tag) = is.read_raw_tag_or_eof()? {
match tag {
10 => {
self.active.push(is.read_message()?);
},
18 => {
self.paused.push(is.read_message()?);
},
tag => {
::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
},
};
}
::std::result::Result::Ok(())
}
#[allow(unused_variables)]
fn compute_size(&self) -> u64 {
let mut my_size = 0;
for value in &self.active {
let len = value.compute_size();
my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
};
for value in &self.paused {
let len = value.compute_size();
my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
};
my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
self.special_fields.cached_size().set(my_size as u32);
my_size
}
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
for v in &self.active {
::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
};
for v in &self.paused {
::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
};
os.write_unknown_fields(self.special_fields.unknown_fields())?;
::std::result::Result::Ok(())
}
fn special_fields(&self) -> &::protobuf::SpecialFields {
&self.special_fields
}
fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
&mut self.special_fields
}
fn new() -> GetAttachCommandsByServiceResponse {
GetAttachCommandsByServiceResponse::new()
}
fn clear(&mut self) {
self.active.clear();
self.paused.clear();
self.special_fields.clear();
}
fn default_instance() -> &'static GetAttachCommandsByServiceResponse {
static instance: GetAttachCommandsByServiceResponse = GetAttachCommandsByServiceResponse {
active: ::std::vec::Vec::new(),
paused: ::std::vec::Vec::new(),
special_fields: ::protobuf::SpecialFields::new(),
};
&instance
}
}
impl ::protobuf::MessageFull for GetAttachCommandsByServiceResponse {
fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
descriptor.get(|| file_descriptor().message_by_package_relative_name("GetAttachCommandsByServiceResponse").unwrap()).clone()
}
}
impl ::std::fmt::Display for GetAttachCommandsByServiceResponse {
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for GetAttachCommandsByServiceResponse {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}
static file_descriptor_proto_data: &'static [u8] = b"\
\n\x11sp_internal.proto\x12\x06protos\x1a\x10sp_command.proto\x1a\x0fsp_\
common.proto\x1a\rsp_info.proto\"a\n\x12NewAudienceRequest\x12\x1d\n\nse\
ssion_id\x18\x01\x20\x01(\tR\tsessionId\x12,\n\x08audience\x18\x02\x20\
\x01(\x0b2\x10.protos.AudienceR\x08audience\"1\n\x10HeartbeatRequest\x12\
\x1d\n\nsession_id\x18\x01\x20\x01(\tR\tsessionId\"\xb1\x01\n\rNotifyReq\
uest\x12\x1f\n\x0bpipeline_id\x18\x01\x20\x01(\tR\npipelineId\x12\x1b\n\
\tstep_name\x18\x02\x20\x01(\tR\x08stepName\x12,\n\x08audience\x18\x03\
\x20\x01(\x0b2\x10.protos.AudienceR\x08audience\x124\n\x17occurred_at_un\
ix_ts_utc\x18\x04\x20\x01(\x03R\x13occurredAtUnixTsUtc\"\xa3\x01\n\x07Me\
trics\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\x123\n\x06labels\x18\
\x02\x20\x03(\x0b2\x1b.protos.Metrics.LabelsEntryR\x06labels\x12\x14\n\
\x05value\x18\x03\x20\x01(\x01R\x05value\x1a9\n\x0bLabelsEntry\x12\x10\n\
\x03key\x18\x01\x20\x01(\tR\x03key\x12\x14\n\x05value\x18\x02\x20\x01(\t\
R\x05value:\x028\x01\";\n\x0eMetricsRequest\x12)\n\x07metrics\x18\x01\
\x20\x03(\x0b2\x0f.protos.MetricsR\x07metrics\"\xd1\x01\n\x0fRegisterReq\
uest\x12!\n\x0cservice_name\x18\x01\x20\x01(\tR\x0bserviceName\x12\x1d\n\
\nsession_id\x18\x02\x20\x01(\tR\tsessionId\x123\n\x0bclient_info\x18\
\x03\x20\x01(\x0b2\x12.protos.ClientInfoR\nclientInfo\x12.\n\taudiences\
\x18\x04\x20\x03(\x0b2\x10.protos.AudienceR\taudiences\x12\x17\n\x07dry_\
run\x18\x05\x20\x01(\x08R\x06dryRun\"U\n\x11DeregisterRequest\x12!\n\x0c\
service_name\x18\x01\x20\x01(\tR\x0bserviceName\x12\x1d\n\nsession_id\
\x18\x02\x20\x01(\tR\tsessionId\"F\n!GetAttachCommandsByServiceRequest\
\x12!\n\x0cservice_name\x18\x01\x20\x01(\tR\x0bserviceName\"v\n\"GetAtta\
chCommandsByServiceResponse\x12'\n\x06active\x18\x01\x20\x03(\x0b2\x0f.p\
rotos.CommandR\x06active\x12'\n\x06paused\x18\x02\x20\x03(\x0b2\x0f.prot\
os.CommandR\x06paused2\xb5\x03\n\x08Internal\x126\n\x08Register\x12\x17.\
protos.RegisterRequest\x1a\x0f.protos.Command0\x01\x12C\n\x0bNewAudience\
\x12\x1a.protos.NewAudienceRequest\x1a\x18.protos.StandardResponse\x12?\
\n\tHeartbeat\x12\x18.protos.HeartbeatRequest\x1a\x18.protos.StandardRes\
ponse\x129\n\x06Notify\x12\x15.protos.NotifyRequest\x1a\x18.protos.Stand\
ardResponse\x12;\n\x07Metrics\x12\x16.protos.MetricsRequest\x1a\x18.prot\
os.StandardResponse\x12s\n\x1aGetAttachCommandsByService\x12).protos.Get\
AttachCommandsByServiceRequest\x1a*.protos.GetAttachCommandsByServiceRes\
ponseB4Z2github.com/streamdal/snitch-protos/build/go/protosJ\xf5\x1c\n\
\x06\x12\x04\0\0k\x01\n\x08\n\x01\x0c\x12\x03\0\0\x12\n\x08\n\x01\x02\
\x12\x03\x02\0\x0f\n\t\n\x02\x03\0\x12\x03\x04\0\x1a\n\t\n\x02\x03\x01\
\x12\x03\x05\0\x19\n\t\n\x02\x03\x02\x12\x03\x06\0\x17\n\x08\n\x01\x08\
\x12\x03\x08\0I\n\t\n\x02\x08\x0b\x12\x03\x08\0I\n\n\n\x02\x06\0\x12\x04\
\n\0%\x01\n\n\n\x03\x06\0\x01\x12\x03\n\x08\x10\n\xbc\x02\n\x04\x06\0\
\x02\0\x12\x03\x10\x02@\x1a\xae\x02\x20Initial\x20method\x20that\x20an\
\x20SDK\x20should\x20call\x20to\x20register\x20itself\x20with\x20the\x20\
server.\n\x20The\x20server\x20will\x20use\x20this\x20stream\x20to\x20sen\
d\x20commands\x20to\x20the\x20SDK\x20via\x20the\n\x20`CommandResponse`\
\x20message.\x20Clients\x20should\x20continuously\x20listen\x20for\n\x20\
CommandResponse\x20messages\x20and\x20re-establish\x20registration\x20if\
\x20the\x20stream\x20gets\n\x20disconnected.\n\n\x0c\n\x05\x06\0\x02\0\
\x01\x12\x03\x10\x06\x0e\n\x0c\n\x05\x06\0\x02\0\x02\x12\x03\x10\x0f\x1e\
\n\x0c\n\x05\x06\0\x02\0\x06\x12\x03\x10)/\n\x0c\n\x05\x06\0\x02\0\x03\
\x12\x03\x100>\n\xb0\x01\n\x04\x06\0\x02\x01\x12\x03\x15\x02A\x1a\xa2\
\x01\x20Declare\x20a\x20new\x20audience\x20that\x20the\x20SDK\x20is\x20a\
ble\x20to\x20accept\x20commands\x20for.\n\x20An\x20SDK\x20would\x20use\
\x20this\x20method\x20when\x20a\x20new\x20audience\x20is\x20declared\x20\
by\x20the\x20user\n\x20via\x20`.Process()`.\n\n\x0c\n\x05\x06\0\x02\x01\
\x01\x12\x03\x15\x06\x11\n\x0c\n\x05\x06\0\x02\x01\x02\x12\x03\x15\x12$\
\n\x0c\n\x05\x06\0\x02\x01\x03\x12\x03\x15/?\n\x84\x01\n\x04\x06\0\x02\
\x02\x12\x03\x19\x02=\x1aw\x20SDK\x20is\x20responsible\x20for\x20sending\
\x20heartbeats\x20to\x20the\x20server\x20to\x20let\x20the\x20server\n\
\x20know\x20about\x20active\x20consumers\x20and\x20producers.\n\n\x0c\n\
\x05\x06\0\x02\x02\x01\x12\x03\x19\x06\x0f\n\x0c\n\x05\x06\0\x02\x02\x02\
\x12\x03\x19\x10\x20\n\x0c\n\x05\x06\0\x02\x02\x03\x12\x03\x19+;\n\x86\
\x01\n\x04\x06\0\x02\x03\x12\x03\x1d\x027\x1ay\x20Use\x20this\x20method\
\x20when\x20Notify\x20condition\x20has\x20been\x20triggered;\x20the\x20s\
erver\x20will\n\x20decide\x20on\x20what\x20to\x20do\x20about\x20the\x20n\
otification.\n\n\x0c\n\x05\x06\0\x02\x03\x01\x12\x03\x1d\x06\x0c\n\x0c\n\
\x05\x06\0\x02\x03\x02\x12\x03\x1d\r\x1a\n\x0c\n\x05\x06\0\x02\x03\x03\
\x12\x03\x1d%5\n2\n\x04\x06\0\x02\x04\x12\x03\x20\x029\x1a%\x20Send\x20p\
eriodic\x20metrics\x20to\x20the\x20server\n\n\x0c\n\x05\x06\0\x02\x04\
\x01\x12\x03\x20\x06\r\n\x0c\n\x05\x06\0\x02\x04\x02\x12\x03\x20\x0e\x1c\
\n\x0c\n\x05\x06\0\x02\x04\x03\x12\x03\x20'7\n\x8a\x01\n\x04\x06\0\x02\
\x05\x12\x03$\x02q\x1a}\x20Used\x20to\x20pull\x20all\x20pipeline\x20conf\
igs\x20for\x20the\x20service\x20name\x20in\x20the\x20SDK's\x20constructo\
r\n\x20This\x20is\x20needed\x20because\x20Register()\x20is\x20async\n\n\
\x0c\n\x05\x06\0\x02\x05\x01\x12\x03$\x06\x20\n\x0c\n\x05\x06\0\x02\x05\
\x02\x12\x03$!B\n\x0c\n\x05\x06\0\x02\x05\x03\x12\x03$Mo\n\n\n\x02\x04\0\
\x12\x04'\0-\x01\n\n\n\x03\x04\0\x01\x12\x03'\x08\x1a\n7\n\x04\x04\0\x02\
\0\x12\x03)\x02\x18\x1a*\x20The\x20session\x20that\x20is\x20performing\
\x20this\x20call\n\n\x0c\n\x05\x04\0\x02\0\x05\x12\x03)\x02\x08\n\x0c\n\
\x05\x04\0\x02\0\x01\x12\x03)\t\x13\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03)\
\x16\x17\n&\n\x04\x04\0\x02\x01\x12\x03,\x02\x18\x1a\x19\x20Newly\x20cre\
ated\x20audience.\n\n\x0c\n\x05\x04\0\x02\x01\x06\x12\x03,\x02\n\n\x0c\n\
\x05\x04\0\x02\x01\x01\x12\x03,\x0b\x13\n\x0c\n\x05\x04\0\x02\x01\x03\
\x12\x03,\x16\x17\n\x8a\x01\n\x02\x04\x01\x12\x041\04\x01\x1a~\x20Each\
\x20consumer\x20and\x20producer\x20should\x20send\x20periodic\x20heartbe\
ats\x20to\x20the\x20server\n\x20to\x20let\x20the\x20server\x20know\x20th\
at\x20they\x20are\x20still\x20active.\n\n\n\n\x03\x04\x01\x01\x12\x031\
\x08\x18\n7\n\x04\x04\x01\x02\0\x12\x033\x02\x18\x1a*\x20Session\x20ID\
\x20for\x20this\x20instance\x20of\x20the\x20SDK.\n\n\x0c\n\x05\x04\x01\
\x02\0\x05\x12\x033\x02\x08\n\x0c\n\x05\x04\x01\x02\0\x01\x12\x033\t\x13\
\n\x0c\n\x05\x04\x01\x02\0\x03\x12\x033\x16\x17\n\n\n\x02\x04\x02\x12\
\x046\0;\x01\n\n\n\x03\x04\x02\x01\x12\x036\x08\x15\n\x0b\n\x04\x04\x02\
\x02\0\x12\x037\x02\x19\n\x0c\n\x05\x04\x02\x02\0\x05\x12\x037\x02\x08\n\
\x0c\n\x05\x04\x02\x02\0\x01\x12\x037\t\x14\n\x0c\n\x05\x04\x02\x02\0\
\x03\x12\x037\x17\x18\n\x0b\n\x04\x04\x02\x02\x01\x12\x038\x02\x17\n\x0c\
\n\x05\x04\x02\x02\x01\x05\x12\x038\x02\x08\n\x0c\n\x05\x04\x02\x02\x01\
\x01\x12\x038\t\x12\n\x0c\n\x05\x04\x02\x02\x01\x03\x12\x038\x15\x16\n\
\x0b\n\x04\x04\x02\x02\x02\x12\x039\x02\x18\n\x0c\n\x05\x04\x02\x02\x02\
\x06\x12\x039\x02\n\n\x0c\n\x05\x04\x02\x02\x02\x01\x12\x039\x0b\x13\n\
\x0c\n\x05\x04\x02\x02\x02\x03\x12\x039\x16\x17\n\x0b\n\x04\x04\x02\x02\
\x03\x12\x03:\x02$\n\x0c\n\x05\x04\x02\x02\x03\x05\x12\x03:\x02\x07\n\
\x0c\n\x05\x04\x02\x02\x03\x01\x12\x03:\x08\x1f\n\x0c\n\x05\x04\x02\x02\
\x03\x03\x12\x03:\"#\n\n\n\x02\x04\x03\x12\x04=\0A\x01\n\n\n\x03\x04\x03\
\x01\x12\x03=\x08\x0f\n\x0b\n\x04\x04\x03\x02\0\x12\x03>\x02\x12\n\x0c\n\
\x05\x04\x03\x02\0\x05\x12\x03>\x02\x08\n\x0c\n\x05\x04\x03\x02\0\x01\
\x12\x03>\t\r\n\x0c\n\x05\x04\x03\x02\0\x03\x12\x03>\x10\x11\n\x0b\n\x04\
\x04\x03\x02\x01\x12\x03?\x02!\n\x0c\n\x05\x04\x03\x02\x01\x06\x12\x03?\
\x02\x15\n\x0c\n\x05\x04\x03\x02\x01\x01\x12\x03?\x16\x1c\n\x0c\n\x05\
\x04\x03\x02\x01\x03\x12\x03?\x1f\x20\n\x0b\n\x04\x04\x03\x02\x02\x12\
\x03@\x02\x13\n\x0c\n\x05\x04\x03\x02\x02\x05\x12\x03@\x02\x08\n\x0c\n\
\x05\x04\x03\x02\x02\x01\x12\x03@\t\x0e\n\x0c\n\x05\x04\x03\x02\x02\x03\
\x12\x03@\x11\x12\n\n\n\x02\x04\x04\x12\x04C\0E\x01\n\n\n\x03\x04\x04\
\x01\x12\x03C\x08\x16\n\x0b\n\x04\x04\x04\x02\0\x12\x03D\x02\x1f\n\x0c\n\
\x05\x04\x04\x02\0\x04\x12\x03D\x02\n\n\x0c\n\x05\x04\x04\x02\0\x06\x12\
\x03D\x0b\x12\n\x0c\n\x05\x04\x04\x02\0\x01\x12\x03D\x13\x1a\n\x0c\n\x05\
\x04\x04\x02\0\x03\x12\x03D\x1d\x1e\n\n\n\x02\x04\x05\x12\x04G\0\\\x01\n\
\n\n\x03\x04\x05\x01\x12\x03G\x08\x17\nC\n\x04\x04\x05\x02\0\x12\x03I\
\x02\x1a\x1a6\x20REQUIRED\x20--\x20Name\x20of\x20the\x20service\x20that\
\x20is\x20registering.\n\n\x0c\n\x05\x04\x05\x02\0\x05\x12\x03I\x02\x08\
\n\x0c\n\x05\x04\x05\x02\0\x01\x12\x03I\t\x15\n\x0c\n\x05\x04\x05\x02\0\
\x03\x12\x03I\x18\x19\n\xad\x01\n\x04\x04\x05\x02\x01\x12\x03O\x02\x18\
\x1a\x9f\x01\x20REQUIRED\x20--\x20Unique\x20ID\x20for\x20this\x20SDK\x20\
instance.\n\n\x20This\x20should\x20be\x20generated\x20every\x20time\x20t\
he\x20SDK\x20is\x20instantiated\x20(oe.\x20every\n\x20time\x20a\x20NEW\
\x20registration\x20is\x20performed).\n\n\x0c\n\x05\x04\x05\x02\x01\x05\
\x12\x03O\x02\x08\n\x0c\n\x05\x04\x05\x02\x01\x01\x12\x03O\t\x13\n\x0c\n\
\x05\x04\x05\x02\x01\x03\x12\x03O\x16\x17\nQ\n\x04\x04\x05\x02\x02\x12\
\x03R\x02$\x1aD\x20REQUIRED\x20--\x20Info\x20about\x20the\x20client\x20(\
lib\x20name,\x20lang,\x20os,\x20arch,\x20etc.)\n\n\x0c\n\x05\x04\x05\x02\
\x02\x06\x12\x03R\x02\x13\n\x0c\n\x05\x04\x05\x02\x02\x01\x12\x03R\x14\
\x1f\n\x0c\n\x05\x04\x05\x02\x02\x03\x12\x03R\"#\n\x87\x01\n\x04\x04\x05\
\x02\x03\x12\x03V\x02)\x1az\x20OPTIONAL\x20--\x20if\x20these\x20are\x20d\
efined,\x20these\x20will\x20show\x20up\x20in\x20the\x20UI\x20even\x20if\
\n\x20there\x20is\x20no\x20active\x20.Process()\x20call\x20from\x20the\
\x20SDK.\n\n\x0c\n\x05\x04\x05\x02\x03\x04\x12\x03V\x02\n\n\x0c\n\x05\
\x04\x05\x02\x03\x06\x12\x03V\x0b\x1a\n\x0c\n\x05\x04\x05\x02\x03\x01\
\x12\x03V\x1b$\n\x0c\n\x05\x04\x05\x02\x03\x03\x12\x03V'(\n\xd9\x01\n\
\x04\x04\x05\x02\x04\x12\x03[\x02\x13\x1a\xcb\x01\x20OPTIONAL\x20--\x20I\
f\x20set,\x20we\x20know\x20that\x20any\x20pipelines\x20or\x20steps\x20ex\
ecuted\x20in\x20this\n\x20SDK\x20will\x20NOT\x20modify\x20the\x20input/o\
utput\x20data.\x20As\x20in,\x20the\x20SDK\x20will\x20log\x20what\x20it\n\
\x20_would_\x20do\x20and\x20always\x20return\x20the\x20original\x20data\
\x20set.\n\n\x0c\n\x05\x04\x05\x02\x04\x05\x12\x03[\x02\x06\n\x0c\n\x05\
\x04\x05\x02\x04\x01\x12\x03[\x07\x0e\n\x0c\n\x05\x04\x05\x02\x04\x03\
\x12\x03[\x11\x12\nT\n\x02\x04\x06\x12\x04_\0b\x01\x1aH\x20Same\x20as\
\x20RegisterRequest\x20-\x20used\x20for\x20broadcasting\x20a\x20deregist\
ration\x20event\n\n\n\n\x03\x04\x06\x01\x12\x03_\x08\x19\n\x0b\n\x04\x04\
\x06\x02\0\x12\x03`\x02\x1a\n\x0c\n\x05\x04\x06\x02\0\x05\x12\x03`\x02\
\x08\n\x0c\n\x05\x04\x06\x02\0\x01\x12\x03`\t\x15\n\x0c\n\x05\x04\x06\
\x02\0\x03\x12\x03`\x18\x19\n\x0b\n\x04\x04\x06\x02\x01\x12\x03a\x02\x18\
\n\x0c\n\x05\x04\x06\x02\x01\x05\x12\x03a\x02\x08\n\x0c\n\x05\x04\x06\
\x02\x01\x01\x12\x03a\t\x13\n\x0c\n\x05\x04\x06\x02\x01\x03\x12\x03a\x16\
\x17\n\n\n\x02\x04\x07\x12\x04d\0f\x01\n\n\n\x03\x04\x07\x01\x12\x03d\
\x08)\n\x0b\n\x04\x04\x07\x02\0\x12\x03e\x02\x1a\n\x0c\n\x05\x04\x07\x02\
\0\x05\x12\x03e\x02\x08\n\x0c\n\x05\x04\x07\x02\0\x01\x12\x03e\t\x15\n\
\x0c\n\x05\x04\x07\x02\0\x03\x12\x03e\x18\x19\n\n\n\x02\x04\x08\x12\x04h\
\0k\x01\n\n\n\x03\x04\x08\x01\x12\x03h\x08*\n\x0b\n\x04\x04\x08\x02\0\
\x12\x03i\x02%\n\x0c\n\x05\x04\x08\x02\0\x04\x12\x03i\x02\n\n\x0c\n\x05\
\x04\x08\x02\0\x06\x12\x03i\x0b\x19\n\x0c\n\x05\x04\x08\x02\0\x01\x12\
\x03i\x1a\x20\n\x0c\n\x05\x04\x08\x02\0\x03\x12\x03i#$\n\x0b\n\x04\x04\
\x08\x02\x01\x12\x03j\x02%\n\x0c\n\x05\x04\x08\x02\x01\x04\x12\x03j\x02\
\n\n\x0c\n\x05\x04\x08\x02\x01\x06\x12\x03j\x0b\x19\n\x0c\n\x05\x04\x08\
\x02\x01\x01\x12\x03j\x1a\x20\n\x0c\n\x05\x04\x08\x02\x01\x03\x12\x03j#$\
b\x06proto3\
";
fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
static file_descriptor_proto_lazy: ::protobuf::rt::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::Lazy::new();
file_descriptor_proto_lazy.get(|| {
::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
})
}
pub fn file_descriptor() -> &'static ::protobuf::reflect::FileDescriptor {
static generated_file_descriptor_lazy: ::protobuf::rt::Lazy<::protobuf::reflect::GeneratedFileDescriptor> = ::protobuf::rt::Lazy::new();
static file_descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::FileDescriptor> = ::protobuf::rt::Lazy::new();
file_descriptor.get(|| {
let generated_file_descriptor = generated_file_descriptor_lazy.get(|| {
let mut deps = ::std::vec::Vec::with_capacity(3);
deps.push(super::sp_command::file_descriptor().clone());
deps.push(super::sp_common::file_descriptor().clone());
deps.push(super::sp_info::file_descriptor().clone());
let mut messages = ::std::vec::Vec::with_capacity(9);
messages.push(NewAudienceRequest::generated_message_descriptor_data());
messages.push(HeartbeatRequest::generated_message_descriptor_data());
messages.push(NotifyRequest::generated_message_descriptor_data());
messages.push(Metrics::generated_message_descriptor_data());
messages.push(MetricsRequest::generated_message_descriptor_data());
messages.push(RegisterRequest::generated_message_descriptor_data());
messages.push(DeregisterRequest::generated_message_descriptor_data());
messages.push(GetAttachCommandsByServiceRequest::generated_message_descriptor_data());
messages.push(GetAttachCommandsByServiceResponse::generated_message_descriptor_data());
let mut enums = ::std::vec::Vec::with_capacity(0);
::protobuf::reflect::GeneratedFileDescriptor::new_generated(
file_descriptor_proto(),
deps,
messages,
enums,
)
});
::protobuf::reflect::FileDescriptor::new_generated_2(generated_file_descriptor)
})
}