Documentation ¶
Overview ¶
Package voltha is a generated protocol buffer package.
It is generated from these files:
yang_options.proto
It has these top-level messages:
InlineNode RpcReturnDef
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var E_YangChildRule = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf.MessageOptions)(nil), ExtensionType: (*MessageParserOption)(nil), Field: 7761774, Name: "voltha.yang_child_rule", Tag: "varint,7761774,opt,name=yang_child_rule,json=yangChildRule,enum=voltha.MessageParserOption", Filename: "yang_options.proto", }
View Source
var E_YangInlineNode = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf.FieldOptions)(nil), ExtensionType: (*InlineNode)(nil), Field: 7761776, Name: "voltha.yang_inline_node", Tag: "bytes,7761776,opt,name=yang_inline_node,json=yangInlineNode", Filename: "yang_options.proto", }
View Source
var E_YangMessageRule = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf.MessageOptions)(nil), ExtensionType: (*MessageParserOption)(nil), Field: 7761775, Name: "voltha.yang_message_rule", Tag: "varint,7761775,opt,name=yang_message_rule,json=yangMessageRule,enum=voltha.MessageParserOption", Filename: "yang_options.proto", }
View Source
var E_YangXmlTag = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf.MethodOptions)(nil), ExtensionType: (*RpcReturnDef)(nil), Field: 7761777, Name: "voltha.yang_xml_tag", Tag: "bytes,7761777,opt,name=yang_xml_tag,json=yangXmlTag", Filename: "yang_options.proto", }
View Source
var MessageParserOption_name = map[int32]string{
0: "MOVE_TO_PARENT_LEVEL",
1: "CREATE_BOTH_GROUPING_AND_CONTAINER",
}
View Source
var MessageParserOption_value = map[string]int32{
"MOVE_TO_PARENT_LEVEL": 0,
"CREATE_BOTH_GROUPING_AND_CONTAINER": 1,
}
Functions ¶
This section is empty.
Types ¶
type InlineNode ¶
type InlineNode struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Type string `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"` }
func (*InlineNode) Descriptor ¶
func (*InlineNode) Descriptor() ([]byte, []int)
func (*InlineNode) GetId ¶
func (m *InlineNode) GetId() string
func (*InlineNode) GetType ¶
func (m *InlineNode) GetType() string
func (*InlineNode) ProtoMessage ¶
func (*InlineNode) ProtoMessage()
func (*InlineNode) Reset ¶
func (m *InlineNode) Reset()
func (*InlineNode) String ¶
func (m *InlineNode) String() string
type MessageParserOption ¶
type MessageParserOption int32
const ( // Move any enclosing child enum/message definition to the same level // as the parent (this message) in the yang generated file MessageParserOption_MOVE_TO_PARENT_LEVEL MessageParserOption = 0 // Create both a grouping and a container for this message. The container // name will be the message name. The grouping name will be the message // name prefixed with "grouping_" MessageParserOption_CREATE_BOTH_GROUPING_AND_CONTAINER MessageParserOption = 1 )
func (MessageParserOption) EnumDescriptor ¶
func (MessageParserOption) EnumDescriptor() ([]byte, []int)
func (MessageParserOption) String ¶
func (x MessageParserOption) String() string
type RpcReturnDef ¶
type RpcReturnDef struct { // The gRPC methods return message types. NETCONF expects an actual // attribute as defined in the YANG schema. The xnl_tag will be used // as the top most tag when translating a gRPC response into an xml // response XmlTag string `protobuf:"bytes,1,opt,name=xml_tag,json=xmlTag" json:"xml_tag,omitempty"` // When the gRPC response is a list of items, we need to differentiate // between a YANG schema attribute whose name is "items" and when "items" // is used only to indicate a list of items is being returned. The default // behavior assumes a list is returned when "items" is present in // the response. This option will therefore be used when the attribute // name in the YANG schema is 'items' ListItemsName string `protobuf:"bytes,2,opt,name=list_items_name,json=listItemsName" json:"list_items_name,omitempty"` }
func (*RpcReturnDef) Descriptor ¶
func (*RpcReturnDef) Descriptor() ([]byte, []int)
func (*RpcReturnDef) GetListItemsName ¶
func (m *RpcReturnDef) GetListItemsName() string
func (*RpcReturnDef) GetXmlTag ¶
func (m *RpcReturnDef) GetXmlTag() string
func (*RpcReturnDef) ProtoMessage ¶
func (*RpcReturnDef) ProtoMessage()
func (*RpcReturnDef) Reset ¶
func (m *RpcReturnDef) Reset()
func (*RpcReturnDef) String ¶
func (m *RpcReturnDef) String() string
Click to show internal directories.
Click to hide internal directories.