diff --git a/indexer/drules_struct.pb.cc b/indexer/drules_struct.pb.cc index b89e69ffbf..82f24443b8 100644 --- a/indexer/drules_struct.pb.cc +++ b/indexer/drules_struct.pb.cc @@ -3367,6 +3367,8 @@ const int ShieldRuleProto::kColorFieldNumber; const int ShieldRuleProto::kStrokeColorFieldNumber; const int ShieldRuleProto::kPriorityFieldNumber; const int ShieldRuleProto::kMinDistanceFieldNumber; +const int ShieldRuleProto::kTextColorFieldNumber; +const int ShieldRuleProto::kTextStrokeColorFieldNumber; #endif // !_MSC_VER ShieldRuleProto::ShieldRuleProto() @@ -3392,6 +3394,8 @@ void ShieldRuleProto::SharedCtor() { stroke_color_ = 0u; priority_ = 0; min_distance_ = 0; + text_color_ = 0u; + text_stroke_color_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -3440,8 +3444,8 @@ void ShieldRuleProto::Clear() { ::memset(&first, 0, n); \ } while (0) - if (_has_bits_[0 / 32] & 31) { - ZR_(height_, min_distance_); + if (_has_bits_[0 / 32] & 127) { + ZR_(height_, text_stroke_color_); } #undef OFFSET_OF_FIELD_ @@ -3535,6 +3539,36 @@ bool ShieldRuleProto::MergePartialFromCodedStream( } else { goto handle_unusual; } + if (input->ExpectTag(48)) goto parse_text_color; + break; + } + + // required uint32 text_color = 6; + case 6: { + if (tag == 48) { + parse_text_color: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &text_color_))); + set_has_text_color(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(56)) goto parse_text_stroke_color; + break; + } + + // optional uint32 text_stroke_color = 7; + case 7: { + if (tag == 56) { + parse_text_stroke_color: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &text_stroke_color_))); + set_has_text_stroke_color(); + } else { + goto handle_unusual; + } if (input->ExpectAtEnd()) goto success; break; } @@ -3589,6 +3623,16 @@ void ShieldRuleProto::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->min_distance(), output); } + // required uint32 text_color = 6; + if (has_text_color()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->text_color(), output); + } + + // optional uint32 text_stroke_color = 7; + if (has_text_stroke_color()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->text_stroke_color(), output); + } + output->WriteRaw(unknown_fields().data(), unknown_fields().size()); // @@protoc_insertion_point(serialize_end:ShieldRuleProto) @@ -3633,6 +3677,20 @@ int ShieldRuleProto::ByteSize() const { this->min_distance()); } + // required uint32 text_color = 6; + if (has_text_color()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->text_color()); + } + + // optional uint32 text_stroke_color = 7; + if (has_text_stroke_color()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->text_stroke_color()); + } + } total_size += unknown_fields().size(); @@ -3665,6 +3723,12 @@ void ShieldRuleProto::MergeFrom(const ShieldRuleProto& from) { if (from.has_min_distance()) { set_min_distance(from.min_distance()); } + if (from.has_text_color()) { + set_text_color(from.text_color()); + } + if (from.has_text_stroke_color()) { + set_text_stroke_color(from.text_stroke_color()); + } } mutable_unknown_fields()->append(from.unknown_fields()); } @@ -3676,7 +3740,7 @@ void ShieldRuleProto::CopyFrom(const ShieldRuleProto& from) { } bool ShieldRuleProto::IsInitialized() const { - if ((_has_bits_[0] & 0x0000000b) != 0x0000000b) return false; + if ((_has_bits_[0] & 0x0000002b) != 0x0000002b) return false; return true; } @@ -3688,6 +3752,8 @@ void ShieldRuleProto::Swap(ShieldRuleProto* other) { std::swap(stroke_color_, other->stroke_color_); std::swap(priority_, other->priority_); std::swap(min_distance_, other->min_distance_); + std::swap(text_color_, other->text_color_); + std::swap(text_stroke_color_, other->text_stroke_color_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.swap(other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); diff --git a/indexer/drules_struct.pb.h b/indexer/drules_struct.pb.h index 509ae69ce1..0a449e07cb 100644 --- a/indexer/drules_struct.pb.h +++ b/indexer/drules_struct.pb.h @@ -1431,6 +1431,20 @@ class ShieldRuleProto : public ::google::protobuf::MessageLite { inline ::google::protobuf::int32 min_distance() const; inline void set_min_distance(::google::protobuf::int32 value); + // required uint32 text_color = 6; + inline bool has_text_color() const; + inline void clear_text_color(); + static const int kTextColorFieldNumber = 6; + inline ::google::protobuf::uint32 text_color() const; + inline void set_text_color(::google::protobuf::uint32 value); + + // optional uint32 text_stroke_color = 7; + inline bool has_text_stroke_color() const; + inline void clear_text_stroke_color(); + static const int kTextStrokeColorFieldNumber = 7; + inline ::google::protobuf::uint32 text_stroke_color() const; + inline void set_text_stroke_color(::google::protobuf::uint32 value); + // @@protoc_insertion_point(class_scope:ShieldRuleProto) private: inline void set_has_height(); @@ -1443,6 +1457,10 @@ class ShieldRuleProto : public ::google::protobuf::MessageLite { inline void clear_has_priority(); inline void set_has_min_distance(); inline void clear_has_min_distance(); + inline void set_has_text_color(); + inline void clear_has_text_color(); + inline void set_has_text_stroke_color(); + inline void clear_has_text_stroke_color(); ::std::string _unknown_fields_; @@ -1453,6 +1471,8 @@ class ShieldRuleProto : public ::google::protobuf::MessageLite { ::google::protobuf::uint32 stroke_color_; ::google::protobuf::int32 priority_; ::google::protobuf::int32 min_distance_; + ::google::protobuf::uint32 text_color_; + ::google::protobuf::uint32 text_stroke_color_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_drules_5fstruct_2eproto_impl(); #else @@ -3411,6 +3431,54 @@ inline void ShieldRuleProto::set_min_distance(::google::protobuf::int32 value) { // @@protoc_insertion_point(field_set:ShieldRuleProto.min_distance) } +// required uint32 text_color = 6; +inline bool ShieldRuleProto::has_text_color() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ShieldRuleProto::set_has_text_color() { + _has_bits_[0] |= 0x00000020u; +} +inline void ShieldRuleProto::clear_has_text_color() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ShieldRuleProto::clear_text_color() { + text_color_ = 0u; + clear_has_text_color(); +} +inline ::google::protobuf::uint32 ShieldRuleProto::text_color() const { + // @@protoc_insertion_point(field_get:ShieldRuleProto.text_color) + return text_color_; +} +inline void ShieldRuleProto::set_text_color(::google::protobuf::uint32 value) { + set_has_text_color(); + text_color_ = value; + // @@protoc_insertion_point(field_set:ShieldRuleProto.text_color) +} + +// optional uint32 text_stroke_color = 7; +inline bool ShieldRuleProto::has_text_stroke_color() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ShieldRuleProto::set_has_text_stroke_color() { + _has_bits_[0] |= 0x00000040u; +} +inline void ShieldRuleProto::clear_has_text_stroke_color() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ShieldRuleProto::clear_text_stroke_color() { + text_stroke_color_ = 0u; + clear_has_text_stroke_color(); +} +inline ::google::protobuf::uint32 ShieldRuleProto::text_stroke_color() const { + // @@protoc_insertion_point(field_get:ShieldRuleProto.text_stroke_color) + return text_stroke_color_; +} +inline void ShieldRuleProto::set_text_stroke_color(::google::protobuf::uint32 value) { + set_has_text_stroke_color(); + text_stroke_color_ = value; + // @@protoc_insertion_point(field_set:ShieldRuleProto.text_stroke_color) +} + // ------------------------------------------------------------------- // DrawElementProto diff --git a/indexer/drules_struct.proto b/indexer/drules_struct.proto index 2b1eb35733..0326678c93 100644 --- a/indexer/drules_struct.proto +++ b/indexer/drules_struct.proto @@ -103,6 +103,8 @@ message ShieldRuleProto optional uint32 stroke_color = 3; required int32 priority = 4; optional int32 min_distance = 5; + required uint32 text_color = 6; + optional uint32 text_stroke_color = 7; } message DrawElementProto diff --git a/tools/python/stylesheet/drules_struct_pb2.py b/tools/python/stylesheet/drules_struct_pb2.py index cb9bd2e3a4..604f3b8452 100644 --- a/tools/python/stylesheet/drules_struct_pb2.py +++ b/tools/python/stylesheet/drules_struct_pb2.py @@ -19,7 +19,7 @@ _sym_db = _symbol_database.Default() DESCRIPTOR = _descriptor.FileDescriptor( name='drules_struct.proto', package='', - serialized_pb=_b('\n\x13\x64rules_struct.proto\"*\n\x0c\x44\x61shDotProto\x12\n\n\x02\x64\x64\x18\x01 \x03(\x01\x12\x0e\n\x06offset\x18\x02 \x01(\x01\":\n\x0cPathSymProto\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\x0c\n\x04step\x18\x02 \x02(\x01\x12\x0e\n\x06offset\x18\x03 \x01(\x01\"\xaf\x01\n\rLineRuleProto\x12\r\n\x05width\x18\x01 \x02(\x01\x12\r\n\x05\x63olor\x18\x02 \x02(\r\x12\x1e\n\x07\x64\x61shdot\x18\x03 \x01(\x0b\x32\r.DashDotProto\x12\x10\n\x08priority\x18\x04 \x02(\x05\x12\x1e\n\x07pathsym\x18\x05 \x01(\x0b\x32\r.PathSymProto\x12\x17\n\x04join\x18\x06 \x01(\x0e\x32\t.LineJoin\x12\x15\n\x03\x63\x61p\x18\x07 \x01(\x0e\x32\x08.LineCap\"\x9c\x01\n\x0cLineDefProto\x12\r\n\x05width\x18\x01 \x02(\x01\x12\r\n\x05\x63olor\x18\x02 \x02(\r\x12\x1e\n\x07\x64\x61shdot\x18\x03 \x01(\x0b\x32\r.DashDotProto\x12\x1e\n\x07pathsym\x18\x04 \x01(\x0b\x32\r.PathSymProto\x12\x17\n\x04join\x18\x06 \x01(\x0e\x32\t.LineJoin\x12\x15\n\x03\x63\x61p\x18\x07 \x01(\x0e\x32\x08.LineCap\"O\n\rAreaRuleProto\x12\r\n\x05\x63olor\x18\x01 \x02(\r\x12\x1d\n\x06\x62order\x18\x02 \x01(\x0b\x32\r.LineDefProto\x12\x10\n\x08priority\x18\x03 \x02(\x05\"_\n\x0fSymbolRuleProto\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\x16\n\x0e\x61pply_for_type\x18\x02 \x01(\x05\x12\x10\n\x08priority\x18\x03 \x02(\x05\x12\x14\n\x0cmin_distance\x18\x04 \x01(\x05\"\x8d\x01\n\x0f\x43\x61ptionDefProto\x12\x0e\n\x06height\x18\x01 \x02(\x05\x12\r\n\x05\x63olor\x18\x02 \x02(\r\x12\x14\n\x0cstroke_color\x18\x03 \x01(\r\x12\x10\n\x08offset_x\x18\x04 \x01(\x05\x12\x10\n\x08offset_y\x18\x05 \x01(\x05\x12\x0c\n\x04text\x18\x06 \x01(\t\x12\x13\n\x0bis_optional\x18\x07 \x01(\x08\"l\n\x10\x43\x61ptionRuleProto\x12!\n\x07primary\x18\x01 \x02(\x0b\x32\x10.CaptionDefProto\x12#\n\tsecondary\x18\x02 \x01(\x0b\x32\x10.CaptionDefProto\x12\x10\n\x08priority\x18\x03 \x02(\x05\"a\n\x0f\x43ircleRuleProto\x12\x0e\n\x06radius\x18\x01 \x02(\x01\x12\r\n\x05\x63olor\x18\x02 \x02(\r\x12\x1d\n\x06\x62order\x18\x03 \x01(\x0b\x32\r.LineDefProto\x12\x10\n\x08priority\x18\x04 \x02(\x05\"m\n\x11PathTextRuleProto\x12!\n\x07primary\x18\x01 \x02(\x0b\x32\x10.CaptionDefProto\x12#\n\tsecondary\x18\x02 \x01(\x0b\x32\x10.CaptionDefProto\x12\x10\n\x08priority\x18\x03 \x02(\x05\"n\n\x0fShieldRuleProto\x12\x0e\n\x06height\x18\x01 \x02(\x05\x12\r\n\x05\x63olor\x18\x02 \x02(\r\x12\x14\n\x0cstroke_color\x18\x03 \x01(\r\x12\x10\n\x08priority\x18\x04 \x02(\x05\x12\x14\n\x0cmin_distance\x18\x05 \x01(\x05\"\xa1\x02\n\x10\x44rawElementProto\x12\r\n\x05scale\x18\x01 \x02(\x05\x12\x1d\n\x05lines\x18\x02 \x03(\x0b\x32\x0e.LineRuleProto\x12\x1c\n\x04\x61rea\x18\x03 \x01(\x0b\x32\x0e.AreaRuleProto\x12 \n\x06symbol\x18\x04 \x01(\x0b\x32\x10.SymbolRuleProto\x12\"\n\x07\x63\x61ption\x18\x05 \x01(\x0b\x32\x11.CaptionRuleProto\x12 \n\x06\x63ircle\x18\x06 \x01(\x0b\x32\x10.CircleRuleProto\x12%\n\tpath_text\x18\x07 \x01(\x0b\x32\x12.PathTextRuleProto\x12 \n\x06shield\x18\x08 \x01(\x0b\x32\x10.ShieldRuleProto\x12\x10\n\x08\x61pply_if\x18\t \x03(\t\"G\n\x13\x43lassifElementProto\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\"\n\x07\x65lement\x18\x02 \x03(\x0b\x32\x11.DrawElementProto\"4\n\x0e\x43ontainerProto\x12\"\n\x04\x63ont\x18\x01 \x03(\x0b\x32\x14.ClassifElementProto*4\n\x08LineJoin\x12\r\n\tROUNDJOIN\x10\x00\x12\r\n\tBEVELJOIN\x10\x01\x12\n\n\x06NOJOIN\x10\x02*3\n\x07LineCap\x12\x0c\n\x08ROUNDCAP\x10\x00\x12\x0b\n\x07\x42UTTCAP\x10\x01\x12\r\n\tSQUARECAP\x10\x02\x42\x02H\x03') + serialized_pb=_b('\n\x13\x64rules_struct.proto\"*\n\x0c\x44\x61shDotProto\x12\n\n\x02\x64\x64\x18\x01 \x03(\x01\x12\x0e\n\x06offset\x18\x02 \x01(\x01\":\n\x0cPathSymProto\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\x0c\n\x04step\x18\x02 \x02(\x01\x12\x0e\n\x06offset\x18\x03 \x01(\x01\"\xaf\x01\n\rLineRuleProto\x12\r\n\x05width\x18\x01 \x02(\x01\x12\r\n\x05\x63olor\x18\x02 \x02(\r\x12\x1e\n\x07\x64\x61shdot\x18\x03 \x01(\x0b\x32\r.DashDotProto\x12\x10\n\x08priority\x18\x04 \x02(\x05\x12\x1e\n\x07pathsym\x18\x05 \x01(\x0b\x32\r.PathSymProto\x12\x17\n\x04join\x18\x06 \x01(\x0e\x32\t.LineJoin\x12\x15\n\x03\x63\x61p\x18\x07 \x01(\x0e\x32\x08.LineCap\"\x9c\x01\n\x0cLineDefProto\x12\r\n\x05width\x18\x01 \x02(\x01\x12\r\n\x05\x63olor\x18\x02 \x02(\r\x12\x1e\n\x07\x64\x61shdot\x18\x03 \x01(\x0b\x32\r.DashDotProto\x12\x1e\n\x07pathsym\x18\x04 \x01(\x0b\x32\r.PathSymProto\x12\x17\n\x04join\x18\x06 \x01(\x0e\x32\t.LineJoin\x12\x15\n\x03\x63\x61p\x18\x07 \x01(\x0e\x32\x08.LineCap\"O\n\rAreaRuleProto\x12\r\n\x05\x63olor\x18\x01 \x02(\r\x12\x1d\n\x06\x62order\x18\x02 \x01(\x0b\x32\r.LineDefProto\x12\x10\n\x08priority\x18\x03 \x02(\x05\"_\n\x0fSymbolRuleProto\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\x16\n\x0e\x61pply_for_type\x18\x02 \x01(\x05\x12\x10\n\x08priority\x18\x03 \x02(\x05\x12\x14\n\x0cmin_distance\x18\x04 \x01(\x05\"\x8d\x01\n\x0f\x43\x61ptionDefProto\x12\x0e\n\x06height\x18\x01 \x02(\x05\x12\r\n\x05\x63olor\x18\x02 \x02(\r\x12\x14\n\x0cstroke_color\x18\x03 \x01(\r\x12\x10\n\x08offset_x\x18\x04 \x01(\x05\x12\x10\n\x08offset_y\x18\x05 \x01(\x05\x12\x0c\n\x04text\x18\x06 \x01(\t\x12\x13\n\x0bis_optional\x18\x07 \x01(\x08\"l\n\x10\x43\x61ptionRuleProto\x12!\n\x07primary\x18\x01 \x02(\x0b\x32\x10.CaptionDefProto\x12#\n\tsecondary\x18\x02 \x01(\x0b\x32\x10.CaptionDefProto\x12\x10\n\x08priority\x18\x03 \x02(\x05\"a\n\x0f\x43ircleRuleProto\x12\x0e\n\x06radius\x18\x01 \x02(\x01\x12\r\n\x05\x63olor\x18\x02 \x02(\r\x12\x1d\n\x06\x62order\x18\x03 \x01(\x0b\x32\r.LineDefProto\x12\x10\n\x08priority\x18\x04 \x02(\x05\"m\n\x11PathTextRuleProto\x12!\n\x07primary\x18\x01 \x02(\x0b\x32\x10.CaptionDefProto\x12#\n\tsecondary\x18\x02 \x01(\x0b\x32\x10.CaptionDefProto\x12\x10\n\x08priority\x18\x03 \x02(\x05\"\x9d\x01\n\x0fShieldRuleProto\x12\x0e\n\x06height\x18\x01 \x02(\x05\x12\r\n\x05\x63olor\x18\x02 \x02(\r\x12\x14\n\x0cstroke_color\x18\x03 \x01(\r\x12\x10\n\x08priority\x18\x04 \x02(\x05\x12\x14\n\x0cmin_distance\x18\x05 \x01(\x05\x12\x12\n\ntext_color\x18\x06 \x02(\r\x12\x19\n\x11text_stroke_color\x18\x07 \x01(\r\"\xa1\x02\n\x10\x44rawElementProto\x12\r\n\x05scale\x18\x01 \x02(\x05\x12\x1d\n\x05lines\x18\x02 \x03(\x0b\x32\x0e.LineRuleProto\x12\x1c\n\x04\x61rea\x18\x03 \x01(\x0b\x32\x0e.AreaRuleProto\x12 \n\x06symbol\x18\x04 \x01(\x0b\x32\x10.SymbolRuleProto\x12\"\n\x07\x63\x61ption\x18\x05 \x01(\x0b\x32\x11.CaptionRuleProto\x12 \n\x06\x63ircle\x18\x06 \x01(\x0b\x32\x10.CircleRuleProto\x12%\n\tpath_text\x18\x07 \x01(\x0b\x32\x12.PathTextRuleProto\x12 \n\x06shield\x18\x08 \x01(\x0b\x32\x10.ShieldRuleProto\x12\x10\n\x08\x61pply_if\x18\t \x03(\t\"G\n\x13\x43lassifElementProto\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\"\n\x07\x65lement\x18\x02 \x03(\x0b\x32\x11.DrawElementProto\"4\n\x0e\x43ontainerProto\x12\"\n\x04\x63ont\x18\x01 \x03(\x0b\x32\x14.ClassifElementProto*4\n\x08LineJoin\x12\r\n\tROUNDJOIN\x10\x00\x12\r\n\tBEVELJOIN\x10\x01\x12\n\n\x06NOJOIN\x10\x02*3\n\x07LineCap\x12\x0c\n\x08ROUNDCAP\x10\x00\x12\x0b\n\x07\x42UTTCAP\x10\x01\x12\r\n\tSQUARECAP\x10\x02\x42\x02H\x03') ) _sym_db.RegisterFileDescriptor(DESCRIPTOR) @@ -44,8 +44,8 @@ _LINEJOIN = _descriptor.EnumDescriptor( ], containing_type=None, options=None, - serialized_start=1637, - serialized_end=1689, + serialized_start=1685, + serialized_end=1737, ) _sym_db.RegisterEnumDescriptor(_LINEJOIN) @@ -71,8 +71,8 @@ _LINECAP = _descriptor.EnumDescriptor( ], containing_type=None, options=None, - serialized_start=1691, - serialized_end=1742, + serialized_start=1739, + serialized_end=1790, ) _sym_db.RegisterEnumDescriptor(_LINECAP) @@ -652,6 +652,20 @@ _SHIELDRULEPROTO = _descriptor.Descriptor( message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), + _descriptor.FieldDescriptor( + name='text_color', full_name='ShieldRuleProto.text_color', index=5, + number=6, type=13, cpp_type=3, label=2, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='text_stroke_color', full_name='ShieldRuleProto.text_stroke_color', index=6, + number=7, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), ], extensions=[ ], @@ -663,8 +677,8 @@ _SHIELDRULEPROTO = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1106, - serialized_end=1216, + serialized_start=1107, + serialized_end=1264, ) @@ -749,8 +763,8 @@ _DRAWELEMENTPROTO = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1219, - serialized_end=1508, + serialized_start=1267, + serialized_end=1556, ) @@ -786,8 +800,8 @@ _CLASSIFELEMENTPROTO = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1510, - serialized_end=1581, + serialized_start=1558, + serialized_end=1629, ) @@ -816,8 +830,8 @@ _CONTAINERPROTO = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1583, - serialized_end=1635, + serialized_start=1631, + serialized_end=1683, ) _LINERULEPROTO.fields_by_name['dashdot'].message_type = _DASHDOTPROTO