|
@@ -28,7 +28,6 @@ pub struct UpdateAppRequest {
|
|
|
// message fields
|
|
|
pub app_id: ::std::string::String,
|
|
|
// message oneof groups
|
|
|
- pub one_of_workspace_id: ::std::option::Option<UpdateAppRequest_oneof_one_of_workspace_id>,
|
|
|
pub one_of_name: ::std::option::Option<UpdateAppRequest_oneof_one_of_name>,
|
|
|
pub one_of_desc: ::std::option::Option<UpdateAppRequest_oneof_one_of_desc>,
|
|
|
pub one_of_color_style: ::std::option::Option<UpdateAppRequest_oneof_one_of_color_style>,
|
|
@@ -44,11 +43,6 @@ impl<'a> ::std::default::Default for &'a UpdateAppRequest {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-#[derive(Clone,PartialEq,Debug)]
|
|
|
-pub enum UpdateAppRequest_oneof_one_of_workspace_id {
|
|
|
- workspace_id(::std::string::String),
|
|
|
-}
|
|
|
-
|
|
|
#[derive(Clone,PartialEq,Debug)]
|
|
|
pub enum UpdateAppRequest_oneof_one_of_name {
|
|
|
name(::std::string::String),
|
|
@@ -100,56 +94,7 @@ impl UpdateAppRequest {
|
|
|
::std::mem::replace(&mut self.app_id, ::std::string::String::new())
|
|
|
}
|
|
|
|
|
|
- // string workspace_id = 2;
|
|
|
-
|
|
|
-
|
|
|
- pub fn get_workspace_id(&self) -> &str {
|
|
|
- match self.one_of_workspace_id {
|
|
|
- ::std::option::Option::Some(UpdateAppRequest_oneof_one_of_workspace_id::workspace_id(ref v)) => v,
|
|
|
- _ => "",
|
|
|
- }
|
|
|
- }
|
|
|
- pub fn clear_workspace_id(&mut self) {
|
|
|
- self.one_of_workspace_id = ::std::option::Option::None;
|
|
|
- }
|
|
|
-
|
|
|
- pub fn has_workspace_id(&self) -> bool {
|
|
|
- match self.one_of_workspace_id {
|
|
|
- ::std::option::Option::Some(UpdateAppRequest_oneof_one_of_workspace_id::workspace_id(..)) => true,
|
|
|
- _ => false,
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- // Param is passed by value, moved
|
|
|
- pub fn set_workspace_id(&mut self, v: ::std::string::String) {
|
|
|
- self.one_of_workspace_id = ::std::option::Option::Some(UpdateAppRequest_oneof_one_of_workspace_id::workspace_id(v))
|
|
|
- }
|
|
|
-
|
|
|
- // Mutable pointer to the field.
|
|
|
- pub fn mut_workspace_id(&mut self) -> &mut ::std::string::String {
|
|
|
- if let ::std::option::Option::Some(UpdateAppRequest_oneof_one_of_workspace_id::workspace_id(_)) = self.one_of_workspace_id {
|
|
|
- } else {
|
|
|
- self.one_of_workspace_id = ::std::option::Option::Some(UpdateAppRequest_oneof_one_of_workspace_id::workspace_id(::std::string::String::new()));
|
|
|
- }
|
|
|
- match self.one_of_workspace_id {
|
|
|
- ::std::option::Option::Some(UpdateAppRequest_oneof_one_of_workspace_id::workspace_id(ref mut v)) => v,
|
|
|
- _ => panic!(),
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- // Take field
|
|
|
- pub fn take_workspace_id(&mut self) -> ::std::string::String {
|
|
|
- if self.has_workspace_id() {
|
|
|
- match self.one_of_workspace_id.take() {
|
|
|
- ::std::option::Option::Some(UpdateAppRequest_oneof_one_of_workspace_id::workspace_id(v)) => v,
|
|
|
- _ => panic!(),
|
|
|
- }
|
|
|
- } else {
|
|
|
- ::std::string::String::new()
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- // string name = 3;
|
|
|
+ // string name = 2;
|
|
|
|
|
|
|
|
|
pub fn get_name(&self) -> &str {
|
|
@@ -198,7 +143,7 @@ impl UpdateAppRequest {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // string desc = 4;
|
|
|
+ // string desc = 3;
|
|
|
|
|
|
|
|
|
pub fn get_desc(&self) -> &str {
|
|
@@ -247,7 +192,7 @@ impl UpdateAppRequest {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // .ColorStyle color_style = 5;
|
|
|
+ // .ColorStyle color_style = 4;
|
|
|
|
|
|
|
|
|
pub fn get_color_style(&self) -> &super::app_create::ColorStyle {
|
|
@@ -296,7 +241,7 @@ impl UpdateAppRequest {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // bool is_trash = 6;
|
|
|
+ // bool is_trash = 5;
|
|
|
|
|
|
|
|
|
pub fn get_is_trash(&self) -> bool {
|
|
@@ -340,30 +285,24 @@ impl ::protobuf::Message for UpdateAppRequest {
|
|
|
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.app_id)?;
|
|
|
},
|
|
|
2 => {
|
|
|
- if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
|
|
|
- return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
|
|
- }
|
|
|
- self.one_of_workspace_id = ::std::option::Option::Some(UpdateAppRequest_oneof_one_of_workspace_id::workspace_id(is.read_string()?));
|
|
|
- },
|
|
|
- 3 => {
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
|
|
}
|
|
|
self.one_of_name = ::std::option::Option::Some(UpdateAppRequest_oneof_one_of_name::name(is.read_string()?));
|
|
|
},
|
|
|
- 4 => {
|
|
|
+ 3 => {
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
|
|
}
|
|
|
self.one_of_desc = ::std::option::Option::Some(UpdateAppRequest_oneof_one_of_desc::desc(is.read_string()?));
|
|
|
},
|
|
|
- 5 => {
|
|
|
+ 4 => {
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
|
|
}
|
|
|
self.one_of_color_style = ::std::option::Option::Some(UpdateAppRequest_oneof_one_of_color_style::color_style(is.read_message()?));
|
|
|
},
|
|
|
- 6 => {
|
|
|
+ 5 => {
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
|
|
}
|
|
@@ -384,24 +323,17 @@ impl ::protobuf::Message for UpdateAppRequest {
|
|
|
if !self.app_id.is_empty() {
|
|
|
my_size += ::protobuf::rt::string_size(1, &self.app_id);
|
|
|
}
|
|
|
- if let ::std::option::Option::Some(ref v) = self.one_of_workspace_id {
|
|
|
- match v {
|
|
|
- &UpdateAppRequest_oneof_one_of_workspace_id::workspace_id(ref v) => {
|
|
|
- my_size += ::protobuf::rt::string_size(2, &v);
|
|
|
- },
|
|
|
- };
|
|
|
- }
|
|
|
if let ::std::option::Option::Some(ref v) = self.one_of_name {
|
|
|
match v {
|
|
|
&UpdateAppRequest_oneof_one_of_name::name(ref v) => {
|
|
|
- my_size += ::protobuf::rt::string_size(3, &v);
|
|
|
+ my_size += ::protobuf::rt::string_size(2, &v);
|
|
|
},
|
|
|
};
|
|
|
}
|
|
|
if let ::std::option::Option::Some(ref v) = self.one_of_desc {
|
|
|
match v {
|
|
|
&UpdateAppRequest_oneof_one_of_desc::desc(ref v) => {
|
|
|
- my_size += ::protobuf::rt::string_size(4, &v);
|
|
|
+ my_size += ::protobuf::rt::string_size(3, &v);
|
|
|
},
|
|
|
};
|
|
|
}
|
|
@@ -429,31 +361,24 @@ impl ::protobuf::Message for UpdateAppRequest {
|
|
|
if !self.app_id.is_empty() {
|
|
|
os.write_string(1, &self.app_id)?;
|
|
|
}
|
|
|
- if let ::std::option::Option::Some(ref v) = self.one_of_workspace_id {
|
|
|
- match v {
|
|
|
- &UpdateAppRequest_oneof_one_of_workspace_id::workspace_id(ref v) => {
|
|
|
- os.write_string(2, v)?;
|
|
|
- },
|
|
|
- };
|
|
|
- }
|
|
|
if let ::std::option::Option::Some(ref v) = self.one_of_name {
|
|
|
match v {
|
|
|
&UpdateAppRequest_oneof_one_of_name::name(ref v) => {
|
|
|
- os.write_string(3, v)?;
|
|
|
+ os.write_string(2, v)?;
|
|
|
},
|
|
|
};
|
|
|
}
|
|
|
if let ::std::option::Option::Some(ref v) = self.one_of_desc {
|
|
|
match v {
|
|
|
&UpdateAppRequest_oneof_one_of_desc::desc(ref v) => {
|
|
|
- os.write_string(4, v)?;
|
|
|
+ os.write_string(3, v)?;
|
|
|
},
|
|
|
};
|
|
|
}
|
|
|
if let ::std::option::Option::Some(ref v) = self.one_of_color_style {
|
|
|
match v {
|
|
|
&UpdateAppRequest_oneof_one_of_color_style::color_style(ref v) => {
|
|
|
- os.write_tag(5, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
+ os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
v.write_to_with_cached_sizes(os)?;
|
|
|
},
|
|
@@ -462,7 +387,7 @@ impl ::protobuf::Message for UpdateAppRequest {
|
|
|
if let ::std::option::Option::Some(ref v) = self.one_of_is_trash {
|
|
|
match v {
|
|
|
&UpdateAppRequest_oneof_one_of_is_trash::is_trash(v) => {
|
|
|
- os.write_bool(6, v)?;
|
|
|
+ os.write_bool(5, v)?;
|
|
|
},
|
|
|
};
|
|
|
}
|
|
@@ -509,11 +434,6 @@ impl ::protobuf::Message for UpdateAppRequest {
|
|
|
|m: &UpdateAppRequest| { &m.app_id },
|
|
|
|m: &mut UpdateAppRequest| { &mut m.app_id },
|
|
|
));
|
|
|
- fields.push(::protobuf::reflect::accessor::make_singular_string_accessor::<_>(
|
|
|
- "workspace_id",
|
|
|
- UpdateAppRequest::has_workspace_id,
|
|
|
- UpdateAppRequest::get_workspace_id,
|
|
|
- ));
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_string_accessor::<_>(
|
|
|
"name",
|
|
|
UpdateAppRequest::has_name,
|
|
@@ -551,7 +471,6 @@ impl ::protobuf::Message for UpdateAppRequest {
|
|
|
impl ::protobuf::Clear for UpdateAppRequest {
|
|
|
fn clear(&mut self) {
|
|
|
self.app_id.clear();
|
|
|
- self.one_of_workspace_id = ::std::option::Option::None;
|
|
|
self.one_of_name = ::std::option::Option::None;
|
|
|
self.one_of_desc = ::std::option::Option::None;
|
|
|
self.one_of_color_style = ::std::option::Option::None;
|
|
@@ -577,7 +496,6 @@ pub struct UpdateAppParams {
|
|
|
// message fields
|
|
|
pub app_id: ::std::string::String,
|
|
|
// message oneof groups
|
|
|
- pub one_of_workspace_id: ::std::option::Option<UpdateAppParams_oneof_one_of_workspace_id>,
|
|
|
pub one_of_name: ::std::option::Option<UpdateAppParams_oneof_one_of_name>,
|
|
|
pub one_of_desc: ::std::option::Option<UpdateAppParams_oneof_one_of_desc>,
|
|
|
pub one_of_color_style: ::std::option::Option<UpdateAppParams_oneof_one_of_color_style>,
|
|
@@ -593,11 +511,6 @@ impl<'a> ::std::default::Default for &'a UpdateAppParams {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-#[derive(Clone,PartialEq,Debug)]
|
|
|
-pub enum UpdateAppParams_oneof_one_of_workspace_id {
|
|
|
- workspace_id(::std::string::String),
|
|
|
-}
|
|
|
-
|
|
|
#[derive(Clone,PartialEq,Debug)]
|
|
|
pub enum UpdateAppParams_oneof_one_of_name {
|
|
|
name(::std::string::String),
|
|
@@ -649,56 +562,7 @@ impl UpdateAppParams {
|
|
|
::std::mem::replace(&mut self.app_id, ::std::string::String::new())
|
|
|
}
|
|
|
|
|
|
- // string workspace_id = 2;
|
|
|
-
|
|
|
-
|
|
|
- pub fn get_workspace_id(&self) -> &str {
|
|
|
- match self.one_of_workspace_id {
|
|
|
- ::std::option::Option::Some(UpdateAppParams_oneof_one_of_workspace_id::workspace_id(ref v)) => v,
|
|
|
- _ => "",
|
|
|
- }
|
|
|
- }
|
|
|
- pub fn clear_workspace_id(&mut self) {
|
|
|
- self.one_of_workspace_id = ::std::option::Option::None;
|
|
|
- }
|
|
|
-
|
|
|
- pub fn has_workspace_id(&self) -> bool {
|
|
|
- match self.one_of_workspace_id {
|
|
|
- ::std::option::Option::Some(UpdateAppParams_oneof_one_of_workspace_id::workspace_id(..)) => true,
|
|
|
- _ => false,
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- // Param is passed by value, moved
|
|
|
- pub fn set_workspace_id(&mut self, v: ::std::string::String) {
|
|
|
- self.one_of_workspace_id = ::std::option::Option::Some(UpdateAppParams_oneof_one_of_workspace_id::workspace_id(v))
|
|
|
- }
|
|
|
-
|
|
|
- // Mutable pointer to the field.
|
|
|
- pub fn mut_workspace_id(&mut self) -> &mut ::std::string::String {
|
|
|
- if let ::std::option::Option::Some(UpdateAppParams_oneof_one_of_workspace_id::workspace_id(_)) = self.one_of_workspace_id {
|
|
|
- } else {
|
|
|
- self.one_of_workspace_id = ::std::option::Option::Some(UpdateAppParams_oneof_one_of_workspace_id::workspace_id(::std::string::String::new()));
|
|
|
- }
|
|
|
- match self.one_of_workspace_id {
|
|
|
- ::std::option::Option::Some(UpdateAppParams_oneof_one_of_workspace_id::workspace_id(ref mut v)) => v,
|
|
|
- _ => panic!(),
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- // Take field
|
|
|
- pub fn take_workspace_id(&mut self) -> ::std::string::String {
|
|
|
- if self.has_workspace_id() {
|
|
|
- match self.one_of_workspace_id.take() {
|
|
|
- ::std::option::Option::Some(UpdateAppParams_oneof_one_of_workspace_id::workspace_id(v)) => v,
|
|
|
- _ => panic!(),
|
|
|
- }
|
|
|
- } else {
|
|
|
- ::std::string::String::new()
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- // string name = 3;
|
|
|
+ // string name = 2;
|
|
|
|
|
|
|
|
|
pub fn get_name(&self) -> &str {
|
|
@@ -747,7 +611,7 @@ impl UpdateAppParams {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // string desc = 4;
|
|
|
+ // string desc = 3;
|
|
|
|
|
|
|
|
|
pub fn get_desc(&self) -> &str {
|
|
@@ -796,7 +660,7 @@ impl UpdateAppParams {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // .ColorStyle color_style = 5;
|
|
|
+ // .ColorStyle color_style = 4;
|
|
|
|
|
|
|
|
|
pub fn get_color_style(&self) -> &super::app_create::ColorStyle {
|
|
@@ -845,7 +709,7 @@ impl UpdateAppParams {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // bool is_trash = 6;
|
|
|
+ // bool is_trash = 5;
|
|
|
|
|
|
|
|
|
pub fn get_is_trash(&self) -> bool {
|
|
@@ -889,30 +753,24 @@ impl ::protobuf::Message for UpdateAppParams {
|
|
|
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.app_id)?;
|
|
|
},
|
|
|
2 => {
|
|
|
- if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
|
|
|
- return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
|
|
- }
|
|
|
- self.one_of_workspace_id = ::std::option::Option::Some(UpdateAppParams_oneof_one_of_workspace_id::workspace_id(is.read_string()?));
|
|
|
- },
|
|
|
- 3 => {
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
|
|
}
|
|
|
self.one_of_name = ::std::option::Option::Some(UpdateAppParams_oneof_one_of_name::name(is.read_string()?));
|
|
|
},
|
|
|
- 4 => {
|
|
|
+ 3 => {
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
|
|
}
|
|
|
self.one_of_desc = ::std::option::Option::Some(UpdateAppParams_oneof_one_of_desc::desc(is.read_string()?));
|
|
|
},
|
|
|
- 5 => {
|
|
|
+ 4 => {
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
|
|
}
|
|
|
self.one_of_color_style = ::std::option::Option::Some(UpdateAppParams_oneof_one_of_color_style::color_style(is.read_message()?));
|
|
|
},
|
|
|
- 6 => {
|
|
|
+ 5 => {
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeVarint {
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
|
|
}
|
|
@@ -933,24 +791,17 @@ impl ::protobuf::Message for UpdateAppParams {
|
|
|
if !self.app_id.is_empty() {
|
|
|
my_size += ::protobuf::rt::string_size(1, &self.app_id);
|
|
|
}
|
|
|
- if let ::std::option::Option::Some(ref v) = self.one_of_workspace_id {
|
|
|
- match v {
|
|
|
- &UpdateAppParams_oneof_one_of_workspace_id::workspace_id(ref v) => {
|
|
|
- my_size += ::protobuf::rt::string_size(2, &v);
|
|
|
- },
|
|
|
- };
|
|
|
- }
|
|
|
if let ::std::option::Option::Some(ref v) = self.one_of_name {
|
|
|
match v {
|
|
|
&UpdateAppParams_oneof_one_of_name::name(ref v) => {
|
|
|
- my_size += ::protobuf::rt::string_size(3, &v);
|
|
|
+ my_size += ::protobuf::rt::string_size(2, &v);
|
|
|
},
|
|
|
};
|
|
|
}
|
|
|
if let ::std::option::Option::Some(ref v) = self.one_of_desc {
|
|
|
match v {
|
|
|
&UpdateAppParams_oneof_one_of_desc::desc(ref v) => {
|
|
|
- my_size += ::protobuf::rt::string_size(4, &v);
|
|
|
+ my_size += ::protobuf::rt::string_size(3, &v);
|
|
|
},
|
|
|
};
|
|
|
}
|
|
@@ -978,31 +829,24 @@ impl ::protobuf::Message for UpdateAppParams {
|
|
|
if !self.app_id.is_empty() {
|
|
|
os.write_string(1, &self.app_id)?;
|
|
|
}
|
|
|
- if let ::std::option::Option::Some(ref v) = self.one_of_workspace_id {
|
|
|
- match v {
|
|
|
- &UpdateAppParams_oneof_one_of_workspace_id::workspace_id(ref v) => {
|
|
|
- os.write_string(2, v)?;
|
|
|
- },
|
|
|
- };
|
|
|
- }
|
|
|
if let ::std::option::Option::Some(ref v) = self.one_of_name {
|
|
|
match v {
|
|
|
&UpdateAppParams_oneof_one_of_name::name(ref v) => {
|
|
|
- os.write_string(3, v)?;
|
|
|
+ os.write_string(2, v)?;
|
|
|
},
|
|
|
};
|
|
|
}
|
|
|
if let ::std::option::Option::Some(ref v) = self.one_of_desc {
|
|
|
match v {
|
|
|
&UpdateAppParams_oneof_one_of_desc::desc(ref v) => {
|
|
|
- os.write_string(4, v)?;
|
|
|
+ os.write_string(3, v)?;
|
|
|
},
|
|
|
};
|
|
|
}
|
|
|
if let ::std::option::Option::Some(ref v) = self.one_of_color_style {
|
|
|
match v {
|
|
|
&UpdateAppParams_oneof_one_of_color_style::color_style(ref v) => {
|
|
|
- os.write_tag(5, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
+ os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
os.write_raw_varint32(v.get_cached_size())?;
|
|
|
v.write_to_with_cached_sizes(os)?;
|
|
|
},
|
|
@@ -1011,7 +855,7 @@ impl ::protobuf::Message for UpdateAppParams {
|
|
|
if let ::std::option::Option::Some(ref v) = self.one_of_is_trash {
|
|
|
match v {
|
|
|
&UpdateAppParams_oneof_one_of_is_trash::is_trash(v) => {
|
|
|
- os.write_bool(6, v)?;
|
|
|
+ os.write_bool(5, v)?;
|
|
|
},
|
|
|
};
|
|
|
}
|
|
@@ -1058,11 +902,6 @@ impl ::protobuf::Message for UpdateAppParams {
|
|
|
|m: &UpdateAppParams| { &m.app_id },
|
|
|
|m: &mut UpdateAppParams| { &mut m.app_id },
|
|
|
));
|
|
|
- fields.push(::protobuf::reflect::accessor::make_singular_string_accessor::<_>(
|
|
|
- "workspace_id",
|
|
|
- UpdateAppParams::has_workspace_id,
|
|
|
- UpdateAppParams::get_workspace_id,
|
|
|
- ));
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_string_accessor::<_>(
|
|
|
"name",
|
|
|
UpdateAppParams::has_name,
|
|
@@ -1100,7 +939,6 @@ impl ::protobuf::Message for UpdateAppParams {
|
|
|
impl ::protobuf::Clear for UpdateAppParams {
|
|
|
fn clear(&mut self) {
|
|
|
self.app_id.clear();
|
|
|
- self.one_of_workspace_id = ::std::option::Option::None;
|
|
|
self.one_of_name = ::std::option::Option::None;
|
|
|
self.one_of_desc = ::std::option::Option::None;
|
|
|
self.one_of_color_style = ::std::option::Option::None;
|
|
@@ -1122,70 +960,59 @@ impl ::protobuf::reflect::ProtobufValue for UpdateAppParams {
|
|
|
}
|
|
|
|
|
|
static file_descriptor_proto_data: &'static [u8] = b"\
|
|
|
- \n\x10app_update.proto\x1a\x10app_create.proto\"\xa5\x02\n\x10UpdateAppR\
|
|
|
- equest\x12\x15\n\x06app_id\x18\x01\x20\x01(\tR\x05appId\x12#\n\x0cworksp\
|
|
|
- ace_id\x18\x02\x20\x01(\tH\0R\x0bworkspaceId\x12\x14\n\x04name\x18\x03\
|
|
|
- \x20\x01(\tH\x01R\x04name\x12\x14\n\x04desc\x18\x04\x20\x01(\tH\x02R\x04\
|
|
|
- desc\x12.\n\x0bcolor_style\x18\x05\x20\x01(\x0b2\x0b.ColorStyleH\x03R\nc\
|
|
|
- olorStyle\x12\x1b\n\x08is_trash\x18\x06\x20\x01(\x08H\x04R\x07isTrashB\
|
|
|
- \x15\n\x13one_of_workspace_idB\r\n\x0bone_of_nameB\r\n\x0bone_of_descB\
|
|
|
- \x14\n\x12one_of_color_styleB\x11\n\x0fone_of_is_trash\"\xa4\x02\n\x0fUp\
|
|
|
- dateAppParams\x12\x15\n\x06app_id\x18\x01\x20\x01(\tR\x05appId\x12#\n\
|
|
|
- \x0cworkspace_id\x18\x02\x20\x01(\tH\0R\x0bworkspaceId\x12\x14\n\x04name\
|
|
|
- \x18\x03\x20\x01(\tH\x01R\x04name\x12\x14\n\x04desc\x18\x04\x20\x01(\tH\
|
|
|
- \x02R\x04desc\x12.\n\x0bcolor_style\x18\x05\x20\x01(\x0b2\x0b.ColorStyle\
|
|
|
- H\x03R\ncolorStyle\x12\x1b\n\x08is_trash\x18\x06\x20\x01(\x08H\x04R\x07i\
|
|
|
- sTrashB\x15\n\x13one_of_workspace_idB\r\n\x0bone_of_nameB\r\n\x0bone_of_\
|
|
|
- descB\x14\n\x12one_of_color_styleB\x11\n\x0fone_of_is_trashJ\xef\x07\n\
|
|
|
- \x06\x12\x04\0\0\x12\x01\n\x08\n\x01\x0c\x12\x03\0\0\x12\n\t\n\x02\x03\0\
|
|
|
- \x12\x03\x01\0\x1a\n\n\n\x02\x04\0\x12\x04\x03\0\n\x01\n\n\n\x03\x04\0\
|
|
|
- \x01\x12\x03\x03\x08\x18\n\x0b\n\x04\x04\0\x02\0\x12\x03\x04\x04\x16\n\
|
|
|
- \x0c\n\x05\x04\0\x02\0\x05\x12\x03\x04\x04\n\n\x0c\n\x05\x04\0\x02\0\x01\
|
|
|
- \x12\x03\x04\x0b\x11\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03\x04\x14\x15\n\
|
|
|
- \x0b\n\x04\x04\0\x08\0\x12\x03\x05\x04:\n\x0c\n\x05\x04\0\x08\0\x01\x12\
|
|
|
- \x03\x05\n\x1d\n\x0b\n\x04\x04\0\x02\x01\x12\x03\x05\x208\n\x0c\n\x05\
|
|
|
- \x04\0\x02\x01\x05\x12\x03\x05\x20&\n\x0c\n\x05\x04\0\x02\x01\x01\x12\
|
|
|
- \x03\x05'3\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03\x0567\n\x0b\n\x04\x04\0\
|
|
|
- \x08\x01\x12\x03\x06\x04*\n\x0c\n\x05\x04\0\x08\x01\x01\x12\x03\x06\n\
|
|
|
- \x15\n\x0b\n\x04\x04\0\x02\x02\x12\x03\x06\x18(\n\x0c\n\x05\x04\0\x02\
|
|
|
- \x02\x05\x12\x03\x06\x18\x1e\n\x0c\n\x05\x04\0\x02\x02\x01\x12\x03\x06\
|
|
|
- \x1f#\n\x0c\n\x05\x04\0\x02\x02\x03\x12\x03\x06&'\n\x0b\n\x04\x04\0\x08\
|
|
|
- \x02\x12\x03\x07\x04*\n\x0c\n\x05\x04\0\x08\x02\x01\x12\x03\x07\n\x15\n\
|
|
|
- \x0b\n\x04\x04\0\x02\x03\x12\x03\x07\x18(\n\x0c\n\x05\x04\0\x02\x03\x05\
|
|
|
- \x12\x03\x07\x18\x1e\n\x0c\n\x05\x04\0\x02\x03\x01\x12\x03\x07\x1f#\n\
|
|
|
- \x0c\n\x05\x04\0\x02\x03\x03\x12\x03\x07&'\n\x0b\n\x04\x04\0\x08\x03\x12\
|
|
|
- \x03\x08\x04<\n\x0c\n\x05\x04\0\x08\x03\x01\x12\x03\x08\n\x1c\n\x0b\n\
|
|
|
- \x04\x04\0\x02\x04\x12\x03\x08\x1f:\n\x0c\n\x05\x04\0\x02\x04\x06\x12\
|
|
|
- \x03\x08\x1f)\n\x0c\n\x05\x04\0\x02\x04\x01\x12\x03\x08*5\n\x0c\n\x05\
|
|
|
- \x04\0\x02\x04\x03\x12\x03\x0889\n\x0b\n\x04\x04\0\x08\x04\x12\x03\t\x04\
|
|
|
- 0\n\x0c\n\x05\x04\0\x08\x04\x01\x12\x03\t\n\x19\n\x0b\n\x04\x04\0\x02\
|
|
|
- \x05\x12\x03\t\x1c.\n\x0c\n\x05\x04\0\x02\x05\x05\x12\x03\t\x1c\x20\n\
|
|
|
- \x0c\n\x05\x04\0\x02\x05\x01\x12\x03\t!)\n\x0c\n\x05\x04\0\x02\x05\x03\
|
|
|
- \x12\x03\t,-\n\n\n\x02\x04\x01\x12\x04\x0b\0\x12\x01\n\n\n\x03\x04\x01\
|
|
|
- \x01\x12\x03\x0b\x08\x17\n\x0b\n\x04\x04\x01\x02\0\x12\x03\x0c\x04\x16\n\
|
|
|
- \x0c\n\x05\x04\x01\x02\0\x05\x12\x03\x0c\x04\n\n\x0c\n\x05\x04\x01\x02\0\
|
|
|
- \x01\x12\x03\x0c\x0b\x11\n\x0c\n\x05\x04\x01\x02\0\x03\x12\x03\x0c\x14\
|
|
|
- \x15\n\x0b\n\x04\x04\x01\x08\0\x12\x03\r\x04:\n\x0c\n\x05\x04\x01\x08\0\
|
|
|
- \x01\x12\x03\r\n\x1d\n\x0b\n\x04\x04\x01\x02\x01\x12\x03\r\x208\n\x0c\n\
|
|
|
- \x05\x04\x01\x02\x01\x05\x12\x03\r\x20&\n\x0c\n\x05\x04\x01\x02\x01\x01\
|
|
|
- \x12\x03\r'3\n\x0c\n\x05\x04\x01\x02\x01\x03\x12\x03\r67\n\x0b\n\x04\x04\
|
|
|
- \x01\x08\x01\x12\x03\x0e\x04*\n\x0c\n\x05\x04\x01\x08\x01\x01\x12\x03\
|
|
|
- \x0e\n\x15\n\x0b\n\x04\x04\x01\x02\x02\x12\x03\x0e\x18(\n\x0c\n\x05\x04\
|
|
|
- \x01\x02\x02\x05\x12\x03\x0e\x18\x1e\n\x0c\n\x05\x04\x01\x02\x02\x01\x12\
|
|
|
- \x03\x0e\x1f#\n\x0c\n\x05\x04\x01\x02\x02\x03\x12\x03\x0e&'\n\x0b\n\x04\
|
|
|
- \x04\x01\x08\x02\x12\x03\x0f\x04*\n\x0c\n\x05\x04\x01\x08\x02\x01\x12\
|
|
|
- \x03\x0f\n\x15\n\x0b\n\x04\x04\x01\x02\x03\x12\x03\x0f\x18(\n\x0c\n\x05\
|
|
|
- \x04\x01\x02\x03\x05\x12\x03\x0f\x18\x1e\n\x0c\n\x05\x04\x01\x02\x03\x01\
|
|
|
- \x12\x03\x0f\x1f#\n\x0c\n\x05\x04\x01\x02\x03\x03\x12\x03\x0f&'\n\x0b\n\
|
|
|
- \x04\x04\x01\x08\x03\x12\x03\x10\x04<\n\x0c\n\x05\x04\x01\x08\x03\x01\
|
|
|
- \x12\x03\x10\n\x1c\n\x0b\n\x04\x04\x01\x02\x04\x12\x03\x10\x1f:\n\x0c\n\
|
|
|
- \x05\x04\x01\x02\x04\x06\x12\x03\x10\x1f)\n\x0c\n\x05\x04\x01\x02\x04\
|
|
|
- \x01\x12\x03\x10*5\n\x0c\n\x05\x04\x01\x02\x04\x03\x12\x03\x1089\n\x0b\n\
|
|
|
- \x04\x04\x01\x08\x04\x12\x03\x11\x040\n\x0c\n\x05\x04\x01\x08\x04\x01\
|
|
|
- \x12\x03\x11\n\x19\n\x0b\n\x04\x04\x01\x02\x05\x12\x03\x11\x1c.\n\x0c\n\
|
|
|
- \x05\x04\x01\x02\x05\x05\x12\x03\x11\x1c\x20\n\x0c\n\x05\x04\x01\x02\x05\
|
|
|
- \x01\x12\x03\x11!)\n\x0c\n\x05\x04\x01\x02\x05\x03\x12\x03\x11,-b\x06pro\
|
|
|
- to3\
|
|
|
+ \n\x10app_update.proto\x1a\x10app_create.proto\"\xe9\x01\n\x10UpdateAppR\
|
|
|
+ equest\x12\x15\n\x06app_id\x18\x01\x20\x01(\tR\x05appId\x12\x14\n\x04nam\
|
|
|
+ e\x18\x02\x20\x01(\tH\0R\x04name\x12\x14\n\x04desc\x18\x03\x20\x01(\tH\
|
|
|
+ \x01R\x04desc\x12.\n\x0bcolor_style\x18\x04\x20\x01(\x0b2\x0b.ColorStyle\
|
|
|
+ H\x02R\ncolorStyle\x12\x1b\n\x08is_trash\x18\x05\x20\x01(\x08H\x03R\x07i\
|
|
|
+ sTrashB\r\n\x0bone_of_nameB\r\n\x0bone_of_descB\x14\n\x12one_of_color_st\
|
|
|
+ yleB\x11\n\x0fone_of_is_trash\"\xe8\x01\n\x0fUpdateAppParams\x12\x15\n\
|
|
|
+ \x06app_id\x18\x01\x20\x01(\tR\x05appId\x12\x14\n\x04name\x18\x02\x20\
|
|
|
+ \x01(\tH\0R\x04name\x12\x14\n\x04desc\x18\x03\x20\x01(\tH\x01R\x04desc\
|
|
|
+ \x12.\n\x0bcolor_style\x18\x04\x20\x01(\x0b2\x0b.ColorStyleH\x02R\ncolor\
|
|
|
+ Style\x12\x1b\n\x08is_trash\x18\x05\x20\x01(\x08H\x03R\x07isTrashB\r\n\
|
|
|
+ \x0bone_of_nameB\r\n\x0bone_of_descB\x14\n\x12one_of_color_styleB\x11\n\
|
|
|
+ \x0fone_of_is_trashJ\xcb\x06\n\x06\x12\x04\0\0\x10\x01\n\x08\n\x01\x0c\
|
|
|
+ \x12\x03\0\0\x12\n\t\n\x02\x03\0\x12\x03\x01\0\x1a\n\n\n\x02\x04\0\x12\
|
|
|
+ \x04\x03\0\t\x01\n\n\n\x03\x04\0\x01\x12\x03\x03\x08\x18\n\x0b\n\x04\x04\
|
|
|
+ \0\x02\0\x12\x03\x04\x04\x16\n\x0c\n\x05\x04\0\x02\0\x05\x12\x03\x04\x04\
|
|
|
+ \n\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03\x04\x0b\x11\n\x0c\n\x05\x04\0\x02\
|
|
|
+ \0\x03\x12\x03\x04\x14\x15\n\x0b\n\x04\x04\0\x08\0\x12\x03\x05\x04*\n\
|
|
|
+ \x0c\n\x05\x04\0\x08\0\x01\x12\x03\x05\n\x15\n\x0b\n\x04\x04\0\x02\x01\
|
|
|
+ \x12\x03\x05\x18(\n\x0c\n\x05\x04\0\x02\x01\x05\x12\x03\x05\x18\x1e\n\
|
|
|
+ \x0c\n\x05\x04\0\x02\x01\x01\x12\x03\x05\x1f#\n\x0c\n\x05\x04\0\x02\x01\
|
|
|
+ \x03\x12\x03\x05&'\n\x0b\n\x04\x04\0\x08\x01\x12\x03\x06\x04*\n\x0c\n\
|
|
|
+ \x05\x04\0\x08\x01\x01\x12\x03\x06\n\x15\n\x0b\n\x04\x04\0\x02\x02\x12\
|
|
|
+ \x03\x06\x18(\n\x0c\n\x05\x04\0\x02\x02\x05\x12\x03\x06\x18\x1e\n\x0c\n\
|
|
|
+ \x05\x04\0\x02\x02\x01\x12\x03\x06\x1f#\n\x0c\n\x05\x04\0\x02\x02\x03\
|
|
|
+ \x12\x03\x06&'\n\x0b\n\x04\x04\0\x08\x02\x12\x03\x07\x04<\n\x0c\n\x05\
|
|
|
+ \x04\0\x08\x02\x01\x12\x03\x07\n\x1c\n\x0b\n\x04\x04\0\x02\x03\x12\x03\
|
|
|
+ \x07\x1f:\n\x0c\n\x05\x04\0\x02\x03\x06\x12\x03\x07\x1f)\n\x0c\n\x05\x04\
|
|
|
+ \0\x02\x03\x01\x12\x03\x07*5\n\x0c\n\x05\x04\0\x02\x03\x03\x12\x03\x0789\
|
|
|
+ \n\x0b\n\x04\x04\0\x08\x03\x12\x03\x08\x040\n\x0c\n\x05\x04\0\x08\x03\
|
|
|
+ \x01\x12\x03\x08\n\x19\n\x0b\n\x04\x04\0\x02\x04\x12\x03\x08\x1c.\n\x0c\
|
|
|
+ \n\x05\x04\0\x02\x04\x05\x12\x03\x08\x1c\x20\n\x0c\n\x05\x04\0\x02\x04\
|
|
|
+ \x01\x12\x03\x08!)\n\x0c\n\x05\x04\0\x02\x04\x03\x12\x03\x08,-\n\n\n\x02\
|
|
|
+ \x04\x01\x12\x04\n\0\x10\x01\n\n\n\x03\x04\x01\x01\x12\x03\n\x08\x17\n\
|
|
|
+ \x0b\n\x04\x04\x01\x02\0\x12\x03\x0b\x04\x16\n\x0c\n\x05\x04\x01\x02\0\
|
|
|
+ \x05\x12\x03\x0b\x04\n\n\x0c\n\x05\x04\x01\x02\0\x01\x12\x03\x0b\x0b\x11\
|
|
|
+ \n\x0c\n\x05\x04\x01\x02\0\x03\x12\x03\x0b\x14\x15\n\x0b\n\x04\x04\x01\
|
|
|
+ \x08\0\x12\x03\x0c\x04*\n\x0c\n\x05\x04\x01\x08\0\x01\x12\x03\x0c\n\x15\
|
|
|
+ \n\x0b\n\x04\x04\x01\x02\x01\x12\x03\x0c\x18(\n\x0c\n\x05\x04\x01\x02\
|
|
|
+ \x01\x05\x12\x03\x0c\x18\x1e\n\x0c\n\x05\x04\x01\x02\x01\x01\x12\x03\x0c\
|
|
|
+ \x1f#\n\x0c\n\x05\x04\x01\x02\x01\x03\x12\x03\x0c&'\n\x0b\n\x04\x04\x01\
|
|
|
+ \x08\x01\x12\x03\r\x04*\n\x0c\n\x05\x04\x01\x08\x01\x01\x12\x03\r\n\x15\
|
|
|
+ \n\x0b\n\x04\x04\x01\x02\x02\x12\x03\r\x18(\n\x0c\n\x05\x04\x01\x02\x02\
|
|
|
+ \x05\x12\x03\r\x18\x1e\n\x0c\n\x05\x04\x01\x02\x02\x01\x12\x03\r\x1f#\n\
|
|
|
+ \x0c\n\x05\x04\x01\x02\x02\x03\x12\x03\r&'\n\x0b\n\x04\x04\x01\x08\x02\
|
|
|
+ \x12\x03\x0e\x04<\n\x0c\n\x05\x04\x01\x08\x02\x01\x12\x03\x0e\n\x1c\n\
|
|
|
+ \x0b\n\x04\x04\x01\x02\x03\x12\x03\x0e\x1f:\n\x0c\n\x05\x04\x01\x02\x03\
|
|
|
+ \x06\x12\x03\x0e\x1f)\n\x0c\n\x05\x04\x01\x02\x03\x01\x12\x03\x0e*5\n\
|
|
|
+ \x0c\n\x05\x04\x01\x02\x03\x03\x12\x03\x0e89\n\x0b\n\x04\x04\x01\x08\x03\
|
|
|
+ \x12\x03\x0f\x040\n\x0c\n\x05\x04\x01\x08\x03\x01\x12\x03\x0f\n\x19\n\
|
|
|
+ \x0b\n\x04\x04\x01\x02\x04\x12\x03\x0f\x1c.\n\x0c\n\x05\x04\x01\x02\x04\
|
|
|
+ \x05\x12\x03\x0f\x1c\x20\n\x0c\n\x05\x04\x01\x02\x04\x01\x12\x03\x0f!)\n\
|
|
|
+ \x0c\n\x05\x04\x01\x02\x04\x03\x12\x03\x0f,-b\x06proto3\
|
|
|
";
|
|
|
|
|
|
static file_descriptor_proto_lazy: ::protobuf::rt::LazyV2<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::LazyV2::INIT;
|