| // See README.txt for information and build instructions. |
| import "google/api/annotations.proto"; |
| import public "yang_options.proto"; |
| option java_package = "com.example.tutorial"; |
| option java_outer_classname = "AddressBookProtos"; |
| option csharp_namespace = "Google.Protobuf.Examples.AddressBook"; |
| option (voltha.yang_child_rule) = MOVE_TO_PARENT_LEVEL; |
| option (voltha.yang_message_rule) = CREATE_BOTH_GROUPING_AND_CONTAINER; |
| repeated House houses = 4; |
| option (voltha.yang_message_rule) = CREATE_BOTH_GROUPING_AND_CONTAINER; |
| int32 id = 2; // Unique ID number for this person. |
| repeated string khen = 4; |
| repeated PhoneNumber phones = 5; |
| // Our address book file is just one of these. |
| Person people = 1 [(voltha.yang_inline_node).id = 'people', |
| (voltha.yang_inline_node).type = 'book-Person'] ; |