|
@@ -727,7 +727,7 @@ pub struct FieldMeta {
|
|
|
pub frozen: bool,
|
|
|
pub visibility: bool,
|
|
|
pub width: i32,
|
|
|
- pub type_option_json: ::std::string::String,
|
|
|
+ pub type_option_by_field_type_id: ::protobuf::SingularPtrField<TypeOptionDataByFieldTypeId>,
|
|
|
// special fields
|
|
|
pub unknown_fields: ::protobuf::UnknownFields,
|
|
|
pub cached_size: ::protobuf::CachedSize,
|
|
@@ -882,35 +882,47 @@ impl FieldMeta {
|
|
|
self.width = v;
|
|
|
}
|
|
|
|
|
|
- // string type_option_json = 8;
|
|
|
+ // .TypeOptionDataByFieldTypeId type_option_by_field_type_id = 8;
|
|
|
|
|
|
|
|
|
- pub fn get_type_option_json(&self) -> &str {
|
|
|
- &self.type_option_json
|
|
|
+ pub fn get_type_option_by_field_type_id(&self) -> &TypeOptionDataByFieldTypeId {
|
|
|
+ self.type_option_by_field_type_id.as_ref().unwrap_or_else(|| <TypeOptionDataByFieldTypeId as ::protobuf::Message>::default_instance())
|
|
|
}
|
|
|
- pub fn clear_type_option_json(&mut self) {
|
|
|
- self.type_option_json.clear();
|
|
|
+ pub fn clear_type_option_by_field_type_id(&mut self) {
|
|
|
+ self.type_option_by_field_type_id.clear();
|
|
|
+ }
|
|
|
+
|
|
|
+ pub fn has_type_option_by_field_type_id(&self) -> bool {
|
|
|
+ self.type_option_by_field_type_id.is_some()
|
|
|
}
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
- pub fn set_type_option_json(&mut self, v: ::std::string::String) {
|
|
|
- self.type_option_json = v;
|
|
|
+ pub fn set_type_option_by_field_type_id(&mut self, v: TypeOptionDataByFieldTypeId) {
|
|
|
+ self.type_option_by_field_type_id = ::protobuf::SingularPtrField::some(v);
|
|
|
}
|
|
|
|
|
|
// Mutable pointer to the field.
|
|
|
// If field is not initialized, it is initialized with default value first.
|
|
|
- pub fn mut_type_option_json(&mut self) -> &mut ::std::string::String {
|
|
|
- &mut self.type_option_json
|
|
|
+ pub fn mut_type_option_by_field_type_id(&mut self) -> &mut TypeOptionDataByFieldTypeId {
|
|
|
+ if self.type_option_by_field_type_id.is_none() {
|
|
|
+ self.type_option_by_field_type_id.set_default();
|
|
|
+ }
|
|
|
+ self.type_option_by_field_type_id.as_mut().unwrap()
|
|
|
}
|
|
|
|
|
|
// Take field
|
|
|
- pub fn take_type_option_json(&mut self) -> ::std::string::String {
|
|
|
- ::std::mem::replace(&mut self.type_option_json, ::std::string::String::new())
|
|
|
+ pub fn take_type_option_by_field_type_id(&mut self) -> TypeOptionDataByFieldTypeId {
|
|
|
+ self.type_option_by_field_type_id.take().unwrap_or_else(|| TypeOptionDataByFieldTypeId::new())
|
|
|
}
|
|
|
}
|
|
|
|
|
|
impl ::protobuf::Message for FieldMeta {
|
|
|
fn is_initialized(&self) -> bool {
|
|
|
+ for v in &self.type_option_by_field_type_id {
|
|
|
+ if !v.is_initialized() {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ };
|
|
|
true
|
|
|
}
|
|
|
|
|
@@ -952,7 +964,7 @@ impl ::protobuf::Message for FieldMeta {
|
|
|
self.width = tmp;
|
|
|
},
|
|
|
8 => {
|
|
|
- ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.type_option_json)?;
|
|
|
+ ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.type_option_by_field_type_id)?;
|
|
|
},
|
|
|
_ => {
|
|
|
::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
|
|
@@ -987,8 +999,9 @@ impl ::protobuf::Message for FieldMeta {
|
|
|
if self.width != 0 {
|
|
|
my_size += ::protobuf::rt::value_size(7, self.width, ::protobuf::wire_format::WireTypeVarint);
|
|
|
}
|
|
|
- if !self.type_option_json.is_empty() {
|
|
|
- my_size += ::protobuf::rt::string_size(8, &self.type_option_json);
|
|
|
+ if let Some(ref v) = self.type_option_by_field_type_id.as_ref() {
|
|
|
+ let len = v.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);
|
|
@@ -1017,8 +1030,10 @@ impl ::protobuf::Message for FieldMeta {
|
|
|
if self.width != 0 {
|
|
|
os.write_int32(7, self.width)?;
|
|
|
}
|
|
|
- if !self.type_option_json.is_empty() {
|
|
|
- os.write_string(8, &self.type_option_json)?;
|
|
|
+ if let Some(ref v) = self.type_option_by_field_type_id.as_ref() {
|
|
|
+ os.write_tag(8, ::protobuf::wire_format::WireTypeLengthDelimited)?;
|
|
|
+ os.write_raw_varint32(v.get_cached_size())?;
|
|
|
+ v.write_to_with_cached_sizes(os)?;
|
|
|
}
|
|
|
os.write_unknown_fields(self.get_unknown_fields())?;
|
|
|
::std::result::Result::Ok(())
|
|
@@ -1093,10 +1108,10 @@ impl ::protobuf::Message for FieldMeta {
|
|
|
|m: &FieldMeta| { &m.width },
|
|
|
|m: &mut FieldMeta| { &mut m.width },
|
|
|
));
|
|
|
- fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
|
|
|
- "type_option_json",
|
|
|
- |m: &FieldMeta| { &m.type_option_json },
|
|
|
- |m: &mut FieldMeta| { &mut m.type_option_json },
|
|
|
+ fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<TypeOptionDataByFieldTypeId>>(
|
|
|
+ "type_option_by_field_type_id",
|
|
|
+ |m: &FieldMeta| { &m.type_option_by_field_type_id },
|
|
|
+ |m: &mut FieldMeta| { &mut m.type_option_by_field_type_id },
|
|
|
));
|
|
|
::protobuf::reflect::MessageDescriptor::new_pb_name::<FieldMeta>(
|
|
|
"FieldMeta",
|
|
@@ -1121,7 +1136,7 @@ impl ::protobuf::Clear for FieldMeta {
|
|
|
self.frozen = false;
|
|
|
self.visibility = false;
|
|
|
self.width = 0;
|
|
|
- self.type_option_json.clear();
|
|
|
+ self.type_option_by_field_type_id.clear();
|
|
|
self.unknown_fields.clear();
|
|
|
}
|
|
|
}
|
|
@@ -1138,6 +1153,160 @@ impl ::protobuf::reflect::ProtobufValue for FieldMeta {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+#[derive(PartialEq,Clone,Default)]
|
|
|
+pub struct TypeOptionDataByFieldTypeId {
|
|
|
+ // message fields
|
|
|
+ pub map: ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
|
|
+ // special fields
|
|
|
+ pub unknown_fields: ::protobuf::UnknownFields,
|
|
|
+ pub cached_size: ::protobuf::CachedSize,
|
|
|
+}
|
|
|
+
|
|
|
+impl<'a> ::std::default::Default for &'a TypeOptionDataByFieldTypeId {
|
|
|
+ fn default() -> &'a TypeOptionDataByFieldTypeId {
|
|
|
+ <TypeOptionDataByFieldTypeId as ::protobuf::Message>::default_instance()
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+impl TypeOptionDataByFieldTypeId {
|
|
|
+ pub fn new() -> TypeOptionDataByFieldTypeId {
|
|
|
+ ::std::default::Default::default()
|
|
|
+ }
|
|
|
+
|
|
|
+ // repeated .TypeOptionDataByFieldTypeId.MapEntry map = 1;
|
|
|
+
|
|
|
+
|
|
|
+ pub fn get_map(&self) -> &::std::collections::HashMap<::std::string::String, ::std::string::String> {
|
|
|
+ &self.map
|
|
|
+ }
|
|
|
+ pub fn clear_map(&mut self) {
|
|
|
+ self.map.clear();
|
|
|
+ }
|
|
|
+
|
|
|
+ // Param is passed by value, moved
|
|
|
+ pub fn set_map(&mut self, v: ::std::collections::HashMap<::std::string::String, ::std::string::String>) {
|
|
|
+ self.map = v;
|
|
|
+ }
|
|
|
+
|
|
|
+ // Mutable pointer to the field.
|
|
|
+ pub fn mut_map(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, ::std::string::String> {
|
|
|
+ &mut self.map
|
|
|
+ }
|
|
|
+
|
|
|
+ // Take field
|
|
|
+ pub fn take_map(&mut self) -> ::std::collections::HashMap<::std::string::String, ::std::string::String> {
|
|
|
+ ::std::mem::replace(&mut self.map, ::std::collections::HashMap::new())
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+impl ::protobuf::Message for TypeOptionDataByFieldTypeId {
|
|
|
+ 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_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(wire_type, is, &mut self.map)?;
|
|
|
+ },
|
|
|
+ _ => {
|
|
|
+ ::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;
|
|
|
+ my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(1, &self.map);
|
|
|
+ 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<()> {
|
|
|
+ ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(1, &self.map, os)?;
|
|
|
+ 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() -> TypeOptionDataByFieldTypeId {
|
|
|
+ TypeOptionDataByFieldTypeId::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_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(
|
|
|
+ "map",
|
|
|
+ |m: &TypeOptionDataByFieldTypeId| { &m.map },
|
|
|
+ |m: &mut TypeOptionDataByFieldTypeId| { &mut m.map },
|
|
|
+ ));
|
|
|
+ ::protobuf::reflect::MessageDescriptor::new_pb_name::<TypeOptionDataByFieldTypeId>(
|
|
|
+ "TypeOptionDataByFieldTypeId",
|
|
|
+ fields,
|
|
|
+ file_descriptor_proto()
|
|
|
+ )
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
+ fn default_instance() -> &'static TypeOptionDataByFieldTypeId {
|
|
|
+ static instance: ::protobuf::rt::LazyV2<TypeOptionDataByFieldTypeId> = ::protobuf::rt::LazyV2::INIT;
|
|
|
+ instance.get(TypeOptionDataByFieldTypeId::new)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+impl ::protobuf::Clear for TypeOptionDataByFieldTypeId {
|
|
|
+ fn clear(&mut self) {
|
|
|
+ self.map.clear();
|
|
|
+ self.unknown_fields.clear();
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+impl ::std::fmt::Debug for TypeOptionDataByFieldTypeId {
|
|
|
+ fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
|
|
|
+ ::protobuf::text_format::fmt(self, f)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+impl ::protobuf::reflect::ProtobufValue for TypeOptionDataByFieldTypeId {
|
|
|
+ fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
|
|
|
+ ::protobuf::reflect::ReflectValueRef::Message(self)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
#[derive(PartialEq,Clone,Default)]
|
|
|
pub struct FieldChangesetPayload {
|
|
|
// message fields
|
|
@@ -3507,51 +3676,55 @@ static file_descriptor_proto_data: &'static [u8] = b"\
|
|
|
ockId\x12&\n\x0fstart_row_index\x18\x02\x20\x01(\x05R\rstartRowIndex\x12\
|
|
|
\x1b\n\trow_count\x18\x03\x20\x01(\x05R\x08rowCount\"V\n\x12GridBlockMet\
|
|
|
aSerde\x12\x19\n\x08block_id\x18\x01\x20\x01(\tR\x07blockId\x12%\n\trow_\
|
|
|
- metas\x18\x02\x20\x03(\x0b2\x08.RowMetaR\x08rowMetas\"\xe6\x01\n\tFieldM\
|
|
|
+ metas\x18\x02\x20\x03(\x0b2\x08.RowMetaR\x08rowMetas\"\x99\x02\n\tFieldM\
|
|
|
eta\x12\x0e\n\x02id\x18\x01\x20\x01(\tR\x02id\x12\x12\n\x04name\x18\x02\
|
|
|
\x20\x01(\tR\x04name\x12\x12\n\x04desc\x18\x03\x20\x01(\tR\x04desc\x12)\
|
|
|
\n\nfield_type\x18\x04\x20\x01(\x0e2\n.FieldTypeR\tfieldType\x12\x16\n\
|
|
|
\x06frozen\x18\x05\x20\x01(\x08R\x06frozen\x12\x1e\n\nvisibility\x18\x06\
|
|
|
\x20\x01(\x08R\nvisibility\x12\x14\n\x05width\x18\x07\x20\x01(\x05R\x05w\
|
|
|
- idth\x12(\n\x10type_option_json\x18\x08\x20\x01(\tR\x0etypeOptionJson\"\
|
|
|
- \xa8\x03\n\x15FieldChangesetPayload\x12\x19\n\x08field_id\x18\x01\x20\
|
|
|
- \x01(\tR\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\
|
|
|
- .FieldTypeH\x02R\tfieldType\x12\x18\n\x06frozen\x18\x06\x20\x01(\x08H\
|
|
|
- \x03R\x06frozen\x12\x20\n\nvisibility\x18\x07\x20\x01(\x08H\x04R\nvisibi\
|
|
|
- lity\x12\x16\n\x05width\x18\x08\x20\x01(\x05H\x05R\x05width\x12*\n\x10ty\
|
|
|
- pe_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_fro\
|
|
|
- zenB\x13\n\x11one_of_visibilityB\x0e\n\x0cone_of_widthB\x19\n\x17one_of_\
|
|
|
- type_option_data\"8\n\x07AnyData\x12\x17\n\x07type_id\x18\x01\x20\x01(\t\
|
|
|
- R\x06typeId\x12\x14\n\x05value\x18\x02\x20\x01(\x0cR\x05value\"\xff\x01\
|
|
|
- \n\x07RowMeta\x12\x0e\n\x02id\x18\x01\x20\x01(\tR\x02id\x12\x19\n\x08blo\
|
|
|
- ck_id\x18\x02\x20\x01(\tR\x07blockId\x12D\n\x10cell_by_field_id\x18\x03\
|
|
|
- \x20\x03(\x0b2\x1b.RowMeta.CellByFieldIdEntryR\rcellByFieldId\x12\x16\n\
|
|
|
- \x06height\x18\x04\x20\x01(\x05R\x06height\x12\x1e\n\nvisibility\x18\x05\
|
|
|
- \x20\x01(\x08R\nvisibility\x1aK\n\x12CellByFieldIdEntry\x12\x10\n\x03key\
|
|
|
- \x18\x01\x20\x01(\tR\x03key\x12\x1f\n\x05value\x18\x02\x20\x01(\x0b2\t.C\
|
|
|
- ellMetaR\x05value:\x028\x01\"\xa7\x02\n\x10RowMetaChangeset\x12\x15\n\
|
|
|
- \x06row_id\x18\x01\x20\x01(\tR\x05rowId\x12\x18\n\x06height\x18\x02\x20\
|
|
|
- \x01(\x05H\0R\x06height\x12\x20\n\nvisibility\x18\x03\x20\x01(\x08H\x01R\
|
|
|
- \nvisibility\x12M\n\x10cell_by_field_id\x18\x04\x20\x03(\x0b2$.RowMetaCh\
|
|
|
- angeset.CellByFieldIdEntryR\rcellByFieldId\x1aK\n\x12CellByFieldIdEntry\
|
|
|
+ idth\x12[\n\x1ctype_option_by_field_type_id\x18\x08\x20\x01(\x0b2\x1c.Ty\
|
|
|
+ peOptionDataByFieldTypeIdR\x17typeOptionByFieldTypeId\"\x8e\x01\n\x1bTyp\
|
|
|
+ eOptionDataByFieldTypeId\x127\n\x03map\x18\x01\x20\x03(\x0b2%.TypeOption\
|
|
|
+ DataByFieldTypeId.MapEntryR\x03map\x1a6\n\x08MapEntry\x12\x10\n\x03key\
|
|
|
+ \x18\x01\x20\x01(\tR\x03key\x12\x14\n\x05value\x18\x02\x20\x01(\tR\x05va\
|
|
|
+ lue:\x028\x01\"\xa8\x03\n\x15FieldChangesetPayload\x12\x19\n\x08field_id\
|
|
|
+ \x18\x01\x20\x01(\tR\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.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\x05width\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\"8\n\x07AnyData\x12\x17\n\x07type_id\
|
|
|
+ \x18\x01\x20\x01(\tR\x06typeId\x12\x14\n\x05value\x18\x02\x20\x01(\x0cR\
|
|
|
+ \x05value\"\xff\x01\n\x07RowMeta\x12\x0e\n\x02id\x18\x01\x20\x01(\tR\x02\
|
|
|
+ id\x12\x19\n\x08block_id\x18\x02\x20\x01(\tR\x07blockId\x12D\n\x10cell_b\
|
|
|
+ y_field_id\x18\x03\x20\x03(\x0b2\x1b.RowMeta.CellByFieldIdEntryR\rcellBy\
|
|
|
+ FieldId\x12\x16\n\x06height\x18\x04\x20\x01(\x05R\x06height\x12\x1e\n\nv\
|
|
|
+ isibility\x18\x05\x20\x01(\x08R\nvisibility\x1aK\n\x12CellByFieldIdEntry\
|
|
|
\x12\x10\n\x03key\x18\x01\x20\x01(\tR\x03key\x12\x1f\n\x05value\x18\x02\
|
|
|
- \x20\x01(\x0b2\t.CellMetaR\x05value:\x028\x01B\x0f\n\rone_of_heightB\x13\
|
|
|
- \n\x11one_of_visibility\"9\n\x08CellMeta\x12\x19\n\x08field_id\x18\x01\
|
|
|
- \x20\x01(\tR\x07fieldId\x12\x12\n\x04data\x18\x02\x20\x01(\tR\x04data\"\
|
|
|
- \x83\x01\n\x11CellMetaChangeset\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\"\xad\x01\n\x10BuildGridCont\
|
|
|
- ext\x12+\n\x0bfield_metas\x18\x01\x20\x03(\x0b2\n.FieldMetaR\nfieldMetas\
|
|
|
- \x12/\n\x0bblock_metas\x18\x02\x20\x01(\x0b2\x0e.GridBlockMetaR\nblockMe\
|
|
|
- tas\x12;\n\x0fblock_meta_data\x18\x03\x20\x01(\x0b2\x13.GridBlockMetaSer\
|
|
|
- deR\rblockMetaData*d\n\tFieldType\x12\x0c\n\x08RichText\x10\0\x12\n\n\
|
|
|
- \x06Number\x10\x01\x12\x0c\n\x08DateTime\x10\x02\x12\x10\n\x0cSingleSele\
|
|
|
- ct\x10\x03\x12\x0f\n\x0bMultiSelect\x10\x04\x12\x0c\n\x08Checkbox\x10\
|
|
|
- \x05b\x06proto3\
|
|
|
+ \x20\x01(\x0b2\t.CellMetaR\x05value:\x028\x01\"\xa7\x02\n\x10RowMetaChan\
|
|
|
+ geset\x12\x15\n\x06row_id\x18\x01\x20\x01(\tR\x05rowId\x12\x18\n\x06heig\
|
|
|
+ ht\x18\x02\x20\x01(\x05H\0R\x06height\x12\x20\n\nvisibility\x18\x03\x20\
|
|
|
+ \x01(\x08H\x01R\nvisibility\x12M\n\x10cell_by_field_id\x18\x04\x20\x03(\
|
|
|
+ \x0b2$.RowMetaChangeset.CellByFieldIdEntryR\rcellByFieldId\x1aK\n\x12Cel\
|
|
|
+ lByFieldIdEntry\x12\x10\n\x03key\x18\x01\x20\x01(\tR\x03key\x12\x1f\n\
|
|
|
+ \x05value\x18\x02\x20\x01(\x0b2\t.CellMetaR\x05value:\x028\x01B\x0f\n\ro\
|
|
|
+ ne_of_heightB\x13\n\x11one_of_visibility\"9\n\x08CellMeta\x12\x19\n\x08f\
|
|
|
+ ield_id\x18\x01\x20\x01(\tR\x07fieldId\x12\x12\n\x04data\x18\x02\x20\x01\
|
|
|
+ (\tR\x04data\"\x83\x01\n\x11CellMetaChangeset\x12\x17\n\x07grid_id\x18\
|
|
|
+ \x01\x20\x01(\tR\x06gridId\x12\x15\n\x06row_id\x18\x02\x20\x01(\tR\x05ro\
|
|
|
+ wId\x12\x19\n\x08field_id\x18\x03\x20\x01(\tR\x07fieldId\x12\x14\n\x04da\
|
|
|
+ ta\x18\x04\x20\x01(\tH\0R\x04dataB\r\n\x0bone_of_data\"\xad\x01\n\x10Bui\
|
|
|
+ ldGridContext\x12+\n\x0bfield_metas\x18\x01\x20\x03(\x0b2\n.FieldMetaR\n\
|
|
|
+ fieldMetas\x12/\n\x0bblock_metas\x18\x02\x20\x01(\x0b2\x0e.GridBlockMeta\
|
|
|
+ R\nblockMetas\x12;\n\x0fblock_meta_data\x18\x03\x20\x01(\x0b2\x13.GridBl\
|
|
|
+ ockMetaSerdeR\rblockMetaData*d\n\tFieldType\x12\x0c\n\x08RichText\x10\0\
|
|
|
+ \x12\n\n\x06Number\x10\x01\x12\x0c\n\x08DateTime\x10\x02\x12\x10\n\x0cSi\
|
|
|
+ ngleSelect\x10\x03\x12\x0f\n\x0bMultiSelect\x10\x04\x12\x0c\n\x08Checkbo\
|
|
|
+ x\x10\x05b\x06proto3\
|
|
|
";
|
|
|
|
|
|
static file_descriptor_proto_lazy: ::protobuf::rt::LazyV2<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::LazyV2::INIT;
|