Menu

#4 Editing protobuf with nested and repeating sub-messages

1.0
closed
protobuf (1)
2018-12-02
2018-11-26
No

I have a case.proto file (attached) with embedded sub-messages and repeating fields. The parent (case) message only shows the non-embedded and non-repeating fields. The Layouts drop down shows the sub-message types, but doesn't seem to associate them with the parent case message. Also, when editing the sub-message types, it allows entry on the first field, but moving to the subsequent field via Enter key or mouse click appears to lock up. Does this product support embedded protobuf messages and repeating fields? If so, what is the recommended process. We are receiving a large number of protobuf records and *.proto definition files and are trying to find a good mechanism to read and modify the data and this tool looks promising. Thank you.

1 Attachments

Discussion

  • Joe Schweickart

    Joe Schweickart - 2018-11-26

    Update: I am able to edit a protobuf file that I created with the attached case.proto using a Java program. Once I have delimited protobufs created, I can use copy/paste functionality to create new case records with their associated embedded messages. I can then edit the fields in the pasted records. I would still be interested if there is a way to use the New Record functionality to create a complex message with sub-messages and repeating fields.

     
  • Bruce Martin

    Bruce Martin - 2018-11-26

    There is a New Record button (see picture), also menu option Edit >>> Insert New Record can be used. You will then be given an option on which Record-Type to create:

    New Record

    Have a look at Create new message wiki

     

    Last edit: Bruce Martin 2018-11-26
  • Joe Schweickart

    Joe Schweickart - 2018-11-26

    OK, the step I was missing was Insert Record(s) from the right-click menu to add sub-messages to a parent message. All is good now and appears to be working well for both reading delimited files as well as creating them from scratch. Thanks and it looks just like what we need.

     
  • Bruce Martin

    Bruce Martin - 2018-11-27
    • status: open --> pending
     
  • Bruce Martin

    Bruce Martin - 2018-11-27

    Sounds as though all is ok will change status to pending and eventually close

     
  • Joe Schweickart

    Joe Schweickart - 2018-11-27

    Yes, all capabilities I am looking for I am now able to do. Thanks

     
  • Bruce Martin

    Bruce Martin - 2018-12-02
    • status: pending --> closed
     

Log in to post a comment.