go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/generic/model.proto (about) 1 syntax = "proto3"; 2 3 package ligato.generic; 4 5 option go_package = "go.ligato.io/vpp-agent/v3/proto/ligato/generic"; 6 7 // ModelSpec defines a model specification to identify a model. 8 message ModelSpec { 9 10 // Module describes grouping for the model. 11 string module = 1; 12 13 // Version describes version of the model schema. 14 string version = 2; 15 16 // Type describes name of type described by this model. 17 string type = 3; 18 19 // Class describes purpose for the model. 20 string class = 4; 21 } 22 23 // ModelDetail represents info about model details. 24 message ModelDetail { 25 26 // Spec is a specificaiton the model was registered with. 27 ModelSpec spec = 1; 28 29 // ProtoName is a name of protobuf message representing the model. 30 string proto_name = 2; 31 32 message Option { 33 string key = 1; 34 repeated string values = 2; 35 } 36 repeated Option options = 3; 37 }