2016-11-21 02:48:17 +00:00
|
|
|
// This file is generated. Do not edit
|
|
|
|
// @generated
|
|
|
|
|
|
|
|
// https://github.com/Manishearth/rust-clippy/issues/702
|
|
|
|
#![allow(unknown_lints)]
|
|
|
|
#![allow(clippy)]
|
|
|
|
|
|
|
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
|
|
|
|
|
|
|
#![allow(box_pointers)]
|
|
|
|
#![allow(dead_code)]
|
2017-09-30 22:51:05 +00:00
|
|
|
#![allow(missing_docs)]
|
2016-11-21 02:48:17 +00:00
|
|
|
#![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;
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
#[derive(PartialEq,Clone,Default)]
|
2016-11-21 02:48:17 +00:00
|
|
|
pub struct TopTracks {
|
|
|
|
// message fields
|
|
|
|
country: ::protobuf::SingularField<::std::string::String>,
|
|
|
|
track: ::protobuf::RepeatedField<Track>,
|
|
|
|
// special fields
|
|
|
|
unknown_fields: ::protobuf::UnknownFields,
|
2017-01-18 05:58:12 +00:00
|
|
|
cached_size: ::protobuf::CachedSize,
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// see codegen.rs for the explanation why impl Sync explicitly
|
|
|
|
unsafe impl ::std::marker::Sync for TopTracks {}
|
|
|
|
|
|
|
|
impl TopTracks {
|
|
|
|
pub fn new() -> TopTracks {
|
|
|
|
::std::default::Default::default()
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn default_instance() -> &'static TopTracks {
|
|
|
|
static mut instance: ::protobuf::lazy::Lazy<TopTracks> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const TopTracks,
|
|
|
|
};
|
|
|
|
unsafe {
|
2017-01-18 05:58:12 +00:00
|
|
|
instance.get(TopTracks::new)
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// optional string country = 1;
|
|
|
|
|
|
|
|
pub fn clear_country(&mut self) {
|
|
|
|
self.country.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_country(&self) -> bool {
|
|
|
|
self.country.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_country(&mut self, v: ::std::string::String) {
|
|
|
|
self.country = ::protobuf::SingularField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_country(&mut self) -> &mut ::std::string::String {
|
|
|
|
if self.country.is_none() {
|
|
|
|
self.country.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.country.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_country(&mut self) -> ::std::string::String {
|
|
|
|
self.country.take().unwrap_or_else(|| ::std::string::String::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_country(&self) -> &str {
|
|
|
|
match self.country.as_ref() {
|
|
|
|
Some(v) => &v,
|
|
|
|
None => "",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_country_for_reflect(&self) -> &::protobuf::SingularField<::std::string::String> {
|
|
|
|
&self.country
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_country_for_reflect(&mut self) -> &mut ::protobuf::SingularField<::std::string::String> {
|
|
|
|
&mut self.country
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .Track track = 2;
|
|
|
|
|
|
|
|
pub fn clear_track(&mut self) {
|
|
|
|
self.track.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_track(&mut self, v: ::protobuf::RepeatedField<Track>) {
|
|
|
|
self.track = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_track(&mut self) -> &mut ::protobuf::RepeatedField<Track> {
|
|
|
|
&mut self.track
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_track(&mut self) -> ::protobuf::RepeatedField<Track> {
|
|
|
|
::std::mem::replace(&mut self.track, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_track(&self) -> &[Track] {
|
|
|
|
&self.track
|
|
|
|
}
|
2017-01-18 05:58:12 +00:00
|
|
|
|
|
|
|
fn get_track_for_reflect(&self) -> &::protobuf::RepeatedField<Track> {
|
|
|
|
&self.track
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_track_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<Track> {
|
|
|
|
&mut self.track
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Message for TopTracks {
|
|
|
|
fn is_initialized(&self) -> bool {
|
|
|
|
true
|
|
|
|
}
|
|
|
|
|
|
|
|
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
|
2017-01-18 05:58:12 +00:00
|
|
|
while !is.eof()? {
|
|
|
|
let (field_number, wire_type) = is.read_tag_unpack()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
match field_number {
|
|
|
|
1 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.country)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
2 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.track)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
_ => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|
|
|
|
::std::result::Result::Ok(())
|
|
|
|
}
|
|
|
|
|
|
|
|
// Compute sizes of nested messages
|
|
|
|
#[allow(unused_variables)]
|
|
|
|
fn compute_size(&self) -> u32 {
|
|
|
|
let mut my_size = 0;
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.country.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
my_size += ::protobuf::rt::string_size(1, &v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
for value in &self.track {
|
|
|
|
let len = value.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<()> {
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.country.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_string(1, &v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
for v in &self.track {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
::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
|
|
|
|
}
|
2017-09-30 22:51:05 +00:00
|
|
|
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
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
|
|
|
|
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
|
|
|
|
::protobuf::MessageStatic::descriptor_static(None::<Self>)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::MessageStatic for TopTracks {
|
|
|
|
fn new() -> TopTracks {
|
|
|
|
TopTracks::new()
|
|
|
|
}
|
|
|
|
|
|
|
|
fn descriptor_static(_: ::std::option::Option<TopTracks>) -> &'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();
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"country",
|
2017-01-18 05:58:12 +00:00
|
|
|
TopTracks::get_country_for_reflect,
|
|
|
|
TopTracks::mut_country_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Track>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"track",
|
2017-01-18 05:58:12 +00:00
|
|
|
TopTracks::get_track_for_reflect,
|
|
|
|
TopTracks::mut_track_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
|
|
|
::protobuf::reflect::MessageDescriptor::new::<TopTracks>(
|
|
|
|
"TopTracks",
|
|
|
|
fields,
|
|
|
|
file_descriptor_proto()
|
|
|
|
)
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Clear for TopTracks {
|
|
|
|
fn clear(&mut self) {
|
|
|
|
self.clear_country();
|
|
|
|
self.clear_track();
|
|
|
|
self.unknown_fields.clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::fmt::Debug for TopTracks {
|
|
|
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
|
|
|
::protobuf::text_format::fmt(self, f)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for TopTracks {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(PartialEq,Clone,Default)]
|
2016-11-21 02:48:17 +00:00
|
|
|
pub struct ActivityPeriod {
|
|
|
|
// message fields
|
|
|
|
start_year: ::std::option::Option<i32>,
|
|
|
|
end_year: ::std::option::Option<i32>,
|
|
|
|
decade: ::std::option::Option<i32>,
|
|
|
|
// special fields
|
|
|
|
unknown_fields: ::protobuf::UnknownFields,
|
2017-01-18 05:58:12 +00:00
|
|
|
cached_size: ::protobuf::CachedSize,
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// see codegen.rs for the explanation why impl Sync explicitly
|
|
|
|
unsafe impl ::std::marker::Sync for ActivityPeriod {}
|
|
|
|
|
|
|
|
impl ActivityPeriod {
|
|
|
|
pub fn new() -> ActivityPeriod {
|
|
|
|
::std::default::Default::default()
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn default_instance() -> &'static ActivityPeriod {
|
|
|
|
static mut instance: ::protobuf::lazy::Lazy<ActivityPeriod> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const ActivityPeriod,
|
|
|
|
};
|
|
|
|
unsafe {
|
2017-01-18 05:58:12 +00:00
|
|
|
instance.get(ActivityPeriod::new)
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// optional sint32 start_year = 1;
|
|
|
|
|
|
|
|
pub fn clear_start_year(&mut self) {
|
|
|
|
self.start_year = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_start_year(&self) -> bool {
|
|
|
|
self.start_year.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_start_year(&mut self, v: i32) {
|
|
|
|
self.start_year = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_start_year(&self) -> i32 {
|
|
|
|
self.start_year.unwrap_or(0)
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_start_year_for_reflect(&self) -> &::std::option::Option<i32> {
|
|
|
|
&self.start_year
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_start_year_for_reflect(&mut self) -> &mut ::std::option::Option<i32> {
|
|
|
|
&mut self.start_year
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional sint32 end_year = 2;
|
|
|
|
|
|
|
|
pub fn clear_end_year(&mut self) {
|
|
|
|
self.end_year = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_end_year(&self) -> bool {
|
|
|
|
self.end_year.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_end_year(&mut self, v: i32) {
|
|
|
|
self.end_year = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_end_year(&self) -> i32 {
|
|
|
|
self.end_year.unwrap_or(0)
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_end_year_for_reflect(&self) -> &::std::option::Option<i32> {
|
|
|
|
&self.end_year
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_end_year_for_reflect(&mut self) -> &mut ::std::option::Option<i32> {
|
|
|
|
&mut self.end_year
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional sint32 decade = 3;
|
|
|
|
|
|
|
|
pub fn clear_decade(&mut self) {
|
|
|
|
self.decade = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_decade(&self) -> bool {
|
|
|
|
self.decade.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_decade(&mut self, v: i32) {
|
|
|
|
self.decade = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_decade(&self) -> i32 {
|
|
|
|
self.decade.unwrap_or(0)
|
|
|
|
}
|
2017-01-18 05:58:12 +00:00
|
|
|
|
|
|
|
fn get_decade_for_reflect(&self) -> &::std::option::Option<i32> {
|
|
|
|
&self.decade
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_decade_for_reflect(&mut self) -> &mut ::std::option::Option<i32> {
|
|
|
|
&mut self.decade
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Message for ActivityPeriod {
|
|
|
|
fn is_initialized(&self) -> bool {
|
|
|
|
true
|
|
|
|
}
|
|
|
|
|
|
|
|
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
|
2017-01-18 05:58:12 +00:00
|
|
|
while !is.eof()? {
|
|
|
|
let (field_number, wire_type) = is.read_tag_unpack()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
match field_number {
|
|
|
|
1 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_sint32()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.start_year = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
2 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_sint32()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.end_year = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
3 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_sint32()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.decade = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
_ => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|
|
|
|
::std::result::Result::Ok(())
|
|
|
|
}
|
|
|
|
|
|
|
|
// Compute sizes of nested messages
|
|
|
|
#[allow(unused_variables)]
|
|
|
|
fn compute_size(&self) -> u32 {
|
|
|
|
let mut my_size = 0;
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.start_year {
|
|
|
|
my_size += ::protobuf::rt::value_varint_zigzag_size(1, v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.end_year {
|
|
|
|
my_size += ::protobuf::rt::value_varint_zigzag_size(2, v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.decade {
|
|
|
|
my_size += ::protobuf::rt::value_varint_zigzag_size(3, v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
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 let Some(v) = self.start_year {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_sint32(1, v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
if let Some(v) = self.end_year {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_sint32(2, v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
if let Some(v) = self.decade {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_sint32(3, v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
::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
|
|
|
|
}
|
2017-09-30 22:51:05 +00:00
|
|
|
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
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
|
|
|
|
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
|
|
|
|
::protobuf::MessageStatic::descriptor_static(None::<Self>)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::MessageStatic for ActivityPeriod {
|
|
|
|
fn new() -> ActivityPeriod {
|
|
|
|
ActivityPeriod::new()
|
|
|
|
}
|
|
|
|
|
|
|
|
fn descriptor_static(_: ::std::option::Option<ActivityPeriod>) -> &'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();
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeSint32>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"start_year",
|
2017-01-18 05:58:12 +00:00
|
|
|
ActivityPeriod::get_start_year_for_reflect,
|
|
|
|
ActivityPeriod::mut_start_year_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeSint32>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"end_year",
|
2017-01-18 05:58:12 +00:00
|
|
|
ActivityPeriod::get_end_year_for_reflect,
|
|
|
|
ActivityPeriod::mut_end_year_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeSint32>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"decade",
|
2017-01-18 05:58:12 +00:00
|
|
|
ActivityPeriod::get_decade_for_reflect,
|
|
|
|
ActivityPeriod::mut_decade_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
|
|
|
::protobuf::reflect::MessageDescriptor::new::<ActivityPeriod>(
|
|
|
|
"ActivityPeriod",
|
|
|
|
fields,
|
|
|
|
file_descriptor_proto()
|
|
|
|
)
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Clear for ActivityPeriod {
|
|
|
|
fn clear(&mut self) {
|
|
|
|
self.clear_start_year();
|
|
|
|
self.clear_end_year();
|
|
|
|
self.clear_decade();
|
|
|
|
self.unknown_fields.clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::fmt::Debug for ActivityPeriod {
|
|
|
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
|
|
|
::protobuf::text_format::fmt(self, f)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for ActivityPeriod {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(PartialEq,Clone,Default)]
|
2016-11-21 02:48:17 +00:00
|
|
|
pub struct Artist {
|
|
|
|
// message fields
|
|
|
|
gid: ::protobuf::SingularField<::std::vec::Vec<u8>>,
|
|
|
|
name: ::protobuf::SingularField<::std::string::String>,
|
|
|
|
popularity: ::std::option::Option<i32>,
|
|
|
|
top_track: ::protobuf::RepeatedField<TopTracks>,
|
|
|
|
album_group: ::protobuf::RepeatedField<AlbumGroup>,
|
|
|
|
single_group: ::protobuf::RepeatedField<AlbumGroup>,
|
|
|
|
compilation_group: ::protobuf::RepeatedField<AlbumGroup>,
|
|
|
|
appears_on_group: ::protobuf::RepeatedField<AlbumGroup>,
|
|
|
|
genre: ::protobuf::RepeatedField<::std::string::String>,
|
|
|
|
external_id: ::protobuf::RepeatedField<ExternalId>,
|
|
|
|
portrait: ::protobuf::RepeatedField<Image>,
|
|
|
|
biography: ::protobuf::RepeatedField<Biography>,
|
|
|
|
activity_period: ::protobuf::RepeatedField<ActivityPeriod>,
|
|
|
|
restriction: ::protobuf::RepeatedField<Restriction>,
|
|
|
|
related: ::protobuf::RepeatedField<Artist>,
|
|
|
|
is_portrait_album_cover: ::std::option::Option<bool>,
|
|
|
|
portrait_group: ::protobuf::SingularPtrField<ImageGroup>,
|
|
|
|
// special fields
|
|
|
|
unknown_fields: ::protobuf::UnknownFields,
|
2017-01-18 05:58:12 +00:00
|
|
|
cached_size: ::protobuf::CachedSize,
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// see codegen.rs for the explanation why impl Sync explicitly
|
|
|
|
unsafe impl ::std::marker::Sync for Artist {}
|
|
|
|
|
|
|
|
impl Artist {
|
|
|
|
pub fn new() -> Artist {
|
|
|
|
::std::default::Default::default()
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn default_instance() -> &'static Artist {
|
|
|
|
static mut instance: ::protobuf::lazy::Lazy<Artist> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const Artist,
|
|
|
|
};
|
|
|
|
unsafe {
|
2017-01-18 05:58:12 +00:00
|
|
|
instance.get(Artist::new)
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// optional bytes gid = 1;
|
|
|
|
|
|
|
|
pub fn clear_gid(&mut self) {
|
|
|
|
self.gid.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_gid(&self) -> bool {
|
|
|
|
self.gid.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_gid(&mut self, v: ::std::vec::Vec<u8>) {
|
|
|
|
self.gid = ::protobuf::SingularField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_gid(&mut self) -> &mut ::std::vec::Vec<u8> {
|
|
|
|
if self.gid.is_none() {
|
|
|
|
self.gid.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.gid.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_gid(&mut self) -> ::std::vec::Vec<u8> {
|
|
|
|
self.gid.take().unwrap_or_else(|| ::std::vec::Vec::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_gid(&self) -> &[u8] {
|
|
|
|
match self.gid.as_ref() {
|
|
|
|
Some(v) => &v,
|
|
|
|
None => &[],
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_gid_for_reflect(&self) -> &::protobuf::SingularField<::std::vec::Vec<u8>> {
|
|
|
|
&self.gid
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_gid_for_reflect(&mut self) -> &mut ::protobuf::SingularField<::std::vec::Vec<u8>> {
|
|
|
|
&mut self.gid
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional string name = 2;
|
|
|
|
|
|
|
|
pub fn clear_name(&mut self) {
|
|
|
|
self.name.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_name(&self) -> bool {
|
|
|
|
self.name.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_name(&mut self, v: ::std::string::String) {
|
|
|
|
self.name = ::protobuf::SingularField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_name(&mut self) -> &mut ::std::string::String {
|
|
|
|
if self.name.is_none() {
|
|
|
|
self.name.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.name.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_name(&mut self) -> ::std::string::String {
|
|
|
|
self.name.take().unwrap_or_else(|| ::std::string::String::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_name(&self) -> &str {
|
|
|
|
match self.name.as_ref() {
|
|
|
|
Some(v) => &v,
|
|
|
|
None => "",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_name_for_reflect(&self) -> &::protobuf::SingularField<::std::string::String> {
|
|
|
|
&self.name
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_name_for_reflect(&mut self) -> &mut ::protobuf::SingularField<::std::string::String> {
|
|
|
|
&mut self.name
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional sint32 popularity = 3;
|
|
|
|
|
|
|
|
pub fn clear_popularity(&mut self) {
|
|
|
|
self.popularity = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_popularity(&self) -> bool {
|
|
|
|
self.popularity.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_popularity(&mut self, v: i32) {
|
|
|
|
self.popularity = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_popularity(&self) -> i32 {
|
|
|
|
self.popularity.unwrap_or(0)
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_popularity_for_reflect(&self) -> &::std::option::Option<i32> {
|
|
|
|
&self.popularity
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_popularity_for_reflect(&mut self) -> &mut ::std::option::Option<i32> {
|
|
|
|
&mut self.popularity
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .TopTracks top_track = 4;
|
|
|
|
|
|
|
|
pub fn clear_top_track(&mut self) {
|
|
|
|
self.top_track.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_top_track(&mut self, v: ::protobuf::RepeatedField<TopTracks>) {
|
|
|
|
self.top_track = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_top_track(&mut self) -> &mut ::protobuf::RepeatedField<TopTracks> {
|
|
|
|
&mut self.top_track
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_top_track(&mut self) -> ::protobuf::RepeatedField<TopTracks> {
|
|
|
|
::std::mem::replace(&mut self.top_track, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_top_track(&self) -> &[TopTracks] {
|
|
|
|
&self.top_track
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_top_track_for_reflect(&self) -> &::protobuf::RepeatedField<TopTracks> {
|
|
|
|
&self.top_track
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_top_track_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<TopTracks> {
|
|
|
|
&mut self.top_track
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .AlbumGroup album_group = 5;
|
|
|
|
|
|
|
|
pub fn clear_album_group(&mut self) {
|
|
|
|
self.album_group.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_album_group(&mut self, v: ::protobuf::RepeatedField<AlbumGroup>) {
|
|
|
|
self.album_group = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_album_group(&mut self) -> &mut ::protobuf::RepeatedField<AlbumGroup> {
|
|
|
|
&mut self.album_group
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_album_group(&mut self) -> ::protobuf::RepeatedField<AlbumGroup> {
|
|
|
|
::std::mem::replace(&mut self.album_group, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_album_group(&self) -> &[AlbumGroup] {
|
|
|
|
&self.album_group
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_album_group_for_reflect(&self) -> &::protobuf::RepeatedField<AlbumGroup> {
|
|
|
|
&self.album_group
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_album_group_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<AlbumGroup> {
|
|
|
|
&mut self.album_group
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .AlbumGroup single_group = 6;
|
|
|
|
|
|
|
|
pub fn clear_single_group(&mut self) {
|
|
|
|
self.single_group.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_single_group(&mut self, v: ::protobuf::RepeatedField<AlbumGroup>) {
|
|
|
|
self.single_group = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_single_group(&mut self) -> &mut ::protobuf::RepeatedField<AlbumGroup> {
|
|
|
|
&mut self.single_group
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_single_group(&mut self) -> ::protobuf::RepeatedField<AlbumGroup> {
|
|
|
|
::std::mem::replace(&mut self.single_group, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_single_group(&self) -> &[AlbumGroup] {
|
|
|
|
&self.single_group
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_single_group_for_reflect(&self) -> &::protobuf::RepeatedField<AlbumGroup> {
|
|
|
|
&self.single_group
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_single_group_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<AlbumGroup> {
|
|
|
|
&mut self.single_group
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .AlbumGroup compilation_group = 7;
|
|
|
|
|
|
|
|
pub fn clear_compilation_group(&mut self) {
|
|
|
|
self.compilation_group.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_compilation_group(&mut self, v: ::protobuf::RepeatedField<AlbumGroup>) {
|
|
|
|
self.compilation_group = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_compilation_group(&mut self) -> &mut ::protobuf::RepeatedField<AlbumGroup> {
|
|
|
|
&mut self.compilation_group
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_compilation_group(&mut self) -> ::protobuf::RepeatedField<AlbumGroup> {
|
|
|
|
::std::mem::replace(&mut self.compilation_group, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_compilation_group(&self) -> &[AlbumGroup] {
|
|
|
|
&self.compilation_group
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_compilation_group_for_reflect(&self) -> &::protobuf::RepeatedField<AlbumGroup> {
|
|
|
|
&self.compilation_group
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_compilation_group_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<AlbumGroup> {
|
|
|
|
&mut self.compilation_group
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .AlbumGroup appears_on_group = 8;
|
|
|
|
|
|
|
|
pub fn clear_appears_on_group(&mut self) {
|
|
|
|
self.appears_on_group.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_appears_on_group(&mut self, v: ::protobuf::RepeatedField<AlbumGroup>) {
|
|
|
|
self.appears_on_group = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_appears_on_group(&mut self) -> &mut ::protobuf::RepeatedField<AlbumGroup> {
|
|
|
|
&mut self.appears_on_group
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_appears_on_group(&mut self) -> ::protobuf::RepeatedField<AlbumGroup> {
|
|
|
|
::std::mem::replace(&mut self.appears_on_group, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_appears_on_group(&self) -> &[AlbumGroup] {
|
|
|
|
&self.appears_on_group
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_appears_on_group_for_reflect(&self) -> &::protobuf::RepeatedField<AlbumGroup> {
|
|
|
|
&self.appears_on_group
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_appears_on_group_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<AlbumGroup> {
|
|
|
|
&mut self.appears_on_group
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated string genre = 9;
|
|
|
|
|
|
|
|
pub fn clear_genre(&mut self) {
|
|
|
|
self.genre.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_genre(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) {
|
|
|
|
self.genre = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_genre(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
|
|
|
|
&mut self.genre
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_genre(&mut self) -> ::protobuf::RepeatedField<::std::string::String> {
|
|
|
|
::std::mem::replace(&mut self.genre, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_genre(&self) -> &[::std::string::String] {
|
|
|
|
&self.genre
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_genre_for_reflect(&self) -> &::protobuf::RepeatedField<::std::string::String> {
|
|
|
|
&self.genre
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_genre_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
|
|
|
|
&mut self.genre
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .ExternalId external_id = 10;
|
|
|
|
|
|
|
|
pub fn clear_external_id(&mut self) {
|
|
|
|
self.external_id.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_external_id(&mut self, v: ::protobuf::RepeatedField<ExternalId>) {
|
|
|
|
self.external_id = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_external_id(&mut self) -> &mut ::protobuf::RepeatedField<ExternalId> {
|
|
|
|
&mut self.external_id
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_external_id(&mut self) -> ::protobuf::RepeatedField<ExternalId> {
|
|
|
|
::std::mem::replace(&mut self.external_id, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_external_id(&self) -> &[ExternalId] {
|
|
|
|
&self.external_id
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_external_id_for_reflect(&self) -> &::protobuf::RepeatedField<ExternalId> {
|
|
|
|
&self.external_id
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_external_id_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<ExternalId> {
|
|
|
|
&mut self.external_id
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .Image portrait = 11;
|
|
|
|
|
|
|
|
pub fn clear_portrait(&mut self) {
|
|
|
|
self.portrait.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_portrait(&mut self, v: ::protobuf::RepeatedField<Image>) {
|
|
|
|
self.portrait = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_portrait(&mut self) -> &mut ::protobuf::RepeatedField<Image> {
|
|
|
|
&mut self.portrait
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_portrait(&mut self) -> ::protobuf::RepeatedField<Image> {
|
|
|
|
::std::mem::replace(&mut self.portrait, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_portrait(&self) -> &[Image] {
|
|
|
|
&self.portrait
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_portrait_for_reflect(&self) -> &::protobuf::RepeatedField<Image> {
|
|
|
|
&self.portrait
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_portrait_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<Image> {
|
|
|
|
&mut self.portrait
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .Biography biography = 12;
|
|
|
|
|
|
|
|
pub fn clear_biography(&mut self) {
|
|
|
|
self.biography.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_biography(&mut self, v: ::protobuf::RepeatedField<Biography>) {
|
|
|
|
self.biography = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_biography(&mut self) -> &mut ::protobuf::RepeatedField<Biography> {
|
|
|
|
&mut self.biography
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_biography(&mut self) -> ::protobuf::RepeatedField<Biography> {
|
|
|
|
::std::mem::replace(&mut self.biography, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_biography(&self) -> &[Biography] {
|
|
|
|
&self.biography
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_biography_for_reflect(&self) -> &::protobuf::RepeatedField<Biography> {
|
|
|
|
&self.biography
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_biography_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<Biography> {
|
|
|
|
&mut self.biography
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .ActivityPeriod activity_period = 13;
|
|
|
|
|
|
|
|
pub fn clear_activity_period(&mut self) {
|
|
|
|
self.activity_period.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_activity_period(&mut self, v: ::protobuf::RepeatedField<ActivityPeriod>) {
|
|
|
|
self.activity_period = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_activity_period(&mut self) -> &mut ::protobuf::RepeatedField<ActivityPeriod> {
|
|
|
|
&mut self.activity_period
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_activity_period(&mut self) -> ::protobuf::RepeatedField<ActivityPeriod> {
|
|
|
|
::std::mem::replace(&mut self.activity_period, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_activity_period(&self) -> &[ActivityPeriod] {
|
|
|
|
&self.activity_period
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_activity_period_for_reflect(&self) -> &::protobuf::RepeatedField<ActivityPeriod> {
|
|
|
|
&self.activity_period
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_activity_period_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<ActivityPeriod> {
|
|
|
|
&mut self.activity_period
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .Restriction restriction = 14;
|
|
|
|
|
|
|
|
pub fn clear_restriction(&mut self) {
|
|
|
|
self.restriction.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_restriction(&mut self, v: ::protobuf::RepeatedField<Restriction>) {
|
|
|
|
self.restriction = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_restriction(&mut self) -> &mut ::protobuf::RepeatedField<Restriction> {
|
|
|
|
&mut self.restriction
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_restriction(&mut self) -> ::protobuf::RepeatedField<Restriction> {
|
|
|
|
::std::mem::replace(&mut self.restriction, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_restriction(&self) -> &[Restriction] {
|
|
|
|
&self.restriction
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_restriction_for_reflect(&self) -> &::protobuf::RepeatedField<Restriction> {
|
|
|
|
&self.restriction
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_restriction_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<Restriction> {
|
|
|
|
&mut self.restriction
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .Artist related = 15;
|
|
|
|
|
|
|
|
pub fn clear_related(&mut self) {
|
|
|
|
self.related.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_related(&mut self, v: ::protobuf::RepeatedField<Artist>) {
|
|
|
|
self.related = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_related(&mut self) -> &mut ::protobuf::RepeatedField<Artist> {
|
|
|
|
&mut self.related
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_related(&mut self) -> ::protobuf::RepeatedField<Artist> {
|
|
|
|
::std::mem::replace(&mut self.related, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_related(&self) -> &[Artist] {
|
|
|
|
&self.related
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_related_for_reflect(&self) -> &::protobuf::RepeatedField<Artist> {
|
|
|
|
&self.related
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_related_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<Artist> {
|
|
|
|
&mut self.related
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional bool is_portrait_album_cover = 16;
|
|
|
|
|
|
|
|
pub fn clear_is_portrait_album_cover(&mut self) {
|
|
|
|
self.is_portrait_album_cover = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_is_portrait_album_cover(&self) -> bool {
|
|
|
|
self.is_portrait_album_cover.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_is_portrait_album_cover(&mut self, v: bool) {
|
|
|
|
self.is_portrait_album_cover = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_is_portrait_album_cover(&self) -> bool {
|
|
|
|
self.is_portrait_album_cover.unwrap_or(false)
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_is_portrait_album_cover_for_reflect(&self) -> &::std::option::Option<bool> {
|
|
|
|
&self.is_portrait_album_cover
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_is_portrait_album_cover_for_reflect(&mut self) -> &mut ::std::option::Option<bool> {
|
|
|
|
&mut self.is_portrait_album_cover
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional .ImageGroup portrait_group = 17;
|
|
|
|
|
|
|
|
pub fn clear_portrait_group(&mut self) {
|
|
|
|
self.portrait_group.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_portrait_group(&self) -> bool {
|
|
|
|
self.portrait_group.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_portrait_group(&mut self, v: ImageGroup) {
|
|
|
|
self.portrait_group = ::protobuf::SingularPtrField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_portrait_group(&mut self) -> &mut ImageGroup {
|
|
|
|
if self.portrait_group.is_none() {
|
|
|
|
self.portrait_group.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.portrait_group.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_portrait_group(&mut self) -> ImageGroup {
|
|
|
|
self.portrait_group.take().unwrap_or_else(|| ImageGroup::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_portrait_group(&self) -> &ImageGroup {
|
|
|
|
self.portrait_group.as_ref().unwrap_or_else(|| ImageGroup::default_instance())
|
|
|
|
}
|
2017-01-18 05:58:12 +00:00
|
|
|
|
|
|
|
fn get_portrait_group_for_reflect(&self) -> &::protobuf::SingularPtrField<ImageGroup> {
|
|
|
|
&self.portrait_group
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_portrait_group_for_reflect(&mut self) -> &mut ::protobuf::SingularPtrField<ImageGroup> {
|
|
|
|
&mut self.portrait_group
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Message for Artist {
|
|
|
|
fn is_initialized(&self) -> bool {
|
|
|
|
true
|
|
|
|
}
|
|
|
|
|
|
|
|
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
|
2017-01-18 05:58:12 +00:00
|
|
|
while !is.eof()? {
|
|
|
|
let (field_number, wire_type) = is.read_tag_unpack()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
match field_number {
|
|
|
|
1 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.gid)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
2 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.name)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
3 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_sint32()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.popularity = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
4 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.top_track)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
5 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.album_group)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
6 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.single_group)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
7 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.compilation_group)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
8 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.appears_on_group)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
9 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.genre)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
10 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.external_id)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
11 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.portrait)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
12 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.biography)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
13 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.activity_period)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
14 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.restriction)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
15 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.related)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
16 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_bool()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.is_portrait_album_cover = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
17 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.portrait_group)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
_ => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|
|
|
|
::std::result::Result::Ok(())
|
|
|
|
}
|
|
|
|
|
|
|
|
// Compute sizes of nested messages
|
|
|
|
#[allow(unused_variables)]
|
|
|
|
fn compute_size(&self) -> u32 {
|
|
|
|
let mut my_size = 0;
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.gid.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
my_size += ::protobuf::rt::bytes_size(1, &v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.name.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
my_size += ::protobuf::rt::string_size(2, &v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.popularity {
|
|
|
|
my_size += ::protobuf::rt::value_varint_zigzag_size(3, v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
for value in &self.top_track {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.album_group {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.single_group {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.compilation_group {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.appears_on_group {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.genre {
|
|
|
|
my_size += ::protobuf::rt::string_size(9, &value);
|
|
|
|
};
|
|
|
|
for value in &self.external_id {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.portrait {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.biography {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.activity_period {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.restriction {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.related {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.is_portrait_album_cover {
|
2016-11-21 02:48:17 +00:00
|
|
|
my_size += 3;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.portrait_group.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
let len = v.compute_size();
|
2016-11-21 02:48:17 +00:00
|
|
|
my_size += 2 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
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<()> {
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.gid.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_bytes(1, &v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.name.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_string(2, &v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
if let Some(v) = self.popularity {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_sint32(3, v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
for v in &self.top_track {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.album_group {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(5, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.single_group {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(6, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.compilation_group {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(7, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.appears_on_group {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(8, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.genre {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_string(9, &v)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.external_id {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(10, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.portrait {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(11, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.biography {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(12, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.activity_period {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(13, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.restriction {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(14, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.related {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(15, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.is_portrait_album_cover {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_bool(16, v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.portrait_group.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(17, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
::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
|
|
|
|
}
|
2017-09-30 22:51:05 +00:00
|
|
|
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
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
|
|
|
|
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
|
|
|
|
::protobuf::MessageStatic::descriptor_static(None::<Self>)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::MessageStatic for Artist {
|
|
|
|
fn new() -> Artist {
|
|
|
|
Artist::new()
|
|
|
|
}
|
|
|
|
|
|
|
|
fn descriptor_static(_: ::std::option::Option<Artist>) -> &'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();
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"gid",
|
2017-01-18 05:58:12 +00:00
|
|
|
Artist::get_gid_for_reflect,
|
|
|
|
Artist::mut_gid_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"name",
|
2017-01-18 05:58:12 +00:00
|
|
|
Artist::get_name_for_reflect,
|
|
|
|
Artist::mut_name_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeSint32>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"popularity",
|
2017-01-18 05:58:12 +00:00
|
|
|
Artist::get_popularity_for_reflect,
|
|
|
|
Artist::mut_popularity_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<TopTracks>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"top_track",
|
2017-01-18 05:58:12 +00:00
|
|
|
Artist::get_top_track_for_reflect,
|
|
|
|
Artist::mut_top_track_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<AlbumGroup>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"album_group",
|
2017-01-18 05:58:12 +00:00
|
|
|
Artist::get_album_group_for_reflect,
|
|
|
|
Artist::mut_album_group_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<AlbumGroup>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"single_group",
|
2017-01-18 05:58:12 +00:00
|
|
|
Artist::get_single_group_for_reflect,
|
|
|
|
Artist::mut_single_group_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<AlbumGroup>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"compilation_group",
|
2017-01-18 05:58:12 +00:00
|
|
|
Artist::get_compilation_group_for_reflect,
|
|
|
|
Artist::mut_compilation_group_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<AlbumGroup>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"appears_on_group",
|
2017-01-18 05:58:12 +00:00
|
|
|
Artist::get_appears_on_group_for_reflect,
|
|
|
|
Artist::mut_appears_on_group_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"genre",
|
2017-01-18 05:58:12 +00:00
|
|
|
Artist::get_genre_for_reflect,
|
|
|
|
Artist::mut_genre_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<ExternalId>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"external_id",
|
2017-01-18 05:58:12 +00:00
|
|
|
Artist::get_external_id_for_reflect,
|
|
|
|
Artist::mut_external_id_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Image>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"portrait",
|
2017-01-18 05:58:12 +00:00
|
|
|
Artist::get_portrait_for_reflect,
|
|
|
|
Artist::mut_portrait_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Biography>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"biography",
|
2017-01-18 05:58:12 +00:00
|
|
|
Artist::get_biography_for_reflect,
|
|
|
|
Artist::mut_biography_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<ActivityPeriod>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"activity_period",
|
2017-01-18 05:58:12 +00:00
|
|
|
Artist::get_activity_period_for_reflect,
|
|
|
|
Artist::mut_activity_period_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Restriction>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"restriction",
|
2017-01-18 05:58:12 +00:00
|
|
|
Artist::get_restriction_for_reflect,
|
|
|
|
Artist::mut_restriction_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Artist>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"related",
|
2017-01-18 05:58:12 +00:00
|
|
|
Artist::get_related_for_reflect,
|
|
|
|
Artist::mut_related_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeBool>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"is_portrait_album_cover",
|
2017-01-18 05:58:12 +00:00
|
|
|
Artist::get_is_portrait_album_cover_for_reflect,
|
|
|
|
Artist::mut_is_portrait_album_cover_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<ImageGroup>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"portrait_group",
|
2017-01-18 05:58:12 +00:00
|
|
|
Artist::get_portrait_group_for_reflect,
|
|
|
|
Artist::mut_portrait_group_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
|
|
|
::protobuf::reflect::MessageDescriptor::new::<Artist>(
|
|
|
|
"Artist",
|
|
|
|
fields,
|
|
|
|
file_descriptor_proto()
|
|
|
|
)
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Clear for Artist {
|
|
|
|
fn clear(&mut self) {
|
|
|
|
self.clear_gid();
|
|
|
|
self.clear_name();
|
|
|
|
self.clear_popularity();
|
|
|
|
self.clear_top_track();
|
|
|
|
self.clear_album_group();
|
|
|
|
self.clear_single_group();
|
|
|
|
self.clear_compilation_group();
|
|
|
|
self.clear_appears_on_group();
|
|
|
|
self.clear_genre();
|
|
|
|
self.clear_external_id();
|
|
|
|
self.clear_portrait();
|
|
|
|
self.clear_biography();
|
|
|
|
self.clear_activity_period();
|
|
|
|
self.clear_restriction();
|
|
|
|
self.clear_related();
|
|
|
|
self.clear_is_portrait_album_cover();
|
|
|
|
self.clear_portrait_group();
|
|
|
|
self.unknown_fields.clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::fmt::Debug for Artist {
|
|
|
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
|
|
|
::protobuf::text_format::fmt(self, f)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for Artist {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(PartialEq,Clone,Default)]
|
2016-11-21 02:48:17 +00:00
|
|
|
pub struct AlbumGroup {
|
|
|
|
// message fields
|
|
|
|
album: ::protobuf::RepeatedField<Album>,
|
|
|
|
// special fields
|
|
|
|
unknown_fields: ::protobuf::UnknownFields,
|
2017-01-18 05:58:12 +00:00
|
|
|
cached_size: ::protobuf::CachedSize,
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// see codegen.rs for the explanation why impl Sync explicitly
|
|
|
|
unsafe impl ::std::marker::Sync for AlbumGroup {}
|
|
|
|
|
|
|
|
impl AlbumGroup {
|
|
|
|
pub fn new() -> AlbumGroup {
|
|
|
|
::std::default::Default::default()
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn default_instance() -> &'static AlbumGroup {
|
|
|
|
static mut instance: ::protobuf::lazy::Lazy<AlbumGroup> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const AlbumGroup,
|
|
|
|
};
|
|
|
|
unsafe {
|
2017-01-18 05:58:12 +00:00
|
|
|
instance.get(AlbumGroup::new)
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// repeated .Album album = 1;
|
|
|
|
|
|
|
|
pub fn clear_album(&mut self) {
|
|
|
|
self.album.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_album(&mut self, v: ::protobuf::RepeatedField<Album>) {
|
|
|
|
self.album = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_album(&mut self) -> &mut ::protobuf::RepeatedField<Album> {
|
|
|
|
&mut self.album
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_album(&mut self) -> ::protobuf::RepeatedField<Album> {
|
|
|
|
::std::mem::replace(&mut self.album, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_album(&self) -> &[Album] {
|
|
|
|
&self.album
|
|
|
|
}
|
2017-01-18 05:58:12 +00:00
|
|
|
|
|
|
|
fn get_album_for_reflect(&self) -> &::protobuf::RepeatedField<Album> {
|
|
|
|
&self.album
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_album_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<Album> {
|
|
|
|
&mut self.album
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Message for AlbumGroup {
|
|
|
|
fn is_initialized(&self) -> bool {
|
|
|
|
true
|
|
|
|
}
|
|
|
|
|
|
|
|
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
|
2017-01-18 05:58:12 +00:00
|
|
|
while !is.eof()? {
|
|
|
|
let (field_number, wire_type) = is.read_tag_unpack()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
match field_number {
|
|
|
|
1 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.album)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
_ => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|
|
|
|
::std::result::Result::Ok(())
|
|
|
|
}
|
|
|
|
|
|
|
|
// Compute sizes of nested messages
|
|
|
|
#[allow(unused_variables)]
|
|
|
|
fn compute_size(&self) -> u32 {
|
|
|
|
let mut my_size = 0;
|
|
|
|
for value in &self.album {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
|
|
|
|
self.cached_size.set(my_size);
|
|
|
|
my_size
|
|
|
|
}
|
|
|
|
|
|
|
|
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
|
|
|
|
for v in &self.album {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
::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
|
|
|
|
}
|
2017-09-30 22:51:05 +00:00
|
|
|
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
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
|
|
|
|
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
|
|
|
|
::protobuf::MessageStatic::descriptor_static(None::<Self>)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::MessageStatic for AlbumGroup {
|
|
|
|
fn new() -> AlbumGroup {
|
|
|
|
AlbumGroup::new()
|
|
|
|
}
|
|
|
|
|
|
|
|
fn descriptor_static(_: ::std::option::Option<AlbumGroup>) -> &'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();
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Album>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"album",
|
2017-01-18 05:58:12 +00:00
|
|
|
AlbumGroup::get_album_for_reflect,
|
|
|
|
AlbumGroup::mut_album_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
|
|
|
::protobuf::reflect::MessageDescriptor::new::<AlbumGroup>(
|
|
|
|
"AlbumGroup",
|
|
|
|
fields,
|
|
|
|
file_descriptor_proto()
|
|
|
|
)
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Clear for AlbumGroup {
|
|
|
|
fn clear(&mut self) {
|
|
|
|
self.clear_album();
|
|
|
|
self.unknown_fields.clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::fmt::Debug for AlbumGroup {
|
|
|
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
|
|
|
::protobuf::text_format::fmt(self, f)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for AlbumGroup {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(PartialEq,Clone,Default)]
|
2016-11-21 02:48:17 +00:00
|
|
|
pub struct Date {
|
|
|
|
// message fields
|
|
|
|
year: ::std::option::Option<i32>,
|
|
|
|
month: ::std::option::Option<i32>,
|
|
|
|
day: ::std::option::Option<i32>,
|
|
|
|
// special fields
|
|
|
|
unknown_fields: ::protobuf::UnknownFields,
|
2017-01-18 05:58:12 +00:00
|
|
|
cached_size: ::protobuf::CachedSize,
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// see codegen.rs for the explanation why impl Sync explicitly
|
|
|
|
unsafe impl ::std::marker::Sync for Date {}
|
|
|
|
|
|
|
|
impl Date {
|
|
|
|
pub fn new() -> Date {
|
|
|
|
::std::default::Default::default()
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn default_instance() -> &'static Date {
|
|
|
|
static mut instance: ::protobuf::lazy::Lazy<Date> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const Date,
|
|
|
|
};
|
|
|
|
unsafe {
|
2017-01-18 05:58:12 +00:00
|
|
|
instance.get(Date::new)
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// optional sint32 year = 1;
|
|
|
|
|
|
|
|
pub fn clear_year(&mut self) {
|
|
|
|
self.year = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_year(&self) -> bool {
|
|
|
|
self.year.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_year(&mut self, v: i32) {
|
|
|
|
self.year = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_year(&self) -> i32 {
|
|
|
|
self.year.unwrap_or(0)
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_year_for_reflect(&self) -> &::std::option::Option<i32> {
|
|
|
|
&self.year
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_year_for_reflect(&mut self) -> &mut ::std::option::Option<i32> {
|
|
|
|
&mut self.year
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional sint32 month = 2;
|
|
|
|
|
|
|
|
pub fn clear_month(&mut self) {
|
|
|
|
self.month = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_month(&self) -> bool {
|
|
|
|
self.month.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_month(&mut self, v: i32) {
|
|
|
|
self.month = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_month(&self) -> i32 {
|
|
|
|
self.month.unwrap_or(0)
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_month_for_reflect(&self) -> &::std::option::Option<i32> {
|
|
|
|
&self.month
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_month_for_reflect(&mut self) -> &mut ::std::option::Option<i32> {
|
|
|
|
&mut self.month
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional sint32 day = 3;
|
|
|
|
|
|
|
|
pub fn clear_day(&mut self) {
|
|
|
|
self.day = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_day(&self) -> bool {
|
|
|
|
self.day.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_day(&mut self, v: i32) {
|
|
|
|
self.day = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_day(&self) -> i32 {
|
|
|
|
self.day.unwrap_or(0)
|
|
|
|
}
|
2017-01-18 05:58:12 +00:00
|
|
|
|
|
|
|
fn get_day_for_reflect(&self) -> &::std::option::Option<i32> {
|
|
|
|
&self.day
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_day_for_reflect(&mut self) -> &mut ::std::option::Option<i32> {
|
|
|
|
&mut self.day
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Message for Date {
|
|
|
|
fn is_initialized(&self) -> bool {
|
|
|
|
true
|
|
|
|
}
|
|
|
|
|
|
|
|
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
|
2017-01-18 05:58:12 +00:00
|
|
|
while !is.eof()? {
|
|
|
|
let (field_number, wire_type) = is.read_tag_unpack()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
match field_number {
|
|
|
|
1 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_sint32()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.year = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
2 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_sint32()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.month = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
3 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_sint32()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.day = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
_ => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|
|
|
|
::std::result::Result::Ok(())
|
|
|
|
}
|
|
|
|
|
|
|
|
// Compute sizes of nested messages
|
|
|
|
#[allow(unused_variables)]
|
|
|
|
fn compute_size(&self) -> u32 {
|
|
|
|
let mut my_size = 0;
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.year {
|
|
|
|
my_size += ::protobuf::rt::value_varint_zigzag_size(1, v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.month {
|
|
|
|
my_size += ::protobuf::rt::value_varint_zigzag_size(2, v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.day {
|
|
|
|
my_size += ::protobuf::rt::value_varint_zigzag_size(3, v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
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 let Some(v) = self.year {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_sint32(1, v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
if let Some(v) = self.month {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_sint32(2, v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
if let Some(v) = self.day {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_sint32(3, v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
::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
|
|
|
|
}
|
2017-09-30 22:51:05 +00:00
|
|
|
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
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
|
|
|
|
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
|
|
|
|
::protobuf::MessageStatic::descriptor_static(None::<Self>)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::MessageStatic for Date {
|
|
|
|
fn new() -> Date {
|
|
|
|
Date::new()
|
|
|
|
}
|
|
|
|
|
|
|
|
fn descriptor_static(_: ::std::option::Option<Date>) -> &'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();
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeSint32>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"year",
|
2017-01-18 05:58:12 +00:00
|
|
|
Date::get_year_for_reflect,
|
|
|
|
Date::mut_year_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeSint32>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"month",
|
2017-01-18 05:58:12 +00:00
|
|
|
Date::get_month_for_reflect,
|
|
|
|
Date::mut_month_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeSint32>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"day",
|
2017-01-18 05:58:12 +00:00
|
|
|
Date::get_day_for_reflect,
|
|
|
|
Date::mut_day_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
|
|
|
::protobuf::reflect::MessageDescriptor::new::<Date>(
|
|
|
|
"Date",
|
|
|
|
fields,
|
|
|
|
file_descriptor_proto()
|
|
|
|
)
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Clear for Date {
|
|
|
|
fn clear(&mut self) {
|
|
|
|
self.clear_year();
|
|
|
|
self.clear_month();
|
|
|
|
self.clear_day();
|
|
|
|
self.unknown_fields.clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::fmt::Debug for Date {
|
|
|
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
|
|
|
::protobuf::text_format::fmt(self, f)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for Date {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(PartialEq,Clone,Default)]
|
2016-11-21 02:48:17 +00:00
|
|
|
pub struct Album {
|
|
|
|
// message fields
|
|
|
|
gid: ::protobuf::SingularField<::std::vec::Vec<u8>>,
|
|
|
|
name: ::protobuf::SingularField<::std::string::String>,
|
|
|
|
artist: ::protobuf::RepeatedField<Artist>,
|
|
|
|
typ: ::std::option::Option<Album_Type>,
|
|
|
|
label: ::protobuf::SingularField<::std::string::String>,
|
|
|
|
date: ::protobuf::SingularPtrField<Date>,
|
|
|
|
popularity: ::std::option::Option<i32>,
|
|
|
|
genre: ::protobuf::RepeatedField<::std::string::String>,
|
|
|
|
cover: ::protobuf::RepeatedField<Image>,
|
|
|
|
external_id: ::protobuf::RepeatedField<ExternalId>,
|
|
|
|
disc: ::protobuf::RepeatedField<Disc>,
|
|
|
|
review: ::protobuf::RepeatedField<::std::string::String>,
|
|
|
|
copyright: ::protobuf::RepeatedField<Copyright>,
|
|
|
|
restriction: ::protobuf::RepeatedField<Restriction>,
|
|
|
|
related: ::protobuf::RepeatedField<Album>,
|
|
|
|
sale_period: ::protobuf::RepeatedField<SalePeriod>,
|
|
|
|
cover_group: ::protobuf::SingularPtrField<ImageGroup>,
|
|
|
|
// special fields
|
|
|
|
unknown_fields: ::protobuf::UnknownFields,
|
2017-01-18 05:58:12 +00:00
|
|
|
cached_size: ::protobuf::CachedSize,
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// see codegen.rs for the explanation why impl Sync explicitly
|
|
|
|
unsafe impl ::std::marker::Sync for Album {}
|
|
|
|
|
|
|
|
impl Album {
|
|
|
|
pub fn new() -> Album {
|
|
|
|
::std::default::Default::default()
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn default_instance() -> &'static Album {
|
|
|
|
static mut instance: ::protobuf::lazy::Lazy<Album> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const Album,
|
|
|
|
};
|
|
|
|
unsafe {
|
2017-01-18 05:58:12 +00:00
|
|
|
instance.get(Album::new)
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// optional bytes gid = 1;
|
|
|
|
|
|
|
|
pub fn clear_gid(&mut self) {
|
|
|
|
self.gid.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_gid(&self) -> bool {
|
|
|
|
self.gid.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_gid(&mut self, v: ::std::vec::Vec<u8>) {
|
|
|
|
self.gid = ::protobuf::SingularField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_gid(&mut self) -> &mut ::std::vec::Vec<u8> {
|
|
|
|
if self.gid.is_none() {
|
|
|
|
self.gid.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.gid.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_gid(&mut self) -> ::std::vec::Vec<u8> {
|
|
|
|
self.gid.take().unwrap_or_else(|| ::std::vec::Vec::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_gid(&self) -> &[u8] {
|
|
|
|
match self.gid.as_ref() {
|
|
|
|
Some(v) => &v,
|
|
|
|
None => &[],
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_gid_for_reflect(&self) -> &::protobuf::SingularField<::std::vec::Vec<u8>> {
|
|
|
|
&self.gid
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_gid_for_reflect(&mut self) -> &mut ::protobuf::SingularField<::std::vec::Vec<u8>> {
|
|
|
|
&mut self.gid
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional string name = 2;
|
|
|
|
|
|
|
|
pub fn clear_name(&mut self) {
|
|
|
|
self.name.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_name(&self) -> bool {
|
|
|
|
self.name.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_name(&mut self, v: ::std::string::String) {
|
|
|
|
self.name = ::protobuf::SingularField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_name(&mut self) -> &mut ::std::string::String {
|
|
|
|
if self.name.is_none() {
|
|
|
|
self.name.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.name.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_name(&mut self) -> ::std::string::String {
|
|
|
|
self.name.take().unwrap_or_else(|| ::std::string::String::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_name(&self) -> &str {
|
|
|
|
match self.name.as_ref() {
|
|
|
|
Some(v) => &v,
|
|
|
|
None => "",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_name_for_reflect(&self) -> &::protobuf::SingularField<::std::string::String> {
|
|
|
|
&self.name
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_name_for_reflect(&mut self) -> &mut ::protobuf::SingularField<::std::string::String> {
|
|
|
|
&mut self.name
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .Artist artist = 3;
|
|
|
|
|
|
|
|
pub fn clear_artist(&mut self) {
|
|
|
|
self.artist.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_artist(&mut self, v: ::protobuf::RepeatedField<Artist>) {
|
|
|
|
self.artist = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_artist(&mut self) -> &mut ::protobuf::RepeatedField<Artist> {
|
|
|
|
&mut self.artist
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_artist(&mut self) -> ::protobuf::RepeatedField<Artist> {
|
|
|
|
::std::mem::replace(&mut self.artist, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_artist(&self) -> &[Artist] {
|
|
|
|
&self.artist
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_artist_for_reflect(&self) -> &::protobuf::RepeatedField<Artist> {
|
|
|
|
&self.artist
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_artist_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<Artist> {
|
|
|
|
&mut self.artist
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional .Album.Type typ = 4;
|
|
|
|
|
|
|
|
pub fn clear_typ(&mut self) {
|
|
|
|
self.typ = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_typ(&self) -> bool {
|
|
|
|
self.typ.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_typ(&mut self, v: Album_Type) {
|
|
|
|
self.typ = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_typ(&self) -> Album_Type {
|
|
|
|
self.typ.unwrap_or(Album_Type::ALBUM)
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_typ_for_reflect(&self) -> &::std::option::Option<Album_Type> {
|
|
|
|
&self.typ
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_typ_for_reflect(&mut self) -> &mut ::std::option::Option<Album_Type> {
|
|
|
|
&mut self.typ
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional string label = 5;
|
|
|
|
|
|
|
|
pub fn clear_label(&mut self) {
|
|
|
|
self.label.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_label(&self) -> bool {
|
|
|
|
self.label.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_label(&mut self, v: ::std::string::String) {
|
|
|
|
self.label = ::protobuf::SingularField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_label(&mut self) -> &mut ::std::string::String {
|
|
|
|
if self.label.is_none() {
|
|
|
|
self.label.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.label.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_label(&mut self) -> ::std::string::String {
|
|
|
|
self.label.take().unwrap_or_else(|| ::std::string::String::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_label(&self) -> &str {
|
|
|
|
match self.label.as_ref() {
|
|
|
|
Some(v) => &v,
|
|
|
|
None => "",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_label_for_reflect(&self) -> &::protobuf::SingularField<::std::string::String> {
|
|
|
|
&self.label
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_label_for_reflect(&mut self) -> &mut ::protobuf::SingularField<::std::string::String> {
|
|
|
|
&mut self.label
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional .Date date = 6;
|
|
|
|
|
|
|
|
pub fn clear_date(&mut self) {
|
|
|
|
self.date.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_date(&self) -> bool {
|
|
|
|
self.date.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_date(&mut self, v: Date) {
|
|
|
|
self.date = ::protobuf::SingularPtrField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_date(&mut self) -> &mut Date {
|
|
|
|
if self.date.is_none() {
|
|
|
|
self.date.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.date.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_date(&mut self) -> Date {
|
|
|
|
self.date.take().unwrap_or_else(|| Date::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_date(&self) -> &Date {
|
|
|
|
self.date.as_ref().unwrap_or_else(|| Date::default_instance())
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_date_for_reflect(&self) -> &::protobuf::SingularPtrField<Date> {
|
|
|
|
&self.date
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_date_for_reflect(&mut self) -> &mut ::protobuf::SingularPtrField<Date> {
|
|
|
|
&mut self.date
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional sint32 popularity = 7;
|
|
|
|
|
|
|
|
pub fn clear_popularity(&mut self) {
|
|
|
|
self.popularity = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_popularity(&self) -> bool {
|
|
|
|
self.popularity.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_popularity(&mut self, v: i32) {
|
|
|
|
self.popularity = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_popularity(&self) -> i32 {
|
|
|
|
self.popularity.unwrap_or(0)
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_popularity_for_reflect(&self) -> &::std::option::Option<i32> {
|
|
|
|
&self.popularity
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_popularity_for_reflect(&mut self) -> &mut ::std::option::Option<i32> {
|
|
|
|
&mut self.popularity
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated string genre = 8;
|
|
|
|
|
|
|
|
pub fn clear_genre(&mut self) {
|
|
|
|
self.genre.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_genre(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) {
|
|
|
|
self.genre = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_genre(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
|
|
|
|
&mut self.genre
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_genre(&mut self) -> ::protobuf::RepeatedField<::std::string::String> {
|
|
|
|
::std::mem::replace(&mut self.genre, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_genre(&self) -> &[::std::string::String] {
|
|
|
|
&self.genre
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_genre_for_reflect(&self) -> &::protobuf::RepeatedField<::std::string::String> {
|
|
|
|
&self.genre
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_genre_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
|
|
|
|
&mut self.genre
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .Image cover = 9;
|
|
|
|
|
|
|
|
pub fn clear_cover(&mut self) {
|
|
|
|
self.cover.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_cover(&mut self, v: ::protobuf::RepeatedField<Image>) {
|
|
|
|
self.cover = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_cover(&mut self) -> &mut ::protobuf::RepeatedField<Image> {
|
|
|
|
&mut self.cover
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_cover(&mut self) -> ::protobuf::RepeatedField<Image> {
|
|
|
|
::std::mem::replace(&mut self.cover, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_cover(&self) -> &[Image] {
|
|
|
|
&self.cover
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_cover_for_reflect(&self) -> &::protobuf::RepeatedField<Image> {
|
|
|
|
&self.cover
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_cover_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<Image> {
|
|
|
|
&mut self.cover
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .ExternalId external_id = 10;
|
|
|
|
|
|
|
|
pub fn clear_external_id(&mut self) {
|
|
|
|
self.external_id.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_external_id(&mut self, v: ::protobuf::RepeatedField<ExternalId>) {
|
|
|
|
self.external_id = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_external_id(&mut self) -> &mut ::protobuf::RepeatedField<ExternalId> {
|
|
|
|
&mut self.external_id
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_external_id(&mut self) -> ::protobuf::RepeatedField<ExternalId> {
|
|
|
|
::std::mem::replace(&mut self.external_id, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_external_id(&self) -> &[ExternalId] {
|
|
|
|
&self.external_id
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_external_id_for_reflect(&self) -> &::protobuf::RepeatedField<ExternalId> {
|
|
|
|
&self.external_id
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_external_id_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<ExternalId> {
|
|
|
|
&mut self.external_id
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .Disc disc = 11;
|
|
|
|
|
|
|
|
pub fn clear_disc(&mut self) {
|
|
|
|
self.disc.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_disc(&mut self, v: ::protobuf::RepeatedField<Disc>) {
|
|
|
|
self.disc = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_disc(&mut self) -> &mut ::protobuf::RepeatedField<Disc> {
|
|
|
|
&mut self.disc
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_disc(&mut self) -> ::protobuf::RepeatedField<Disc> {
|
|
|
|
::std::mem::replace(&mut self.disc, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_disc(&self) -> &[Disc] {
|
|
|
|
&self.disc
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_disc_for_reflect(&self) -> &::protobuf::RepeatedField<Disc> {
|
|
|
|
&self.disc
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_disc_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<Disc> {
|
|
|
|
&mut self.disc
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated string review = 12;
|
|
|
|
|
|
|
|
pub fn clear_review(&mut self) {
|
|
|
|
self.review.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_review(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) {
|
|
|
|
self.review = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_review(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
|
|
|
|
&mut self.review
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_review(&mut self) -> ::protobuf::RepeatedField<::std::string::String> {
|
|
|
|
::std::mem::replace(&mut self.review, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_review(&self) -> &[::std::string::String] {
|
|
|
|
&self.review
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_review_for_reflect(&self) -> &::protobuf::RepeatedField<::std::string::String> {
|
|
|
|
&self.review
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_review_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
|
|
|
|
&mut self.review
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .Copyright copyright = 13;
|
|
|
|
|
|
|
|
pub fn clear_copyright(&mut self) {
|
|
|
|
self.copyright.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_copyright(&mut self, v: ::protobuf::RepeatedField<Copyright>) {
|
|
|
|
self.copyright = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_copyright(&mut self) -> &mut ::protobuf::RepeatedField<Copyright> {
|
|
|
|
&mut self.copyright
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_copyright(&mut self) -> ::protobuf::RepeatedField<Copyright> {
|
|
|
|
::std::mem::replace(&mut self.copyright, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_copyright(&self) -> &[Copyright] {
|
|
|
|
&self.copyright
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_copyright_for_reflect(&self) -> &::protobuf::RepeatedField<Copyright> {
|
|
|
|
&self.copyright
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_copyright_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<Copyright> {
|
|
|
|
&mut self.copyright
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .Restriction restriction = 14;
|
|
|
|
|
|
|
|
pub fn clear_restriction(&mut self) {
|
|
|
|
self.restriction.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_restriction(&mut self, v: ::protobuf::RepeatedField<Restriction>) {
|
|
|
|
self.restriction = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_restriction(&mut self) -> &mut ::protobuf::RepeatedField<Restriction> {
|
|
|
|
&mut self.restriction
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_restriction(&mut self) -> ::protobuf::RepeatedField<Restriction> {
|
|
|
|
::std::mem::replace(&mut self.restriction, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_restriction(&self) -> &[Restriction] {
|
|
|
|
&self.restriction
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_restriction_for_reflect(&self) -> &::protobuf::RepeatedField<Restriction> {
|
|
|
|
&self.restriction
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_restriction_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<Restriction> {
|
|
|
|
&mut self.restriction
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .Album related = 15;
|
|
|
|
|
|
|
|
pub fn clear_related(&mut self) {
|
|
|
|
self.related.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_related(&mut self, v: ::protobuf::RepeatedField<Album>) {
|
|
|
|
self.related = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_related(&mut self) -> &mut ::protobuf::RepeatedField<Album> {
|
|
|
|
&mut self.related
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_related(&mut self) -> ::protobuf::RepeatedField<Album> {
|
|
|
|
::std::mem::replace(&mut self.related, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_related(&self) -> &[Album] {
|
|
|
|
&self.related
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_related_for_reflect(&self) -> &::protobuf::RepeatedField<Album> {
|
|
|
|
&self.related
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_related_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<Album> {
|
|
|
|
&mut self.related
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .SalePeriod sale_period = 16;
|
|
|
|
|
|
|
|
pub fn clear_sale_period(&mut self) {
|
|
|
|
self.sale_period.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_sale_period(&mut self, v: ::protobuf::RepeatedField<SalePeriod>) {
|
|
|
|
self.sale_period = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_sale_period(&mut self) -> &mut ::protobuf::RepeatedField<SalePeriod> {
|
|
|
|
&mut self.sale_period
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_sale_period(&mut self) -> ::protobuf::RepeatedField<SalePeriod> {
|
|
|
|
::std::mem::replace(&mut self.sale_period, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_sale_period(&self) -> &[SalePeriod] {
|
|
|
|
&self.sale_period
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_sale_period_for_reflect(&self) -> &::protobuf::RepeatedField<SalePeriod> {
|
|
|
|
&self.sale_period
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_sale_period_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<SalePeriod> {
|
|
|
|
&mut self.sale_period
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional .ImageGroup cover_group = 17;
|
|
|
|
|
|
|
|
pub fn clear_cover_group(&mut self) {
|
|
|
|
self.cover_group.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_cover_group(&self) -> bool {
|
|
|
|
self.cover_group.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_cover_group(&mut self, v: ImageGroup) {
|
|
|
|
self.cover_group = ::protobuf::SingularPtrField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_cover_group(&mut self) -> &mut ImageGroup {
|
|
|
|
if self.cover_group.is_none() {
|
|
|
|
self.cover_group.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.cover_group.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_cover_group(&mut self) -> ImageGroup {
|
|
|
|
self.cover_group.take().unwrap_or_else(|| ImageGroup::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_cover_group(&self) -> &ImageGroup {
|
|
|
|
self.cover_group.as_ref().unwrap_or_else(|| ImageGroup::default_instance())
|
|
|
|
}
|
2017-01-18 05:58:12 +00:00
|
|
|
|
|
|
|
fn get_cover_group_for_reflect(&self) -> &::protobuf::SingularPtrField<ImageGroup> {
|
|
|
|
&self.cover_group
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_cover_group_for_reflect(&mut self) -> &mut ::protobuf::SingularPtrField<ImageGroup> {
|
|
|
|
&mut self.cover_group
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Message for Album {
|
|
|
|
fn is_initialized(&self) -> bool {
|
|
|
|
true
|
|
|
|
}
|
|
|
|
|
|
|
|
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
|
2017-01-18 05:58:12 +00:00
|
|
|
while !is.eof()? {
|
|
|
|
let (field_number, wire_type) = is.read_tag_unpack()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
match field_number {
|
|
|
|
1 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.gid)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
2 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.name)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
3 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.artist)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
4 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_enum()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.typ = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
5 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.label)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
6 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.date)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
7 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_sint32()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.popularity = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
8 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.genre)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
9 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.cover)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
10 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.external_id)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
11 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.disc)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
12 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.review)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
13 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.copyright)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
14 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.restriction)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
15 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.related)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
16 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.sale_period)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
17 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.cover_group)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
_ => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|
|
|
|
::std::result::Result::Ok(())
|
|
|
|
}
|
|
|
|
|
|
|
|
// Compute sizes of nested messages
|
|
|
|
#[allow(unused_variables)]
|
|
|
|
fn compute_size(&self) -> u32 {
|
|
|
|
let mut my_size = 0;
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.gid.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
my_size += ::protobuf::rt::bytes_size(1, &v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.name.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
my_size += ::protobuf::rt::string_size(2, &v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
for value in &self.artist {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.typ {
|
|
|
|
my_size += ::protobuf::rt::enum_size(4, v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.label.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
my_size += ::protobuf::rt::string_size(5, &v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.date.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
let len = v.compute_size();
|
2016-11-21 02:48:17 +00:00
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.popularity {
|
|
|
|
my_size += ::protobuf::rt::value_varint_zigzag_size(7, v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
for value in &self.genre {
|
|
|
|
my_size += ::protobuf::rt::string_size(8, &value);
|
|
|
|
};
|
|
|
|
for value in &self.cover {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.external_id {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.disc {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.review {
|
|
|
|
my_size += ::protobuf::rt::string_size(12, &value);
|
|
|
|
};
|
|
|
|
for value in &self.copyright {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.restriction {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.related {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.sale_period {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 2 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.cover_group.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
let len = v.compute_size();
|
2016-11-21 02:48:17 +00:00
|
|
|
my_size += 2 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
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<()> {
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.gid.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_bytes(1, &v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.name.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_string(2, &v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
for v in &self.artist {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.typ {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_enum(4, v.value())?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.label.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_string(5, &v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.date.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(6, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
if let Some(v) = self.popularity {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_sint32(7, v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
for v in &self.genre {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_string(8, &v)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.cover {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(9, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.external_id {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(10, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.disc {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(11, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.review {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_string(12, &v)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.copyright {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(13, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.restriction {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(14, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.related {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(15, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.sale_period {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(16, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.cover_group.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(17, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
::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
|
|
|
|
}
|
2017-09-30 22:51:05 +00:00
|
|
|
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
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
|
|
|
|
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
|
|
|
|
::protobuf::MessageStatic::descriptor_static(None::<Self>)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::MessageStatic for Album {
|
|
|
|
fn new() -> Album {
|
|
|
|
Album::new()
|
|
|
|
}
|
|
|
|
|
|
|
|
fn descriptor_static(_: ::std::option::Option<Album>) -> &'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();
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"gid",
|
2017-01-18 05:58:12 +00:00
|
|
|
Album::get_gid_for_reflect,
|
|
|
|
Album::mut_gid_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"name",
|
2017-01-18 05:58:12 +00:00
|
|
|
Album::get_name_for_reflect,
|
|
|
|
Album::mut_name_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Artist>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"artist",
|
2017-01-18 05:58:12 +00:00
|
|
|
Album::get_artist_for_reflect,
|
|
|
|
Album::mut_artist_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeEnum<Album_Type>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"typ",
|
2017-01-18 05:58:12 +00:00
|
|
|
Album::get_typ_for_reflect,
|
|
|
|
Album::mut_typ_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"label",
|
2017-01-18 05:58:12 +00:00
|
|
|
Album::get_label_for_reflect,
|
|
|
|
Album::mut_label_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Date>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"date",
|
2017-01-18 05:58:12 +00:00
|
|
|
Album::get_date_for_reflect,
|
|
|
|
Album::mut_date_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeSint32>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"popularity",
|
2017-01-18 05:58:12 +00:00
|
|
|
Album::get_popularity_for_reflect,
|
|
|
|
Album::mut_popularity_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"genre",
|
2017-01-18 05:58:12 +00:00
|
|
|
Album::get_genre_for_reflect,
|
|
|
|
Album::mut_genre_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Image>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"cover",
|
2017-01-18 05:58:12 +00:00
|
|
|
Album::get_cover_for_reflect,
|
|
|
|
Album::mut_cover_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<ExternalId>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"external_id",
|
2017-01-18 05:58:12 +00:00
|
|
|
Album::get_external_id_for_reflect,
|
|
|
|
Album::mut_external_id_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Disc>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"disc",
|
2017-01-18 05:58:12 +00:00
|
|
|
Album::get_disc_for_reflect,
|
|
|
|
Album::mut_disc_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"review",
|
2017-01-18 05:58:12 +00:00
|
|
|
Album::get_review_for_reflect,
|
|
|
|
Album::mut_review_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Copyright>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"copyright",
|
2017-01-18 05:58:12 +00:00
|
|
|
Album::get_copyright_for_reflect,
|
|
|
|
Album::mut_copyright_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Restriction>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"restriction",
|
2017-01-18 05:58:12 +00:00
|
|
|
Album::get_restriction_for_reflect,
|
|
|
|
Album::mut_restriction_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Album>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"related",
|
2017-01-18 05:58:12 +00:00
|
|
|
Album::get_related_for_reflect,
|
|
|
|
Album::mut_related_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<SalePeriod>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"sale_period",
|
2017-01-18 05:58:12 +00:00
|
|
|
Album::get_sale_period_for_reflect,
|
|
|
|
Album::mut_sale_period_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<ImageGroup>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"cover_group",
|
2017-01-18 05:58:12 +00:00
|
|
|
Album::get_cover_group_for_reflect,
|
|
|
|
Album::mut_cover_group_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
|
|
|
::protobuf::reflect::MessageDescriptor::new::<Album>(
|
|
|
|
"Album",
|
|
|
|
fields,
|
|
|
|
file_descriptor_proto()
|
|
|
|
)
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Clear for Album {
|
|
|
|
fn clear(&mut self) {
|
|
|
|
self.clear_gid();
|
|
|
|
self.clear_name();
|
|
|
|
self.clear_artist();
|
|
|
|
self.clear_typ();
|
|
|
|
self.clear_label();
|
|
|
|
self.clear_date();
|
|
|
|
self.clear_popularity();
|
|
|
|
self.clear_genre();
|
|
|
|
self.clear_cover();
|
|
|
|
self.clear_external_id();
|
|
|
|
self.clear_disc();
|
|
|
|
self.clear_review();
|
|
|
|
self.clear_copyright();
|
|
|
|
self.clear_restriction();
|
|
|
|
self.clear_related();
|
|
|
|
self.clear_sale_period();
|
|
|
|
self.clear_cover_group();
|
|
|
|
self.unknown_fields.clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::fmt::Debug for Album {
|
|
|
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
|
|
|
::protobuf::text_format::fmt(self, f)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for Album {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
#[derive(Clone,PartialEq,Eq,Debug,Hash)]
|
|
|
|
pub enum Album_Type {
|
|
|
|
ALBUM = 1,
|
|
|
|
SINGLE = 2,
|
|
|
|
COMPILATION = 3,
|
2017-09-30 22:51:05 +00:00
|
|
|
EP = 4,
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::ProtobufEnum for Album_Type {
|
|
|
|
fn value(&self) -> i32 {
|
|
|
|
*self as i32
|
|
|
|
}
|
|
|
|
|
|
|
|
fn from_i32(value: i32) -> ::std::option::Option<Album_Type> {
|
|
|
|
match value {
|
|
|
|
1 => ::std::option::Option::Some(Album_Type::ALBUM),
|
|
|
|
2 => ::std::option::Option::Some(Album_Type::SINGLE),
|
|
|
|
3 => ::std::option::Option::Some(Album_Type::COMPILATION),
|
2017-09-30 22:51:05 +00:00
|
|
|
4 => ::std::option::Option::Some(Album_Type::EP),
|
2016-11-21 02:48:17 +00:00
|
|
|
_ => ::std::option::Option::None
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn values() -> &'static [Self] {
|
|
|
|
static values: &'static [Album_Type] = &[
|
|
|
|
Album_Type::ALBUM,
|
|
|
|
Album_Type::SINGLE,
|
|
|
|
Album_Type::COMPILATION,
|
2017-09-30 22:51:05 +00:00
|
|
|
Album_Type::EP,
|
2016-11-21 02:48:17 +00:00
|
|
|
];
|
|
|
|
values
|
|
|
|
}
|
|
|
|
|
2018-05-17 23:20:41 +00:00
|
|
|
fn enum_descriptor_static(_: Option<Album_Type>) -> &'static ::protobuf::reflect::EnumDescriptor {
|
2016-11-21 02:48:17 +00:00
|
|
|
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
|
|
|
|
};
|
|
|
|
unsafe {
|
|
|
|
descriptor.get(|| {
|
|
|
|
::protobuf::reflect::EnumDescriptor::new("Album_Type", file_descriptor_proto())
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::marker::Copy for Album_Type {
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for Album_Type {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(PartialEq,Clone,Default)]
|
2016-11-21 02:48:17 +00:00
|
|
|
pub struct Track {
|
|
|
|
// message fields
|
|
|
|
gid: ::protobuf::SingularField<::std::vec::Vec<u8>>,
|
|
|
|
name: ::protobuf::SingularField<::std::string::String>,
|
|
|
|
album: ::protobuf::SingularPtrField<Album>,
|
|
|
|
artist: ::protobuf::RepeatedField<Artist>,
|
|
|
|
number: ::std::option::Option<i32>,
|
|
|
|
disc_number: ::std::option::Option<i32>,
|
|
|
|
duration: ::std::option::Option<i32>,
|
|
|
|
popularity: ::std::option::Option<i32>,
|
|
|
|
explicit: ::std::option::Option<bool>,
|
|
|
|
external_id: ::protobuf::RepeatedField<ExternalId>,
|
|
|
|
restriction: ::protobuf::RepeatedField<Restriction>,
|
|
|
|
file: ::protobuf::RepeatedField<AudioFile>,
|
|
|
|
alternative: ::protobuf::RepeatedField<Track>,
|
|
|
|
sale_period: ::protobuf::RepeatedField<SalePeriod>,
|
|
|
|
preview: ::protobuf::RepeatedField<AudioFile>,
|
|
|
|
// special fields
|
|
|
|
unknown_fields: ::protobuf::UnknownFields,
|
2017-01-18 05:58:12 +00:00
|
|
|
cached_size: ::protobuf::CachedSize,
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// see codegen.rs for the explanation why impl Sync explicitly
|
|
|
|
unsafe impl ::std::marker::Sync for Track {}
|
|
|
|
|
|
|
|
impl Track {
|
|
|
|
pub fn new() -> Track {
|
|
|
|
::std::default::Default::default()
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn default_instance() -> &'static Track {
|
|
|
|
static mut instance: ::protobuf::lazy::Lazy<Track> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const Track,
|
|
|
|
};
|
|
|
|
unsafe {
|
2017-01-18 05:58:12 +00:00
|
|
|
instance.get(Track::new)
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// optional bytes gid = 1;
|
|
|
|
|
|
|
|
pub fn clear_gid(&mut self) {
|
|
|
|
self.gid.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_gid(&self) -> bool {
|
|
|
|
self.gid.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_gid(&mut self, v: ::std::vec::Vec<u8>) {
|
|
|
|
self.gid = ::protobuf::SingularField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_gid(&mut self) -> &mut ::std::vec::Vec<u8> {
|
|
|
|
if self.gid.is_none() {
|
|
|
|
self.gid.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.gid.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_gid(&mut self) -> ::std::vec::Vec<u8> {
|
|
|
|
self.gid.take().unwrap_or_else(|| ::std::vec::Vec::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_gid(&self) -> &[u8] {
|
|
|
|
match self.gid.as_ref() {
|
|
|
|
Some(v) => &v,
|
|
|
|
None => &[],
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_gid_for_reflect(&self) -> &::protobuf::SingularField<::std::vec::Vec<u8>> {
|
|
|
|
&self.gid
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_gid_for_reflect(&mut self) -> &mut ::protobuf::SingularField<::std::vec::Vec<u8>> {
|
|
|
|
&mut self.gid
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional string name = 2;
|
|
|
|
|
|
|
|
pub fn clear_name(&mut self) {
|
|
|
|
self.name.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_name(&self) -> bool {
|
|
|
|
self.name.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_name(&mut self, v: ::std::string::String) {
|
|
|
|
self.name = ::protobuf::SingularField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_name(&mut self) -> &mut ::std::string::String {
|
|
|
|
if self.name.is_none() {
|
|
|
|
self.name.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.name.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_name(&mut self) -> ::std::string::String {
|
|
|
|
self.name.take().unwrap_or_else(|| ::std::string::String::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_name(&self) -> &str {
|
|
|
|
match self.name.as_ref() {
|
|
|
|
Some(v) => &v,
|
|
|
|
None => "",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_name_for_reflect(&self) -> &::protobuf::SingularField<::std::string::String> {
|
|
|
|
&self.name
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_name_for_reflect(&mut self) -> &mut ::protobuf::SingularField<::std::string::String> {
|
|
|
|
&mut self.name
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional .Album album = 3;
|
|
|
|
|
|
|
|
pub fn clear_album(&mut self) {
|
|
|
|
self.album.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_album(&self) -> bool {
|
|
|
|
self.album.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_album(&mut self, v: Album) {
|
|
|
|
self.album = ::protobuf::SingularPtrField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_album(&mut self) -> &mut Album {
|
|
|
|
if self.album.is_none() {
|
|
|
|
self.album.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.album.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_album(&mut self) -> Album {
|
|
|
|
self.album.take().unwrap_or_else(|| Album::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_album(&self) -> &Album {
|
|
|
|
self.album.as_ref().unwrap_or_else(|| Album::default_instance())
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_album_for_reflect(&self) -> &::protobuf::SingularPtrField<Album> {
|
|
|
|
&self.album
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_album_for_reflect(&mut self) -> &mut ::protobuf::SingularPtrField<Album> {
|
|
|
|
&mut self.album
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .Artist artist = 4;
|
|
|
|
|
|
|
|
pub fn clear_artist(&mut self) {
|
|
|
|
self.artist.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_artist(&mut self, v: ::protobuf::RepeatedField<Artist>) {
|
|
|
|
self.artist = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_artist(&mut self) -> &mut ::protobuf::RepeatedField<Artist> {
|
|
|
|
&mut self.artist
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_artist(&mut self) -> ::protobuf::RepeatedField<Artist> {
|
|
|
|
::std::mem::replace(&mut self.artist, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_artist(&self) -> &[Artist] {
|
|
|
|
&self.artist
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_artist_for_reflect(&self) -> &::protobuf::RepeatedField<Artist> {
|
|
|
|
&self.artist
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_artist_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<Artist> {
|
|
|
|
&mut self.artist
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional sint32 number = 5;
|
|
|
|
|
|
|
|
pub fn clear_number(&mut self) {
|
|
|
|
self.number = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_number(&self) -> bool {
|
|
|
|
self.number.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_number(&mut self, v: i32) {
|
|
|
|
self.number = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_number(&self) -> i32 {
|
|
|
|
self.number.unwrap_or(0)
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_number_for_reflect(&self) -> &::std::option::Option<i32> {
|
|
|
|
&self.number
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_number_for_reflect(&mut self) -> &mut ::std::option::Option<i32> {
|
|
|
|
&mut self.number
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional sint32 disc_number = 6;
|
|
|
|
|
|
|
|
pub fn clear_disc_number(&mut self) {
|
|
|
|
self.disc_number = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_disc_number(&self) -> bool {
|
|
|
|
self.disc_number.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_disc_number(&mut self, v: i32) {
|
|
|
|
self.disc_number = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_disc_number(&self) -> i32 {
|
|
|
|
self.disc_number.unwrap_or(0)
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_disc_number_for_reflect(&self) -> &::std::option::Option<i32> {
|
|
|
|
&self.disc_number
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_disc_number_for_reflect(&mut self) -> &mut ::std::option::Option<i32> {
|
|
|
|
&mut self.disc_number
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional sint32 duration = 7;
|
|
|
|
|
|
|
|
pub fn clear_duration(&mut self) {
|
|
|
|
self.duration = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_duration(&self) -> bool {
|
|
|
|
self.duration.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_duration(&mut self, v: i32) {
|
|
|
|
self.duration = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_duration(&self) -> i32 {
|
|
|
|
self.duration.unwrap_or(0)
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_duration_for_reflect(&self) -> &::std::option::Option<i32> {
|
|
|
|
&self.duration
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_duration_for_reflect(&mut self) -> &mut ::std::option::Option<i32> {
|
|
|
|
&mut self.duration
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional sint32 popularity = 8;
|
|
|
|
|
|
|
|
pub fn clear_popularity(&mut self) {
|
|
|
|
self.popularity = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_popularity(&self) -> bool {
|
|
|
|
self.popularity.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_popularity(&mut self, v: i32) {
|
|
|
|
self.popularity = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_popularity(&self) -> i32 {
|
|
|
|
self.popularity.unwrap_or(0)
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_popularity_for_reflect(&self) -> &::std::option::Option<i32> {
|
|
|
|
&self.popularity
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_popularity_for_reflect(&mut self) -> &mut ::std::option::Option<i32> {
|
|
|
|
&mut self.popularity
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional bool explicit = 9;
|
|
|
|
|
|
|
|
pub fn clear_explicit(&mut self) {
|
|
|
|
self.explicit = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_explicit(&self) -> bool {
|
|
|
|
self.explicit.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_explicit(&mut self, v: bool) {
|
|
|
|
self.explicit = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_explicit(&self) -> bool {
|
|
|
|
self.explicit.unwrap_or(false)
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_explicit_for_reflect(&self) -> &::std::option::Option<bool> {
|
|
|
|
&self.explicit
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_explicit_for_reflect(&mut self) -> &mut ::std::option::Option<bool> {
|
|
|
|
&mut self.explicit
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .ExternalId external_id = 10;
|
|
|
|
|
|
|
|
pub fn clear_external_id(&mut self) {
|
|
|
|
self.external_id.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_external_id(&mut self, v: ::protobuf::RepeatedField<ExternalId>) {
|
|
|
|
self.external_id = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_external_id(&mut self) -> &mut ::protobuf::RepeatedField<ExternalId> {
|
|
|
|
&mut self.external_id
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_external_id(&mut self) -> ::protobuf::RepeatedField<ExternalId> {
|
|
|
|
::std::mem::replace(&mut self.external_id, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_external_id(&self) -> &[ExternalId] {
|
|
|
|
&self.external_id
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_external_id_for_reflect(&self) -> &::protobuf::RepeatedField<ExternalId> {
|
|
|
|
&self.external_id
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_external_id_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<ExternalId> {
|
|
|
|
&mut self.external_id
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .Restriction restriction = 11;
|
|
|
|
|
|
|
|
pub fn clear_restriction(&mut self) {
|
|
|
|
self.restriction.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_restriction(&mut self, v: ::protobuf::RepeatedField<Restriction>) {
|
|
|
|
self.restriction = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_restriction(&mut self) -> &mut ::protobuf::RepeatedField<Restriction> {
|
|
|
|
&mut self.restriction
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_restriction(&mut self) -> ::protobuf::RepeatedField<Restriction> {
|
|
|
|
::std::mem::replace(&mut self.restriction, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_restriction(&self) -> &[Restriction] {
|
|
|
|
&self.restriction
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_restriction_for_reflect(&self) -> &::protobuf::RepeatedField<Restriction> {
|
|
|
|
&self.restriction
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_restriction_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<Restriction> {
|
|
|
|
&mut self.restriction
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .AudioFile file = 12;
|
|
|
|
|
|
|
|
pub fn clear_file(&mut self) {
|
|
|
|
self.file.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_file(&mut self, v: ::protobuf::RepeatedField<AudioFile>) {
|
|
|
|
self.file = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_file(&mut self) -> &mut ::protobuf::RepeatedField<AudioFile> {
|
|
|
|
&mut self.file
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_file(&mut self) -> ::protobuf::RepeatedField<AudioFile> {
|
|
|
|
::std::mem::replace(&mut self.file, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_file(&self) -> &[AudioFile] {
|
|
|
|
&self.file
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_file_for_reflect(&self) -> &::protobuf::RepeatedField<AudioFile> {
|
|
|
|
&self.file
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_file_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<AudioFile> {
|
|
|
|
&mut self.file
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .Track alternative = 13;
|
|
|
|
|
|
|
|
pub fn clear_alternative(&mut self) {
|
|
|
|
self.alternative.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_alternative(&mut self, v: ::protobuf::RepeatedField<Track>) {
|
|
|
|
self.alternative = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_alternative(&mut self) -> &mut ::protobuf::RepeatedField<Track> {
|
|
|
|
&mut self.alternative
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_alternative(&mut self) -> ::protobuf::RepeatedField<Track> {
|
|
|
|
::std::mem::replace(&mut self.alternative, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
pub fn get_alternative(&self) -> &[Track] {
|
|
|
|
&self.alternative
|
|
|
|
}
|
|
|
|
|
|
|
|
fn get_alternative_for_reflect(&self) -> &::protobuf::RepeatedField<Track> {
|
2016-11-21 02:48:17 +00:00
|
|
|
&self.alternative
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn mut_alternative_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<Track> {
|
|
|
|
&mut self.alternative
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .SalePeriod sale_period = 14;
|
|
|
|
|
|
|
|
pub fn clear_sale_period(&mut self) {
|
|
|
|
self.sale_period.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_sale_period(&mut self, v: ::protobuf::RepeatedField<SalePeriod>) {
|
|
|
|
self.sale_period = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_sale_period(&mut self) -> &mut ::protobuf::RepeatedField<SalePeriod> {
|
|
|
|
&mut self.sale_period
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_sale_period(&mut self) -> ::protobuf::RepeatedField<SalePeriod> {
|
|
|
|
::std::mem::replace(&mut self.sale_period, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_sale_period(&self) -> &[SalePeriod] {
|
|
|
|
&self.sale_period
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_sale_period_for_reflect(&self) -> &::protobuf::RepeatedField<SalePeriod> {
|
|
|
|
&self.sale_period
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_sale_period_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<SalePeriod> {
|
|
|
|
&mut self.sale_period
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .AudioFile preview = 15;
|
|
|
|
|
|
|
|
pub fn clear_preview(&mut self) {
|
|
|
|
self.preview.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_preview(&mut self, v: ::protobuf::RepeatedField<AudioFile>) {
|
|
|
|
self.preview = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_preview(&mut self) -> &mut ::protobuf::RepeatedField<AudioFile> {
|
|
|
|
&mut self.preview
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_preview(&mut self) -> ::protobuf::RepeatedField<AudioFile> {
|
|
|
|
::std::mem::replace(&mut self.preview, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_preview(&self) -> &[AudioFile] {
|
|
|
|
&self.preview
|
|
|
|
}
|
2017-01-18 05:58:12 +00:00
|
|
|
|
|
|
|
fn get_preview_for_reflect(&self) -> &::protobuf::RepeatedField<AudioFile> {
|
|
|
|
&self.preview
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_preview_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<AudioFile> {
|
|
|
|
&mut self.preview
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Message for Track {
|
|
|
|
fn is_initialized(&self) -> bool {
|
|
|
|
true
|
|
|
|
}
|
|
|
|
|
|
|
|
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
|
2017-01-18 05:58:12 +00:00
|
|
|
while !is.eof()? {
|
|
|
|
let (field_number, wire_type) = is.read_tag_unpack()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
match field_number {
|
|
|
|
1 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.gid)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
2 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.name)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
3 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.album)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
4 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.artist)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
5 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_sint32()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.number = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
6 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_sint32()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.disc_number = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
7 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_sint32()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.duration = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
8 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_sint32()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.popularity = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
9 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_bool()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.explicit = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
10 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.external_id)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
11 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.restriction)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
12 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.file)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
13 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.alternative)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
14 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.sale_period)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
15 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.preview)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
_ => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|
|
|
|
::std::result::Result::Ok(())
|
|
|
|
}
|
|
|
|
|
|
|
|
// Compute sizes of nested messages
|
|
|
|
#[allow(unused_variables)]
|
|
|
|
fn compute_size(&self) -> u32 {
|
|
|
|
let mut my_size = 0;
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.gid.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
my_size += ::protobuf::rt::bytes_size(1, &v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.name.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
my_size += ::protobuf::rt::string_size(2, &v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.album.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
let len = v.compute_size();
|
2016-11-21 02:48:17 +00:00
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
for value in &self.artist {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.number {
|
|
|
|
my_size += ::protobuf::rt::value_varint_zigzag_size(5, v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.disc_number {
|
|
|
|
my_size += ::protobuf::rt::value_varint_zigzag_size(6, v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.duration {
|
|
|
|
my_size += ::protobuf::rt::value_varint_zigzag_size(7, v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.popularity {
|
|
|
|
my_size += ::protobuf::rt::value_varint_zigzag_size(8, v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.explicit {
|
2016-11-21 02:48:17 +00:00
|
|
|
my_size += 2;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
for value in &self.external_id {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.restriction {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.file {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.alternative {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.sale_period {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.preview {
|
|
|
|
let len = value.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<()> {
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.gid.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_bytes(1, &v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.name.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_string(2, &v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.album.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
for v in &self.artist {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.number {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_sint32(5, v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
if let Some(v) = self.disc_number {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_sint32(6, v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
if let Some(v) = self.duration {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_sint32(7, v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
if let Some(v) = self.popularity {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_sint32(8, v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
if let Some(v) = self.explicit {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_bool(9, v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
for v in &self.external_id {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(10, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.restriction {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(11, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.file {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(12, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.alternative {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(13, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.sale_period {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(14, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.preview {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(15, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
::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
|
|
|
|
}
|
2017-09-30 22:51:05 +00:00
|
|
|
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
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
|
|
|
|
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
|
|
|
|
::protobuf::MessageStatic::descriptor_static(None::<Self>)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::MessageStatic for Track {
|
|
|
|
fn new() -> Track {
|
|
|
|
Track::new()
|
|
|
|
}
|
|
|
|
|
|
|
|
fn descriptor_static(_: ::std::option::Option<Track>) -> &'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();
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"gid",
|
2017-01-18 05:58:12 +00:00
|
|
|
Track::get_gid_for_reflect,
|
|
|
|
Track::mut_gid_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"name",
|
2017-01-18 05:58:12 +00:00
|
|
|
Track::get_name_for_reflect,
|
|
|
|
Track::mut_name_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Album>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"album",
|
2017-01-18 05:58:12 +00:00
|
|
|
Track::get_album_for_reflect,
|
|
|
|
Track::mut_album_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Artist>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"artist",
|
2017-01-18 05:58:12 +00:00
|
|
|
Track::get_artist_for_reflect,
|
|
|
|
Track::mut_artist_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeSint32>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"number",
|
2017-01-18 05:58:12 +00:00
|
|
|
Track::get_number_for_reflect,
|
|
|
|
Track::mut_number_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeSint32>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"disc_number",
|
2017-01-18 05:58:12 +00:00
|
|
|
Track::get_disc_number_for_reflect,
|
|
|
|
Track::mut_disc_number_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeSint32>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"duration",
|
2017-01-18 05:58:12 +00:00
|
|
|
Track::get_duration_for_reflect,
|
|
|
|
Track::mut_duration_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeSint32>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"popularity",
|
2017-01-18 05:58:12 +00:00
|
|
|
Track::get_popularity_for_reflect,
|
|
|
|
Track::mut_popularity_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeBool>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"explicit",
|
2017-01-18 05:58:12 +00:00
|
|
|
Track::get_explicit_for_reflect,
|
|
|
|
Track::mut_explicit_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<ExternalId>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"external_id",
|
2017-01-18 05:58:12 +00:00
|
|
|
Track::get_external_id_for_reflect,
|
|
|
|
Track::mut_external_id_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Restriction>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"restriction",
|
2017-01-18 05:58:12 +00:00
|
|
|
Track::get_restriction_for_reflect,
|
|
|
|
Track::mut_restriction_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<AudioFile>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"file",
|
2017-01-18 05:58:12 +00:00
|
|
|
Track::get_file_for_reflect,
|
|
|
|
Track::mut_file_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Track>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"alternative",
|
2017-01-18 05:58:12 +00:00
|
|
|
Track::get_alternative_for_reflect,
|
|
|
|
Track::mut_alternative_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<SalePeriod>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"sale_period",
|
2017-01-18 05:58:12 +00:00
|
|
|
Track::get_sale_period_for_reflect,
|
|
|
|
Track::mut_sale_period_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<AudioFile>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"preview",
|
2017-01-18 05:58:12 +00:00
|
|
|
Track::get_preview_for_reflect,
|
|
|
|
Track::mut_preview_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
|
|
|
::protobuf::reflect::MessageDescriptor::new::<Track>(
|
|
|
|
"Track",
|
|
|
|
fields,
|
|
|
|
file_descriptor_proto()
|
|
|
|
)
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Clear for Track {
|
|
|
|
fn clear(&mut self) {
|
|
|
|
self.clear_gid();
|
|
|
|
self.clear_name();
|
|
|
|
self.clear_album();
|
|
|
|
self.clear_artist();
|
|
|
|
self.clear_number();
|
|
|
|
self.clear_disc_number();
|
|
|
|
self.clear_duration();
|
|
|
|
self.clear_popularity();
|
|
|
|
self.clear_explicit();
|
|
|
|
self.clear_external_id();
|
|
|
|
self.clear_restriction();
|
|
|
|
self.clear_file();
|
|
|
|
self.clear_alternative();
|
|
|
|
self.clear_sale_period();
|
|
|
|
self.clear_preview();
|
|
|
|
self.unknown_fields.clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::fmt::Debug for Track {
|
|
|
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
|
|
|
::protobuf::text_format::fmt(self, f)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for Track {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(PartialEq,Clone,Default)]
|
2016-11-21 02:48:17 +00:00
|
|
|
pub struct Image {
|
|
|
|
// message fields
|
|
|
|
file_id: ::protobuf::SingularField<::std::vec::Vec<u8>>,
|
|
|
|
size: ::std::option::Option<Image_Size>,
|
|
|
|
width: ::std::option::Option<i32>,
|
|
|
|
height: ::std::option::Option<i32>,
|
|
|
|
// special fields
|
|
|
|
unknown_fields: ::protobuf::UnknownFields,
|
2017-01-18 05:58:12 +00:00
|
|
|
cached_size: ::protobuf::CachedSize,
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// see codegen.rs for the explanation why impl Sync explicitly
|
|
|
|
unsafe impl ::std::marker::Sync for Image {}
|
|
|
|
|
|
|
|
impl Image {
|
|
|
|
pub fn new() -> Image {
|
|
|
|
::std::default::Default::default()
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn default_instance() -> &'static Image {
|
|
|
|
static mut instance: ::protobuf::lazy::Lazy<Image> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const Image,
|
|
|
|
};
|
|
|
|
unsafe {
|
2017-01-18 05:58:12 +00:00
|
|
|
instance.get(Image::new)
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// optional bytes file_id = 1;
|
|
|
|
|
|
|
|
pub fn clear_file_id(&mut self) {
|
|
|
|
self.file_id.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_file_id(&self) -> bool {
|
|
|
|
self.file_id.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_file_id(&mut self, v: ::std::vec::Vec<u8>) {
|
|
|
|
self.file_id = ::protobuf::SingularField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_file_id(&mut self) -> &mut ::std::vec::Vec<u8> {
|
|
|
|
if self.file_id.is_none() {
|
|
|
|
self.file_id.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.file_id.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_file_id(&mut self) -> ::std::vec::Vec<u8> {
|
|
|
|
self.file_id.take().unwrap_or_else(|| ::std::vec::Vec::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_file_id(&self) -> &[u8] {
|
|
|
|
match self.file_id.as_ref() {
|
|
|
|
Some(v) => &v,
|
|
|
|
None => &[],
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_file_id_for_reflect(&self) -> &::protobuf::SingularField<::std::vec::Vec<u8>> {
|
|
|
|
&self.file_id
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_file_id_for_reflect(&mut self) -> &mut ::protobuf::SingularField<::std::vec::Vec<u8>> {
|
|
|
|
&mut self.file_id
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional .Image.Size size = 2;
|
|
|
|
|
|
|
|
pub fn clear_size(&mut self) {
|
|
|
|
self.size = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_size(&self) -> bool {
|
|
|
|
self.size.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_size(&mut self, v: Image_Size) {
|
|
|
|
self.size = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_size(&self) -> Image_Size {
|
|
|
|
self.size.unwrap_or(Image_Size::DEFAULT)
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_size_for_reflect(&self) -> &::std::option::Option<Image_Size> {
|
|
|
|
&self.size
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_size_for_reflect(&mut self) -> &mut ::std::option::Option<Image_Size> {
|
|
|
|
&mut self.size
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional sint32 width = 3;
|
|
|
|
|
|
|
|
pub fn clear_width(&mut self) {
|
|
|
|
self.width = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_width(&self) -> bool {
|
|
|
|
self.width.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_width(&mut self, v: i32) {
|
|
|
|
self.width = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_width(&self) -> i32 {
|
|
|
|
self.width.unwrap_or(0)
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_width_for_reflect(&self) -> &::std::option::Option<i32> {
|
|
|
|
&self.width
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_width_for_reflect(&mut self) -> &mut ::std::option::Option<i32> {
|
|
|
|
&mut self.width
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional sint32 height = 4;
|
|
|
|
|
|
|
|
pub fn clear_height(&mut self) {
|
|
|
|
self.height = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_height(&self) -> bool {
|
|
|
|
self.height.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_height(&mut self, v: i32) {
|
|
|
|
self.height = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_height(&self) -> i32 {
|
|
|
|
self.height.unwrap_or(0)
|
|
|
|
}
|
2017-01-18 05:58:12 +00:00
|
|
|
|
|
|
|
fn get_height_for_reflect(&self) -> &::std::option::Option<i32> {
|
|
|
|
&self.height
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_height_for_reflect(&mut self) -> &mut ::std::option::Option<i32> {
|
|
|
|
&mut self.height
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Message for Image {
|
|
|
|
fn is_initialized(&self) -> bool {
|
|
|
|
true
|
|
|
|
}
|
|
|
|
|
|
|
|
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
|
2017-01-18 05:58:12 +00:00
|
|
|
while !is.eof()? {
|
|
|
|
let (field_number, wire_type) = is.read_tag_unpack()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
match field_number {
|
|
|
|
1 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.file_id)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
2 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_enum()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.size = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
3 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_sint32()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.width = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
4 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_sint32()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.height = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
_ => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|
|
|
|
::std::result::Result::Ok(())
|
|
|
|
}
|
|
|
|
|
|
|
|
// Compute sizes of nested messages
|
|
|
|
#[allow(unused_variables)]
|
|
|
|
fn compute_size(&self) -> u32 {
|
|
|
|
let mut my_size = 0;
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.file_id.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
my_size += ::protobuf::rt::bytes_size(1, &v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.size {
|
|
|
|
my_size += ::protobuf::rt::enum_size(2, v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.width {
|
|
|
|
my_size += ::protobuf::rt::value_varint_zigzag_size(3, v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.height {
|
|
|
|
my_size += ::protobuf::rt::value_varint_zigzag_size(4, v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
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<()> {
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.file_id.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_bytes(1, &v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
if let Some(v) = self.size {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_enum(2, v.value())?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
if let Some(v) = self.width {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_sint32(3, v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
if let Some(v) = self.height {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_sint32(4, v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
::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
|
|
|
|
}
|
2017-09-30 22:51:05 +00:00
|
|
|
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
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
|
|
|
|
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
|
|
|
|
::protobuf::MessageStatic::descriptor_static(None::<Self>)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::MessageStatic for Image {
|
|
|
|
fn new() -> Image {
|
|
|
|
Image::new()
|
|
|
|
}
|
|
|
|
|
|
|
|
fn descriptor_static(_: ::std::option::Option<Image>) -> &'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();
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"file_id",
|
2017-01-18 05:58:12 +00:00
|
|
|
Image::get_file_id_for_reflect,
|
|
|
|
Image::mut_file_id_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeEnum<Image_Size>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"size",
|
2017-01-18 05:58:12 +00:00
|
|
|
Image::get_size_for_reflect,
|
|
|
|
Image::mut_size_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeSint32>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"width",
|
2017-01-18 05:58:12 +00:00
|
|
|
Image::get_width_for_reflect,
|
|
|
|
Image::mut_width_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeSint32>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"height",
|
2017-01-18 05:58:12 +00:00
|
|
|
Image::get_height_for_reflect,
|
|
|
|
Image::mut_height_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
|
|
|
::protobuf::reflect::MessageDescriptor::new::<Image>(
|
|
|
|
"Image",
|
|
|
|
fields,
|
|
|
|
file_descriptor_proto()
|
|
|
|
)
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Clear for Image {
|
|
|
|
fn clear(&mut self) {
|
|
|
|
self.clear_file_id();
|
|
|
|
self.clear_size();
|
|
|
|
self.clear_width();
|
|
|
|
self.clear_height();
|
|
|
|
self.unknown_fields.clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::fmt::Debug for Image {
|
|
|
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
|
|
|
::protobuf::text_format::fmt(self, f)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for Image {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
#[derive(Clone,PartialEq,Eq,Debug,Hash)]
|
|
|
|
pub enum Image_Size {
|
|
|
|
DEFAULT = 0,
|
|
|
|
SMALL = 1,
|
|
|
|
LARGE = 2,
|
|
|
|
XLARGE = 3,
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::ProtobufEnum for Image_Size {
|
|
|
|
fn value(&self) -> i32 {
|
|
|
|
*self as i32
|
|
|
|
}
|
|
|
|
|
|
|
|
fn from_i32(value: i32) -> ::std::option::Option<Image_Size> {
|
|
|
|
match value {
|
|
|
|
0 => ::std::option::Option::Some(Image_Size::DEFAULT),
|
|
|
|
1 => ::std::option::Option::Some(Image_Size::SMALL),
|
|
|
|
2 => ::std::option::Option::Some(Image_Size::LARGE),
|
|
|
|
3 => ::std::option::Option::Some(Image_Size::XLARGE),
|
|
|
|
_ => ::std::option::Option::None
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn values() -> &'static [Self] {
|
|
|
|
static values: &'static [Image_Size] = &[
|
|
|
|
Image_Size::DEFAULT,
|
|
|
|
Image_Size::SMALL,
|
|
|
|
Image_Size::LARGE,
|
|
|
|
Image_Size::XLARGE,
|
|
|
|
];
|
|
|
|
values
|
|
|
|
}
|
|
|
|
|
2018-05-17 23:20:41 +00:00
|
|
|
fn enum_descriptor_static(_: Option<Image_Size>) -> &'static ::protobuf::reflect::EnumDescriptor {
|
2016-11-21 02:48:17 +00:00
|
|
|
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
|
|
|
|
};
|
|
|
|
unsafe {
|
|
|
|
descriptor.get(|| {
|
|
|
|
::protobuf::reflect::EnumDescriptor::new("Image_Size", file_descriptor_proto())
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::marker::Copy for Image_Size {
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for Image_Size {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(PartialEq,Clone,Default)]
|
2016-11-21 02:48:17 +00:00
|
|
|
pub struct ImageGroup {
|
|
|
|
// message fields
|
|
|
|
image: ::protobuf::RepeatedField<Image>,
|
|
|
|
// special fields
|
|
|
|
unknown_fields: ::protobuf::UnknownFields,
|
2017-01-18 05:58:12 +00:00
|
|
|
cached_size: ::protobuf::CachedSize,
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// see codegen.rs for the explanation why impl Sync explicitly
|
|
|
|
unsafe impl ::std::marker::Sync for ImageGroup {}
|
|
|
|
|
|
|
|
impl ImageGroup {
|
|
|
|
pub fn new() -> ImageGroup {
|
|
|
|
::std::default::Default::default()
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn default_instance() -> &'static ImageGroup {
|
|
|
|
static mut instance: ::protobuf::lazy::Lazy<ImageGroup> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const ImageGroup,
|
|
|
|
};
|
|
|
|
unsafe {
|
2017-01-18 05:58:12 +00:00
|
|
|
instance.get(ImageGroup::new)
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// repeated .Image image = 1;
|
|
|
|
|
|
|
|
pub fn clear_image(&mut self) {
|
|
|
|
self.image.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_image(&mut self, v: ::protobuf::RepeatedField<Image>) {
|
|
|
|
self.image = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_image(&mut self) -> &mut ::protobuf::RepeatedField<Image> {
|
|
|
|
&mut self.image
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_image(&mut self) -> ::protobuf::RepeatedField<Image> {
|
|
|
|
::std::mem::replace(&mut self.image, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_image(&self) -> &[Image] {
|
|
|
|
&self.image
|
|
|
|
}
|
2017-01-18 05:58:12 +00:00
|
|
|
|
|
|
|
fn get_image_for_reflect(&self) -> &::protobuf::RepeatedField<Image> {
|
|
|
|
&self.image
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_image_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<Image> {
|
|
|
|
&mut self.image
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Message for ImageGroup {
|
|
|
|
fn is_initialized(&self) -> bool {
|
|
|
|
true
|
|
|
|
}
|
|
|
|
|
|
|
|
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
|
2017-01-18 05:58:12 +00:00
|
|
|
while !is.eof()? {
|
|
|
|
let (field_number, wire_type) = is.read_tag_unpack()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
match field_number {
|
|
|
|
1 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.image)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
_ => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|
|
|
|
::std::result::Result::Ok(())
|
|
|
|
}
|
|
|
|
|
|
|
|
// Compute sizes of nested messages
|
|
|
|
#[allow(unused_variables)]
|
|
|
|
fn compute_size(&self) -> u32 {
|
|
|
|
let mut my_size = 0;
|
|
|
|
for value in &self.image {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
|
|
|
|
self.cached_size.set(my_size);
|
|
|
|
my_size
|
|
|
|
}
|
|
|
|
|
|
|
|
fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
|
|
|
|
for v in &self.image {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
::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
|
|
|
|
}
|
2017-09-30 22:51:05 +00:00
|
|
|
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
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
|
|
|
|
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
|
|
|
|
::protobuf::MessageStatic::descriptor_static(None::<Self>)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::MessageStatic for ImageGroup {
|
|
|
|
fn new() -> ImageGroup {
|
|
|
|
ImageGroup::new()
|
|
|
|
}
|
|
|
|
|
|
|
|
fn descriptor_static(_: ::std::option::Option<ImageGroup>) -> &'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();
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Image>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"image",
|
2017-01-18 05:58:12 +00:00
|
|
|
ImageGroup::get_image_for_reflect,
|
|
|
|
ImageGroup::mut_image_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
|
|
|
::protobuf::reflect::MessageDescriptor::new::<ImageGroup>(
|
|
|
|
"ImageGroup",
|
|
|
|
fields,
|
|
|
|
file_descriptor_proto()
|
|
|
|
)
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Clear for ImageGroup {
|
|
|
|
fn clear(&mut self) {
|
|
|
|
self.clear_image();
|
|
|
|
self.unknown_fields.clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::fmt::Debug for ImageGroup {
|
|
|
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
|
|
|
::protobuf::text_format::fmt(self, f)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for ImageGroup {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(PartialEq,Clone,Default)]
|
2016-11-21 02:48:17 +00:00
|
|
|
pub struct Biography {
|
|
|
|
// message fields
|
|
|
|
text: ::protobuf::SingularField<::std::string::String>,
|
|
|
|
portrait: ::protobuf::RepeatedField<Image>,
|
|
|
|
portrait_group: ::protobuf::RepeatedField<ImageGroup>,
|
|
|
|
// special fields
|
|
|
|
unknown_fields: ::protobuf::UnknownFields,
|
2017-01-18 05:58:12 +00:00
|
|
|
cached_size: ::protobuf::CachedSize,
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// see codegen.rs for the explanation why impl Sync explicitly
|
|
|
|
unsafe impl ::std::marker::Sync for Biography {}
|
|
|
|
|
|
|
|
impl Biography {
|
|
|
|
pub fn new() -> Biography {
|
|
|
|
::std::default::Default::default()
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn default_instance() -> &'static Biography {
|
|
|
|
static mut instance: ::protobuf::lazy::Lazy<Biography> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const Biography,
|
|
|
|
};
|
|
|
|
unsafe {
|
2017-01-18 05:58:12 +00:00
|
|
|
instance.get(Biography::new)
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// optional string text = 1;
|
|
|
|
|
|
|
|
pub fn clear_text(&mut self) {
|
|
|
|
self.text.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_text(&self) -> bool {
|
|
|
|
self.text.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_text(&mut self, v: ::std::string::String) {
|
|
|
|
self.text = ::protobuf::SingularField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_text(&mut self) -> &mut ::std::string::String {
|
|
|
|
if self.text.is_none() {
|
|
|
|
self.text.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.text.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_text(&mut self) -> ::std::string::String {
|
|
|
|
self.text.take().unwrap_or_else(|| ::std::string::String::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_text(&self) -> &str {
|
|
|
|
match self.text.as_ref() {
|
|
|
|
Some(v) => &v,
|
|
|
|
None => "",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_text_for_reflect(&self) -> &::protobuf::SingularField<::std::string::String> {
|
|
|
|
&self.text
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_text_for_reflect(&mut self) -> &mut ::protobuf::SingularField<::std::string::String> {
|
|
|
|
&mut self.text
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .Image portrait = 2;
|
|
|
|
|
|
|
|
pub fn clear_portrait(&mut self) {
|
|
|
|
self.portrait.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_portrait(&mut self, v: ::protobuf::RepeatedField<Image>) {
|
|
|
|
self.portrait = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_portrait(&mut self) -> &mut ::protobuf::RepeatedField<Image> {
|
|
|
|
&mut self.portrait
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_portrait(&mut self) -> ::protobuf::RepeatedField<Image> {
|
|
|
|
::std::mem::replace(&mut self.portrait, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_portrait(&self) -> &[Image] {
|
|
|
|
&self.portrait
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_portrait_for_reflect(&self) -> &::protobuf::RepeatedField<Image> {
|
|
|
|
&self.portrait
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_portrait_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<Image> {
|
|
|
|
&mut self.portrait
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .ImageGroup portrait_group = 3;
|
|
|
|
|
|
|
|
pub fn clear_portrait_group(&mut self) {
|
|
|
|
self.portrait_group.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_portrait_group(&mut self, v: ::protobuf::RepeatedField<ImageGroup>) {
|
|
|
|
self.portrait_group = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_portrait_group(&mut self) -> &mut ::protobuf::RepeatedField<ImageGroup> {
|
|
|
|
&mut self.portrait_group
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_portrait_group(&mut self) -> ::protobuf::RepeatedField<ImageGroup> {
|
|
|
|
::std::mem::replace(&mut self.portrait_group, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_portrait_group(&self) -> &[ImageGroup] {
|
|
|
|
&self.portrait_group
|
|
|
|
}
|
2017-01-18 05:58:12 +00:00
|
|
|
|
|
|
|
fn get_portrait_group_for_reflect(&self) -> &::protobuf::RepeatedField<ImageGroup> {
|
|
|
|
&self.portrait_group
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_portrait_group_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<ImageGroup> {
|
|
|
|
&mut self.portrait_group
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Message for Biography {
|
|
|
|
fn is_initialized(&self) -> bool {
|
|
|
|
true
|
|
|
|
}
|
|
|
|
|
|
|
|
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
|
2017-01-18 05:58:12 +00:00
|
|
|
while !is.eof()? {
|
|
|
|
let (field_number, wire_type) = is.read_tag_unpack()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
match field_number {
|
|
|
|
1 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.text)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
2 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.portrait)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
3 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.portrait_group)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
_ => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|
|
|
|
::std::result::Result::Ok(())
|
|
|
|
}
|
|
|
|
|
|
|
|
// Compute sizes of nested messages
|
|
|
|
#[allow(unused_variables)]
|
|
|
|
fn compute_size(&self) -> u32 {
|
|
|
|
let mut my_size = 0;
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.text.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
my_size += ::protobuf::rt::string_size(1, &v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
for value in &self.portrait {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
|
|
|
for value in &self.portrait_group {
|
|
|
|
let len = value.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<()> {
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.text.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_string(1, &v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
for v in &self.portrait {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
|
|
|
for v in &self.portrait_group {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
::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
|
|
|
|
}
|
2017-09-30 22:51:05 +00:00
|
|
|
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
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
|
|
|
|
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
|
|
|
|
::protobuf::MessageStatic::descriptor_static(None::<Self>)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::MessageStatic for Biography {
|
|
|
|
fn new() -> Biography {
|
|
|
|
Biography::new()
|
|
|
|
}
|
|
|
|
|
|
|
|
fn descriptor_static(_: ::std::option::Option<Biography>) -> &'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();
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"text",
|
2017-01-18 05:58:12 +00:00
|
|
|
Biography::get_text_for_reflect,
|
|
|
|
Biography::mut_text_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Image>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"portrait",
|
2017-01-18 05:58:12 +00:00
|
|
|
Biography::get_portrait_for_reflect,
|
|
|
|
Biography::mut_portrait_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<ImageGroup>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"portrait_group",
|
2017-01-18 05:58:12 +00:00
|
|
|
Biography::get_portrait_group_for_reflect,
|
|
|
|
Biography::mut_portrait_group_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
|
|
|
::protobuf::reflect::MessageDescriptor::new::<Biography>(
|
|
|
|
"Biography",
|
|
|
|
fields,
|
|
|
|
file_descriptor_proto()
|
|
|
|
)
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Clear for Biography {
|
|
|
|
fn clear(&mut self) {
|
|
|
|
self.clear_text();
|
|
|
|
self.clear_portrait();
|
|
|
|
self.clear_portrait_group();
|
|
|
|
self.unknown_fields.clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::fmt::Debug for Biography {
|
|
|
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
|
|
|
::protobuf::text_format::fmt(self, f)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for Biography {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(PartialEq,Clone,Default)]
|
2016-11-21 02:48:17 +00:00
|
|
|
pub struct Disc {
|
|
|
|
// message fields
|
|
|
|
number: ::std::option::Option<i32>,
|
|
|
|
name: ::protobuf::SingularField<::std::string::String>,
|
|
|
|
track: ::protobuf::RepeatedField<Track>,
|
|
|
|
// special fields
|
|
|
|
unknown_fields: ::protobuf::UnknownFields,
|
2017-01-18 05:58:12 +00:00
|
|
|
cached_size: ::protobuf::CachedSize,
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// see codegen.rs for the explanation why impl Sync explicitly
|
|
|
|
unsafe impl ::std::marker::Sync for Disc {}
|
|
|
|
|
|
|
|
impl Disc {
|
|
|
|
pub fn new() -> Disc {
|
|
|
|
::std::default::Default::default()
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn default_instance() -> &'static Disc {
|
|
|
|
static mut instance: ::protobuf::lazy::Lazy<Disc> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const Disc,
|
|
|
|
};
|
|
|
|
unsafe {
|
2017-01-18 05:58:12 +00:00
|
|
|
instance.get(Disc::new)
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// optional sint32 number = 1;
|
|
|
|
|
|
|
|
pub fn clear_number(&mut self) {
|
|
|
|
self.number = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_number(&self) -> bool {
|
|
|
|
self.number.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_number(&mut self, v: i32) {
|
|
|
|
self.number = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_number(&self) -> i32 {
|
|
|
|
self.number.unwrap_or(0)
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_number_for_reflect(&self) -> &::std::option::Option<i32> {
|
|
|
|
&self.number
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_number_for_reflect(&mut self) -> &mut ::std::option::Option<i32> {
|
|
|
|
&mut self.number
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional string name = 2;
|
|
|
|
|
|
|
|
pub fn clear_name(&mut self) {
|
|
|
|
self.name.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_name(&self) -> bool {
|
|
|
|
self.name.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_name(&mut self, v: ::std::string::String) {
|
|
|
|
self.name = ::protobuf::SingularField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_name(&mut self) -> &mut ::std::string::String {
|
|
|
|
if self.name.is_none() {
|
|
|
|
self.name.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.name.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_name(&mut self) -> ::std::string::String {
|
|
|
|
self.name.take().unwrap_or_else(|| ::std::string::String::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_name(&self) -> &str {
|
|
|
|
match self.name.as_ref() {
|
|
|
|
Some(v) => &v,
|
|
|
|
None => "",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_name_for_reflect(&self) -> &::protobuf::SingularField<::std::string::String> {
|
|
|
|
&self.name
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_name_for_reflect(&mut self) -> &mut ::protobuf::SingularField<::std::string::String> {
|
|
|
|
&mut self.name
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated .Track track = 3;
|
|
|
|
|
|
|
|
pub fn clear_track(&mut self) {
|
|
|
|
self.track.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_track(&mut self, v: ::protobuf::RepeatedField<Track>) {
|
|
|
|
self.track = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_track(&mut self) -> &mut ::protobuf::RepeatedField<Track> {
|
|
|
|
&mut self.track
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_track(&mut self) -> ::protobuf::RepeatedField<Track> {
|
|
|
|
::std::mem::replace(&mut self.track, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_track(&self) -> &[Track] {
|
|
|
|
&self.track
|
|
|
|
}
|
2017-01-18 05:58:12 +00:00
|
|
|
|
|
|
|
fn get_track_for_reflect(&self) -> &::protobuf::RepeatedField<Track> {
|
|
|
|
&self.track
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_track_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<Track> {
|
|
|
|
&mut self.track
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Message for Disc {
|
|
|
|
fn is_initialized(&self) -> bool {
|
|
|
|
true
|
|
|
|
}
|
|
|
|
|
|
|
|
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
|
2017-01-18 05:58:12 +00:00
|
|
|
while !is.eof()? {
|
|
|
|
let (field_number, wire_type) = is.read_tag_unpack()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
match field_number {
|
|
|
|
1 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_sint32()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.number = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
2 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.name)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
3 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.track)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
_ => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|
|
|
|
::std::result::Result::Ok(())
|
|
|
|
}
|
|
|
|
|
|
|
|
// Compute sizes of nested messages
|
|
|
|
#[allow(unused_variables)]
|
|
|
|
fn compute_size(&self) -> u32 {
|
|
|
|
let mut my_size = 0;
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.number {
|
|
|
|
my_size += ::protobuf::rt::value_varint_zigzag_size(1, v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.name.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
my_size += ::protobuf::rt::string_size(2, &v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
for value in &self.track {
|
|
|
|
let len = value.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 let Some(v) = self.number {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_sint32(1, v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.name.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_string(2, &v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
for v in &self.track {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
::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
|
|
|
|
}
|
2017-09-30 22:51:05 +00:00
|
|
|
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
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
|
|
|
|
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
|
|
|
|
::protobuf::MessageStatic::descriptor_static(None::<Self>)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::MessageStatic for Disc {
|
|
|
|
fn new() -> Disc {
|
|
|
|
Disc::new()
|
|
|
|
}
|
|
|
|
|
|
|
|
fn descriptor_static(_: ::std::option::Option<Disc>) -> &'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();
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeSint32>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"number",
|
2017-01-18 05:58:12 +00:00
|
|
|
Disc::get_number_for_reflect,
|
|
|
|
Disc::mut_number_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"name",
|
2017-01-18 05:58:12 +00:00
|
|
|
Disc::get_name_for_reflect,
|
|
|
|
Disc::mut_name_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Track>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"track",
|
2017-01-18 05:58:12 +00:00
|
|
|
Disc::get_track_for_reflect,
|
|
|
|
Disc::mut_track_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
|
|
|
::protobuf::reflect::MessageDescriptor::new::<Disc>(
|
|
|
|
"Disc",
|
|
|
|
fields,
|
|
|
|
file_descriptor_proto()
|
|
|
|
)
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Clear for Disc {
|
|
|
|
fn clear(&mut self) {
|
|
|
|
self.clear_number();
|
|
|
|
self.clear_name();
|
|
|
|
self.clear_track();
|
|
|
|
self.unknown_fields.clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::fmt::Debug for Disc {
|
|
|
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
|
|
|
::protobuf::text_format::fmt(self, f)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for Disc {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(PartialEq,Clone,Default)]
|
2016-11-21 02:48:17 +00:00
|
|
|
pub struct Copyright {
|
|
|
|
// message fields
|
|
|
|
typ: ::std::option::Option<Copyright_Type>,
|
|
|
|
text: ::protobuf::SingularField<::std::string::String>,
|
|
|
|
// special fields
|
|
|
|
unknown_fields: ::protobuf::UnknownFields,
|
2017-01-18 05:58:12 +00:00
|
|
|
cached_size: ::protobuf::CachedSize,
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// see codegen.rs for the explanation why impl Sync explicitly
|
|
|
|
unsafe impl ::std::marker::Sync for Copyright {}
|
|
|
|
|
|
|
|
impl Copyright {
|
|
|
|
pub fn new() -> Copyright {
|
|
|
|
::std::default::Default::default()
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn default_instance() -> &'static Copyright {
|
|
|
|
static mut instance: ::protobuf::lazy::Lazy<Copyright> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const Copyright,
|
|
|
|
};
|
|
|
|
unsafe {
|
2017-01-18 05:58:12 +00:00
|
|
|
instance.get(Copyright::new)
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// optional .Copyright.Type typ = 1;
|
|
|
|
|
|
|
|
pub fn clear_typ(&mut self) {
|
|
|
|
self.typ = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_typ(&self) -> bool {
|
|
|
|
self.typ.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_typ(&mut self, v: Copyright_Type) {
|
|
|
|
self.typ = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_typ(&self) -> Copyright_Type {
|
|
|
|
self.typ.unwrap_or(Copyright_Type::P)
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_typ_for_reflect(&self) -> &::std::option::Option<Copyright_Type> {
|
|
|
|
&self.typ
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_typ_for_reflect(&mut self) -> &mut ::std::option::Option<Copyright_Type> {
|
|
|
|
&mut self.typ
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional string text = 2;
|
|
|
|
|
|
|
|
pub fn clear_text(&mut self) {
|
|
|
|
self.text.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_text(&self) -> bool {
|
|
|
|
self.text.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_text(&mut self, v: ::std::string::String) {
|
|
|
|
self.text = ::protobuf::SingularField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_text(&mut self) -> &mut ::std::string::String {
|
|
|
|
if self.text.is_none() {
|
|
|
|
self.text.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.text.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_text(&mut self) -> ::std::string::String {
|
|
|
|
self.text.take().unwrap_or_else(|| ::std::string::String::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_text(&self) -> &str {
|
|
|
|
match self.text.as_ref() {
|
|
|
|
Some(v) => &v,
|
|
|
|
None => "",
|
|
|
|
}
|
|
|
|
}
|
2017-01-18 05:58:12 +00:00
|
|
|
|
|
|
|
fn get_text_for_reflect(&self) -> &::protobuf::SingularField<::std::string::String> {
|
|
|
|
&self.text
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_text_for_reflect(&mut self) -> &mut ::protobuf::SingularField<::std::string::String> {
|
|
|
|
&mut self.text
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Message for Copyright {
|
|
|
|
fn is_initialized(&self) -> bool {
|
|
|
|
true
|
|
|
|
}
|
|
|
|
|
|
|
|
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
|
2017-01-18 05:58:12 +00:00
|
|
|
while !is.eof()? {
|
|
|
|
let (field_number, wire_type) = is.read_tag_unpack()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
match field_number {
|
|
|
|
1 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_enum()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.typ = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
2 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.text)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
_ => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|
|
|
|
::std::result::Result::Ok(())
|
|
|
|
}
|
|
|
|
|
|
|
|
// Compute sizes of nested messages
|
|
|
|
#[allow(unused_variables)]
|
|
|
|
fn compute_size(&self) -> u32 {
|
|
|
|
let mut my_size = 0;
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.typ {
|
|
|
|
my_size += ::protobuf::rt::enum_size(1, v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.text.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
my_size += ::protobuf::rt::string_size(2, &v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
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 let Some(v) = self.typ {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_enum(1, v.value())?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.text.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_string(2, &v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
::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
|
|
|
|
}
|
2017-09-30 22:51:05 +00:00
|
|
|
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
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
|
|
|
|
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
|
|
|
|
::protobuf::MessageStatic::descriptor_static(None::<Self>)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::MessageStatic for Copyright {
|
|
|
|
fn new() -> Copyright {
|
|
|
|
Copyright::new()
|
|
|
|
}
|
|
|
|
|
|
|
|
fn descriptor_static(_: ::std::option::Option<Copyright>) -> &'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();
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeEnum<Copyright_Type>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"typ",
|
2017-01-18 05:58:12 +00:00
|
|
|
Copyright::get_typ_for_reflect,
|
|
|
|
Copyright::mut_typ_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"text",
|
2017-01-18 05:58:12 +00:00
|
|
|
Copyright::get_text_for_reflect,
|
|
|
|
Copyright::mut_text_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
|
|
|
::protobuf::reflect::MessageDescriptor::new::<Copyright>(
|
|
|
|
"Copyright",
|
|
|
|
fields,
|
|
|
|
file_descriptor_proto()
|
|
|
|
)
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Clear for Copyright {
|
|
|
|
fn clear(&mut self) {
|
|
|
|
self.clear_typ();
|
|
|
|
self.clear_text();
|
|
|
|
self.unknown_fields.clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::fmt::Debug for Copyright {
|
|
|
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
|
|
|
::protobuf::text_format::fmt(self, f)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for Copyright {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
#[derive(Clone,PartialEq,Eq,Debug,Hash)]
|
|
|
|
pub enum Copyright_Type {
|
|
|
|
P = 0,
|
|
|
|
C = 1,
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::ProtobufEnum for Copyright_Type {
|
|
|
|
fn value(&self) -> i32 {
|
|
|
|
*self as i32
|
|
|
|
}
|
|
|
|
|
|
|
|
fn from_i32(value: i32) -> ::std::option::Option<Copyright_Type> {
|
|
|
|
match value {
|
|
|
|
0 => ::std::option::Option::Some(Copyright_Type::P),
|
|
|
|
1 => ::std::option::Option::Some(Copyright_Type::C),
|
|
|
|
_ => ::std::option::Option::None
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn values() -> &'static [Self] {
|
|
|
|
static values: &'static [Copyright_Type] = &[
|
|
|
|
Copyright_Type::P,
|
|
|
|
Copyright_Type::C,
|
|
|
|
];
|
|
|
|
values
|
|
|
|
}
|
|
|
|
|
2018-05-17 23:20:41 +00:00
|
|
|
fn enum_descriptor_static(_: Option<Copyright_Type>) -> &'static ::protobuf::reflect::EnumDescriptor {
|
2016-11-21 02:48:17 +00:00
|
|
|
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
|
|
|
|
};
|
|
|
|
unsafe {
|
|
|
|
descriptor.get(|| {
|
|
|
|
::protobuf::reflect::EnumDescriptor::new("Copyright_Type", file_descriptor_proto())
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::marker::Copy for Copyright_Type {
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for Copyright_Type {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(PartialEq,Clone,Default)]
|
2016-11-21 02:48:17 +00:00
|
|
|
pub struct Restriction {
|
|
|
|
// message fields
|
|
|
|
countries_allowed: ::protobuf::SingularField<::std::string::String>,
|
|
|
|
countries_forbidden: ::protobuf::SingularField<::std::string::String>,
|
|
|
|
typ: ::std::option::Option<Restriction_Type>,
|
|
|
|
catalogue_str: ::protobuf::RepeatedField<::std::string::String>,
|
|
|
|
// special fields
|
|
|
|
unknown_fields: ::protobuf::UnknownFields,
|
2017-01-18 05:58:12 +00:00
|
|
|
cached_size: ::protobuf::CachedSize,
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// see codegen.rs for the explanation why impl Sync explicitly
|
|
|
|
unsafe impl ::std::marker::Sync for Restriction {}
|
|
|
|
|
|
|
|
impl Restriction {
|
|
|
|
pub fn new() -> Restriction {
|
|
|
|
::std::default::Default::default()
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn default_instance() -> &'static Restriction {
|
|
|
|
static mut instance: ::protobuf::lazy::Lazy<Restriction> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const Restriction,
|
|
|
|
};
|
|
|
|
unsafe {
|
2017-01-18 05:58:12 +00:00
|
|
|
instance.get(Restriction::new)
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// optional string countries_allowed = 2;
|
|
|
|
|
|
|
|
pub fn clear_countries_allowed(&mut self) {
|
|
|
|
self.countries_allowed.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_countries_allowed(&self) -> bool {
|
|
|
|
self.countries_allowed.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_countries_allowed(&mut self, v: ::std::string::String) {
|
|
|
|
self.countries_allowed = ::protobuf::SingularField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_countries_allowed(&mut self) -> &mut ::std::string::String {
|
|
|
|
if self.countries_allowed.is_none() {
|
|
|
|
self.countries_allowed.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.countries_allowed.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_countries_allowed(&mut self) -> ::std::string::String {
|
|
|
|
self.countries_allowed.take().unwrap_or_else(|| ::std::string::String::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_countries_allowed(&self) -> &str {
|
|
|
|
match self.countries_allowed.as_ref() {
|
|
|
|
Some(v) => &v,
|
|
|
|
None => "",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_countries_allowed_for_reflect(&self) -> &::protobuf::SingularField<::std::string::String> {
|
|
|
|
&self.countries_allowed
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_countries_allowed_for_reflect(&mut self) -> &mut ::protobuf::SingularField<::std::string::String> {
|
|
|
|
&mut self.countries_allowed
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional string countries_forbidden = 3;
|
|
|
|
|
|
|
|
pub fn clear_countries_forbidden(&mut self) {
|
|
|
|
self.countries_forbidden.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_countries_forbidden(&self) -> bool {
|
|
|
|
self.countries_forbidden.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_countries_forbidden(&mut self, v: ::std::string::String) {
|
|
|
|
self.countries_forbidden = ::protobuf::SingularField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_countries_forbidden(&mut self) -> &mut ::std::string::String {
|
|
|
|
if self.countries_forbidden.is_none() {
|
|
|
|
self.countries_forbidden.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.countries_forbidden.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_countries_forbidden(&mut self) -> ::std::string::String {
|
|
|
|
self.countries_forbidden.take().unwrap_or_else(|| ::std::string::String::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_countries_forbidden(&self) -> &str {
|
|
|
|
match self.countries_forbidden.as_ref() {
|
|
|
|
Some(v) => &v,
|
|
|
|
None => "",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_countries_forbidden_for_reflect(&self) -> &::protobuf::SingularField<::std::string::String> {
|
|
|
|
&self.countries_forbidden
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_countries_forbidden_for_reflect(&mut self) -> &mut ::protobuf::SingularField<::std::string::String> {
|
|
|
|
&mut self.countries_forbidden
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional .Restriction.Type typ = 4;
|
|
|
|
|
|
|
|
pub fn clear_typ(&mut self) {
|
|
|
|
self.typ = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_typ(&self) -> bool {
|
|
|
|
self.typ.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_typ(&mut self, v: Restriction_Type) {
|
|
|
|
self.typ = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_typ(&self) -> Restriction_Type {
|
|
|
|
self.typ.unwrap_or(Restriction_Type::STREAMING)
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_typ_for_reflect(&self) -> &::std::option::Option<Restriction_Type> {
|
|
|
|
&self.typ
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_typ_for_reflect(&mut self) -> &mut ::std::option::Option<Restriction_Type> {
|
|
|
|
&mut self.typ
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// repeated string catalogue_str = 5;
|
|
|
|
|
|
|
|
pub fn clear_catalogue_str(&mut self) {
|
|
|
|
self.catalogue_str.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_catalogue_str(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) {
|
|
|
|
self.catalogue_str = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_catalogue_str(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
|
|
|
|
&mut self.catalogue_str
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_catalogue_str(&mut self) -> ::protobuf::RepeatedField<::std::string::String> {
|
|
|
|
::std::mem::replace(&mut self.catalogue_str, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_catalogue_str(&self) -> &[::std::string::String] {
|
|
|
|
&self.catalogue_str
|
|
|
|
}
|
2017-01-18 05:58:12 +00:00
|
|
|
|
|
|
|
fn get_catalogue_str_for_reflect(&self) -> &::protobuf::RepeatedField<::std::string::String> {
|
|
|
|
&self.catalogue_str
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_catalogue_str_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
|
|
|
|
&mut self.catalogue_str
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Message for Restriction {
|
|
|
|
fn is_initialized(&self) -> bool {
|
|
|
|
true
|
|
|
|
}
|
|
|
|
|
|
|
|
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
|
2017-01-18 05:58:12 +00:00
|
|
|
while !is.eof()? {
|
|
|
|
let (field_number, wire_type) = is.read_tag_unpack()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
match field_number {
|
|
|
|
2 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.countries_allowed)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
3 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.countries_forbidden)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
4 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_enum()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.typ = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
5 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.catalogue_str)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
_ => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|
|
|
|
::std::result::Result::Ok(())
|
|
|
|
}
|
|
|
|
|
|
|
|
// Compute sizes of nested messages
|
|
|
|
#[allow(unused_variables)]
|
|
|
|
fn compute_size(&self) -> u32 {
|
|
|
|
let mut my_size = 0;
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.countries_allowed.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
my_size += ::protobuf::rt::string_size(2, &v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.countries_forbidden.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
my_size += ::protobuf::rt::string_size(3, &v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.typ {
|
|
|
|
my_size += ::protobuf::rt::enum_size(4, v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
for value in &self.catalogue_str {
|
|
|
|
my_size += ::protobuf::rt::string_size(5, &value);
|
|
|
|
};
|
|
|
|
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<()> {
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.countries_allowed.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_string(2, &v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.countries_forbidden.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_string(3, &v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
if let Some(v) = self.typ {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_enum(4, v.value())?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
for v in &self.catalogue_str {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_string(5, &v)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
::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
|
|
|
|
}
|
2017-09-30 22:51:05 +00:00
|
|
|
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
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
|
|
|
|
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
|
|
|
|
::protobuf::MessageStatic::descriptor_static(None::<Self>)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::MessageStatic for Restriction {
|
|
|
|
fn new() -> Restriction {
|
|
|
|
Restriction::new()
|
|
|
|
}
|
|
|
|
|
|
|
|
fn descriptor_static(_: ::std::option::Option<Restriction>) -> &'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();
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"countries_allowed",
|
2017-01-18 05:58:12 +00:00
|
|
|
Restriction::get_countries_allowed_for_reflect,
|
|
|
|
Restriction::mut_countries_allowed_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"countries_forbidden",
|
2017-01-18 05:58:12 +00:00
|
|
|
Restriction::get_countries_forbidden_for_reflect,
|
|
|
|
Restriction::mut_countries_forbidden_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeEnum<Restriction_Type>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"typ",
|
2017-01-18 05:58:12 +00:00
|
|
|
Restriction::get_typ_for_reflect,
|
|
|
|
Restriction::mut_typ_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"catalogue_str",
|
2017-01-18 05:58:12 +00:00
|
|
|
Restriction::get_catalogue_str_for_reflect,
|
|
|
|
Restriction::mut_catalogue_str_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
|
|
|
::protobuf::reflect::MessageDescriptor::new::<Restriction>(
|
|
|
|
"Restriction",
|
|
|
|
fields,
|
|
|
|
file_descriptor_proto()
|
|
|
|
)
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Clear for Restriction {
|
|
|
|
fn clear(&mut self) {
|
|
|
|
self.clear_countries_allowed();
|
|
|
|
self.clear_countries_forbidden();
|
|
|
|
self.clear_typ();
|
|
|
|
self.clear_catalogue_str();
|
|
|
|
self.unknown_fields.clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::fmt::Debug for Restriction {
|
|
|
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
|
|
|
::protobuf::text_format::fmt(self, f)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for Restriction {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
#[derive(Clone,PartialEq,Eq,Debug,Hash)]
|
|
|
|
pub enum Restriction_Type {
|
|
|
|
STREAMING = 0,
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::ProtobufEnum for Restriction_Type {
|
|
|
|
fn value(&self) -> i32 {
|
|
|
|
*self as i32
|
|
|
|
}
|
|
|
|
|
|
|
|
fn from_i32(value: i32) -> ::std::option::Option<Restriction_Type> {
|
|
|
|
match value {
|
|
|
|
0 => ::std::option::Option::Some(Restriction_Type::STREAMING),
|
|
|
|
_ => ::std::option::Option::None
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn values() -> &'static [Self] {
|
|
|
|
static values: &'static [Restriction_Type] = &[
|
|
|
|
Restriction_Type::STREAMING,
|
|
|
|
];
|
|
|
|
values
|
|
|
|
}
|
|
|
|
|
2018-05-17 23:20:41 +00:00
|
|
|
fn enum_descriptor_static(_: Option<Restriction_Type>) -> &'static ::protobuf::reflect::EnumDescriptor {
|
2016-11-21 02:48:17 +00:00
|
|
|
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
|
|
|
|
};
|
|
|
|
unsafe {
|
|
|
|
descriptor.get(|| {
|
|
|
|
::protobuf::reflect::EnumDescriptor::new("Restriction_Type", file_descriptor_proto())
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::marker::Copy for Restriction_Type {
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for Restriction_Type {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(PartialEq,Clone,Default)]
|
2016-11-21 02:48:17 +00:00
|
|
|
pub struct SalePeriod {
|
|
|
|
// message fields
|
|
|
|
restriction: ::protobuf::RepeatedField<Restriction>,
|
|
|
|
start: ::protobuf::SingularPtrField<Date>,
|
|
|
|
end: ::protobuf::SingularPtrField<Date>,
|
|
|
|
// special fields
|
|
|
|
unknown_fields: ::protobuf::UnknownFields,
|
2017-01-18 05:58:12 +00:00
|
|
|
cached_size: ::protobuf::CachedSize,
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// see codegen.rs for the explanation why impl Sync explicitly
|
|
|
|
unsafe impl ::std::marker::Sync for SalePeriod {}
|
|
|
|
|
|
|
|
impl SalePeriod {
|
|
|
|
pub fn new() -> SalePeriod {
|
|
|
|
::std::default::Default::default()
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn default_instance() -> &'static SalePeriod {
|
|
|
|
static mut instance: ::protobuf::lazy::Lazy<SalePeriod> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const SalePeriod,
|
|
|
|
};
|
|
|
|
unsafe {
|
2017-01-18 05:58:12 +00:00
|
|
|
instance.get(SalePeriod::new)
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// repeated .Restriction restriction = 1;
|
|
|
|
|
|
|
|
pub fn clear_restriction(&mut self) {
|
|
|
|
self.restriction.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_restriction(&mut self, v: ::protobuf::RepeatedField<Restriction>) {
|
|
|
|
self.restriction = v;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
pub fn mut_restriction(&mut self) -> &mut ::protobuf::RepeatedField<Restriction> {
|
|
|
|
&mut self.restriction
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_restriction(&mut self) -> ::protobuf::RepeatedField<Restriction> {
|
|
|
|
::std::mem::replace(&mut self.restriction, ::protobuf::RepeatedField::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_restriction(&self) -> &[Restriction] {
|
|
|
|
&self.restriction
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_restriction_for_reflect(&self) -> &::protobuf::RepeatedField<Restriction> {
|
|
|
|
&self.restriction
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_restriction_for_reflect(&mut self) -> &mut ::protobuf::RepeatedField<Restriction> {
|
|
|
|
&mut self.restriction
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional .Date start = 2;
|
|
|
|
|
|
|
|
pub fn clear_start(&mut self) {
|
|
|
|
self.start.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_start(&self) -> bool {
|
|
|
|
self.start.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_start(&mut self, v: Date) {
|
|
|
|
self.start = ::protobuf::SingularPtrField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_start(&mut self) -> &mut Date {
|
|
|
|
if self.start.is_none() {
|
|
|
|
self.start.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.start.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_start(&mut self) -> Date {
|
|
|
|
self.start.take().unwrap_or_else(|| Date::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_start(&self) -> &Date {
|
|
|
|
self.start.as_ref().unwrap_or_else(|| Date::default_instance())
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_start_for_reflect(&self) -> &::protobuf::SingularPtrField<Date> {
|
|
|
|
&self.start
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_start_for_reflect(&mut self) -> &mut ::protobuf::SingularPtrField<Date> {
|
|
|
|
&mut self.start
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional .Date end = 3;
|
|
|
|
|
|
|
|
pub fn clear_end(&mut self) {
|
|
|
|
self.end.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_end(&self) -> bool {
|
|
|
|
self.end.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_end(&mut self, v: Date) {
|
|
|
|
self.end = ::protobuf::SingularPtrField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_end(&mut self) -> &mut Date {
|
|
|
|
if self.end.is_none() {
|
|
|
|
self.end.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.end.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_end(&mut self) -> Date {
|
|
|
|
self.end.take().unwrap_or_else(|| Date::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_end(&self) -> &Date {
|
|
|
|
self.end.as_ref().unwrap_or_else(|| Date::default_instance())
|
|
|
|
}
|
2017-01-18 05:58:12 +00:00
|
|
|
|
|
|
|
fn get_end_for_reflect(&self) -> &::protobuf::SingularPtrField<Date> {
|
|
|
|
&self.end
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_end_for_reflect(&mut self) -> &mut ::protobuf::SingularPtrField<Date> {
|
|
|
|
&mut self.end
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Message for SalePeriod {
|
|
|
|
fn is_initialized(&self) -> bool {
|
|
|
|
true
|
|
|
|
}
|
|
|
|
|
|
|
|
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
|
2017-01-18 05:58:12 +00:00
|
|
|
while !is.eof()? {
|
|
|
|
let (field_number, wire_type) = is.read_tag_unpack()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
match field_number {
|
|
|
|
1 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.restriction)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
2 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.start)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
3 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.end)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
_ => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|
|
|
|
::std::result::Result::Ok(())
|
|
|
|
}
|
|
|
|
|
|
|
|
// Compute sizes of nested messages
|
|
|
|
#[allow(unused_variables)]
|
|
|
|
fn compute_size(&self) -> u32 {
|
|
|
|
let mut my_size = 0;
|
|
|
|
for value in &self.restriction {
|
|
|
|
let len = value.compute_size();
|
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
|
|
|
};
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.start.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
let len = v.compute_size();
|
2016-11-21 02:48:17 +00:00
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.end.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
let len = v.compute_size();
|
2016-11-21 02:48:17 +00:00
|
|
|
my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
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.restriction {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
};
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.start.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.end.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
|
v.write_to_with_cached_sizes(os)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
::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
|
|
|
|
}
|
2017-09-30 22:51:05 +00:00
|
|
|
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
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
|
|
|
|
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
|
|
|
|
::protobuf::MessageStatic::descriptor_static(None::<Self>)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::MessageStatic for SalePeriod {
|
|
|
|
fn new() -> SalePeriod {
|
|
|
|
SalePeriod::new()
|
|
|
|
}
|
|
|
|
|
|
|
|
fn descriptor_static(_: ::std::option::Option<SalePeriod>) -> &'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();
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Restriction>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"restriction",
|
2017-01-18 05:58:12 +00:00
|
|
|
SalePeriod::get_restriction_for_reflect,
|
|
|
|
SalePeriod::mut_restriction_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Date>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"start",
|
2017-01-18 05:58:12 +00:00
|
|
|
SalePeriod::get_start_for_reflect,
|
|
|
|
SalePeriod::mut_start_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<Date>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"end",
|
2017-01-18 05:58:12 +00:00
|
|
|
SalePeriod::get_end_for_reflect,
|
|
|
|
SalePeriod::mut_end_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
|
|
|
::protobuf::reflect::MessageDescriptor::new::<SalePeriod>(
|
|
|
|
"SalePeriod",
|
|
|
|
fields,
|
|
|
|
file_descriptor_proto()
|
|
|
|
)
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Clear for SalePeriod {
|
|
|
|
fn clear(&mut self) {
|
|
|
|
self.clear_restriction();
|
|
|
|
self.clear_start();
|
|
|
|
self.clear_end();
|
|
|
|
self.unknown_fields.clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::fmt::Debug for SalePeriod {
|
|
|
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
|
|
|
::protobuf::text_format::fmt(self, f)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for SalePeriod {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(PartialEq,Clone,Default)]
|
2016-11-21 02:48:17 +00:00
|
|
|
pub struct ExternalId {
|
|
|
|
// message fields
|
|
|
|
typ: ::protobuf::SingularField<::std::string::String>,
|
|
|
|
id: ::protobuf::SingularField<::std::string::String>,
|
|
|
|
// special fields
|
|
|
|
unknown_fields: ::protobuf::UnknownFields,
|
2017-01-18 05:58:12 +00:00
|
|
|
cached_size: ::protobuf::CachedSize,
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// see codegen.rs for the explanation why impl Sync explicitly
|
|
|
|
unsafe impl ::std::marker::Sync for ExternalId {}
|
|
|
|
|
|
|
|
impl ExternalId {
|
|
|
|
pub fn new() -> ExternalId {
|
|
|
|
::std::default::Default::default()
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn default_instance() -> &'static ExternalId {
|
|
|
|
static mut instance: ::protobuf::lazy::Lazy<ExternalId> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const ExternalId,
|
|
|
|
};
|
|
|
|
unsafe {
|
2017-01-18 05:58:12 +00:00
|
|
|
instance.get(ExternalId::new)
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// optional string typ = 1;
|
|
|
|
|
|
|
|
pub fn clear_typ(&mut self) {
|
|
|
|
self.typ.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_typ(&self) -> bool {
|
|
|
|
self.typ.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_typ(&mut self, v: ::std::string::String) {
|
|
|
|
self.typ = ::protobuf::SingularField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_typ(&mut self) -> &mut ::std::string::String {
|
|
|
|
if self.typ.is_none() {
|
|
|
|
self.typ.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.typ.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_typ(&mut self) -> ::std::string::String {
|
|
|
|
self.typ.take().unwrap_or_else(|| ::std::string::String::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_typ(&self) -> &str {
|
|
|
|
match self.typ.as_ref() {
|
|
|
|
Some(v) => &v,
|
|
|
|
None => "",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_typ_for_reflect(&self) -> &::protobuf::SingularField<::std::string::String> {
|
|
|
|
&self.typ
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_typ_for_reflect(&mut self) -> &mut ::protobuf::SingularField<::std::string::String> {
|
|
|
|
&mut self.typ
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional string id = 2;
|
|
|
|
|
|
|
|
pub fn clear_id(&mut self) {
|
|
|
|
self.id.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_id(&self) -> bool {
|
|
|
|
self.id.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_id(&mut self, v: ::std::string::String) {
|
|
|
|
self.id = ::protobuf::SingularField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_id(&mut self) -> &mut ::std::string::String {
|
|
|
|
if self.id.is_none() {
|
|
|
|
self.id.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.id.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_id(&mut self) -> ::std::string::String {
|
|
|
|
self.id.take().unwrap_or_else(|| ::std::string::String::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_id(&self) -> &str {
|
|
|
|
match self.id.as_ref() {
|
|
|
|
Some(v) => &v,
|
|
|
|
None => "",
|
|
|
|
}
|
|
|
|
}
|
2017-01-18 05:58:12 +00:00
|
|
|
|
|
|
|
fn get_id_for_reflect(&self) -> &::protobuf::SingularField<::std::string::String> {
|
|
|
|
&self.id
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_id_for_reflect(&mut self) -> &mut ::protobuf::SingularField<::std::string::String> {
|
|
|
|
&mut self.id
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Message for ExternalId {
|
|
|
|
fn is_initialized(&self) -> bool {
|
|
|
|
true
|
|
|
|
}
|
|
|
|
|
|
|
|
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
|
2017-01-18 05:58:12 +00:00
|
|
|
while !is.eof()? {
|
|
|
|
let (field_number, wire_type) = is.read_tag_unpack()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
match field_number {
|
|
|
|
1 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.typ)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
2 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.id)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
_ => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|
|
|
|
::std::result::Result::Ok(())
|
|
|
|
}
|
|
|
|
|
|
|
|
// Compute sizes of nested messages
|
|
|
|
#[allow(unused_variables)]
|
|
|
|
fn compute_size(&self) -> u32 {
|
|
|
|
let mut my_size = 0;
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.typ.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
my_size += ::protobuf::rt::string_size(1, &v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.id.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
my_size += ::protobuf::rt::string_size(2, &v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
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<()> {
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.typ.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_string(1, &v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
|
|
|
if let Some(v) = self.id.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_string(2, &v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
::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
|
|
|
|
}
|
2017-09-30 22:51:05 +00:00
|
|
|
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
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
|
|
|
|
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
|
|
|
|
::protobuf::MessageStatic::descriptor_static(None::<Self>)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::MessageStatic for ExternalId {
|
|
|
|
fn new() -> ExternalId {
|
|
|
|
ExternalId::new()
|
|
|
|
}
|
|
|
|
|
|
|
|
fn descriptor_static(_: ::std::option::Option<ExternalId>) -> &'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();
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"typ",
|
2017-01-18 05:58:12 +00:00
|
|
|
ExternalId::get_typ_for_reflect,
|
|
|
|
ExternalId::mut_typ_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"id",
|
2017-01-18 05:58:12 +00:00
|
|
|
ExternalId::get_id_for_reflect,
|
|
|
|
ExternalId::mut_id_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
|
|
|
::protobuf::reflect::MessageDescriptor::new::<ExternalId>(
|
|
|
|
"ExternalId",
|
|
|
|
fields,
|
|
|
|
file_descriptor_proto()
|
|
|
|
)
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Clear for ExternalId {
|
|
|
|
fn clear(&mut self) {
|
|
|
|
self.clear_typ();
|
|
|
|
self.clear_id();
|
|
|
|
self.unknown_fields.clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::fmt::Debug for ExternalId {
|
|
|
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
|
|
|
::protobuf::text_format::fmt(self, f)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for ExternalId {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(PartialEq,Clone,Default)]
|
2016-11-21 02:48:17 +00:00
|
|
|
pub struct AudioFile {
|
|
|
|
// message fields
|
|
|
|
file_id: ::protobuf::SingularField<::std::vec::Vec<u8>>,
|
|
|
|
format: ::std::option::Option<AudioFile_Format>,
|
|
|
|
// special fields
|
|
|
|
unknown_fields: ::protobuf::UnknownFields,
|
2017-01-18 05:58:12 +00:00
|
|
|
cached_size: ::protobuf::CachedSize,
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// see codegen.rs for the explanation why impl Sync explicitly
|
|
|
|
unsafe impl ::std::marker::Sync for AudioFile {}
|
|
|
|
|
|
|
|
impl AudioFile {
|
|
|
|
pub fn new() -> AudioFile {
|
|
|
|
::std::default::Default::default()
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn default_instance() -> &'static AudioFile {
|
|
|
|
static mut instance: ::protobuf::lazy::Lazy<AudioFile> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const AudioFile,
|
|
|
|
};
|
|
|
|
unsafe {
|
2017-01-18 05:58:12 +00:00
|
|
|
instance.get(AudioFile::new)
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// optional bytes file_id = 1;
|
|
|
|
|
|
|
|
pub fn clear_file_id(&mut self) {
|
|
|
|
self.file_id.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_file_id(&self) -> bool {
|
|
|
|
self.file_id.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_file_id(&mut self, v: ::std::vec::Vec<u8>) {
|
|
|
|
self.file_id = ::protobuf::SingularField::some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
|
pub fn mut_file_id(&mut self) -> &mut ::std::vec::Vec<u8> {
|
|
|
|
if self.file_id.is_none() {
|
|
|
|
self.file_id.set_default();
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
self.file_id.as_mut().unwrap()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Take field
|
|
|
|
pub fn take_file_id(&mut self) -> ::std::vec::Vec<u8> {
|
|
|
|
self.file_id.take().unwrap_or_else(|| ::std::vec::Vec::new())
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_file_id(&self) -> &[u8] {
|
|
|
|
match self.file_id.as_ref() {
|
|
|
|
Some(v) => &v,
|
|
|
|
None => &[],
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
fn get_file_id_for_reflect(&self) -> &::protobuf::SingularField<::std::vec::Vec<u8>> {
|
|
|
|
&self.file_id
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_file_id_for_reflect(&mut self) -> &mut ::protobuf::SingularField<::std::vec::Vec<u8>> {
|
|
|
|
&mut self.file_id
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
// optional .AudioFile.Format format = 2;
|
|
|
|
|
|
|
|
pub fn clear_format(&mut self) {
|
|
|
|
self.format = ::std::option::Option::None;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn has_format(&self) -> bool {
|
|
|
|
self.format.is_some()
|
|
|
|
}
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
pub fn set_format(&mut self, v: AudioFile_Format) {
|
|
|
|
self.format = ::std::option::Option::Some(v);
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_format(&self) -> AudioFile_Format {
|
|
|
|
self.format.unwrap_or(AudioFile_Format::OGG_VORBIS_96)
|
|
|
|
}
|
2017-01-18 05:58:12 +00:00
|
|
|
|
|
|
|
fn get_format_for_reflect(&self) -> &::std::option::Option<AudioFile_Format> {
|
|
|
|
&self.format
|
|
|
|
}
|
|
|
|
|
|
|
|
fn mut_format_for_reflect(&mut self) -> &mut ::std::option::Option<AudioFile_Format> {
|
|
|
|
&mut self.format
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Message for AudioFile {
|
|
|
|
fn is_initialized(&self) -> bool {
|
|
|
|
true
|
|
|
|
}
|
|
|
|
|
|
|
|
fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
|
2017-01-18 05:58:12 +00:00
|
|
|
while !is.eof()? {
|
|
|
|
let (field_number, wire_type) = is.read_tag_unpack()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
match field_number {
|
|
|
|
1 => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.file_id)?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
2 => {
|
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
let tmp = is.read_enum()?;
|
2016-11-21 02:48:17 +00:00
|
|
|
self.format = ::std::option::Option::Some(tmp);
|
|
|
|
},
|
|
|
|
_ => {
|
2017-01-18 05:58:12 +00:00
|
|
|
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|
|
|
|
::std::result::Result::Ok(())
|
|
|
|
}
|
|
|
|
|
|
|
|
// Compute sizes of nested messages
|
|
|
|
#[allow(unused_variables)]
|
|
|
|
fn compute_size(&self) -> u32 {
|
|
|
|
let mut my_size = 0;
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.file_id.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
my_size += ::protobuf::rt::bytes_size(1, &v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
if let Some(v) = self.format {
|
|
|
|
my_size += ::protobuf::rt::enum_size(2, v);
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
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<()> {
|
2018-05-17 23:20:41 +00:00
|
|
|
if let Some(v) = self.file_id.as_ref() {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_bytes(1, &v)?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2016-11-21 02:48:17 +00:00
|
|
|
if let Some(v) = self.format {
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_enum(2, v.value())?;
|
2018-05-17 23:20:41 +00:00
|
|
|
};
|
2017-01-18 05:58:12 +00:00
|
|
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
2016-11-21 02:48:17 +00:00
|
|
|
::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
|
|
|
|
}
|
2017-09-30 22:51:05 +00:00
|
|
|
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
|
|
|
|
}
|
2016-11-21 02:48:17 +00:00
|
|
|
|
|
|
|
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
|
|
|
|
::protobuf::MessageStatic::descriptor_static(None::<Self>)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::MessageStatic for AudioFile {
|
|
|
|
fn new() -> AudioFile {
|
|
|
|
AudioFile::new()
|
|
|
|
}
|
|
|
|
|
|
|
|
fn descriptor_static(_: ::std::option::Option<AudioFile>) -> &'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();
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"file_id",
|
2017-01-18 05:58:12 +00:00
|
|
|
AudioFile::get_file_id_for_reflect,
|
|
|
|
AudioFile::mut_file_id_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
2017-01-18 05:58:12 +00:00
|
|
|
fields.push(::protobuf::reflect::accessor::make_option_accessor::<_, ::protobuf::types::ProtobufTypeEnum<AudioFile_Format>>(
|
2016-11-21 02:48:17 +00:00
|
|
|
"format",
|
2017-01-18 05:58:12 +00:00
|
|
|
AudioFile::get_format_for_reflect,
|
|
|
|
AudioFile::mut_format_for_reflect,
|
2016-11-21 02:48:17 +00:00
|
|
|
));
|
|
|
|
::protobuf::reflect::MessageDescriptor::new::<AudioFile>(
|
|
|
|
"AudioFile",
|
|
|
|
fields,
|
|
|
|
file_descriptor_proto()
|
|
|
|
)
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::Clear for AudioFile {
|
|
|
|
fn clear(&mut self) {
|
|
|
|
self.clear_file_id();
|
|
|
|
self.clear_format();
|
|
|
|
self.unknown_fields.clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::fmt::Debug for AudioFile {
|
|
|
|
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
|
|
|
::protobuf::text_format::fmt(self, f)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for AudioFile {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Message(self)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-21 02:48:17 +00:00
|
|
|
#[derive(Clone,PartialEq,Eq,Debug,Hash)]
|
|
|
|
pub enum AudioFile_Format {
|
|
|
|
OGG_VORBIS_96 = 0,
|
|
|
|
OGG_VORBIS_160 = 1,
|
|
|
|
OGG_VORBIS_320 = 2,
|
|
|
|
MP3_256 = 3,
|
|
|
|
MP3_320 = 4,
|
|
|
|
MP3_160 = 5,
|
|
|
|
MP3_96 = 6,
|
|
|
|
MP3_160_ENC = 7,
|
|
|
|
OTHER2 = 8,
|
|
|
|
OTHER3 = 9,
|
|
|
|
AAC_160 = 10,
|
|
|
|
AAC_320 = 11,
|
2017-07-09 18:01:14 +00:00
|
|
|
OTHER4 = 12,
|
|
|
|
OTHER5 = 13,
|
2016-11-21 02:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
impl ::protobuf::ProtobufEnum for AudioFile_Format {
|
|
|
|
fn value(&self) -> i32 {
|
|
|
|
*self as i32
|
|
|
|
}
|
|
|
|
|
|
|
|
fn from_i32(value: i32) -> ::std::option::Option<AudioFile_Format> {
|
|
|
|
match value {
|
|
|
|
0 => ::std::option::Option::Some(AudioFile_Format::OGG_VORBIS_96),
|
|
|
|
1 => ::std::option::Option::Some(AudioFile_Format::OGG_VORBIS_160),
|
|
|
|
2 => ::std::option::Option::Some(AudioFile_Format::OGG_VORBIS_320),
|
|
|
|
3 => ::std::option::Option::Some(AudioFile_Format::MP3_256),
|
|
|
|
4 => ::std::option::Option::Some(AudioFile_Format::MP3_320),
|
|
|
|
5 => ::std::option::Option::Some(AudioFile_Format::MP3_160),
|
|
|
|
6 => ::std::option::Option::Some(AudioFile_Format::MP3_96),
|
|
|
|
7 => ::std::option::Option::Some(AudioFile_Format::MP3_160_ENC),
|
|
|
|
8 => ::std::option::Option::Some(AudioFile_Format::OTHER2),
|
|
|
|
9 => ::std::option::Option::Some(AudioFile_Format::OTHER3),
|
|
|
|
10 => ::std::option::Option::Some(AudioFile_Format::AAC_160),
|
|
|
|
11 => ::std::option::Option::Some(AudioFile_Format::AAC_320),
|
2017-07-09 18:01:14 +00:00
|
|
|
12 => ::std::option::Option::Some(AudioFile_Format::OTHER4),
|
|
|
|
13 => ::std::option::Option::Some(AudioFile_Format::OTHER5),
|
2016-11-21 02:48:17 +00:00
|
|
|
_ => ::std::option::Option::None
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn values() -> &'static [Self] {
|
|
|
|
static values: &'static [AudioFile_Format] = &[
|
|
|
|
AudioFile_Format::OGG_VORBIS_96,
|
|
|
|
AudioFile_Format::OGG_VORBIS_160,
|
|
|
|
AudioFile_Format::OGG_VORBIS_320,
|
|
|
|
AudioFile_Format::MP3_256,
|
|
|
|
AudioFile_Format::MP3_320,
|
|
|
|
AudioFile_Format::MP3_160,
|
|
|
|
AudioFile_Format::MP3_96,
|
|
|
|
AudioFile_Format::MP3_160_ENC,
|
|
|
|
AudioFile_Format::OTHER2,
|
|
|
|
AudioFile_Format::OTHER3,
|
|
|
|
AudioFile_Format::AAC_160,
|
|
|
|
AudioFile_Format::AAC_320,
|
2017-07-09 18:01:14 +00:00
|
|
|
AudioFile_Format::OTHER4,
|
|
|
|
AudioFile_Format::OTHER5,
|
2016-11-21 02:48:17 +00:00
|
|
|
];
|
|
|
|
values
|
|
|
|
}
|
|
|
|
|
2018-05-17 23:20:41 +00:00
|
|
|
fn enum_descriptor_static(_: Option<AudioFile_Format>) -> &'static ::protobuf::reflect::EnumDescriptor {
|
2016-11-21 02:48:17 +00:00
|
|
|
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy {
|
|
|
|
lock: ::protobuf::lazy::ONCE_INIT,
|
|
|
|
ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
|
|
|
|
};
|
|
|
|
unsafe {
|
|
|
|
descriptor.get(|| {
|
|
|
|
::protobuf::reflect::EnumDescriptor::new("AudioFile_Format", file_descriptor_proto())
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::std::marker::Copy for AudioFile_Format {
|
|
|
|
}
|
|
|
|
|
2017-01-18 05:58:12 +00:00
|
|
|
impl ::protobuf::reflect::ProtobufValue for AudioFile_Format {
|
|
|
|
fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
|
|
|
|
::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-17 23:20:41 +00:00
|
|
|
static file_descriptor_proto_data: &'static [u8] = &[
|
|
|
|
0x0a, 0x0e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
|
0x22, 0x43, 0x0a, 0x09, 0x54, 0x6f, 0x70, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x73, 0x12, 0x18, 0x0a,
|
|
|
|
0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
|
|
|
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x05, 0x74, 0x72, 0x61, 0x63, 0x6b,
|
|
|
|
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x52, 0x05,
|
|
|
|
0x74, 0x72, 0x61, 0x63, 0x6b, 0x22, 0x62, 0x0a, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
|
|
|
|
0x79, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74,
|
|
|
|
0x5f, 0x79, 0x65, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x11, 0x52, 0x09, 0x73, 0x74, 0x61,
|
|
|
|
0x72, 0x74, 0x59, 0x65, 0x61, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x79, 0x65,
|
|
|
|
0x61, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x11, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x59, 0x65, 0x61,
|
|
|
|
0x72, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x63, 0x61, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
|
0x11, 0x52, 0x06, 0x64, 0x65, 0x63, 0x61, 0x64, 0x65, 0x22, 0xd0, 0x05, 0x0a, 0x06, 0x41, 0x72,
|
|
|
|
0x74, 0x69, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
0x0c, 0x52, 0x03, 0x67, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x6f,
|
|
|
|
0x70, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x0a,
|
|
|
|
0x70, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x27, 0x0a, 0x09, 0x74, 0x6f,
|
|
|
|
0x70, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e,
|
|
|
|
0x54, 0x6f, 0x70, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x73, 0x52, 0x08, 0x74, 0x6f, 0x70, 0x54, 0x72,
|
|
|
|
0x61, 0x63, 0x6b, 0x12, 0x2c, 0x0a, 0x0b, 0x61, 0x6c, 0x62, 0x75, 0x6d, 0x5f, 0x67, 0x72, 0x6f,
|
|
|
|
0x75, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x41, 0x6c, 0x62, 0x75, 0x6d,
|
|
|
|
0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0a, 0x61, 0x6c, 0x62, 0x75, 0x6d, 0x47, 0x72, 0x6f, 0x75,
|
|
|
|
0x70, 0x12, 0x2e, 0x0a, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75,
|
|
|
|
0x70, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x41, 0x6c, 0x62, 0x75, 0x6d, 0x47,
|
|
|
|
0x72, 0x6f, 0x75, 0x70, 0x52, 0x0b, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75,
|
|
|
|
0x70, 0x12, 0x38, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x41,
|
|
|
|
0x6c, 0x62, 0x75, 0x6d, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x69,
|
|
|
|
0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x35, 0x0a, 0x10, 0x61,
|
|
|
|
0x70, 0x70, 0x65, 0x61, 0x72, 0x73, 0x5f, 0x6f, 0x6e, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18,
|
|
|
|
0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x41, 0x6c, 0x62, 0x75, 0x6d, 0x47, 0x72, 0x6f,
|
|
|
|
0x75, 0x70, 0x52, 0x0e, 0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x73, 0x4f, 0x6e, 0x47, 0x72, 0x6f,
|
|
|
|
0x75, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x65, 0x6e, 0x72, 0x65, 0x18, 0x09, 0x20, 0x03, 0x28,
|
|
|
|
0x09, 0x52, 0x05, 0x67, 0x65, 0x6e, 0x72, 0x65, 0x12, 0x2c, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65,
|
|
|
|
0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
|
|
|
|
0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65,
|
|
|
|
0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x08, 0x70, 0x6f, 0x72, 0x74, 0x72, 0x61,
|
|
|
|
0x69, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65,
|
|
|
|
0x52, 0x08, 0x70, 0x6f, 0x72, 0x74, 0x72, 0x61, 0x69, 0x74, 0x12, 0x28, 0x0a, 0x09, 0x62, 0x69,
|
|
|
|
0x6f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x79, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e,
|
|
|
|
0x42, 0x69, 0x6f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x79, 0x52, 0x09, 0x62, 0x69, 0x6f, 0x67, 0x72,
|
|
|
|
0x61, 0x70, 0x68, 0x79, 0x12, 0x38, 0x0a, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79,
|
|
|
|
0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e,
|
|
|
|
0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x52, 0x0e,
|
|
|
|
0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x2e,
|
|
|
|
0x0a, 0x0b, 0x72, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20,
|
|
|
|
0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f,
|
|
|
|
0x6e, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21,
|
|
|
|
0x0a, 0x07, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
|
|
0x07, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65,
|
|
|
|
0x64, 0x12, 0x35, 0x0a, 0x17, 0x69, 0x73, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x72, 0x61, 0x69, 0x74,
|
|
|
|
0x5f, 0x61, 0x6c, 0x62, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x18, 0x10, 0x20, 0x01,
|
|
|
|
0x28, 0x08, 0x52, 0x14, 0x69, 0x73, 0x50, 0x6f, 0x72, 0x74, 0x72, 0x61, 0x69, 0x74, 0x41, 0x6c,
|
|
|
|
0x62, 0x75, 0x6d, 0x43, 0x6f, 0x76, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x0e, 0x70, 0x6f, 0x72, 0x74,
|
|
|
|
0x72, 0x61, 0x69, 0x74, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
0x32, 0x0b, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0d, 0x70,
|
|
|
|
0x6f, 0x72, 0x74, 0x72, 0x61, 0x69, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x2a, 0x0a, 0x0a,
|
|
|
|
0x41, 0x6c, 0x62, 0x75, 0x6d, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1c, 0x0a, 0x05, 0x61, 0x6c,
|
|
|
|
0x62, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x41, 0x6c, 0x62, 0x75,
|
|
|
|
0x6d, 0x52, 0x05, 0x61, 0x6c, 0x62, 0x75, 0x6d, 0x22, 0x42, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x65,
|
|
|
|
0x12, 0x12, 0x0a, 0x04, 0x79, 0x65, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x11, 0x52, 0x04,
|
|
|
|
0x79, 0x65, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x18, 0x02, 0x20,
|
|
|
|
0x01, 0x28, 0x11, 0x52, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61,
|
|
|
|
0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x03, 0x64, 0x61, 0x79, 0x22, 0xe3, 0x04, 0x0a,
|
|
|
|
0x05, 0x41, 0x6c, 0x62, 0x75, 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
|
|
0x01, 0x28, 0x0c, 0x52, 0x03, 0x67, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x06,
|
|
|
|
0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x41,
|
|
|
|
0x72, 0x74, 0x69, 0x73, 0x74, 0x52, 0x06, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a,
|
|
|
|
0x03, 0x74, 0x79, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0b, 0x2e, 0x41, 0x6c, 0x62,
|
|
|
|
0x75, 0x6d, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x03, 0x74, 0x79, 0x70, 0x12, 0x14, 0x0a, 0x05,
|
|
|
|
0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62,
|
|
|
|
0x65, 0x6c, 0x12, 0x19, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
0x32, 0x05, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a,
|
|
|
|
0x0a, 0x70, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28,
|
|
|
|
0x11, 0x52, 0x0a, 0x70, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a,
|
|
|
|
0x05, 0x67, 0x65, 0x6e, 0x72, 0x65, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x67, 0x65,
|
|
|
|
0x6e, 0x72, 0x65, 0x12, 0x1c, 0x0a, 0x05, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x18, 0x09, 0x20, 0x03,
|
|
|
|
0x28, 0x0b, 0x32, 0x06, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x05, 0x63, 0x6f, 0x76, 0x65,
|
|
|
|
0x72, 0x12, 0x2c, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64,
|
|
|
|
0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,
|
|
|
|
0x6c, 0x49, 0x64, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12,
|
|
|
|
0x19, 0x0a, 0x04, 0x64, 0x69, 0x73, 0x63, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x05, 0x2e,
|
|
|
|
0x44, 0x69, 0x73, 0x63, 0x52, 0x04, 0x64, 0x69, 0x73, 0x63, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65,
|
|
|
|
0x76, 0x69, 0x65, 0x77, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x76, 0x69,
|
|
|
|
0x65, 0x77, 0x12, 0x28, 0x0a, 0x09, 0x63, 0x6f, 0x70, 0x79, 0x72, 0x69, 0x67, 0x68, 0x74, 0x18,
|
|
|
|
0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x43, 0x6f, 0x70, 0x79, 0x72, 0x69, 0x67, 0x68,
|
|
|
|
0x74, 0x52, 0x09, 0x63, 0x6f, 0x70, 0x79, 0x72, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2e, 0x0a, 0x0b,
|
|
|
|
0x72, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x03, 0x28,
|
|
|
|
0x0b, 0x32, 0x0c, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52,
|
|
|
|
0x0b, 0x72, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x07,
|
|
|
|
0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x06, 0x2e,
|
|
|
|
0x41, 0x6c, 0x62, 0x75, 0x6d, 0x52, 0x07, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2c,
|
|
|
|
0x0a, 0x0b, 0x73, 0x61, 0x6c, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x10, 0x20,
|
|
|
|
0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x53, 0x61, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64,
|
|
|
|
0x52, 0x0a, 0x73, 0x61, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x2c, 0x0a, 0x0b,
|
|
|
|
0x63, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x11, 0x20, 0x01, 0x28,
|
|
|
|
0x0b, 0x32, 0x0b, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0a,
|
|
|
|
0x63, 0x6f, 0x76, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x36, 0x0a, 0x04, 0x54, 0x79,
|
|
|
|
0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x42, 0x55, 0x4d, 0x10, 0x01, 0x12, 0x0a, 0x0a,
|
|
|
|
0x06, 0x53, 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x4f, 0x4d,
|
|
|
|
0x50, 0x49, 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x06, 0x0a, 0x02, 0x45, 0x50,
|
|
|
|
0x10, 0x04, 0x22, 0xf9, 0x03, 0x0a, 0x05, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03,
|
|
|
|
0x67, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x67, 0x69, 0x64, 0x12, 0x12,
|
|
|
|
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
|
|
|
|
0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x05, 0x61, 0x6c, 0x62, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
|
0x0b, 0x32, 0x06, 0x2e, 0x41, 0x6c, 0x62, 0x75, 0x6d, 0x52, 0x05, 0x61, 0x6c, 0x62, 0x75, 0x6d,
|
|
|
|
0x12, 0x1f, 0x0a, 0x06, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
|
|
|
|
0x32, 0x07, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x52, 0x06, 0x61, 0x72, 0x74, 0x69, 0x73,
|
|
|
|
0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
|
|
0x11, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x69, 0x73,
|
|
|
|
0x63, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x0a,
|
|
|
|
0x64, 0x69, 0x73, 0x63, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75,
|
|
|
|
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x11, 0x52, 0x08, 0x64, 0x75,
|
|
|
|
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x6f, 0x70, 0x75, 0x6c, 0x61,
|
|
|
|
0x72, 0x69, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x11, 0x52, 0x0a, 0x70, 0x6f, 0x70, 0x75,
|
|
|
|
0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x70, 0x6c, 0x69, 0x63,
|
|
|
|
0x69, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x65, 0x78, 0x70, 0x6c, 0x69, 0x63,
|
|
|
|
0x69, 0x74, 0x12, 0x2c, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69,
|
|
|
|
0x64, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e,
|
|
|
|
0x61, 0x6c, 0x49, 0x64, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64,
|
|
|
|
0x12, 0x2e, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,
|
|
|
|
0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74,
|
|
|
|
0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
0x12, 0x1e, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a,
|
|
|
|
0x2e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65,
|
|
|
|
0x12, 0x28, 0x0a, 0x0b, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x18,
|
|
|
|
0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x52, 0x0b, 0x61,
|
|
|
|
0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x12, 0x2c, 0x0a, 0x0b, 0x73, 0x61,
|
|
|
|
0x6c, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
|
|
0x0b, 0x2e, 0x53, 0x61, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x52, 0x0a, 0x73, 0x61,
|
|
|
|
0x6c, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x24, 0x0a, 0x07, 0x70, 0x72, 0x65, 0x76,
|
|
|
|
0x69, 0x65, 0x77, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x41, 0x75, 0x64, 0x69,
|
|
|
|
0x6f, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x07, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x22, 0xa6,
|
|
|
|
0x01, 0x0a, 0x05, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65,
|
|
|
|
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49,
|
|
|
|
0x64, 0x12, 0x1f, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
|
|
|
0x0b, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x04, 0x73, 0x69,
|
|
|
|
0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
|
0x11, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67,
|
|
|
|
0x68, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x11, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74,
|
|
|
|
0x22, 0x35, 0x0a, 0x04, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x46, 0x41,
|
|
|
|
0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x4d, 0x41, 0x4c, 0x4c, 0x10, 0x01,
|
|
|
|
0x12, 0x09, 0x0a, 0x05, 0x4c, 0x41, 0x52, 0x47, 0x45, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x58,
|
|
|
|
0x4c, 0x41, 0x52, 0x47, 0x45, 0x10, 0x03, 0x22, 0x2a, 0x0a, 0x0a, 0x49, 0x6d, 0x61, 0x67, 0x65,
|
|
|
|
0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1c, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x01,
|
|
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x05, 0x69, 0x6d,
|
|
|
|
0x61, 0x67, 0x65, 0x22, 0x77, 0x0a, 0x09, 0x42, 0x69, 0x6f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x79,
|
|
|
|
0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
|
|
0x74, 0x65, 0x78, 0x74, 0x12, 0x22, 0x0a, 0x08, 0x70, 0x6f, 0x72, 0x74, 0x72, 0x61, 0x69, 0x74,
|
|
|
|
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x08,
|
|
|
|
0x70, 0x6f, 0x72, 0x74, 0x72, 0x61, 0x69, 0x74, 0x12, 0x32, 0x0a, 0x0e, 0x70, 0x6f, 0x72, 0x74,
|
|
|
|
0x72, 0x61, 0x69, 0x74, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
|
|
|
|
0x32, 0x0b, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0d, 0x70,
|
|
|
|
0x6f, 0x72, 0x74, 0x72, 0x61, 0x69, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x50, 0x0a, 0x04,
|
|
|
|
0x44, 0x69, 0x73, 0x63, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x11, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04,
|
|
|
|
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
|
|
|
0x12, 0x1c, 0x0a, 0x05, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
|
|
0x06, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x52, 0x05, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x22, 0x58,
|
|
|
|
0x0a, 0x09, 0x43, 0x6f, 0x70, 0x79, 0x72, 0x69, 0x67, 0x68, 0x74, 0x12, 0x21, 0x0a, 0x03, 0x74,
|
|
|
|
0x79, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x43, 0x6f, 0x70, 0x79, 0x72,
|
|
|
|
0x69, 0x67, 0x68, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x03, 0x74, 0x79, 0x70, 0x12, 0x12,
|
|
|
|
0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65,
|
|
|
|
0x78, 0x74, 0x22, 0x14, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x05, 0x0a, 0x01, 0x50, 0x10,
|
|
|
|
0x00, 0x12, 0x05, 0x0a, 0x01, 0x43, 0x10, 0x01, 0x22, 0xcc, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x73,
|
|
|
|
0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6f, 0x75, 0x6e,
|
|
|
|
0x74, 0x72, 0x69, 0x65, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x18, 0x02, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x41, 0x6c,
|
|
|
|
0x6c, 0x6f, 0x77, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x69,
|
|
|
|
0x65, 0x73, 0x5f, 0x66, 0x6f, 0x72, 0x62, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x12, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x46, 0x6f, 0x72,
|
|
|
|
0x62, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x12, 0x23, 0x0a, 0x03, 0x74, 0x79, 0x70, 0x18, 0x04, 0x20,
|
|
|
|
0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f,
|
|
|
|
0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x03, 0x74, 0x79, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x63,
|
|
|
|
0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x75, 0x65, 0x5f, 0x73, 0x74, 0x72, 0x18, 0x05, 0x20, 0x03,
|
|
|
|
0x28, 0x09, 0x52, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x75, 0x65, 0x53, 0x74, 0x72,
|
|
|
|
0x22, 0x15, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x54, 0x52, 0x45,
|
|
|
|
0x41, 0x4d, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x22, 0x72, 0x0a, 0x0a, 0x53, 0x61, 0x6c, 0x65, 0x50,
|
|
|
|
0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x2e, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63,
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x52, 0x65, 0x73,
|
|
|
|
0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x74, 0x72, 0x69,
|
|
|
|
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x02,
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61,
|
|
|
|
0x72, 0x74, 0x12, 0x17, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
0x05, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x22, 0x2e, 0x0a, 0x0a, 0x45,
|
|
|
|
0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x79, 0x70,
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x79, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
|
|
|
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xa3, 0x02, 0x0a, 0x09,
|
|
|
|
0x41, 0x75, 0x64, 0x69, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x6c,
|
|
|
|
0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65,
|
|
|
|
0x49, 0x64, 0x12, 0x29, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01,
|
|
|
|
0x28, 0x0e, 0x32, 0x11, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x2e, 0x46,
|
|
|
|
0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0xd1, 0x01,
|
|
|
|
0x0a, 0x06, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x47, 0x47, 0x5f,
|
|
|
|
0x56, 0x4f, 0x52, 0x42, 0x49, 0x53, 0x5f, 0x39, 0x36, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x4f,
|
|
|
|
0x47, 0x47, 0x5f, 0x56, 0x4f, 0x52, 0x42, 0x49, 0x53, 0x5f, 0x31, 0x36, 0x30, 0x10, 0x01, 0x12,
|
|
|
|
0x12, 0x0a, 0x0e, 0x4f, 0x47, 0x47, 0x5f, 0x56, 0x4f, 0x52, 0x42, 0x49, 0x53, 0x5f, 0x33, 0x32,
|
|
|
|
0x30, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x50, 0x33, 0x5f, 0x32, 0x35, 0x36, 0x10, 0x03,
|
|
|
|
0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x50, 0x33, 0x5f, 0x33, 0x32, 0x30, 0x10, 0x04, 0x12, 0x0b, 0x0a,
|
|
|
|
0x07, 0x4d, 0x50, 0x33, 0x5f, 0x31, 0x36, 0x30, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x50,
|
|
|
|
0x33, 0x5f, 0x39, 0x36, 0x10, 0x06, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x50, 0x33, 0x5f, 0x31, 0x36,
|
|
|
|
0x30, 0x5f, 0x45, 0x4e, 0x43, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x54, 0x48, 0x45, 0x52,
|
|
|
|
0x32, 0x10, 0x08, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x33, 0x10, 0x09, 0x12,
|
|
|
|
0x0b, 0x0a, 0x07, 0x41, 0x41, 0x43, 0x5f, 0x31, 0x36, 0x30, 0x10, 0x0a, 0x12, 0x0b, 0x0a, 0x07,
|
|
|
|
0x41, 0x41, 0x43, 0x5f, 0x33, 0x32, 0x30, 0x10, 0x0b, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x54, 0x48,
|
|
|
|
0x45, 0x52, 0x34, 0x10, 0x0c, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x35, 0x10,
|
|
|
|
0x0d, 0x4a, 0xba, 0x3a, 0x0a, 0x07, 0x12, 0x05, 0x00, 0x00, 0xa5, 0x01, 0x01, 0x0a, 0x08, 0x0a,
|
|
|
|
0x01, 0x0c, 0x12, 0x03, 0x00, 0x00, 0x12, 0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x00, 0x12, 0x04, 0x02,
|
|
|
|
0x00, 0x05, 0x01, 0x0a, 0x0a, 0x0a, 0x03, 0x04, 0x00, 0x01, 0x12, 0x03, 0x02, 0x08, 0x11, 0x0a,
|
|
|
|
0x0b, 0x0a, 0x04, 0x04, 0x00, 0x02, 0x00, 0x12, 0x03, 0x03, 0x04, 0x22, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x00, 0x02, 0x00, 0x04, 0x12, 0x03, 0x03, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00,
|
|
|
|
0x02, 0x00, 0x05, 0x12, 0x03, 0x03, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x00,
|
|
|
|
0x01, 0x12, 0x03, 0x03, 0x14, 0x1b, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x00, 0x03, 0x12,
|
|
|
|
0x03, 0x03, 0x1e, 0x21, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x00, 0x02, 0x01, 0x12, 0x03, 0x04, 0x04,
|
|
|
|
0x1f, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x01, 0x04, 0x12, 0x03, 0x04, 0x04, 0x0c, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x01, 0x06, 0x12, 0x03, 0x04, 0x0d, 0x12, 0x0a, 0x0c, 0x0a,
|
|
|
|
0x05, 0x04, 0x00, 0x02, 0x01, 0x01, 0x12, 0x03, 0x04, 0x13, 0x18, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
|
|
|
|
0x00, 0x02, 0x01, 0x03, 0x12, 0x03, 0x04, 0x1b, 0x1e, 0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x01, 0x12,
|
|
|
|
0x04, 0x07, 0x00, 0x0b, 0x01, 0x0a, 0x0a, 0x0a, 0x03, 0x04, 0x01, 0x01, 0x12, 0x03, 0x07, 0x08,
|
|
|
|
0x16, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x01, 0x02, 0x00, 0x12, 0x03, 0x08, 0x04, 0x25, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x01, 0x02, 0x00, 0x04, 0x12, 0x03, 0x08, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x01, 0x02, 0x00, 0x05, 0x12, 0x03, 0x08, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01,
|
|
|
|
0x02, 0x00, 0x01, 0x12, 0x03, 0x08, 0x14, 0x1e, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02, 0x00,
|
|
|
|
0x03, 0x12, 0x03, 0x08, 0x21, 0x24, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x01, 0x02, 0x01, 0x12, 0x03,
|
|
|
|
0x09, 0x04, 0x23, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02, 0x01, 0x04, 0x12, 0x03, 0x09, 0x04,
|
|
|
|
0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02, 0x01, 0x05, 0x12, 0x03, 0x09, 0x0d, 0x13, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02, 0x01, 0x01, 0x12, 0x03, 0x09, 0x14, 0x1c, 0x0a, 0x0c, 0x0a,
|
|
|
|
0x05, 0x04, 0x01, 0x02, 0x01, 0x03, 0x12, 0x03, 0x09, 0x1f, 0x22, 0x0a, 0x0b, 0x0a, 0x04, 0x04,
|
|
|
|
0x01, 0x02, 0x02, 0x12, 0x03, 0x0a, 0x04, 0x21, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02, 0x02,
|
|
|
|
0x04, 0x12, 0x03, 0x0a, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02, 0x02, 0x05, 0x12,
|
|
|
|
0x03, 0x0a, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02, 0x02, 0x01, 0x12, 0x03, 0x0a,
|
|
|
|
0x14, 0x1a, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02, 0x02, 0x03, 0x12, 0x03, 0x0a, 0x1d, 0x20,
|
|
|
|
0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x02, 0x12, 0x04, 0x0d, 0x00, 0x1f, 0x01, 0x0a, 0x0a, 0x0a, 0x03,
|
|
|
|
0x04, 0x02, 0x01, 0x12, 0x03, 0x0d, 0x08, 0x0e, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x02, 0x02, 0x00,
|
|
|
|
0x12, 0x03, 0x0e, 0x04, 0x1d, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x00, 0x04, 0x12, 0x03,
|
|
|
|
0x0e, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x00, 0x05, 0x12, 0x03, 0x0e, 0x0d,
|
|
|
|
0x12, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x00, 0x01, 0x12, 0x03, 0x0e, 0x13, 0x16, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x00, 0x03, 0x12, 0x03, 0x0e, 0x19, 0x1c, 0x0a, 0x0b, 0x0a,
|
|
|
|
0x04, 0x04, 0x02, 0x02, 0x01, 0x12, 0x03, 0x0f, 0x04, 0x1f, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02,
|
|
|
|
0x02, 0x01, 0x04, 0x12, 0x03, 0x0f, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x01,
|
|
|
|
0x05, 0x12, 0x03, 0x0f, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x01, 0x01, 0x12,
|
|
|
|
0x03, 0x0f, 0x14, 0x18, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x01, 0x03, 0x12, 0x03, 0x0f,
|
|
|
|
0x1b, 0x1e, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x02, 0x02, 0x02, 0x12, 0x03, 0x10, 0x04, 0x25, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x02, 0x04, 0x12, 0x03, 0x10, 0x04, 0x0c, 0x0a, 0x0c, 0x0a,
|
|
|
|
0x05, 0x04, 0x02, 0x02, 0x02, 0x05, 0x12, 0x03, 0x10, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
|
|
|
|
0x02, 0x02, 0x02, 0x01, 0x12, 0x03, 0x10, 0x14, 0x1e, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02,
|
|
|
|
0x02, 0x03, 0x12, 0x03, 0x10, 0x21, 0x24, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x02, 0x02, 0x03, 0x12,
|
|
|
|
0x03, 0x11, 0x04, 0x27, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x03, 0x04, 0x12, 0x03, 0x11,
|
|
|
|
0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x03, 0x06, 0x12, 0x03, 0x11, 0x0d, 0x16,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x03, 0x01, 0x12, 0x03, 0x11, 0x17, 0x20, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x02, 0x02, 0x03, 0x03, 0x12, 0x03, 0x11, 0x23, 0x26, 0x0a, 0x0b, 0x0a, 0x04,
|
|
|
|
0x04, 0x02, 0x02, 0x04, 0x12, 0x03, 0x12, 0x04, 0x2a, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02,
|
|
|
|
0x04, 0x04, 0x12, 0x03, 0x12, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x04, 0x06,
|
|
|
|
0x12, 0x03, 0x12, 0x0d, 0x17, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x04, 0x01, 0x12, 0x03,
|
|
|
|
0x12, 0x18, 0x23, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x04, 0x03, 0x12, 0x03, 0x12, 0x26,
|
|
|
|
0x29, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x02, 0x02, 0x05, 0x12, 0x03, 0x13, 0x04, 0x2b, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x02, 0x02, 0x05, 0x04, 0x12, 0x03, 0x13, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x02, 0x02, 0x05, 0x06, 0x12, 0x03, 0x13, 0x0d, 0x17, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02,
|
|
|
|
0x02, 0x05, 0x01, 0x12, 0x03, 0x13, 0x18, 0x24, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x05,
|
|
|
|
0x03, 0x12, 0x03, 0x13, 0x27, 0x2a, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x02, 0x02, 0x06, 0x12, 0x03,
|
|
|
|
0x14, 0x04, 0x30, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x06, 0x04, 0x12, 0x03, 0x14, 0x04,
|
|
|
|
0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x06, 0x06, 0x12, 0x03, 0x14, 0x0d, 0x17, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x06, 0x01, 0x12, 0x03, 0x14, 0x18, 0x29, 0x0a, 0x0c, 0x0a,
|
|
|
|
0x05, 0x04, 0x02, 0x02, 0x06, 0x03, 0x12, 0x03, 0x14, 0x2c, 0x2f, 0x0a, 0x0b, 0x0a, 0x04, 0x04,
|
|
|
|
0x02, 0x02, 0x07, 0x12, 0x03, 0x15, 0x04, 0x2f, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x07,
|
|
|
|
0x04, 0x12, 0x03, 0x15, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x07, 0x06, 0x12,
|
|
|
|
0x03, 0x15, 0x0d, 0x17, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x07, 0x01, 0x12, 0x03, 0x15,
|
|
|
|
0x18, 0x28, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x07, 0x03, 0x12, 0x03, 0x15, 0x2b, 0x2e,
|
|
|
|
0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x02, 0x02, 0x08, 0x12, 0x03, 0x16, 0x04, 0x20, 0x0a, 0x0c, 0x0a,
|
|
|
|
0x05, 0x04, 0x02, 0x02, 0x08, 0x04, 0x12, 0x03, 0x16, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
|
|
|
|
0x02, 0x02, 0x08, 0x05, 0x12, 0x03, 0x16, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02,
|
|
|
|
0x08, 0x01, 0x12, 0x03, 0x16, 0x14, 0x19, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x08, 0x03,
|
|
|
|
0x12, 0x03, 0x16, 0x1c, 0x1f, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x02, 0x02, 0x09, 0x12, 0x03, 0x17,
|
|
|
|
0x04, 0x2a, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x09, 0x04, 0x12, 0x03, 0x17, 0x04, 0x0c,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x09, 0x06, 0x12, 0x03, 0x17, 0x0d, 0x17, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x02, 0x02, 0x09, 0x01, 0x12, 0x03, 0x17, 0x18, 0x23, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x02, 0x02, 0x09, 0x03, 0x12, 0x03, 0x17, 0x26, 0x29, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x02,
|
|
|
|
0x02, 0x0a, 0x12, 0x03, 0x18, 0x04, 0x22, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x0a, 0x04,
|
|
|
|
0x12, 0x03, 0x18, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x0a, 0x06, 0x12, 0x03,
|
|
|
|
0x18, 0x0d, 0x12, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x0a, 0x01, 0x12, 0x03, 0x18, 0x13,
|
|
|
|
0x1b, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x0a, 0x03, 0x12, 0x03, 0x18, 0x1e, 0x21, 0x0a,
|
|
|
|
0x0b, 0x0a, 0x04, 0x04, 0x02, 0x02, 0x0b, 0x12, 0x03, 0x19, 0x04, 0x27, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x02, 0x02, 0x0b, 0x04, 0x12, 0x03, 0x19, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02,
|
|
|
|
0x02, 0x0b, 0x06, 0x12, 0x03, 0x19, 0x0d, 0x16, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x0b,
|
|
|
|
0x01, 0x12, 0x03, 0x19, 0x17, 0x20, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x0b, 0x03, 0x12,
|
|
|
|
0x03, 0x19, 0x23, 0x26, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x02, 0x02, 0x0c, 0x12, 0x03, 0x1a, 0x04,
|
|
|
|
0x32, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x0c, 0x04, 0x12, 0x03, 0x1a, 0x04, 0x0c, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x0c, 0x06, 0x12, 0x03, 0x1a, 0x0d, 0x1b, 0x0a, 0x0c, 0x0a,
|
|
|
|
0x05, 0x04, 0x02, 0x02, 0x0c, 0x01, 0x12, 0x03, 0x1a, 0x1c, 0x2b, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
|
|
|
|
0x02, 0x02, 0x0c, 0x03, 0x12, 0x03, 0x1a, 0x2e, 0x31, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x02, 0x02,
|
|
|
|
0x0d, 0x12, 0x03, 0x1b, 0x04, 0x2b, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x0d, 0x04, 0x12,
|
|
|
|
0x03, 0x1b, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x0d, 0x06, 0x12, 0x03, 0x1b,
|
|
|
|
0x0d, 0x18, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x0d, 0x01, 0x12, 0x03, 0x1b, 0x19, 0x24,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x0d, 0x03, 0x12, 0x03, 0x1b, 0x27, 0x2a, 0x0a, 0x0b,
|
|
|
|
0x0a, 0x04, 0x04, 0x02, 0x02, 0x0e, 0x12, 0x03, 0x1c, 0x04, 0x22, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
|
|
|
|
0x02, 0x02, 0x0e, 0x04, 0x12, 0x03, 0x1c, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02,
|
|
|
|
0x0e, 0x06, 0x12, 0x03, 0x1c, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x0e, 0x01,
|
|
|
|
0x12, 0x03, 0x1c, 0x14, 0x1b, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x0e, 0x03, 0x12, 0x03,
|
|
|
|
0x1c, 0x1e, 0x21, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x02, 0x02, 0x0f, 0x12, 0x03, 0x1d, 0x04, 0x31,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x0f, 0x04, 0x12, 0x03, 0x1d, 0x04, 0x0c, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x02, 0x02, 0x0f, 0x05, 0x12, 0x03, 0x1d, 0x0d, 0x11, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x02, 0x02, 0x0f, 0x01, 0x12, 0x03, 0x1d, 0x12, 0x29, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02,
|
|
|
|
0x02, 0x0f, 0x03, 0x12, 0x03, 0x1d, 0x2c, 0x30, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x02, 0x02, 0x10,
|
|
|
|
0x12, 0x03, 0x1e, 0x04, 0x2e, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x10, 0x04, 0x12, 0x03,
|
|
|
|
0x1e, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x10, 0x06, 0x12, 0x03, 0x1e, 0x0d,
|
|
|
|
0x17, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x10, 0x01, 0x12, 0x03, 0x1e, 0x18, 0x26, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x10, 0x03, 0x12, 0x03, 0x1e, 0x29, 0x2d, 0x0a, 0x0a, 0x0a,
|
|
|
|
0x02, 0x04, 0x03, 0x12, 0x04, 0x21, 0x00, 0x23, 0x01, 0x0a, 0x0a, 0x0a, 0x03, 0x04, 0x03, 0x01,
|
|
|
|
0x12, 0x03, 0x21, 0x08, 0x12, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x03, 0x02, 0x00, 0x12, 0x03, 0x22,
|
|
|
|
0x04, 0x1f, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x03, 0x02, 0x00, 0x04, 0x12, 0x03, 0x22, 0x04, 0x0c,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x03, 0x02, 0x00, 0x06, 0x12, 0x03, 0x22, 0x0d, 0x12, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x03, 0x02, 0x00, 0x01, 0x12, 0x03, 0x22, 0x13, 0x18, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x03, 0x02, 0x00, 0x03, 0x12, 0x03, 0x22, 0x1b, 0x1e, 0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x04,
|
|
|
|
0x12, 0x04, 0x25, 0x00, 0x29, 0x01, 0x0a, 0x0a, 0x0a, 0x03, 0x04, 0x04, 0x01, 0x12, 0x03, 0x25,
|
|
|
|
0x08, 0x0c, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x04, 0x02, 0x00, 0x12, 0x03, 0x26, 0x04, 0x1f, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x05, 0x04, 0x04, 0x02, 0x00, 0x04, 0x12, 0x03, 0x26, 0x04, 0x0c, 0x0a, 0x0c, 0x0a,
|
|
|
|
0x05, 0x04, 0x04, 0x02, 0x00, 0x05, 0x12, 0x03, 0x26, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
|
|
|
|
0x04, 0x02, 0x00, 0x01, 0x12, 0x03, 0x26, 0x14, 0x18, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x04, 0x02,
|
|
|
|
0x00, 0x03, 0x12, 0x03, 0x26, 0x1b, 0x1e, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x04, 0x02, 0x01, 0x12,
|
|
|
|
0x03, 0x27, 0x04, 0x20, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x04, 0x02, 0x01, 0x04, 0x12, 0x03, 0x27,
|
|
|
|
0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x04, 0x02, 0x01, 0x05, 0x12, 0x03, 0x27, 0x0d, 0x13,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x04, 0x02, 0x01, 0x01, 0x12, 0x03, 0x27, 0x14, 0x19, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x04, 0x02, 0x01, 0x03, 0x12, 0x03, 0x27, 0x1c, 0x1f, 0x0a, 0x0b, 0x0a, 0x04,
|
|
|
|
0x04, 0x04, 0x02, 0x02, 0x12, 0x03, 0x28, 0x04, 0x1e, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x04, 0x02,
|
|
|
|
0x02, 0x04, 0x12, 0x03, 0x28, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x04, 0x02, 0x02, 0x05,
|
|
|
|
0x12, 0x03, 0x28, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x04, 0x02, 0x02, 0x01, 0x12, 0x03,
|
|
|
|
0x28, 0x14, 0x17, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x04, 0x02, 0x02, 0x03, 0x12, 0x03, 0x28, 0x1a,
|
|
|
|
0x1d, 0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x05, 0x12, 0x04, 0x2b, 0x00, 0x43, 0x01, 0x0a, 0x0a, 0x0a,
|
|
|
|
0x03, 0x04, 0x05, 0x01, 0x12, 0x03, 0x2b, 0x08, 0x0d, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x05, 0x02,
|
|
|
|
0x00, 0x12, 0x03, 0x2c, 0x04, 0x1d, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x00, 0x04, 0x12,
|
|
|
|
0x03, 0x2c, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x00, 0x05, 0x12, 0x03, 0x2c,
|
|
|
|
0x0d, 0x12, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x00, 0x01, 0x12, 0x03, 0x2c, 0x13, 0x16,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x00, 0x03, 0x12, 0x03, 0x2c, 0x19, 0x1c, 0x0a, 0x0b,
|
|
|
|
0x0a, 0x04, 0x04, 0x05, 0x02, 0x01, 0x12, 0x03, 0x2d, 0x04, 0x1f, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
|
|
|
|
0x05, 0x02, 0x01, 0x04, 0x12, 0x03, 0x2d, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02,
|
|
|
|
0x01, 0x05, 0x12, 0x03, 0x2d, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x01, 0x01,
|
|
|
|
0x12, 0x03, 0x2d, 0x14, 0x18, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x01, 0x03, 0x12, 0x03,
|
|
|
|
0x2d, 0x1b, 0x1e, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x05, 0x02, 0x02, 0x12, 0x03, 0x2e, 0x04, 0x21,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x02, 0x04, 0x12, 0x03, 0x2e, 0x04, 0x0c, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x05, 0x02, 0x02, 0x06, 0x12, 0x03, 0x2e, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x05, 0x02, 0x02, 0x01, 0x12, 0x03, 0x2e, 0x14, 0x1a, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05,
|
|
|
|
0x02, 0x02, 0x03, 0x12, 0x03, 0x2e, 0x1d, 0x20, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x05, 0x02, 0x03,
|
|
|
|
0x12, 0x03, 0x2f, 0x04, 0x1c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x03, 0x04, 0x12, 0x03,
|
|
|
|
0x2f, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x03, 0x06, 0x12, 0x03, 0x2f, 0x0d,
|
|
|
|
0x11, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x03, 0x01, 0x12, 0x03, 0x2f, 0x12, 0x15, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x03, 0x03, 0x12, 0x03, 0x2f, 0x18, 0x1b, 0x0a, 0x0c, 0x0a,
|
|
|
|
0x04, 0x04, 0x05, 0x04, 0x00, 0x12, 0x04, 0x30, 0x04, 0x35, 0x05, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
|
|
|
|
0x05, 0x04, 0x00, 0x01, 0x12, 0x03, 0x30, 0x09, 0x0d, 0x0a, 0x0d, 0x0a, 0x06, 0x04, 0x05, 0x04,
|
|
|
|
0x00, 0x02, 0x00, 0x12, 0x03, 0x31, 0x08, 0x14, 0x0a, 0x0e, 0x0a, 0x07, 0x04, 0x05, 0x04, 0x00,
|
|
|
|
0x02, 0x00, 0x01, 0x12, 0x03, 0x31, 0x08, 0x0d, 0x0a, 0x0e, 0x0a, 0x07, 0x04, 0x05, 0x04, 0x00,
|
|
|
|
0x02, 0x00, 0x02, 0x12, 0x03, 0x31, 0x10, 0x13, 0x0a, 0x0d, 0x0a, 0x06, 0x04, 0x05, 0x04, 0x00,
|
|
|
|
0x02, 0x01, 0x12, 0x03, 0x32, 0x08, 0x15, 0x0a, 0x0e, 0x0a, 0x07, 0x04, 0x05, 0x04, 0x00, 0x02,
|
|
|
|
0x01, 0x01, 0x12, 0x03, 0x32, 0x08, 0x0e, 0x0a, 0x0e, 0x0a, 0x07, 0x04, 0x05, 0x04, 0x00, 0x02,
|
|
|
|
0x01, 0x02, 0x12, 0x03, 0x32, 0x11, 0x14, 0x0a, 0x0d, 0x0a, 0x06, 0x04, 0x05, 0x04, 0x00, 0x02,
|
|
|
|
0x02, 0x12, 0x03, 0x33, 0x08, 0x1a, 0x0a, 0x0e, 0x0a, 0x07, 0x04, 0x05, 0x04, 0x00, 0x02, 0x02,
|
|
|
|
0x01, 0x12, 0x03, 0x33, 0x08, 0x13, 0x0a, 0x0e, 0x0a, 0x07, 0x04, 0x05, 0x04, 0x00, 0x02, 0x02,
|
|
|
|
0x02, 0x12, 0x03, 0x33, 0x16, 0x19, 0x0a, 0x0d, 0x0a, 0x06, 0x04, 0x05, 0x04, 0x00, 0x02, 0x03,
|
|
|
|
0x12, 0x03, 0x34, 0x08, 0x11, 0x0a, 0x0e, 0x0a, 0x07, 0x04, 0x05, 0x04, 0x00, 0x02, 0x03, 0x01,
|
|
|
|
0x12, 0x03, 0x34, 0x08, 0x0a, 0x0a, 0x0e, 0x0a, 0x07, 0x04, 0x05, 0x04, 0x00, 0x02, 0x03, 0x02,
|
|
|
|
0x12, 0x03, 0x34, 0x0d, 0x10, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x05, 0x02, 0x04, 0x12, 0x03, 0x36,
|
|
|
|
0x04, 0x20, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x04, 0x04, 0x12, 0x03, 0x36, 0x04, 0x0c,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x04, 0x05, 0x12, 0x03, 0x36, 0x0d, 0x13, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x05, 0x02, 0x04, 0x01, 0x12, 0x03, 0x36, 0x14, 0x19, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x05, 0x02, 0x04, 0x03, 0x12, 0x03, 0x36, 0x1c, 0x1f, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x05,
|
|
|
|
0x02, 0x05, 0x12, 0x03, 0x37, 0x04, 0x1d, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x05, 0x04,
|
|
|
|
0x12, 0x03, 0x37, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x05, 0x06, 0x12, 0x03,
|
|
|
|
0x37, 0x0d, 0x11, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x05, 0x01, 0x12, 0x03, 0x37, 0x12,
|
|
|
|
0x16, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x05, 0x03, 0x12, 0x03, 0x37, 0x19, 0x1c, 0x0a,
|
|
|
|
0x0b, 0x0a, 0x04, 0x04, 0x05, 0x02, 0x06, 0x12, 0x03, 0x38, 0x04, 0x25, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x05, 0x02, 0x06, 0x04, 0x12, 0x03, 0x38, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05,
|
|
|
|
0x02, 0x06, 0x05, 0x12, 0x03, 0x38, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x06,
|
|
|
|
0x01, 0x12, 0x03, 0x38, 0x14, 0x1e, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x06, 0x03, 0x12,
|
|
|
|
0x03, 0x38, 0x21, 0x24, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x05, 0x02, 0x07, 0x12, 0x03, 0x39, 0x04,
|
|
|
|
0x20, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x07, 0x04, 0x12, 0x03, 0x39, 0x04, 0x0c, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x07, 0x05, 0x12, 0x03, 0x39, 0x0d, 0x13, 0x0a, 0x0c, 0x0a,
|
|
|
|
0x05, 0x04, 0x05, 0x02, 0x07, 0x01, 0x12, 0x03, 0x39, 0x14, 0x19, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
|
|
|
|
0x05, 0x02, 0x07, 0x03, 0x12, 0x03, 0x39, 0x1c, 0x1f, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x05, 0x02,
|
|
|
|
0x08, 0x12, 0x03, 0x3a, 0x04, 0x1f, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x08, 0x04, 0x12,
|
|
|
|
0x03, 0x3a, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x08, 0x06, 0x12, 0x03, 0x3a,
|
|
|
|
0x0d, 0x12, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x08, 0x01, 0x12, 0x03, 0x3a, 0x13, 0x18,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x08, 0x03, 0x12, 0x03, 0x3a, 0x1b, 0x1e, 0x0a, 0x0b,
|
|
|
|
0x0a, 0x04, 0x04, 0x05, 0x02, 0x09, 0x12, 0x03, 0x3b, 0x04, 0x2a, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
|
|
|
|
0x05, 0x02, 0x09, 0x04, 0x12, 0x03, 0x3b, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02,
|
|
|
|
0x09, 0x06, 0x12, 0x03, 0x3b, 0x0d, 0x17, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x09, 0x01,
|
|
|
|
0x12, 0x03, 0x3b, 0x18, 0x23, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x09, 0x03, 0x12, 0x03,
|
|
|
|
0x3b, 0x26, 0x29, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x05, 0x02, 0x0a, 0x12, 0x03, 0x3c, 0x04, 0x1d,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x0a, 0x04, 0x12, 0x03, 0x3c, 0x04, 0x0c, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x05, 0x02, 0x0a, 0x06, 0x12, 0x03, 0x3c, 0x0d, 0x11, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x05, 0x02, 0x0a, 0x01, 0x12, 0x03, 0x3c, 0x12, 0x16, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05,
|
|
|
|
0x02, 0x0a, 0x03, 0x12, 0x03, 0x3c, 0x19, 0x1c, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x05, 0x02, 0x0b,
|
|
|
|
0x12, 0x03, 0x3d, 0x04, 0x21, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x0b, 0x04, 0x12, 0x03,
|
|
|
|
0x3d, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x0b, 0x05, 0x12, 0x03, 0x3d, 0x0d,
|
|
|
|
0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x0b, 0x01, 0x12, 0x03, 0x3d, 0x14, 0x1a, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x0b, 0x03, 0x12, 0x03, 0x3d, 0x1d, 0x20, 0x0a, 0x0b, 0x0a,
|
|
|
|
0x04, 0x04, 0x05, 0x02, 0x0c, 0x12, 0x03, 0x3e, 0x04, 0x27, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05,
|
|
|
|
0x02, 0x0c, 0x04, 0x12, 0x03, 0x3e, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x0c,
|
|
|
|
0x06, 0x12, 0x03, 0x3e, 0x0d, 0x16, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x0c, 0x01, 0x12,
|
|
|
|
0x03, 0x3e, 0x17, 0x20, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x0c, 0x03, 0x12, 0x03, 0x3e,
|
|
|
|
0x23, 0x26, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x05, 0x02, 0x0d, 0x12, 0x03, 0x3f, 0x04, 0x2b, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x0d, 0x04, 0x12, 0x03, 0x3f, 0x04, 0x0c, 0x0a, 0x0c, 0x0a,
|
|
|
|
0x05, 0x04, 0x05, 0x02, 0x0d, 0x06, 0x12, 0x03, 0x3f, 0x0d, 0x18, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
|
|
|
|
0x05, 0x02, 0x0d, 0x01, 0x12, 0x03, 0x3f, 0x19, 0x24, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02,
|
|
|
|
0x0d, 0x03, 0x12, 0x03, 0x3f, 0x27, 0x2a, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x05, 0x02, 0x0e, 0x12,
|
|
|
|
0x03, 0x40, 0x04, 0x21, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x0e, 0x04, 0x12, 0x03, 0x40,
|
|
|
|
0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x0e, 0x06, 0x12, 0x03, 0x40, 0x0d, 0x12,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x0e, 0x01, 0x12, 0x03, 0x40, 0x13, 0x1a, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x05, 0x02, 0x0e, 0x03, 0x12, 0x03, 0x40, 0x1d, 0x20, 0x0a, 0x0b, 0x0a, 0x04,
|
|
|
|
0x04, 0x05, 0x02, 0x0f, 0x12, 0x03, 0x41, 0x04, 0x2b, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02,
|
|
|
|
0x0f, 0x04, 0x12, 0x03, 0x41, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x0f, 0x06,
|
|
|
|
0x12, 0x03, 0x41, 0x0d, 0x17, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x0f, 0x01, 0x12, 0x03,
|
|
|
|
0x41, 0x18, 0x23, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x0f, 0x03, 0x12, 0x03, 0x41, 0x26,
|
|
|
|
0x2a, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x05, 0x02, 0x10, 0x12, 0x03, 0x42, 0x04, 0x2b, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x05, 0x02, 0x10, 0x04, 0x12, 0x03, 0x42, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x05, 0x02, 0x10, 0x06, 0x12, 0x03, 0x42, 0x0d, 0x17, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05,
|
|
|
|
0x02, 0x10, 0x01, 0x12, 0x03, 0x42, 0x18, 0x23, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x10,
|
|
|
|
0x03, 0x12, 0x03, 0x42, 0x26, 0x2a, 0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x06, 0x12, 0x04, 0x45, 0x00,
|
|
|
|
0x55, 0x01, 0x0a, 0x0a, 0x0a, 0x03, 0x04, 0x06, 0x01, 0x12, 0x03, 0x45, 0x08, 0x0d, 0x0a, 0x0b,
|
|
|
|
0x0a, 0x04, 0x04, 0x06, 0x02, 0x00, 0x12, 0x03, 0x46, 0x04, 0x1d, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
|
|
|
|
0x06, 0x02, 0x00, 0x04, 0x12, 0x03, 0x46, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02,
|
|
|
|
0x00, 0x05, 0x12, 0x03, 0x46, 0x0d, 0x12, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x00, 0x01,
|
|
|
|
0x12, 0x03, 0x46, 0x13, 0x16, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x00, 0x03, 0x12, 0x03,
|
|
|
|
0x46, 0x19, 0x1c, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x06, 0x02, 0x01, 0x12, 0x03, 0x47, 0x04, 0x1f,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x01, 0x04, 0x12, 0x03, 0x47, 0x04, 0x0c, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x06, 0x02, 0x01, 0x05, 0x12, 0x03, 0x47, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x06, 0x02, 0x01, 0x01, 0x12, 0x03, 0x47, 0x14, 0x18, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06,
|
|
|
|
0x02, 0x01, 0x03, 0x12, 0x03, 0x47, 0x1b, 0x1e, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x06, 0x02, 0x02,
|
|
|
|
0x12, 0x03, 0x48, 0x04, 0x1f, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x02, 0x04, 0x12, 0x03,
|
|
|
|
0x48, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x02, 0x06, 0x12, 0x03, 0x48, 0x0d,
|
|
|
|
0x12, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x02, 0x01, 0x12, 0x03, 0x48, 0x13, 0x18, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x02, 0x03, 0x12, 0x03, 0x48, 0x1b, 0x1e, 0x0a, 0x0b, 0x0a,
|
|
|
|
0x04, 0x04, 0x06, 0x02, 0x03, 0x12, 0x03, 0x49, 0x04, 0x21, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06,
|
|
|
|
0x02, 0x03, 0x04, 0x12, 0x03, 0x49, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x03,
|
|
|
|
0x06, 0x12, 0x03, 0x49, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x03, 0x01, 0x12,
|
|
|
|
0x03, 0x49, 0x14, 0x1a, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x03, 0x03, 0x12, 0x03, 0x49,
|
|
|
|
0x1d, 0x20, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x06, 0x02, 0x04, 0x12, 0x03, 0x4a, 0x04, 0x21, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x04, 0x04, 0x12, 0x03, 0x4a, 0x04, 0x0c, 0x0a, 0x0c, 0x0a,
|
|
|
|
0x05, 0x04, 0x06, 0x02, 0x04, 0x05, 0x12, 0x03, 0x4a, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
|
|
|
|
0x06, 0x02, 0x04, 0x01, 0x12, 0x03, 0x4a, 0x14, 0x1a, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02,
|
|
|
|
0x04, 0x03, 0x12, 0x03, 0x4a, 0x1d, 0x20, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x06, 0x02, 0x05, 0x12,
|
|
|
|
0x03, 0x4b, 0x04, 0x26, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x05, 0x04, 0x12, 0x03, 0x4b,
|
|
|
|
0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x05, 0x05, 0x12, 0x03, 0x4b, 0x0d, 0x13,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x05, 0x01, 0x12, 0x03, 0x4b, 0x14, 0x1f, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x06, 0x02, 0x05, 0x03, 0x12, 0x03, 0x4b, 0x22, 0x25, 0x0a, 0x0b, 0x0a, 0x04,
|
|
|
|
0x04, 0x06, 0x02, 0x06, 0x12, 0x03, 0x4c, 0x04, 0x23, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02,
|
|
|
|
0x06, 0x04, 0x12, 0x03, 0x4c, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x06, 0x05,
|
|
|
|
0x12, 0x03, 0x4c, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x06, 0x01, 0x12, 0x03,
|
|
|
|
0x4c, 0x14, 0x1c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x06, 0x03, 0x12, 0x03, 0x4c, 0x1f,
|
|
|
|
0x22, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x06, 0x02, 0x07, 0x12, 0x03, 0x4d, 0x04, 0x25, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x06, 0x02, 0x07, 0x04, 0x12, 0x03, 0x4d, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x06, 0x02, 0x07, 0x05, 0x12, 0x03, 0x4d, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06,
|
|
|
|
0x02, 0x07, 0x01, 0x12, 0x03, 0x4d, 0x14, 0x1e, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x07,
|
|
|
|
0x03, 0x12, 0x03, 0x4d, 0x21, 0x24, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x06, 0x02, 0x08, 0x12, 0x03,
|
|
|
|
0x4e, 0x04, 0x21, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x08, 0x04, 0x12, 0x03, 0x4e, 0x04,
|
|
|
|
0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x08, 0x05, 0x12, 0x03, 0x4e, 0x0d, 0x11, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x08, 0x01, 0x12, 0x03, 0x4e, 0x12, 0x1a, 0x0a, 0x0c, 0x0a,
|
|
|
|
0x05, 0x04, 0x06, 0x02, 0x08, 0x03, 0x12, 0x03, 0x4e, 0x1d, 0x20, 0x0a, 0x0b, 0x0a, 0x04, 0x04,
|
|
|
|
0x06, 0x02, 0x09, 0x12, 0x03, 0x4f, 0x04, 0x2a, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x09,
|
|
|
|
0x04, 0x12, 0x03, 0x4f, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x09, 0x06, 0x12,
|
|
|
|
0x03, 0x4f, 0x0d, 0x17, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x09, 0x01, 0x12, 0x03, 0x4f,
|
|
|
|
0x18, 0x23, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x09, 0x03, 0x12, 0x03, 0x4f, 0x26, 0x29,
|
|
|
|
0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x06, 0x02, 0x0a, 0x12, 0x03, 0x50, 0x04, 0x2b, 0x0a, 0x0c, 0x0a,
|
|
|
|
0x05, 0x04, 0x06, 0x02, 0x0a, 0x04, 0x12, 0x03, 0x50, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
|
|
|
|
0x06, 0x02, 0x0a, 0x06, 0x12, 0x03, 0x50, 0x0d, 0x18, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02,
|
|
|
|
0x0a, 0x01, 0x12, 0x03, 0x50, 0x19, 0x24, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x0a, 0x03,
|
|
|
|
0x12, 0x03, 0x50, 0x27, 0x2a, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x06, 0x02, 0x0b, 0x12, 0x03, 0x51,
|
|
|
|
0x04, 0x22, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x0b, 0x04, 0x12, 0x03, 0x51, 0x04, 0x0c,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x0b, 0x06, 0x12, 0x03, 0x51, 0x0d, 0x16, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x06, 0x02, 0x0b, 0x01, 0x12, 0x03, 0x51, 0x17, 0x1b, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x06, 0x02, 0x0b, 0x03, 0x12, 0x03, 0x51, 0x1e, 0x21, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x06,
|
|
|
|
0x02, 0x0c, 0x12, 0x03, 0x52, 0x04, 0x25, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x0c, 0x04,
|
|
|
|
0x12, 0x03, 0x52, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x0c, 0x06, 0x12, 0x03,
|
|
|
|
0x52, 0x0d, 0x12, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x0c, 0x01, 0x12, 0x03, 0x52, 0x13,
|
|
|
|
0x1e, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x0c, 0x03, 0x12, 0x03, 0x52, 0x21, 0x24, 0x0a,
|
|
|
|
0x0b, 0x0a, 0x04, 0x04, 0x06, 0x02, 0x0d, 0x12, 0x03, 0x53, 0x04, 0x2a, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x06, 0x02, 0x0d, 0x04, 0x12, 0x03, 0x53, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06,
|
|
|
|
0x02, 0x0d, 0x06, 0x12, 0x03, 0x53, 0x0d, 0x17, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x0d,
|
|
|
|
0x01, 0x12, 0x03, 0x53, 0x18, 0x23, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x0d, 0x03, 0x12,
|
|
|
|
0x03, 0x53, 0x26, 0x29, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x06, 0x02, 0x0e, 0x12, 0x03, 0x54, 0x04,
|
|
|
|
0x25, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x0e, 0x04, 0x12, 0x03, 0x54, 0x04, 0x0c, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x0e, 0x06, 0x12, 0x03, 0x54, 0x0d, 0x16, 0x0a, 0x0c, 0x0a,
|
|
|
|
0x05, 0x04, 0x06, 0x02, 0x0e, 0x01, 0x12, 0x03, 0x54, 0x17, 0x1e, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
|
|
|
|
0x06, 0x02, 0x0e, 0x03, 0x12, 0x03, 0x54, 0x21, 0x24, 0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x07, 0x12,
|
|
|
|
0x04, 0x57, 0x00, 0x62, 0x01, 0x0a, 0x0a, 0x0a, 0x03, 0x04, 0x07, 0x01, 0x12, 0x03, 0x57, 0x08,
|
|
|
|
0x0d, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x07, 0x02, 0x00, 0x12, 0x03, 0x58, 0x04, 0x21, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x07, 0x02, 0x00, 0x04, 0x12, 0x03, 0x58, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x07, 0x02, 0x00, 0x05, 0x12, 0x03, 0x58, 0x0d, 0x12, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x07,
|
|
|
|
0x02, 0x00, 0x01, 0x12, 0x03, 0x58, 0x13, 0x1a, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x07, 0x02, 0x00,
|
|
|
|
0x03, 0x12, 0x03, 0x58, 0x1d, 0x20, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x07, 0x02, 0x01, 0x12, 0x03,
|
|
|
|
0x59, 0x04, 0x1d, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x07, 0x02, 0x01, 0x04, 0x12, 0x03, 0x59, 0x04,
|
|
|
|
0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x07, 0x02, 0x01, 0x06, 0x12, 0x03, 0x59, 0x0d, 0x11, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x05, 0x04, 0x07, 0x02, 0x01, 0x01, 0x12, 0x03, 0x59, 0x12, 0x16, 0x0a, 0x0c, 0x0a,
|
|
|
|
0x05, 0x04, 0x07, 0x02, 0x01, 0x03, 0x12, 0x03, 0x59, 0x19, 0x1c, 0x0a, 0x0c, 0x0a, 0x04, 0x04,
|
|
|
|
0x07, 0x04, 0x00, 0x12, 0x04, 0x5a, 0x04, 0x5f, 0x05, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x07, 0x04,
|
|
|
|
0x00, 0x01, 0x12, 0x03, 0x5a, 0x09, 0x0d, 0x0a, 0x0d, 0x0a, 0x06, 0x04, 0x07, 0x04, 0x00, 0x02,
|
|
|
|
0x00, 0x12, 0x03, 0x5b, 0x08, 0x16, 0x0a, 0x0e, 0x0a, 0x07, 0x04, 0x07, 0x04, 0x00, 0x02, 0x00,
|
|
|
|
0x01, 0x12, 0x03, 0x5b, 0x08, 0x0f, 0x0a, 0x0e, 0x0a, 0x07, 0x04, 0x07, 0x04, 0x00, 0x02, 0x00,
|
|
|
|
0x02, 0x12, 0x03, 0x5b, 0x12, 0x15, 0x0a, 0x0d, 0x0a, 0x06, 0x04, 0x07, 0x04, 0x00, 0x02, 0x01,
|
|
|
|
0x12, 0x03, 0x5c, 0x08, 0x14, 0x0a, 0x0e, 0x0a, 0x07, 0x04, 0x07, 0x04, 0x00, 0x02, 0x01, 0x01,
|
|
|
|
0x12, 0x03, 0x5c, 0x08, 0x0d, 0x0a, 0x0e, 0x0a, 0x07, 0x04, 0x07, 0x04, 0x00, 0x02, 0x01, 0x02,
|
|
|
|
0x12, 0x03, 0x5c, 0x10, 0x13, 0x0a, 0x0d, 0x0a, 0x06, 0x04, 0x07, 0x04, 0x00, 0x02, 0x02, 0x12,
|
|
|
|
0x03, 0x5d, 0x08, 0x14, 0x0a, 0x0e, 0x0a, 0x07, 0x04, 0x07, 0x04, 0x00, 0x02, 0x02, 0x01, 0x12,
|
|
|
|
0x03, 0x5d, 0x08, 0x0d, 0x0a, 0x0e, 0x0a, 0x07, 0x04, 0x07, 0x04, 0x00, 0x02, 0x02, 0x02, 0x12,
|
|
|
|
0x03, 0x5d, 0x10, 0x13, 0x0a, 0x0d, 0x0a, 0x06, 0x04, 0x07, 0x04, 0x00, 0x02, 0x03, 0x12, 0x03,
|
|
|
|
0x5e, 0x08, 0x15, 0x0a, 0x0e, 0x0a, 0x07, 0x04, 0x07, 0x04, 0x00, 0x02, 0x03, 0x01, 0x12, 0x03,
|
|
|
|
0x5e, 0x08, 0x0e, 0x0a, 0x0e, 0x0a, 0x07, 0x04, 0x07, 0x04, 0x00, 0x02, 0x03, 0x02, 0x12, 0x03,
|
|
|
|
0x5e, 0x11, 0x14, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x07, 0x02, 0x02, 0x12, 0x03, 0x60, 0x04, 0x20,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x07, 0x02, 0x02, 0x04, 0x12, 0x03, 0x60, 0x04, 0x0c, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x07, 0x02, 0x02, 0x05, 0x12, 0x03, 0x60, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x07, 0x02, 0x02, 0x01, 0x12, 0x03, 0x60, 0x14, 0x19, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x07,
|
|
|
|
0x02, 0x02, 0x03, 0x12, 0x03, 0x60, 0x1c, 0x1f, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x07, 0x02, 0x03,
|
|
|
|
0x12, 0x03, 0x61, 0x04, 0x21, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x07, 0x02, 0x03, 0x04, 0x12, 0x03,
|
|
|
|
0x61, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x07, 0x02, 0x03, 0x05, 0x12, 0x03, 0x61, 0x0d,
|
|
|
|
0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x07, 0x02, 0x03, 0x01, 0x12, 0x03, 0x61, 0x14, 0x1a, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x05, 0x04, 0x07, 0x02, 0x03, 0x03, 0x12, 0x03, 0x61, 0x1d, 0x20, 0x0a, 0x0a, 0x0a,
|
|
|
|
0x02, 0x04, 0x08, 0x12, 0x04, 0x64, 0x00, 0x66, 0x01, 0x0a, 0x0a, 0x0a, 0x03, 0x04, 0x08, 0x01,
|
|
|
|
0x12, 0x03, 0x64, 0x08, 0x12, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x08, 0x02, 0x00, 0x12, 0x03, 0x65,
|
|
|
|
0x04, 0x1f, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x08, 0x02, 0x00, 0x04, 0x12, 0x03, 0x65, 0x04, 0x0c,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x08, 0x02, 0x00, 0x06, 0x12, 0x03, 0x65, 0x0d, 0x12, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x08, 0x02, 0x00, 0x01, 0x12, 0x03, 0x65, 0x13, 0x18, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x08, 0x02, 0x00, 0x03, 0x12, 0x03, 0x65, 0x1b, 0x1e, 0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x09,
|
|
|
|
0x12, 0x04, 0x68, 0x00, 0x6c, 0x01, 0x0a, 0x0a, 0x0a, 0x03, 0x04, 0x09, 0x01, 0x12, 0x03, 0x68,
|
|
|
|
0x08, 0x11, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x09, 0x02, 0x00, 0x12, 0x03, 0x69, 0x04, 0x1f, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x05, 0x04, 0x09, 0x02, 0x00, 0x04, 0x12, 0x03, 0x69, 0x04, 0x0c, 0x0a, 0x0c, 0x0a,
|
|
|
|
0x05, 0x04, 0x09, 0x02, 0x00, 0x05, 0x12, 0x03, 0x69, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
|
|
|
|
0x09, 0x02, 0x00, 0x01, 0x12, 0x03, 0x69, 0x14, 0x18, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x09, 0x02,
|
|
|
|
0x00, 0x03, 0x12, 0x03, 0x69, 0x1b, 0x1e, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x09, 0x02, 0x01, 0x12,
|
|
|
|
0x03, 0x6a, 0x04, 0x22, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x09, 0x02, 0x01, 0x04, 0x12, 0x03, 0x6a,
|
|
|
|
0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x09, 0x02, 0x01, 0x06, 0x12, 0x03, 0x6a, 0x0d, 0x12,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x09, 0x02, 0x01, 0x01, 0x12, 0x03, 0x6a, 0x13, 0x1b, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x09, 0x02, 0x01, 0x03, 0x12, 0x03, 0x6a, 0x1e, 0x21, 0x0a, 0x0b, 0x0a, 0x04,
|
|
|
|
0x04, 0x09, 0x02, 0x02, 0x12, 0x03, 0x6b, 0x04, 0x2d, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x09, 0x02,
|
|
|
|
0x02, 0x04, 0x12, 0x03, 0x6b, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x09, 0x02, 0x02, 0x06,
|
|
|
|
0x12, 0x03, 0x6b, 0x0d, 0x17, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x09, 0x02, 0x02, 0x01, 0x12, 0x03,
|
|
|
|
0x6b, 0x18, 0x26, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x09, 0x02, 0x02, 0x03, 0x12, 0x03, 0x6b, 0x29,
|
|
|
|
0x2c, 0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x0a, 0x12, 0x04, 0x6e, 0x00, 0x72, 0x01, 0x0a, 0x0a, 0x0a,
|
|
|
|
0x03, 0x04, 0x0a, 0x01, 0x12, 0x03, 0x6e, 0x08, 0x0c, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x0a, 0x02,
|
|
|
|
0x00, 0x12, 0x03, 0x6f, 0x04, 0x21, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0a, 0x02, 0x00, 0x04, 0x12,
|
|
|
|
0x03, 0x6f, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0a, 0x02, 0x00, 0x05, 0x12, 0x03, 0x6f,
|
|
|
|
0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0a, 0x02, 0x00, 0x01, 0x12, 0x03, 0x6f, 0x14, 0x1a,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0a, 0x02, 0x00, 0x03, 0x12, 0x03, 0x6f, 0x1d, 0x20, 0x0a, 0x0b,
|
|
|
|
0x0a, 0x04, 0x04, 0x0a, 0x02, 0x01, 0x12, 0x03, 0x70, 0x04, 0x1f, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
|
|
|
|
0x0a, 0x02, 0x01, 0x04, 0x12, 0x03, 0x70, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0a, 0x02,
|
|
|
|
0x01, 0x05, 0x12, 0x03, 0x70, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0a, 0x02, 0x01, 0x01,
|
|
|
|
0x12, 0x03, 0x70, 0x14, 0x18, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0a, 0x02, 0x01, 0x03, 0x12, 0x03,
|
|
|
|
0x70, 0x1b, 0x1e, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x0a, 0x02, 0x02, 0x12, 0x03, 0x71, 0x04, 0x1f,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0a, 0x02, 0x02, 0x04, 0x12, 0x03, 0x71, 0x04, 0x0c, 0x0a, 0x0c,
|
|
|
|
0x0a, 0x05, 0x04, 0x0a, 0x02, 0x02, 0x06, 0x12, 0x03, 0x71, 0x0d, 0x12, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x0a, 0x02, 0x02, 0x01, 0x12, 0x03, 0x71, 0x13, 0x18, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0a,
|
|
|
|
0x02, 0x02, 0x03, 0x12, 0x03, 0x71, 0x1b, 0x1e, 0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x0b, 0x12, 0x04,
|
|
|
|
0x74, 0x00, 0x7b, 0x01, 0x0a, 0x0a, 0x0a, 0x03, 0x04, 0x0b, 0x01, 0x12, 0x03, 0x74, 0x08, 0x11,
|
|
|
|
0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x0b, 0x02, 0x00, 0x12, 0x03, 0x75, 0x04, 0x1c, 0x0a, 0x0c, 0x0a,
|
|
|
|
0x05, 0x04, 0x0b, 0x02, 0x00, 0x04, 0x12, 0x03, 0x75, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
|
|
|
|
0x0b, 0x02, 0x00, 0x06, 0x12, 0x03, 0x75, 0x0d, 0x11, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0b, 0x02,
|
|
|
|
0x00, 0x01, 0x12, 0x03, 0x75, 0x12, 0x15, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0b, 0x02, 0x00, 0x03,
|
|
|
|
0x12, 0x03, 0x75, 0x18, 0x1b, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x0b, 0x04, 0x00, 0x12, 0x04, 0x76,
|
|
|
|
0x04, 0x79, 0x05, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0b, 0x04, 0x00, 0x01, 0x12, 0x03, 0x76, 0x09,
|
|
|
|
0x0d, 0x0a, 0x0d, 0x0a, 0x06, 0x04, 0x0b, 0x04, 0x00, 0x02, 0x00, 0x12, 0x03, 0x77, 0x08, 0x10,
|
|
|
|
0x0a, 0x0e, 0x0a, 0x07, 0x04, 0x0b, 0x04, 0x00, 0x02, 0x00, 0x01, 0x12, 0x03, 0x77, 0x08, 0x09,
|
|
|
|
0x0a, 0x0e, 0x0a, 0x07, 0x04, 0x0b, 0x04, 0x00, 0x02, 0x00, 0x02, 0x12, 0x03, 0x77, 0x0c, 0x0f,
|
|
|
|
0x0a, 0x0d, 0x0a, 0x06, 0x04, 0x0b, 0x04, 0x00, 0x02, 0x01, 0x12, 0x03, 0x78, 0x08, 0x10, 0x0a,
|
|
|
|
0x0e, 0x0a, 0x07, 0x04, 0x0b, 0x04, 0x00, 0x02, 0x01, 0x01, 0x12, 0x03, 0x78, 0x08, 0x09, 0x0a,
|
|
|
|
0x0e, 0x0a, 0x07, 0x04, 0x0b, 0x04, 0x00, 0x02, 0x01, 0x02, 0x12, 0x03, 0x78, 0x0c, 0x0f, 0x0a,
|
|
|
|
0x0b, 0x0a, 0x04, 0x04, 0x0b, 0x02, 0x01, 0x12, 0x03, 0x7a, 0x04, 0x1f, 0x0a, 0x0c, 0x0a, 0x05,
|
|
|
|
0x04, 0x0b, 0x02, 0x01, 0x04, 0x12, 0x03, 0x7a, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0b,
|
|
|
|
0x02, 0x01, 0x05, 0x12, 0x03, 0x7a, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0b, 0x02, 0x01,
|
|
|
|
0x01, 0x12, 0x03, 0x7a, 0x14, 0x18, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0b, 0x02, 0x01, 0x03, 0x12,
|
|
|
|
0x03, 0x7a, 0x1b, 0x1e, 0x0a, 0x0b, 0x0a, 0x02, 0x04, 0x0c, 0x12, 0x05, 0x7d, 0x00, 0x85, 0x01,
|
|
|
|
0x01, 0x0a, 0x0a, 0x0a, 0x03, 0x04, 0x0c, 0x01, 0x12, 0x03, 0x7d, 0x08, 0x13, 0x0a, 0x0b, 0x0a,
|
|
|
|
0x04, 0x04, 0x0c, 0x02, 0x00, 0x12, 0x03, 0x7e, 0x04, 0x2c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0c,
|
|
|
|
0x02, 0x00, 0x04, 0x12, 0x03, 0x7e, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0c, 0x02, 0x00,
|
|
|
|
0x05, 0x12, 0x03, 0x7e, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0c, 0x02, 0x00, 0x01, 0x12,
|
|
|
|
0x03, 0x7e, 0x14, 0x25, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0c, 0x02, 0x00, 0x03, 0x12, 0x03, 0x7e,
|
|
|
|
0x28, 0x2b, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x0c, 0x02, 0x01, 0x12, 0x03, 0x7f, 0x04, 0x2e, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x05, 0x04, 0x0c, 0x02, 0x01, 0x04, 0x12, 0x03, 0x7f, 0x04, 0x0c, 0x0a, 0x0c, 0x0a,
|
|
|
|
0x05, 0x04, 0x0c, 0x02, 0x01, 0x05, 0x12, 0x03, 0x7f, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
|
|
|
|
0x0c, 0x02, 0x01, 0x01, 0x12, 0x03, 0x7f, 0x14, 0x27, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0c, 0x02,
|
|
|
|
0x01, 0x03, 0x12, 0x03, 0x7f, 0x2a, 0x2d, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x0c, 0x02, 0x02, 0x12,
|
|
|
|
0x04, 0x80, 0x01, 0x04, 0x1c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0c, 0x02, 0x02, 0x04, 0x12, 0x04,
|
|
|
|
0x80, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0c, 0x02, 0x02, 0x06, 0x12, 0x04, 0x80,
|
|
|
|
0x01, 0x0d, 0x11, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0c, 0x02, 0x02, 0x01, 0x12, 0x04, 0x80, 0x01,
|
|
|
|
0x12, 0x15, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0c, 0x02, 0x02, 0x03, 0x12, 0x04, 0x80, 0x01, 0x18,
|
|
|
|
0x1b, 0x0a, 0x0e, 0x0a, 0x04, 0x04, 0x0c, 0x04, 0x00, 0x12, 0x06, 0x81, 0x01, 0x04, 0x83, 0x01,
|
|
|
|
0x05, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0c, 0x04, 0x00, 0x01, 0x12, 0x04, 0x81, 0x01, 0x09, 0x0d,
|
|
|
|
0x0a, 0x0e, 0x0a, 0x06, 0x04, 0x0c, 0x04, 0x00, 0x02, 0x00, 0x12, 0x04, 0x82, 0x01, 0x08, 0x18,
|
|
|
|
0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0c, 0x04, 0x00, 0x02, 0x00, 0x01, 0x12, 0x04, 0x82, 0x01, 0x08,
|
|
|
|
0x11, 0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0c, 0x04, 0x00, 0x02, 0x00, 0x02, 0x12, 0x04, 0x82, 0x01,
|
|
|
|
0x14, 0x17, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x0c, 0x02, 0x03, 0x12, 0x04, 0x84, 0x01, 0x04, 0x28,
|
|
|
|
0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0c, 0x02, 0x03, 0x04, 0x12, 0x04, 0x84, 0x01, 0x04, 0x0c, 0x0a,
|
|
|
|
0x0d, 0x0a, 0x05, 0x04, 0x0c, 0x02, 0x03, 0x05, 0x12, 0x04, 0x84, 0x01, 0x0d, 0x13, 0x0a, 0x0d,
|
|
|
|
0x0a, 0x05, 0x04, 0x0c, 0x02, 0x03, 0x01, 0x12, 0x04, 0x84, 0x01, 0x14, 0x21, 0x0a, 0x0d, 0x0a,
|
|
|
|
0x05, 0x04, 0x0c, 0x02, 0x03, 0x03, 0x12, 0x04, 0x84, 0x01, 0x24, 0x27, 0x0a, 0x0c, 0x0a, 0x02,
|
|
|
|
0x04, 0x0d, 0x12, 0x06, 0x87, 0x01, 0x00, 0x8b, 0x01, 0x01, 0x0a, 0x0b, 0x0a, 0x03, 0x04, 0x0d,
|
|
|
|
0x01, 0x12, 0x04, 0x87, 0x01, 0x08, 0x12, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x0d, 0x02, 0x00, 0x12,
|
|
|
|
0x04, 0x88, 0x01, 0x04, 0x2b, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0d, 0x02, 0x00, 0x04, 0x12, 0x04,
|
|
|
|
0x88, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0d, 0x02, 0x00, 0x06, 0x12, 0x04, 0x88,
|
|
|
|
0x01, 0x0d, 0x18, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0d, 0x02, 0x00, 0x01, 0x12, 0x04, 0x88, 0x01,
|
|
|
|
0x19, 0x24, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0d, 0x02, 0x00, 0x03, 0x12, 0x04, 0x88, 0x01, 0x27,
|
|
|
|
0x2a, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x0d, 0x02, 0x01, 0x12, 0x04, 0x89, 0x01, 0x04, 0x1e, 0x0a,
|
|
|
|
0x0d, 0x0a, 0x05, 0x04, 0x0d, 0x02, 0x01, 0x04, 0x12, 0x04, 0x89, 0x01, 0x04, 0x0c, 0x0a, 0x0d,
|
|
|
|
0x0a, 0x05, 0x04, 0x0d, 0x02, 0x01, 0x06, 0x12, 0x04, 0x89, 0x01, 0x0d, 0x11, 0x0a, 0x0d, 0x0a,
|
|
|
|
0x05, 0x04, 0x0d, 0x02, 0x01, 0x01, 0x12, 0x04, 0x89, 0x01, 0x12, 0x17, 0x0a, 0x0d, 0x0a, 0x05,
|
|
|
|
0x04, 0x0d, 0x02, 0x01, 0x03, 0x12, 0x04, 0x89, 0x01, 0x1a, 0x1d, 0x0a, 0x0c, 0x0a, 0x04, 0x04,
|
|
|
|
0x0d, 0x02, 0x02, 0x12, 0x04, 0x8a, 0x01, 0x04, 0x1c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0d, 0x02,
|
|
|
|
0x02, 0x04, 0x12, 0x04, 0x8a, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0d, 0x02, 0x02,
|
|
|
|
0x06, 0x12, 0x04, 0x8a, 0x01, 0x0d, 0x11, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0d, 0x02, 0x02, 0x01,
|
|
|
|
0x12, 0x04, 0x8a, 0x01, 0x12, 0x15, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0d, 0x02, 0x02, 0x03, 0x12,
|
|
|
|
0x04, 0x8a, 0x01, 0x18, 0x1b, 0x0a, 0x0c, 0x0a, 0x02, 0x04, 0x0e, 0x12, 0x06, 0x8d, 0x01, 0x00,
|
|
|
|
0x90, 0x01, 0x01, 0x0a, 0x0b, 0x0a, 0x03, 0x04, 0x0e, 0x01, 0x12, 0x04, 0x8d, 0x01, 0x08, 0x12,
|
|
|
|
0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x0e, 0x02, 0x00, 0x12, 0x04, 0x8e, 0x01, 0x04, 0x1e, 0x0a, 0x0d,
|
|
|
|
0x0a, 0x05, 0x04, 0x0e, 0x02, 0x00, 0x04, 0x12, 0x04, 0x8e, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a,
|
|
|
|
0x05, 0x04, 0x0e, 0x02, 0x00, 0x05, 0x12, 0x04, 0x8e, 0x01, 0x0d, 0x13, 0x0a, 0x0d, 0x0a, 0x05,
|
|
|
|
0x04, 0x0e, 0x02, 0x00, 0x01, 0x12, 0x04, 0x8e, 0x01, 0x14, 0x17, 0x0a, 0x0d, 0x0a, 0x05, 0x04,
|
|
|
|
0x0e, 0x02, 0x00, 0x03, 0x12, 0x04, 0x8e, 0x01, 0x1a, 0x1d, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x0e,
|
|
|
|
0x02, 0x01, 0x12, 0x04, 0x8f, 0x01, 0x04, 0x1d, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0e, 0x02, 0x01,
|
|
|
|
0x04, 0x12, 0x04, 0x8f, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0e, 0x02, 0x01, 0x05,
|
|
|
|
0x12, 0x04, 0x8f, 0x01, 0x0d, 0x13, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0e, 0x02, 0x01, 0x01, 0x12,
|
|
|
|
0x04, 0x8f, 0x01, 0x14, 0x16, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0e, 0x02, 0x01, 0x03, 0x12, 0x04,
|
|
|
|
0x8f, 0x01, 0x19, 0x1c, 0x0a, 0x0c, 0x0a, 0x02, 0x04, 0x0f, 0x12, 0x06, 0x92, 0x01, 0x00, 0xa5,
|
|
|
|
0x01, 0x01, 0x0a, 0x0b, 0x0a, 0x03, 0x04, 0x0f, 0x01, 0x12, 0x04, 0x92, 0x01, 0x08, 0x11, 0x0a,
|
|
|
|
0x0c, 0x0a, 0x04, 0x04, 0x0f, 0x02, 0x00, 0x12, 0x04, 0x93, 0x01, 0x04, 0x21, 0x0a, 0x0d, 0x0a,
|
|
|
|
0x05, 0x04, 0x0f, 0x02, 0x00, 0x04, 0x12, 0x04, 0x93, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05,
|
|
|
|
0x04, 0x0f, 0x02, 0x00, 0x05, 0x12, 0x04, 0x93, 0x01, 0x0d, 0x12, 0x0a, 0x0d, 0x0a, 0x05, 0x04,
|
|
|
|
0x0f, 0x02, 0x00, 0x01, 0x12, 0x04, 0x93, 0x01, 0x13, 0x1a, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0f,
|
|
|
|
0x02, 0x00, 0x03, 0x12, 0x04, 0x93, 0x01, 0x1d, 0x20, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x0f, 0x02,
|
|
|
|
0x01, 0x12, 0x04, 0x94, 0x01, 0x04, 0x21, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0f, 0x02, 0x01, 0x04,
|
|
|
|
0x12, 0x04, 0x94, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0f, 0x02, 0x01, 0x06, 0x12,
|
|
|
|
0x04, 0x94, 0x01, 0x0d, 0x13, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0f, 0x02, 0x01, 0x01, 0x12, 0x04,
|
|
|
|
0x94, 0x01, 0x14, 0x1a, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0f, 0x02, 0x01, 0x03, 0x12, 0x04, 0x94,
|
|
|
|
0x01, 0x1d, 0x20, 0x0a, 0x0e, 0x0a, 0x04, 0x04, 0x0f, 0x04, 0x00, 0x12, 0x06, 0x95, 0x01, 0x04,
|
|
|
|
0xa4, 0x01, 0x05, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0f, 0x04, 0x00, 0x01, 0x12, 0x04, 0x95, 0x01,
|
|
|
|
0x09, 0x0f, 0x0a, 0x0e, 0x0a, 0x06, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x00, 0x12, 0x04, 0x96, 0x01,
|
|
|
|
0x08, 0x1c, 0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x00, 0x01, 0x12, 0x04, 0x96,
|
|
|
|
0x01, 0x08, 0x15, 0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x00, 0x02, 0x12, 0x04,
|
|
|
|
0x96, 0x01, 0x18, 0x1b, 0x0a, 0x0e, 0x0a, 0x06, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x01, 0x12, 0x04,
|
|
|
|
0x97, 0x01, 0x08, 0x1d, 0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x01, 0x01, 0x12,
|
|
|
|
0x04, 0x97, 0x01, 0x08, 0x16, 0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x01, 0x02,
|
|
|
|
0x12, 0x04, 0x97, 0x01, 0x19, 0x1c, 0x0a, 0x0e, 0x0a, 0x06, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x02,
|
|
|
|
0x12, 0x04, 0x98, 0x01, 0x08, 0x1d, 0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x02,
|
|
|
|
0x01, 0x12, 0x04, 0x98, 0x01, 0x08, 0x16, 0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0f, 0x04, 0x00, 0x02,
|
|
|
|
0x02, 0x02, 0x12, 0x04, 0x98, 0x01, 0x19, 0x1c, 0x0a, 0x0e, 0x0a, 0x06, 0x04, 0x0f, 0x04, 0x00,
|
|
|
|
0x02, 0x03, 0x12, 0x04, 0x99, 0x01, 0x08, 0x16, 0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0f, 0x04, 0x00,
|
|
|
|
0x02, 0x03, 0x01, 0x12, 0x04, 0x99, 0x01, 0x08, 0x0f, 0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0f, 0x04,
|
|
|
|
0x00, 0x02, 0x03, 0x02, 0x12, 0x04, 0x99, 0x01, 0x12, 0x15, 0x0a, 0x0e, 0x0a, 0x06, 0x04, 0x0f,
|
|
|
|
0x04, 0x00, 0x02, 0x04, 0x12, 0x04, 0x9a, 0x01, 0x08, 0x16, 0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0f,
|
|
|
|
0x04, 0x00, 0x02, 0x04, 0x01, 0x12, 0x04, 0x9a, 0x01, 0x08, 0x0f, 0x0a, 0x0f, 0x0a, 0x07, 0x04,
|
|
|
|
0x0f, 0x04, 0x00, 0x02, 0x04, 0x02, 0x12, 0x04, 0x9a, 0x01, 0x12, 0x15, 0x0a, 0x0e, 0x0a, 0x06,
|
|
|
|
0x04, 0x0f, 0x04, 0x00, 0x02, 0x05, 0x12, 0x04, 0x9b, 0x01, 0x08, 0x16, 0x0a, 0x0f, 0x0a, 0x07,
|
|
|
|
0x04, 0x0f, 0x04, 0x00, 0x02, 0x05, 0x01, 0x12, 0x04, 0x9b, 0x01, 0x08, 0x0f, 0x0a, 0x0f, 0x0a,
|
|
|
|
0x07, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x05, 0x02, 0x12, 0x04, 0x9b, 0x01, 0x12, 0x15, 0x0a, 0x0e,
|
|
|
|
0x0a, 0x06, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x06, 0x12, 0x04, 0x9c, 0x01, 0x08, 0x15, 0x0a, 0x0f,
|
|
|
|
0x0a, 0x07, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x06, 0x01, 0x12, 0x04, 0x9c, 0x01, 0x08, 0x0e, 0x0a,
|
|
|
|
0x0f, 0x0a, 0x07, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x06, 0x02, 0x12, 0x04, 0x9c, 0x01, 0x11, 0x14,
|
|
|
|
0x0a, 0x0e, 0x0a, 0x06, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x07, 0x12, 0x04, 0x9d, 0x01, 0x08, 0x1a,
|
|
|
|
0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x07, 0x01, 0x12, 0x04, 0x9d, 0x01, 0x08,
|
|
|
|
0x13, 0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x07, 0x02, 0x12, 0x04, 0x9d, 0x01,
|
|
|
|
0x16, 0x19, 0x0a, 0x0e, 0x0a, 0x06, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x08, 0x12, 0x04, 0x9e, 0x01,
|
|
|
|
0x08, 0x15, 0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x08, 0x01, 0x12, 0x04, 0x9e,
|
|
|
|
0x01, 0x08, 0x0e, 0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x08, 0x02, 0x12, 0x04,
|
|
|
|
0x9e, 0x01, 0x11, 0x14, 0x0a, 0x0e, 0x0a, 0x06, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x09, 0x12, 0x04,
|
|
|
|
0x9f, 0x01, 0x08, 0x15, 0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x09, 0x01, 0x12,
|
|
|
|
0x04, 0x9f, 0x01, 0x08, 0x0e, 0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x09, 0x02,
|
|
|
|
0x12, 0x04, 0x9f, 0x01, 0x11, 0x14, 0x0a, 0x0e, 0x0a, 0x06, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x0a,
|
|
|
|
0x12, 0x04, 0xa0, 0x01, 0x08, 0x16, 0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x0a,
|
|
|
|
0x01, 0x12, 0x04, 0xa0, 0x01, 0x08, 0x0f, 0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0f, 0x04, 0x00, 0x02,
|
|
|
|
0x0a, 0x02, 0x12, 0x04, 0xa0, 0x01, 0x12, 0x15, 0x0a, 0x0e, 0x0a, 0x06, 0x04, 0x0f, 0x04, 0x00,
|
|
|
|
0x02, 0x0b, 0x12, 0x04, 0xa1, 0x01, 0x08, 0x16, 0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0f, 0x04, 0x00,
|
|
|
|
0x02, 0x0b, 0x01, 0x12, 0x04, 0xa1, 0x01, 0x08, 0x0f, 0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0f, 0x04,
|
|
|
|
0x00, 0x02, 0x0b, 0x02, 0x12, 0x04, 0xa1, 0x01, 0x12, 0x15, 0x0a, 0x0e, 0x0a, 0x06, 0x04, 0x0f,
|
|
|
|
0x04, 0x00, 0x02, 0x0c, 0x12, 0x04, 0xa2, 0x01, 0x08, 0x15, 0x0a, 0x0f, 0x0a, 0x07, 0x04, 0x0f,
|
|
|
|
0x04, 0x00, 0x02, 0x0c, 0x01, 0x12, 0x04, 0xa2, 0x01, 0x08, 0x0e, 0x0a, 0x0f, 0x0a, 0x07, 0x04,
|
|
|
|
0x0f, 0x04, 0x00, 0x02, 0x0c, 0x02, 0x12, 0x04, 0xa2, 0x01, 0x11, 0x14, 0x0a, 0x0e, 0x0a, 0x06,
|
|
|
|
0x04, 0x0f, 0x04, 0x00, 0x02, 0x0d, 0x12, 0x04, 0xa3, 0x01, 0x08, 0x15, 0x0a, 0x0f, 0x0a, 0x07,
|
|
|
|
0x04, 0x0f, 0x04, 0x00, 0x02, 0x0d, 0x01, 0x12, 0x04, 0xa3, 0x01, 0x08, 0x0e, 0x0a, 0x0f, 0x0a,
|
|
|
|
0x07, 0x04, 0x0f, 0x04, 0x00, 0x02, 0x0d, 0x02, 0x12, 0x04, 0xa3, 0x01, 0x11, 0x14,
|
|
|
|
];
|
2016-11-21 02:48:17 +00:00
|
|
|
|
|
|
|
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()
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|