|
@@ -1644,8 +1644,9 @@ impl ::protobuf::reflect::ProtobufValue for GetEditFieldContextPayload {
|
|
|
pub struct EditFieldPayload {
|
|
|
// message fields
|
|
|
pub grid_id: ::std::string::String,
|
|
|
- pub field_id: ::std::string::String,
|
|
|
pub field_type: FieldType,
|
|
|
+ // message oneof groups
|
|
|
+ pub one_of_field_id: ::std::option::Option<EditFieldPayload_oneof_one_of_field_id>,
|
|
|
// special fields
|
|
|
pub unknown_fields: ::protobuf::UnknownFields,
|
|
|
pub cached_size: ::protobuf::CachedSize,
|
|
@@ -1657,6 +1658,11 @@ impl<'a> ::std::default::Default for &'a EditFieldPayload {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+#[derive(Clone,PartialEq,Debug)]
|
|
|
+pub enum EditFieldPayload_oneof_one_of_field_id {
|
|
|
+ field_id(::std::string::String),
|
|
|
+}
|
|
|
+
|
|
|
impl EditFieldPayload {
|
|
|
pub fn new() -> EditFieldPayload {
|
|
|
::std::default::Default::default()
|
|
@@ -1692,26 +1698,49 @@ impl EditFieldPayload {
|
|
|
|
|
|
|
|
|
pub fn get_field_id(&self) -> &str {
|
|
|
- &self.field_id
|
|
|
+ match self.one_of_field_id {
|
|
|
+ ::std::option::Option::Some(EditFieldPayload_oneof_one_of_field_id::field_id(ref v)) => v,
|
|
|
+ _ => "",
|
|
|
+ }
|
|
|
}
|
|
|
pub fn clear_field_id(&mut self) {
|
|
|
- self.field_id.clear();
|
|
|
+ self.one_of_field_id = ::std::option::Option::None;
|
|
|
+ }
|
|
|
+
|
|
|
+ pub fn has_field_id(&self) -> bool {
|
|
|
+ match self.one_of_field_id {
|
|
|
+ ::std::option::Option::Some(EditFieldPayload_oneof_one_of_field_id::field_id(..)) => true,
|
|
|
+ _ => false,
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
pub fn set_field_id(&mut self, v: ::std::string::String) {
|
|
|
- self.field_id = v;
|
|
|
+ self.one_of_field_id = ::std::option::Option::Some(EditFieldPayload_oneof_one_of_field_id::field_id(v))
|
|
|
}
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
- // If field is not initialized, it is initialized with default value first.
|
|
|
pub fn mut_field_id(&mut self) -> &mut ::std::string::String {
|
|
|
- &mut self.field_id
|
|
|
+ if let ::std::option::Option::Some(EditFieldPayload_oneof_one_of_field_id::field_id(_)) = self.one_of_field_id {
|
|
|
+ } else {
|
|
|
+ self.one_of_field_id = ::std::option::Option::Some(EditFieldPayload_oneof_one_of_field_id::field_id(::std::string::String::new()));
|
|
|
+ }
|
|
|
+ match self.one_of_field_id {
|
|
|
+ ::std::option::Option::Some(EditFieldPayload_oneof_one_of_field_id::field_id(ref mut v)) => v,
|
|
|
+ _ => panic!(),
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// Take field
|
|
|
pub fn take_field_id(&mut self) -> ::std::string::String {
|
|
|
- ::std::mem::replace(&mut self.field_id, ::std::string::String::new())
|
|
|
+ if self.has_field_id() {
|
|
|
+ match self.one_of_field_id.take() {
|
|
|
+ ::std::option::Option::Some(EditFieldPayload_oneof_one_of_field_id::field_id(v)) => v,
|
|
|
+ _ => panic!(),
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ ::std::string::String::new()
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// .FieldType field_type = 3;
|
|
@@ -1743,7 +1772,10 @@ impl ::protobuf::Message for EditFieldPayload {
|
|
|
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.grid_id)?;
|
|
|
},
|
|
|
2 => {
|
|
|
- ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.field_id)?;
|
|
|
+ if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
|
|
|
+ return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
|
|
+ }
|
|
|
+ self.one_of_field_id = ::std::option::Option::Some(EditFieldPayload_oneof_one_of_field_id::field_id(is.read_string()?));
|
|
|
},
|
|
|
3 => {
|
|
|
::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.field_type, 3, &mut self.unknown_fields)?
|
|
@@ -1763,12 +1795,16 @@ impl ::protobuf::Message for EditFieldPayload {
|
|
|
if !self.grid_id.is_empty() {
|
|
|
my_size += ::protobuf::rt::string_size(1, &self.grid_id);
|
|
|
}
|
|
|
- if !self.field_id.is_empty() {
|
|
|
- my_size += ::protobuf::rt::string_size(2, &self.field_id);
|
|
|
- }
|
|
|
if self.field_type != FieldType::RichText {
|
|
|
my_size += ::protobuf::rt::enum_size(3, self.field_type);
|
|
|
}
|
|
|
+ if let ::std::option::Option::Some(ref v) = self.one_of_field_id {
|
|
|
+ match v {
|
|
|
+ &EditFieldPayload_oneof_one_of_field_id::field_id(ref v) => {
|
|
|
+ my_size += ::protobuf::rt::string_size(2, &v);
|
|
|
+ },
|
|
|
+ };
|
|
|
+ }
|
|
|
my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
|
|
|
self.cached_size.set(my_size);
|
|
|
my_size
|
|
@@ -1778,12 +1814,16 @@ impl ::protobuf::Message for EditFieldPayload {
|
|
|
if !self.grid_id.is_empty() {
|
|
|
os.write_string(1, &self.grid_id)?;
|
|
|
}
|
|
|
- if !self.field_id.is_empty() {
|
|
|
- os.write_string(2, &self.field_id)?;
|
|
|
- }
|
|
|
if self.field_type != FieldType::RichText {
|
|
|
os.write_enum(3, ::protobuf::ProtobufEnum::value(&self.field_type))?;
|
|
|
}
|
|
|
+ if let ::std::option::Option::Some(ref v) = self.one_of_field_id {
|
|
|
+ match v {
|
|
|
+ &EditFieldPayload_oneof_one_of_field_id::field_id(ref v) => {
|
|
|
+ os.write_string(2, v)?;
|
|
|
+ },
|
|
|
+ };
|
|
|
+ }
|
|
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
|
|
::std::result::Result::Ok(())
|
|
|
}
|
|
@@ -1827,10 +1867,10 @@ impl ::protobuf::Message for EditFieldPayload {
|
|
|
|m: &EditFieldPayload| { &m.grid_id },
|
|
|
|m: &mut EditFieldPayload| { &mut m.grid_id },
|
|
|
));
|
|
|
- fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
|
|
+ fields.push(::protobuf::reflect::accessor::make_singular_string_accessor::<_>(
|
|
|
"field_id",
|
|
|
- |m: &EditFieldPayload| { &m.field_id },
|
|
|
- |m: &mut EditFieldPayload| { &mut m.field_id },
|
|
|
+ EditFieldPayload::has_field_id,
|
|
|
+ EditFieldPayload::get_field_id,
|
|
|
));
|
|
|
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<FieldType>>(
|
|
|
"field_type",
|
|
@@ -1854,7 +1894,7 @@ impl ::protobuf::Message for EditFieldPayload {
|
|
|
impl ::protobuf::Clear for EditFieldPayload {
|
|
|
fn clear(&mut self) {
|
|
|
self.grid_id.clear();
|
|
|
- self.field_id.clear();
|
|
|
+ self.one_of_field_id = ::std::option::Option::None;
|
|
|
self.field_type = FieldType::RichText;
|
|
|
self.unknown_fields.clear();
|
|
|
}
|
|
@@ -2130,6 +2170,207 @@ impl ::protobuf::reflect::ProtobufValue for EditFieldContext {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+#[derive(PartialEq,Clone,Default)]
|
|
|
+pub struct FieldTypeOptionData {
|
|
|
+ // message fields
|
|
|
+ pub field_id: ::std::string::String,
|
|
|
+ pub type_option_data: ::std::vec::Vec<u8>,
|
|
|
+ // special fields
|
|
|
+ pub unknown_fields: ::protobuf::UnknownFields,
|
|
|
+ pub cached_size: ::protobuf::CachedSize,
|
|
|
+}
|
|
|
+
|
|
|
+impl<'a> ::std::default::Default for &'a FieldTypeOptionData {
|
|
|
+ fn default() -> &'a FieldTypeOptionData {
|
|
|
+ <FieldTypeOptionData as ::protobuf::Message>::default_instance()
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+impl FieldTypeOptionData {
|
|
|
+ pub fn new() -> FieldTypeOptionData {
|
|
|
+ ::std::default::Default::default()
|
|
|
+ }
|
|
|
+
|
|
|
+ // string field_id = 1;
|
|
|
+
|
|
|
+
|
|
|
+ pub fn get_field_id(&self) -> &str {
|
|
|
+ &self.field_id
|
|
|
+ }
|
|
|
+ pub fn clear_field_id(&mut self) {
|
|
|
+ self.field_id.clear();
|
|
|
+ }
|
|
|
+
|
|
|
+ // Param is passed by value, moved
|
|
|
+ pub fn set_field_id(&mut self, v: ::std::string::String) {
|
|
|
+ self.field_id = v;
|
|
|
+ }
|
|
|
+
|
|
|
+ // Mutable pointer to the field.
|
|
|
+ // If field is not initialized, it is initialized with default value first.
|
|
|
+ pub fn mut_field_id(&mut self) -> &mut ::std::string::String {
|
|
|
+ &mut self.field_id
|
|
|
+ }
|
|
|
+
|
|
|
+ // Take field
|
|
|
+ pub fn take_field_id(&mut self) -> ::std::string::String {
|
|
|
+ ::std::mem::replace(&mut self.field_id, ::std::string::String::new())
|
|
|
+ }
|
|
|
+
|
|
|
+ // bytes type_option_data = 2;
|
|
|
+
|
|
|
+
|
|
|
+ pub fn get_type_option_data(&self) -> &[u8] {
|
|
|
+ &self.type_option_data
|
|
|
+ }
|
|
|
+ pub fn clear_type_option_data(&mut self) {
|
|
|
+ self.type_option_data.clear();
|
|
|
+ }
|
|
|
+
|
|
|
+ // Param is passed by value, moved
|
|
|
+ pub fn set_type_option_data(&mut self, v: ::std::vec::Vec<u8>) {
|
|
|
+ self.type_option_data = v;
|
|
|
+ }
|
|
|
+
|
|
|
+ // Mutable pointer to the field.
|
|
|
+ // If field is not initialized, it is initialized with default value first.
|
|
|
+ pub fn mut_type_option_data(&mut self) -> &mut ::std::vec::Vec<u8> {
|
|
|
+ &mut self.type_option_data
|
|
|
+ }
|
|
|
+
|
|
|
+ // Take field
|
|
|
+ pub fn take_type_option_data(&mut self) -> ::std::vec::Vec<u8> {
|
|
|
+ ::std::mem::replace(&mut self.type_option_data, ::std::vec::Vec::new())
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+impl ::protobuf::Message for FieldTypeOptionData {
|
|
|
+ fn is_initialized(&self) -> bool {
|
|
|
+ true
|
|
|
+ }
|
|
|
+
|
|
|
+ fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
|
|
|
+ while !is.eof()? {
|
|
|
+ let (field_number, wire_type) = is.read_tag_unpack()?;
|
|
|
+ match field_number {
|
|
|
+ 1 => {
|
|
|
+ ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.field_id)?;
|
|
|
+ },
|
|
|
+ 2 => {
|
|
|
+ ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.type_option_data)?;
|
|
|
+ },
|
|
|
+ _ => {
|
|
|
+ ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
|
|
+ },
|
|
|
+ };
|
|
|
+ }
|
|
|
+ ::std::result::Result::Ok(())
|
|
|
+ }
|
|
|
+
|
|
|
+ // Compute sizes of nested messages
|
|
|
+ #[allow(unused_variables)]
|
|
|
+ fn compute_size(&self) -> u32 {
|
|
|
+ let mut my_size = 0;
|
|
|
+ if !self.field_id.is_empty() {
|
|
|
+ my_size += ::protobuf::rt::string_size(1, &self.field_id);
|
|
|
+ }
|
|
|
+ if !self.type_option_data.is_empty() {
|
|
|
+ my_size += ::protobuf::rt::bytes_size(2, &self.type_option_data);
|
|
|
+ }
|
|
|
+ my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
|
|
|
+ self.cached_size.set(my_size);
|
|
|
+ my_size
|
|
|
+ }
|
|
|
+
|
|
|
+ fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
|
|
|
+ if !self.field_id.is_empty() {
|
|
|
+ os.write_string(1, &self.field_id)?;
|
|
|
+ }
|
|
|
+ if !self.type_option_data.is_empty() {
|
|
|
+ os.write_bytes(2, &self.type_option_data)?;
|
|
|
+ }
|
|
|
+ os.write_unknown_fields(self.get_unknown_fields())?;
|
|
|
+ ::std::result::Result::Ok(())
|
|
|
+ }
|
|
|
+
|
|
|
+ fn get_cached_size(&self) -> u32 {
|
|
|
+ self.cached_size.get()
|
|
|
+ }
|
|
|
+
|
|
|
+ fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
|
|
|
+ &self.unknown_fields
|
|
|
+ }
|
|
|
+
|
|
|
+ fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
|
|
|
+ &mut self.unknown_fields
|
|
|
+ }
|
|
|
+
|
|
|
+ fn as_any(&self) -> &dyn (::std::any::Any) {
|
|
|
+ self as &dyn (::std::any::Any)
|
|
|
+ }
|
|
|
+ fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
|
|
|
+ self as &mut dyn (::std::any::Any)
|
|
|
+ }
|
|
|
+ fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
|
+ self
|
|
|
+ }
|
|
|
+
|
|
|
+ fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
|
|
|
+ Self::descriptor_static()
|
|
|
+ }
|
|
|
+
|
|
|
+ fn new() -> FieldTypeOptionData {
|
|
|
+ FieldTypeOptionData::new()
|
|
|
+ }
|
|
|
+
|
|
|
+ fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
|
|
|
+ static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
|
|
|
+ descriptor.get(|| {
|
|
|
+ let mut fields = ::std::vec::Vec::new();
|
|
|
+ fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
|
|
+ "field_id",
|
|
|
+ |m: &FieldTypeOptionData| { &m.field_id },
|
|
|
+ |m: &mut FieldTypeOptionData| { &mut m.field_id },
|
|
|
+ ));
|
|
|
+ fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
|
|
|
+ "type_option_data",
|
|
|
+ |m: &FieldTypeOptionData| { &m.type_option_data },
|
|
|
+ |m: &mut FieldTypeOptionData| { &mut m.type_option_data },
|
|
|
+ ));
|
|
|
+ ::protobuf::reflect::MessageDescriptor::new_pb_name::<FieldTypeOptionData>(
|
|
|
+ "FieldTypeOptionData",
|
|
|
+ fields,
|
|
|
+ file_descriptor_proto()
|
|
|
+ )
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
+ fn default_instance() -> &'static FieldTypeOptionData {
|
|
|
+ static instance: ::protobuf::rt::LazyV2<FieldTypeOptionData> = ::protobuf::rt::LazyV2::INIT;
|
|
|
+ instance.get(FieldTypeOptionData::new)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+impl ::protobuf::Clear for FieldTypeOptionData {
|
|
|
+ fn clear(&mut self) {
|
|
|
+ self.field_id.clear();
|
|
|
+ self.type_option_data.clear();
|
|
|
+ self.unknown_fields.clear();
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+impl ::std::fmt::Debug for FieldTypeOptionData {
|
|
|
+ fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
|
|
|
+ ::protobuf::text_format::fmt(self, f)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+impl ::protobuf::reflect::ProtobufValue for FieldTypeOptionData {
|
|
|
+ fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
|
|
|
+ ::protobuf::reflect::ReflectValueRef::Message(self)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
#[derive(PartialEq,Clone,Default)]
|
|
|
pub struct RepeatedField {
|
|
|
// message fields
|
|
@@ -4451,6 +4692,7 @@ pub struct Cell {
|
|
|
// message fields
|
|
|
pub field_id: ::std::string::String,
|
|
|
pub content: ::std::string::String,
|
|
|
+ pub data: ::std::string::String,
|
|
|
// special fields
|
|
|
pub unknown_fields: ::protobuf::UnknownFields,
|
|
|
pub cached_size: ::protobuf::CachedSize,
|
|
@@ -4518,6 +4760,32 @@ impl Cell {
|
|
|
pub fn take_content(&mut self) -> ::std::string::String {
|
|
|
::std::mem::replace(&mut self.content, ::std::string::String::new())
|
|
|
}
|
|
|
+
|
|
|
+ // string data = 3;
|
|
|
+
|
|
|
+
|
|
|
+ pub fn get_data(&self) -> &str {
|
|
|
+ &self.data
|
|
|
+ }
|
|
|
+ pub fn clear_data(&mut self) {
|
|
|
+ self.data.clear();
|
|
|
+ }
|
|
|
+
|
|
|
+ // Param is passed by value, moved
|
|
|
+ pub fn set_data(&mut self, v: ::std::string::String) {
|
|
|
+ self.data = v;
|
|
|
+ }
|
|
|
+
|
|
|
+ // Mutable pointer to the field.
|
|
|
+ // If field is not initialized, it is initialized with default value first.
|
|
|
+ pub fn mut_data(&mut self) -> &mut ::std::string::String {
|
|
|
+ &mut self.data
|
|
|
+ }
|
|
|
+
|
|
|
+ // Take field
|
|
|
+ pub fn take_data(&mut self) -> ::std::string::String {
|
|
|
+ ::std::mem::replace(&mut self.data, ::std::string::String::new())
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
impl ::protobuf::Message for Cell {
|
|
@@ -4535,6 +4803,9 @@ impl ::protobuf::Message for Cell {
|
|
|
2 => {
|
|
|
::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.content)?;
|
|
|
},
|
|
|
+ 3 => {
|
|
|
+ ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.data)?;
|
|
|
+ },
|
|
|
_ => {
|
|
|
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
|
|
},
|
|
@@ -4553,6 +4824,9 @@ impl ::protobuf::Message for Cell {
|
|
|
if !self.content.is_empty() {
|
|
|
my_size += ::protobuf::rt::string_size(2, &self.content);
|
|
|
}
|
|
|
+ if !self.data.is_empty() {
|
|
|
+ my_size += ::protobuf::rt::string_size(3, &self.data);
|
|
|
+ }
|
|
|
my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
|
|
|
self.cached_size.set(my_size);
|
|
|
my_size
|
|
@@ -4565,6 +4839,9 @@ impl ::protobuf::Message for Cell {
|
|
|
if !self.content.is_empty() {
|
|
|
os.write_string(2, &self.content)?;
|
|
|
}
|
|
|
+ if !self.data.is_empty() {
|
|
|
+ os.write_string(3, &self.data)?;
|
|
|
+ }
|
|
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
|
|
::std::result::Result::Ok(())
|
|
|
}
|
|
@@ -4613,6 +4890,11 @@ impl ::protobuf::Message for Cell {
|
|
|
|m: &Cell| { &m.content },
|
|
|
|m: &mut Cell| { &mut m.content },
|
|
|
));
|
|
|
+ fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
|
|
+ "data",
|
|
|
+ |m: &Cell| { &m.data },
|
|
|
+ |m: &mut Cell| { &mut m.data },
|
|
|
+ ));
|
|
|
::protobuf::reflect::MessageDescriptor::new_pb_name::<Cell>(
|
|
|
"Cell",
|
|
|
fields,
|
|
@@ -4631,6 +4913,7 @@ impl ::protobuf::Clear for Cell {
|
|
|
fn clear(&mut self) {
|
|
|
self.field_id.clear();
|
|
|
self.content.clear();
|
|
|
+ self.data.clear();
|
|
|
self.unknown_fields.clear();
|
|
|
}
|
|
|
}
|
|
@@ -5871,6 +6154,249 @@ impl ::protobuf::reflect::ProtobufValue for InsertFieldPayload {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+#[derive(PartialEq,Clone,Default)]
|
|
|
+pub struct UpdateFieldTypeOptionPayload {
|
|
|
+ // message fields
|
|
|
+ pub grid_id: ::std::string::String,
|
|
|
+ pub field_id: ::std::string::String,
|
|
|
+ pub type_option_data: ::std::vec::Vec<u8>,
|
|
|
+ // special fields
|
|
|
+ pub unknown_fields: ::protobuf::UnknownFields,
|
|
|
+ pub cached_size: ::protobuf::CachedSize,
|
|
|
+}
|
|
|
+
|
|
|
+impl<'a> ::std::default::Default for &'a UpdateFieldTypeOptionPayload {
|
|
|
+ fn default() -> &'a UpdateFieldTypeOptionPayload {
|
|
|
+ <UpdateFieldTypeOptionPayload as ::protobuf::Message>::default_instance()
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+impl UpdateFieldTypeOptionPayload {
|
|
|
+ pub fn new() -> UpdateFieldTypeOptionPayload {
|
|
|
+ ::std::default::Default::default()
|
|
|
+ }
|
|
|
+
|
|
|
+ // string grid_id = 1;
|
|
|
+
|
|
|
+
|
|
|
+ pub fn get_grid_id(&self) -> &str {
|
|
|
+ &self.grid_id
|
|
|
+ }
|
|
|
+ pub fn clear_grid_id(&mut self) {
|
|
|
+ self.grid_id.clear();
|
|
|
+ }
|
|
|
+
|
|
|
+ // Param is passed by value, moved
|
|
|
+ pub fn set_grid_id(&mut self, v: ::std::string::String) {
|
|
|
+ self.grid_id = v;
|
|
|
+ }
|
|
|
+
|
|
|
+ // Mutable pointer to the field.
|
|
|
+ // If field is not initialized, it is initialized with default value first.
|
|
|
+ pub fn mut_grid_id(&mut self) -> &mut ::std::string::String {
|
|
|
+ &mut self.grid_id
|
|
|
+ }
|
|
|
+
|
|
|
+ // Take field
|
|
|
+ pub fn take_grid_id(&mut self) -> ::std::string::String {
|
|
|
+ ::std::mem::replace(&mut self.grid_id, ::std::string::String::new())
|
|
|
+ }
|
|
|
+
|
|
|
+ // string field_id = 2;
|
|
|
+
|
|
|
+
|
|
|
+ pub fn get_field_id(&self) -> &str {
|
|
|
+ &self.field_id
|
|
|
+ }
|
|
|
+ pub fn clear_field_id(&mut self) {
|
|
|
+ self.field_id.clear();
|
|
|
+ }
|
|
|
+
|
|
|
+ // Param is passed by value, moved
|
|
|
+ pub fn set_field_id(&mut self, v: ::std::string::String) {
|
|
|
+ self.field_id = v;
|
|
|
+ }
|
|
|
+
|
|
|
+ // Mutable pointer to the field.
|
|
|
+ // If field is not initialized, it is initialized with default value first.
|
|
|
+ pub fn mut_field_id(&mut self) -> &mut ::std::string::String {
|
|
|
+ &mut self.field_id
|
|
|
+ }
|
|
|
+
|
|
|
+ // Take field
|
|
|
+ pub fn take_field_id(&mut self) -> ::std::string::String {
|
|
|
+ ::std::mem::replace(&mut self.field_id, ::std::string::String::new())
|
|
|
+ }
|
|
|
+
|
|
|
+ // bytes type_option_data = 3;
|
|
|
+
|
|
|
+
|
|
|
+ pub fn get_type_option_data(&self) -> &[u8] {
|
|
|
+ &self.type_option_data
|
|
|
+ }
|
|
|
+ pub fn clear_type_option_data(&mut self) {
|
|
|
+ self.type_option_data.clear();
|
|
|
+ }
|
|
|
+
|
|
|
+ // Param is passed by value, moved
|
|
|
+ pub fn set_type_option_data(&mut self, v: ::std::vec::Vec<u8>) {
|
|
|
+ self.type_option_data = v;
|
|
|
+ }
|
|
|
+
|
|
|
+ // Mutable pointer to the field.
|
|
|
+ // If field is not initialized, it is initialized with default value first.
|
|
|
+ pub fn mut_type_option_data(&mut self) -> &mut ::std::vec::Vec<u8> {
|
|
|
+ &mut self.type_option_data
|
|
|
+ }
|
|
|
+
|
|
|
+ // Take field
|
|
|
+ pub fn take_type_option_data(&mut self) -> ::std::vec::Vec<u8> {
|
|
|
+ ::std::mem::replace(&mut self.type_option_data, ::std::vec::Vec::new())
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+impl ::protobuf::Message for UpdateFieldTypeOptionPayload {
|
|
|
+ fn is_initialized(&self) -> bool {
|
|
|
+ true
|
|
|
+ }
|
|
|
+
|
|
|
+ fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
|
|
|
+ while !is.eof()? {
|
|
|
+ let (field_number, wire_type) = is.read_tag_unpack()?;
|
|
|
+ match field_number {
|
|
|
+ 1 => {
|
|
|
+ ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.grid_id)?;
|
|
|
+ },
|
|
|
+ 2 => {
|
|
|
+ ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.field_id)?;
|
|
|
+ },
|
|
|
+ 3 => {
|
|
|
+ ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.type_option_data)?;
|
|
|
+ },
|
|
|
+ _ => {
|
|
|
+ ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
|
|
+ },
|
|
|
+ };
|
|
|
+ }
|
|
|
+ ::std::result::Result::Ok(())
|
|
|
+ }
|
|
|
+
|
|
|
+ // Compute sizes of nested messages
|
|
|
+ #[allow(unused_variables)]
|
|
|
+ fn compute_size(&self) -> u32 {
|
|
|
+ let mut my_size = 0;
|
|
|
+ if !self.grid_id.is_empty() {
|
|
|
+ my_size += ::protobuf::rt::string_size(1, &self.grid_id);
|
|
|
+ }
|
|
|
+ if !self.field_id.is_empty() {
|
|
|
+ my_size += ::protobuf::rt::string_size(2, &self.field_id);
|
|
|
+ }
|
|
|
+ if !self.type_option_data.is_empty() {
|
|
|
+ my_size += ::protobuf::rt::bytes_size(3, &self.type_option_data);
|
|
|
+ }
|
|
|
+ my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
|
|
|
+ self.cached_size.set(my_size);
|
|
|
+ my_size
|
|
|
+ }
|
|
|
+
|
|
|
+ fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
|
|
|
+ if !self.grid_id.is_empty() {
|
|
|
+ os.write_string(1, &self.grid_id)?;
|
|
|
+ }
|
|
|
+ if !self.field_id.is_empty() {
|
|
|
+ os.write_string(2, &self.field_id)?;
|
|
|
+ }
|
|
|
+ if !self.type_option_data.is_empty() {
|
|
|
+ os.write_bytes(3, &self.type_option_data)?;
|
|
|
+ }
|
|
|
+ os.write_unknown_fields(self.get_unknown_fields())?;
|
|
|
+ ::std::result::Result::Ok(())
|
|
|
+ }
|
|
|
+
|
|
|
+ fn get_cached_size(&self) -> u32 {
|
|
|
+ self.cached_size.get()
|
|
|
+ }
|
|
|
+
|
|
|
+ fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
|
|
|
+ &self.unknown_fields
|
|
|
+ }
|
|
|
+
|
|
|
+ fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
|
|
|
+ &mut self.unknown_fields
|
|
|
+ }
|
|
|
+
|
|
|
+ fn as_any(&self) -> &dyn (::std::any::Any) {
|
|
|
+ self as &dyn (::std::any::Any)
|
|
|
+ }
|
|
|
+ fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
|
|
|
+ self as &mut dyn (::std::any::Any)
|
|
|
+ }
|
|
|
+ fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
|
|
|
+ self
|
|
|
+ }
|
|
|
+
|
|
|
+ fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
|
|
|
+ Self::descriptor_static()
|
|
|
+ }
|
|
|
+
|
|
|
+ fn new() -> UpdateFieldTypeOptionPayload {
|
|
|
+ UpdateFieldTypeOptionPayload::new()
|
|
|
+ }
|
|
|
+
|
|
|
+ fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
|
|
|
+ static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
|
|
|
+ descriptor.get(|| {
|
|
|
+ let mut fields = ::std::vec::Vec::new();
|
|
|
+ fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
|
|
+ "grid_id",
|
|
|
+ |m: &UpdateFieldTypeOptionPayload| { &m.grid_id },
|
|
|
+ |m: &mut UpdateFieldTypeOptionPayload| { &mut m.grid_id },
|
|
|
+ ));
|
|
|
+ fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
|
|
+ "field_id",
|
|
|
+ |m: &UpdateFieldTypeOptionPayload| { &m.field_id },
|
|
|
+ |m: &mut UpdateFieldTypeOptionPayload| { &mut m.field_id },
|
|
|
+ ));
|
|
|
+ fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
|
|
|
+ "type_option_data",
|
|
|
+ |m: &UpdateFieldTypeOptionPayload| { &m.type_option_data },
|
|
|
+ |m: &mut UpdateFieldTypeOptionPayload| { &mut m.type_option_data },
|
|
|
+ ));
|
|
|
+ ::protobuf::reflect::MessageDescriptor::new_pb_name::<UpdateFieldTypeOptionPayload>(
|
|
|
+ "UpdateFieldTypeOptionPayload",
|
|
|
+ fields,
|
|
|
+ file_descriptor_proto()
|
|
|
+ )
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
+ fn default_instance() -> &'static UpdateFieldTypeOptionPayload {
|
|
|
+ static instance: ::protobuf::rt::LazyV2<UpdateFieldTypeOptionPayload> = ::protobuf::rt::LazyV2::INIT;
|
|
|
+ instance.get(UpdateFieldTypeOptionPayload::new)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+impl ::protobuf::Clear for UpdateFieldTypeOptionPayload {
|
|
|
+ fn clear(&mut self) {
|
|
|
+ self.grid_id.clear();
|
|
|
+ self.field_id.clear();
|
|
|
+ self.type_option_data.clear();
|
|
|
+ self.unknown_fields.clear();
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+impl ::std::fmt::Debug for UpdateFieldTypeOptionPayload {
|
|
|
+ fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
|
|
|
+ ::protobuf::text_format::fmt(self, f)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+impl ::protobuf::reflect::ProtobufValue for UpdateFieldTypeOptionPayload {
|
|
|
+ fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
|
|
|
+ ::protobuf::reflect::ReflectValueRef::Message(self)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
#[derive(PartialEq,Clone,Default)]
|
|
|
pub struct QueryFieldPayload {
|
|
|
// message fields
|
|
@@ -7277,7 +7803,7 @@ pub struct CellChangeset {
|
|
|
pub row_id: ::std::string::String,
|
|
|
pub field_id: ::std::string::String,
|
|
|
// message oneof groups
|
|
|
- pub one_of_data: ::std::option::Option<CellChangeset_oneof_one_of_data>,
|
|
|
+ pub one_of_cell_content_changeset: ::std::option::Option<CellChangeset_oneof_one_of_cell_content_changeset>,
|
|
|
// special fields
|
|
|
pub unknown_fields: ::protobuf::UnknownFields,
|
|
|
pub cached_size: ::protobuf::CachedSize,
|
|
@@ -7290,8 +7816,8 @@ impl<'a> ::std::default::Default for &'a CellChangeset {
|
|
|
}
|
|
|
|
|
|
#[derive(Clone,PartialEq,Debug)]
|
|
|
-pub enum CellChangeset_oneof_one_of_data {
|
|
|
- data(::std::string::String),
|
|
|
+pub enum CellChangeset_oneof_one_of_cell_content_changeset {
|
|
|
+ cell_content_changeset(::std::string::String),
|
|
|
}
|
|
|
|
|
|
impl CellChangeset {
|
|
@@ -7377,48 +7903,48 @@ impl CellChangeset {
|
|
|
::std::mem::replace(&mut self.field_id, ::std::string::String::new())
|
|
|
}
|
|
|
|
|
|
- // string data = 4;
|
|
|
+ // string cell_content_changeset = 4;
|
|
|
|
|
|
|
|
|
- pub fn get_data(&self) -> &str {
|
|
|
- match self.one_of_data {
|
|
|
- ::std::option::Option::Some(CellChangeset_oneof_one_of_data::data(ref v)) => v,
|
|
|
+ pub fn get_cell_content_changeset(&self) -> &str {
|
|
|
+ match self.one_of_cell_content_changeset {
|
|
|
+ ::std::option::Option::Some(CellChangeset_oneof_one_of_cell_content_changeset::cell_content_changeset(ref v)) => v,
|
|
|
_ => "",
|
|
|
}
|
|
|
}
|
|
|
- pub fn clear_data(&mut self) {
|
|
|
- self.one_of_data = ::std::option::Option::None;
|
|
|
+ pub fn clear_cell_content_changeset(&mut self) {
|
|
|
+ self.one_of_cell_content_changeset = ::std::option::Option::None;
|
|
|
}
|
|
|
|
|
|
- pub fn has_data(&self) -> bool {
|
|
|
- match self.one_of_data {
|
|
|
- ::std::option::Option::Some(CellChangeset_oneof_one_of_data::data(..)) => true,
|
|
|
+ pub fn has_cell_content_changeset(&self) -> bool {
|
|
|
+ match self.one_of_cell_content_changeset {
|
|
|
+ ::std::option::Option::Some(CellChangeset_oneof_one_of_cell_content_changeset::cell_content_changeset(..)) => true,
|
|
|
_ => false,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
- pub fn set_data(&mut self, v: ::std::string::String) {
|
|
|
- self.one_of_data = ::std::option::Option::Some(CellChangeset_oneof_one_of_data::data(v))
|
|
|
+ pub fn set_cell_content_changeset(&mut self, v: ::std::string::String) {
|
|
|
+ self.one_of_cell_content_changeset = ::std::option::Option::Some(CellChangeset_oneof_one_of_cell_content_changeset::cell_content_changeset(v))
|
|
|
}
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
- pub fn mut_data(&mut self) -> &mut ::std::string::String {
|
|
|
- if let ::std::option::Option::Some(CellChangeset_oneof_one_of_data::data(_)) = self.one_of_data {
|
|
|
+ pub fn mut_cell_content_changeset(&mut self) -> &mut ::std::string::String {
|
|
|
+ if let ::std::option::Option::Some(CellChangeset_oneof_one_of_cell_content_changeset::cell_content_changeset(_)) = self.one_of_cell_content_changeset {
|
|
|
} else {
|
|
|
- self.one_of_data = ::std::option::Option::Some(CellChangeset_oneof_one_of_data::data(::std::string::String::new()));
|
|
|
+ self.one_of_cell_content_changeset = ::std::option::Option::Some(CellChangeset_oneof_one_of_cell_content_changeset::cell_content_changeset(::std::string::String::new()));
|
|
|
}
|
|
|
- match self.one_of_data {
|
|
|
- ::std::option::Option::Some(CellChangeset_oneof_one_of_data::data(ref mut v)) => v,
|
|
|
+ match self.one_of_cell_content_changeset {
|
|
|
+ ::std::option::Option::Some(CellChangeset_oneof_one_of_cell_content_changeset::cell_content_changeset(ref mut v)) => v,
|
|
|
_ => panic!(),
|
|
|
}
|
|
|
}
|
|
|
|
|
|
// Take field
|
|
|
- pub fn take_data(&mut self) -> ::std::string::String {
|
|
|
- if self.has_data() {
|
|
|
- match self.one_of_data.take() {
|
|
|
- ::std::option::Option::Some(CellChangeset_oneof_one_of_data::data(v)) => v,
|
|
|
+ pub fn take_cell_content_changeset(&mut self) -> ::std::string::String {
|
|
|
+ if self.has_cell_content_changeset() {
|
|
|
+ match self.one_of_cell_content_changeset.take() {
|
|
|
+ ::std::option::Option::Some(CellChangeset_oneof_one_of_cell_content_changeset::cell_content_changeset(v)) => v,
|
|
|
_ => panic!(),
|
|
|
}
|
|
|
} else {
|
|
@@ -7449,7 +7975,7 @@ impl ::protobuf::Message for CellChangeset {
|
|
|
if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
|
|
|
return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
|
|
|
}
|
|
|
- self.one_of_data = ::std::option::Option::Some(CellChangeset_oneof_one_of_data::data(is.read_string()?));
|
|
|
+ self.one_of_cell_content_changeset = ::std::option::Option::Some(CellChangeset_oneof_one_of_cell_content_changeset::cell_content_changeset(is.read_string()?));
|
|
|
},
|
|
|
_ => {
|
|
|
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
|
@@ -7472,9 +7998,9 @@ impl ::protobuf::Message for CellChangeset {
|
|
|
if !self.field_id.is_empty() {
|
|
|
my_size += ::protobuf::rt::string_size(3, &self.field_id);
|
|
|
}
|
|
|
- if let ::std::option::Option::Some(ref v) = self.one_of_data {
|
|
|
+ if let ::std::option::Option::Some(ref v) = self.one_of_cell_content_changeset {
|
|
|
match v {
|
|
|
- &CellChangeset_oneof_one_of_data::data(ref v) => {
|
|
|
+ &CellChangeset_oneof_one_of_cell_content_changeset::cell_content_changeset(ref v) => {
|
|
|
my_size += ::protobuf::rt::string_size(4, &v);
|
|
|
},
|
|
|
};
|
|
@@ -7494,9 +8020,9 @@ impl ::protobuf::Message for CellChangeset {
|
|
|
if !self.field_id.is_empty() {
|
|
|
os.write_string(3, &self.field_id)?;
|
|
|
}
|
|
|
- if let ::std::option::Option::Some(ref v) = self.one_of_data {
|
|
|
+ if let ::std::option::Option::Some(ref v) = self.one_of_cell_content_changeset {
|
|
|
match v {
|
|
|
- &CellChangeset_oneof_one_of_data::data(ref v) => {
|
|
|
+ &CellChangeset_oneof_one_of_cell_content_changeset::cell_content_changeset(ref v) => {
|
|
|
os.write_string(4, v)?;
|
|
|
},
|
|
|
};
|
|
@@ -7555,9 +8081,9 @@ impl ::protobuf::Message for CellChangeset {
|
|
|
|m: &mut CellChangeset| { &mut m.field_id },
|
|
|
));
|
|
|
fields.push(::protobuf::reflect::accessor::make_singular_string_accessor::<_>(
|
|
|
- "data",
|
|
|
- CellChangeset::has_data,
|
|
|
- CellChangeset::get_data,
|
|
|
+ "cell_content_changeset",
|
|
|
+ CellChangeset::has_cell_content_changeset,
|
|
|
+ CellChangeset::get_cell_content_changeset,
|
|
|
));
|
|
|
::protobuf::reflect::MessageDescriptor::new_pb_name::<CellChangeset>(
|
|
|
"CellChangeset",
|
|
@@ -7578,7 +8104,7 @@ impl ::protobuf::Clear for CellChangeset {
|
|
|
self.grid_id.clear();
|
|
|
self.row_id.clear();
|
|
|
self.field_id.clear();
|
|
|
- self.one_of_data = ::std::option::Option::None;
|
|
|
+ self.one_of_cell_content_changeset = ::std::option::Option::None;
|
|
|
self.unknown_fields.clear();
|
|
|
}
|
|
|
}
|
|
@@ -7727,76 +8253,83 @@ static file_descriptor_proto_data: &'static [u8] = b"\
|
|
|
\x05index\x18\x02\x20\x01(\x05R\x05index\"\x90\x01\n\x1aGetEditFieldCont\
|
|
|
extPayload\x12\x17\n\x07grid_id\x18\x01\x20\x01(\tR\x06gridId\x12\x1b\n\
|
|
|
\x08field_id\x18\x02\x20\x01(\tH\0R\x07fieldId\x12)\n\nfield_type\x18\
|
|
|
- \x03\x20\x01(\x0e2\n.FieldTypeR\tfieldTypeB\x11\n\x0fone_of_field_id\"q\
|
|
|
- \n\x10EditFieldPayload\x12\x17\n\x07grid_id\x18\x01\x20\x01(\tR\x06gridI\
|
|
|
- d\x12\x19\n\x08field_id\x18\x02\x20\x01(\tR\x07fieldId\x12)\n\nfield_typ\
|
|
|
- e\x18\x03\x20\x01(\x0e2\n.FieldTypeR\tfieldType\"|\n\x10EditFieldContext\
|
|
|
- \x12\x17\n\x07grid_id\x18\x01\x20\x01(\tR\x06gridId\x12%\n\ngrid_field\
|
|
|
- \x18\x02\x20\x01(\x0b2\x06.FieldR\tgridField\x12(\n\x10type_option_data\
|
|
|
- \x18\x03\x20\x01(\x0cR\x0etypeOptionData\"-\n\rRepeatedField\x12\x1c\n\
|
|
|
- \x05items\x18\x01\x20\x03(\x0b2\x06.FieldR\x05items\"7\n\x12RepeatedFiel\
|
|
|
- dOrder\x12!\n\x05items\x18\x01\x20\x03(\x0b2\x0b.FieldOrderR\x05items\"T\
|
|
|
- \n\x08RowOrder\x12\x15\n\x06row_id\x18\x01\x20\x01(\tR\x05rowId\x12\x19\
|
|
|
- \n\x08block_id\x18\x02\x20\x01(\tR\x07blockId\x12\x16\n\x06height\x18\
|
|
|
- \x03\x20\x01(\x05R\x06height\"\xb8\x01\n\x03Row\x12\x0e\n\x02id\x18\x01\
|
|
|
- \x20\x01(\tR\x02id\x12@\n\x10cell_by_field_id\x18\x02\x20\x03(\x0b2\x17.\
|
|
|
- Row.CellByFieldIdEntryR\rcellByFieldId\x12\x16\n\x06height\x18\x03\x20\
|
|
|
- \x01(\x05R\x06height\x1aG\n\x12CellByFieldIdEntry\x12\x10\n\x03key\x18\
|
|
|
- \x01\x20\x01(\tR\x03key\x12\x1b\n\x05value\x18\x02\x20\x01(\x0b2\x05.Cel\
|
|
|
- lR\x05value:\x028\x01\")\n\x0bRepeatedRow\x12\x1a\n\x05items\x18\x01\x20\
|
|
|
- \x03(\x0b2\x04.RowR\x05items\"5\n\x11RepeatedGridBlock\x12\x20\n\x05item\
|
|
|
- s\x18\x01\x20\x03(\x0b2\n.GridBlockR\x05items\"U\n\x0eGridBlockOrder\x12\
|
|
|
- \x19\n\x08block_id\x18\x01\x20\x01(\tR\x07blockId\x12(\n\nrow_orders\x18\
|
|
|
- \x02\x20\x03(\x0b2\t.RowOrderR\trowOrders\"_\n\rIndexRowOrder\x12&\n\tro\
|
|
|
- w_order\x18\x01\x20\x01(\x0b2\t.RowOrderR\x08rowOrder\x12\x16\n\x05index\
|
|
|
- \x18\x02\x20\x01(\x05H\0R\x05indexB\x0e\n\x0cone_of_index\"Q\n\x0fUpdate\
|
|
|
- dRowOrder\x12&\n\trow_order\x18\x01\x20\x01(\x0b2\t.RowOrderR\x08rowOrde\
|
|
|
- r\x12\x16\n\x03row\x18\x02\x20\x01(\x0b2\x04.RowR\x03row\"\xc6\x01\n\x11\
|
|
|
- GridRowsChangeset\x12\x19\n\x08block_id\x18\x01\x20\x01(\tR\x07blockId\
|
|
|
- \x123\n\rinserted_rows\x18\x02\x20\x03(\x0b2\x0e.IndexRowOrderR\x0cinser\
|
|
|
- tedRows\x12,\n\x0cdeleted_rows\x18\x03\x20\x03(\x0b2\t.RowOrderR\x0bdele\
|
|
|
- tedRows\x123\n\x0cupdated_rows\x18\x04\x20\x03(\x0b2\x10.UpdatedRowOrder\
|
|
|
- R\x0bupdatedRows\"E\n\tGridBlock\x12\x0e\n\x02id\x18\x01\x20\x01(\tR\x02\
|
|
|
- id\x12(\n\nrow_orders\x18\x02\x20\x03(\x0b2\t.RowOrderR\trowOrders\";\n\
|
|
|
- \x04Cell\x12\x19\n\x08field_id\x18\x01\x20\x01(\tR\x07fieldId\x12\x18\n\
|
|
|
- \x07content\x18\x02\x20\x01(\tR\x07content\"+\n\x0cRepeatedCell\x12\x1b\
|
|
|
- \n\x05items\x18\x01\x20\x03(\x0b2\x05.CellR\x05items\"'\n\x11CreateGridP\
|
|
|
- ayload\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\"\x1e\n\x06GridId\
|
|
|
- \x12\x14\n\x05value\x18\x01\x20\x01(\tR\x05value\"#\n\x0bGridBlockId\x12\
|
|
|
- \x14\n\x05value\x18\x01\x20\x01(\tR\x05value\"f\n\x10CreateRowPayload\
|
|
|
- \x12\x17\n\x07grid_id\x18\x01\x20\x01(\tR\x06gridId\x12\"\n\x0cstart_row\
|
|
|
- _id\x18\x02\x20\x01(\tH\0R\nstartRowIdB\x15\n\x13one_of_start_row_id\"\
|
|
|
- \xb6\x01\n\x12InsertFieldPayload\x12\x17\n\x07grid_id\x18\x01\x20\x01(\t\
|
|
|
- R\x06gridId\x12\x1c\n\x05field\x18\x02\x20\x01(\x0b2\x06.FieldR\x05field\
|
|
|
- \x12(\n\x10type_option_data\x18\x03\x20\x01(\x0cR\x0etypeOptionData\x12&\
|
|
|
- \n\x0estart_field_id\x18\x04\x20\x01(\tH\0R\x0cstartFieldIdB\x17\n\x15on\
|
|
|
- e_of_start_field_id\"d\n\x11QueryFieldPayload\x12\x17\n\x07grid_id\x18\
|
|
|
- \x01\x20\x01(\tR\x06gridId\x126\n\x0cfield_orders\x18\x02\x20\x01(\x0b2\
|
|
|
- \x13.RepeatedFieldOrderR\x0bfieldOrders\"e\n\x16QueryGridBlocksPayload\
|
|
|
- \x12\x17\n\x07grid_id\x18\x01\x20\x01(\tR\x06gridId\x122\n\x0cblock_orde\
|
|
|
- rs\x18\x02\x20\x03(\x0b2\x0f.GridBlockOrderR\x0bblockOrders\"\xa8\x03\n\
|
|
|
- \x15FieldChangesetPayload\x12\x19\n\x08field_id\x18\x01\x20\x01(\tR\x07f\
|
|
|
- ieldId\x12\x17\n\x07grid_id\x18\x02\x20\x01(\tR\x06gridId\x12\x14\n\x04n\
|
|
|
- ame\x18\x03\x20\x01(\tH\0R\x04name\x12\x14\n\x04desc\x18\x04\x20\x01(\tH\
|
|
|
- \x01R\x04desc\x12+\n\nfield_type\x18\x05\x20\x01(\x0e2\n.FieldTypeH\x02R\
|
|
|
- \tfieldType\x12\x18\n\x06frozen\x18\x06\x20\x01(\x08H\x03R\x06frozen\x12\
|
|
|
- \x20\n\nvisibility\x18\x07\x20\x01(\x08H\x04R\nvisibility\x12\x16\n\x05w\
|
|
|
- idth\x18\x08\x20\x01(\x05H\x05R\x05width\x12*\n\x10type_option_data\x18\
|
|
|
- \t\x20\x01(\x0cH\x06R\x0etypeOptionDataB\r\n\x0bone_of_nameB\r\n\x0bone_\
|
|
|
- of_descB\x13\n\x11one_of_field_typeB\x0f\n\rone_of_frozenB\x13\n\x11one_\
|
|
|
- of_visibilityB\x0e\n\x0cone_of_widthB\x19\n\x17one_of_type_option_data\"\
|
|
|
- \x9c\x01\n\x0fMoveItemPayload\x12\x17\n\x07grid_id\x18\x01\x20\x01(\tR\
|
|
|
- \x06gridId\x12\x17\n\x07item_id\x18\x02\x20\x01(\tR\x06itemId\x12\x1d\n\
|
|
|
- \nfrom_index\x18\x03\x20\x01(\x05R\tfromIndex\x12\x19\n\x08to_index\x18\
|
|
|
- \x04\x20\x01(\x05R\x07toIndex\x12\x1d\n\x02ty\x18\x05\x20\x01(\x0e2\r.Mo\
|
|
|
- veItemTypeR\x02ty\"\x7f\n\rCellChangeset\x12\x17\n\x07grid_id\x18\x01\
|
|
|
- \x20\x01(\tR\x06gridId\x12\x15\n\x06row_id\x18\x02\x20\x01(\tR\x05rowId\
|
|
|
- \x12\x19\n\x08field_id\x18\x03\x20\x01(\tR\x07fieldId\x12\x14\n\x04data\
|
|
|
- \x18\x04\x20\x01(\tH\0R\x04dataB\r\n\x0bone_of_data**\n\x0cMoveItemType\
|
|
|
- \x12\r\n\tMoveField\x10\0\x12\x0b\n\x07MoveRow\x10\x01*d\n\tFieldType\
|
|
|
- \x12\x0c\n\x08RichText\x10\0\x12\n\n\x06Number\x10\x01\x12\x0c\n\x08Date\
|
|
|
- Time\x10\x02\x12\x10\n\x0cSingleSelect\x10\x03\x12\x0f\n\x0bMultiSelect\
|
|
|
- \x10\x04\x12\x0c\n\x08Checkbox\x10\x05b\x06proto3\
|
|
|
+ \x03\x20\x01(\x0e2\n.FieldTypeR\tfieldTypeB\x11\n\x0fone_of_field_id\"\
|
|
|
+ \x86\x01\n\x10EditFieldPayload\x12\x17\n\x07grid_id\x18\x01\x20\x01(\tR\
|
|
|
+ \x06gridId\x12\x1b\n\x08field_id\x18\x02\x20\x01(\tH\0R\x07fieldId\x12)\
|
|
|
+ \n\nfield_type\x18\x03\x20\x01(\x0e2\n.FieldTypeR\tfieldTypeB\x11\n\x0fo\
|
|
|
+ ne_of_field_id\"|\n\x10EditFieldContext\x12\x17\n\x07grid_id\x18\x01\x20\
|
|
|
+ \x01(\tR\x06gridId\x12%\n\ngrid_field\x18\x02\x20\x01(\x0b2\x06.FieldR\t\
|
|
|
+ gridField\x12(\n\x10type_option_data\x18\x03\x20\x01(\x0cR\x0etypeOption\
|
|
|
+ Data\"Z\n\x13FieldTypeOptionData\x12\x19\n\x08field_id\x18\x01\x20\x01(\
|
|
|
+ \tR\x07fieldId\x12(\n\x10type_option_data\x18\x02\x20\x01(\x0cR\x0etypeO\
|
|
|
+ ptionData\"-\n\rRepeatedField\x12\x1c\n\x05items\x18\x01\x20\x03(\x0b2\
|
|
|
+ \x06.FieldR\x05items\"7\n\x12RepeatedFieldOrder\x12!\n\x05items\x18\x01\
|
|
|
+ \x20\x03(\x0b2\x0b.FieldOrderR\x05items\"T\n\x08RowOrder\x12\x15\n\x06ro\
|
|
|
+ w_id\x18\x01\x20\x01(\tR\x05rowId\x12\x19\n\x08block_id\x18\x02\x20\x01(\
|
|
|
+ \tR\x07blockId\x12\x16\n\x06height\x18\x03\x20\x01(\x05R\x06height\"\xb8\
|
|
|
+ \x01\n\x03Row\x12\x0e\n\x02id\x18\x01\x20\x01(\tR\x02id\x12@\n\x10cell_b\
|
|
|
+ y_field_id\x18\x02\x20\x03(\x0b2\x17.Row.CellByFieldIdEntryR\rcellByFiel\
|
|
|
+ dId\x12\x16\n\x06height\x18\x03\x20\x01(\x05R\x06height\x1aG\n\x12CellBy\
|
|
|
+ FieldIdEntry\x12\x10\n\x03key\x18\x01\x20\x01(\tR\x03key\x12\x1b\n\x05va\
|
|
|
+ lue\x18\x02\x20\x01(\x0b2\x05.CellR\x05value:\x028\x01\")\n\x0bRepeatedR\
|
|
|
+ ow\x12\x1a\n\x05items\x18\x01\x20\x03(\x0b2\x04.RowR\x05items\"5\n\x11Re\
|
|
|
+ peatedGridBlock\x12\x20\n\x05items\x18\x01\x20\x03(\x0b2\n.GridBlockR\
|
|
|
+ \x05items\"U\n\x0eGridBlockOrder\x12\x19\n\x08block_id\x18\x01\x20\x01(\
|
|
|
+ \tR\x07blockId\x12(\n\nrow_orders\x18\x02\x20\x03(\x0b2\t.RowOrderR\trow\
|
|
|
+ Orders\"_\n\rIndexRowOrder\x12&\n\trow_order\x18\x01\x20\x01(\x0b2\t.Row\
|
|
|
+ OrderR\x08rowOrder\x12\x16\n\x05index\x18\x02\x20\x01(\x05H\0R\x05indexB\
|
|
|
+ \x0e\n\x0cone_of_index\"Q\n\x0fUpdatedRowOrder\x12&\n\trow_order\x18\x01\
|
|
|
+ \x20\x01(\x0b2\t.RowOrderR\x08rowOrder\x12\x16\n\x03row\x18\x02\x20\x01(\
|
|
|
+ \x0b2\x04.RowR\x03row\"\xc6\x01\n\x11GridRowsChangeset\x12\x19\n\x08bloc\
|
|
|
+ k_id\x18\x01\x20\x01(\tR\x07blockId\x123\n\rinserted_rows\x18\x02\x20\
|
|
|
+ \x03(\x0b2\x0e.IndexRowOrderR\x0cinsertedRows\x12,\n\x0cdeleted_rows\x18\
|
|
|
+ \x03\x20\x03(\x0b2\t.RowOrderR\x0bdeletedRows\x123\n\x0cupdated_rows\x18\
|
|
|
+ \x04\x20\x03(\x0b2\x10.UpdatedRowOrderR\x0bupdatedRows\"E\n\tGridBlock\
|
|
|
+ \x12\x0e\n\x02id\x18\x01\x20\x01(\tR\x02id\x12(\n\nrow_orders\x18\x02\
|
|
|
+ \x20\x03(\x0b2\t.RowOrderR\trowOrders\"O\n\x04Cell\x12\x19\n\x08field_id\
|
|
|
+ \x18\x01\x20\x01(\tR\x07fieldId\x12\x18\n\x07content\x18\x02\x20\x01(\tR\
|
|
|
+ \x07content\x12\x12\n\x04data\x18\x03\x20\x01(\tR\x04data\"+\n\x0cRepeat\
|
|
|
+ edCell\x12\x1b\n\x05items\x18\x01\x20\x03(\x0b2\x05.CellR\x05items\"'\n\
|
|
|
+ \x11CreateGridPayload\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\"\
|
|
|
+ \x1e\n\x06GridId\x12\x14\n\x05value\x18\x01\x20\x01(\tR\x05value\"#\n\
|
|
|
+ \x0bGridBlockId\x12\x14\n\x05value\x18\x01\x20\x01(\tR\x05value\"f\n\x10\
|
|
|
+ CreateRowPayload\x12\x17\n\x07grid_id\x18\x01\x20\x01(\tR\x06gridId\x12\
|
|
|
+ \"\n\x0cstart_row_id\x18\x02\x20\x01(\tH\0R\nstartRowIdB\x15\n\x13one_of\
|
|
|
+ _start_row_id\"\xb6\x01\n\x12InsertFieldPayload\x12\x17\n\x07grid_id\x18\
|
|
|
+ \x01\x20\x01(\tR\x06gridId\x12\x1c\n\x05field\x18\x02\x20\x01(\x0b2\x06.\
|
|
|
+ FieldR\x05field\x12(\n\x10type_option_data\x18\x03\x20\x01(\x0cR\x0etype\
|
|
|
+ OptionData\x12&\n\x0estart_field_id\x18\x04\x20\x01(\tH\0R\x0cstartField\
|
|
|
+ IdB\x17\n\x15one_of_start_field_id\"|\n\x1cUpdateFieldTypeOptionPayload\
|
|
|
+ \x12\x17\n\x07grid_id\x18\x01\x20\x01(\tR\x06gridId\x12\x19\n\x08field_i\
|
|
|
+ d\x18\x02\x20\x01(\tR\x07fieldId\x12(\n\x10type_option_data\x18\x03\x20\
|
|
|
+ \x01(\x0cR\x0etypeOptionData\"d\n\x11QueryFieldPayload\x12\x17\n\x07grid\
|
|
|
+ _id\x18\x01\x20\x01(\tR\x06gridId\x126\n\x0cfield_orders\x18\x02\x20\x01\
|
|
|
+ (\x0b2\x13.RepeatedFieldOrderR\x0bfieldOrders\"e\n\x16QueryGridBlocksPay\
|
|
|
+ load\x12\x17\n\x07grid_id\x18\x01\x20\x01(\tR\x06gridId\x122\n\x0cblock_\
|
|
|
+ orders\x18\x02\x20\x03(\x0b2\x0f.GridBlockOrderR\x0bblockOrders\"\xa8\
|
|
|
+ \x03\n\x15FieldChangesetPayload\x12\x19\n\x08field_id\x18\x01\x20\x01(\t\
|
|
|
+ R\x07fieldId\x12\x17\n\x07grid_id\x18\x02\x20\x01(\tR\x06gridId\x12\x14\
|
|
|
+ \n\x04name\x18\x03\x20\x01(\tH\0R\x04name\x12\x14\n\x04desc\x18\x04\x20\
|
|
|
+ \x01(\tH\x01R\x04desc\x12+\n\nfield_type\x18\x05\x20\x01(\x0e2\n.FieldTy\
|
|
|
+ peH\x02R\tfieldType\x12\x18\n\x06frozen\x18\x06\x20\x01(\x08H\x03R\x06fr\
|
|
|
+ ozen\x12\x20\n\nvisibility\x18\x07\x20\x01(\x08H\x04R\nvisibility\x12\
|
|
|
+ \x16\n\x05width\x18\x08\x20\x01(\x05H\x05R\x05width\x12*\n\x10type_optio\
|
|
|
+ n_data\x18\t\x20\x01(\x0cH\x06R\x0etypeOptionDataB\r\n\x0bone_of_nameB\r\
|
|
|
+ \n\x0bone_of_descB\x13\n\x11one_of_field_typeB\x0f\n\rone_of_frozenB\x13\
|
|
|
+ \n\x11one_of_visibilityB\x0e\n\x0cone_of_widthB\x19\n\x17one_of_type_opt\
|
|
|
+ ion_data\"\x9c\x01\n\x0fMoveItemPayload\x12\x17\n\x07grid_id\x18\x01\x20\
|
|
|
+ \x01(\tR\x06gridId\x12\x17\n\x07item_id\x18\x02\x20\x01(\tR\x06itemId\
|
|
|
+ \x12\x1d\n\nfrom_index\x18\x03\x20\x01(\x05R\tfromIndex\x12\x19\n\x08to_\
|
|
|
+ index\x18\x04\x20\x01(\x05R\x07toIndex\x12\x1d\n\x02ty\x18\x05\x20\x01(\
|
|
|
+ \x0e2\r.MoveItemTypeR\x02ty\"\xb3\x01\n\rCellChangeset\x12\x17\n\x07grid\
|
|
|
+ _id\x18\x01\x20\x01(\tR\x06gridId\x12\x15\n\x06row_id\x18\x02\x20\x01(\t\
|
|
|
+ R\x05rowId\x12\x19\n\x08field_id\x18\x03\x20\x01(\tR\x07fieldId\x126\n\
|
|
|
+ \x16cell_content_changeset\x18\x04\x20\x01(\tH\0R\x14cellContentChangese\
|
|
|
+ tB\x1f\n\x1done_of_cell_content_changeset**\n\x0cMoveItemType\x12\r\n\tM\
|
|
|
+ oveField\x10\0\x12\x0b\n\x07MoveRow\x10\x01*d\n\tFieldType\x12\x0c\n\x08\
|
|
|
+ RichText\x10\0\x12\n\n\x06Number\x10\x01\x12\x0c\n\x08DateTime\x10\x02\
|
|
|
+ \x12\x10\n\x0cSingleSelect\x10\x03\x12\x0f\n\x0bMultiSelect\x10\x04\x12\
|
|
|
+ \x0c\n\x08Checkbox\x10\x05b\x06proto3\
|
|
|
";
|
|
|
|
|
|
static file_descriptor_proto_lazy: ::protobuf::rt::LazyV2<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::LazyV2::INIT;
|