blob: 66c99aba1149792b37377f223b1fff1f17f16e09 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: voltha_protos/yang_options.proto
package common
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
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
)
var MessageParserOption_name = map[int32]string{
0: "MOVE_TO_PARENT_LEVEL",
1: "CREATE_BOTH_GROUPING_AND_CONTAINER",
}
var MessageParserOption_value = map[string]int32{
"MOVE_TO_PARENT_LEVEL": 0,
"CREATE_BOTH_GROUPING_AND_CONTAINER": 1,
}
func (x MessageParserOption) String() string {
return proto.EnumName(MessageParserOption_name, int32(x))
}
func (MessageParserOption) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_e6be2fba65eb89fb, []int{0}
}
type InlineNode struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *InlineNode) Reset() { *m = InlineNode{} }
func (m *InlineNode) String() string { return proto.CompactTextString(m) }
func (*InlineNode) ProtoMessage() {}
func (*InlineNode) Descriptor() ([]byte, []int) {
return fileDescriptor_e6be2fba65eb89fb, []int{0}
}
func (m *InlineNode) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_InlineNode.Unmarshal(m, b)
}
func (m *InlineNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_InlineNode.Marshal(b, m, deterministic)
}
func (m *InlineNode) XXX_Merge(src proto.Message) {
xxx_messageInfo_InlineNode.Merge(m, src)
}
func (m *InlineNode) XXX_Size() int {
return xxx_messageInfo_InlineNode.Size(m)
}
func (m *InlineNode) XXX_DiscardUnknown() {
xxx_messageInfo_InlineNode.DiscardUnknown(m)
}
var xxx_messageInfo_InlineNode proto.InternalMessageInfo
func (m *InlineNode) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *InlineNode) GetType() string {
if m != nil {
return m.Type
}
return ""
}
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,proto3" 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,proto3" json:"list_items_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RpcReturnDef) Reset() { *m = RpcReturnDef{} }
func (m *RpcReturnDef) String() string { return proto.CompactTextString(m) }
func (*RpcReturnDef) ProtoMessage() {}
func (*RpcReturnDef) Descriptor() ([]byte, []int) {
return fileDescriptor_e6be2fba65eb89fb, []int{1}
}
func (m *RpcReturnDef) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RpcReturnDef.Unmarshal(m, b)
}
func (m *RpcReturnDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RpcReturnDef.Marshal(b, m, deterministic)
}
func (m *RpcReturnDef) XXX_Merge(src proto.Message) {
xxx_messageInfo_RpcReturnDef.Merge(m, src)
}
func (m *RpcReturnDef) XXX_Size() int {
return xxx_messageInfo_RpcReturnDef.Size(m)
}
func (m *RpcReturnDef) XXX_DiscardUnknown() {
xxx_messageInfo_RpcReturnDef.DiscardUnknown(m)
}
var xxx_messageInfo_RpcReturnDef proto.InternalMessageInfo
func (m *RpcReturnDef) GetXmlTag() string {
if m != nil {
return m.XmlTag
}
return ""
}
func (m *RpcReturnDef) GetListItemsName() string {
if m != nil {
return m.ListItemsName
}
return ""
}
var E_YangChildRule = &proto.ExtensionDesc{
ExtendedType: (*descriptor.MessageOptions)(nil),
ExtensionType: (*MessageParserOption)(nil),
Field: 7761774,
Name: "common.yang_child_rule",
Tag: "varint,7761774,opt,name=yang_child_rule,enum=common.MessageParserOption",
Filename: "voltha_protos/yang_options.proto",
}
var E_YangMessageRule = &proto.ExtensionDesc{
ExtendedType: (*descriptor.MessageOptions)(nil),
ExtensionType: (*MessageParserOption)(nil),
Field: 7761775,
Name: "common.yang_message_rule",
Tag: "varint,7761775,opt,name=yang_message_rule,enum=common.MessageParserOption",
Filename: "voltha_protos/yang_options.proto",
}
var E_YangInlineNode = &proto.ExtensionDesc{
ExtendedType: (*descriptor.FieldOptions)(nil),
ExtensionType: (*InlineNode)(nil),
Field: 7761776,
Name: "common.yang_inline_node",
Tag: "bytes,7761776,opt,name=yang_inline_node",
Filename: "voltha_protos/yang_options.proto",
}
var E_YangXmlTag = &proto.ExtensionDesc{
ExtendedType: (*descriptor.MethodOptions)(nil),
ExtensionType: (*RpcReturnDef)(nil),
Field: 7761777,
Name: "common.yang_xml_tag",
Tag: "bytes,7761777,opt,name=yang_xml_tag",
Filename: "voltha_protos/yang_options.proto",
}
func init() {
proto.RegisterEnum("common.MessageParserOption", MessageParserOption_name, MessageParserOption_value)
proto.RegisterType((*InlineNode)(nil), "common.InlineNode")
proto.RegisterType((*RpcReturnDef)(nil), "common.RpcReturnDef")
proto.RegisterExtension(E_YangChildRule)
proto.RegisterExtension(E_YangMessageRule)
proto.RegisterExtension(E_YangInlineNode)
proto.RegisterExtension(E_YangXmlTag)
}
func init() { proto.RegisterFile("voltha_protos/yang_options.proto", fileDescriptor_e6be2fba65eb89fb) }
var fileDescriptor_e6be2fba65eb89fb = []byte{
// 454 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x4d, 0x6f, 0xd3, 0x30,
0x18, 0xc7, 0x69, 0x41, 0x45, 0x98, 0xad, 0x2b, 0x66, 0x12, 0x15, 0x08, 0xa8, 0x7a, 0x98, 0x26,
0x24, 0x92, 0xa9, 0xdc, 0x7a, 0xeb, 0xba, 0x30, 0x2a, 0x6d, 0x49, 0x65, 0x85, 0xf1, 0x72, 0xc0,
0x4a, 0x93, 0x67, 0x8e, 0x85, 0x63, 0x47, 0xb1, 0x33, 0x6d, 0x1f, 0x95, 0x0b, 0x1f, 0x81, 0x97,
0x6f, 0x80, 0x62, 0x27, 0x0c, 0x89, 0x1d, 0x76, 0x6b, 0xff, 0x79, 0xf2, 0xfb, 0xe5, 0x79, 0x41,
0x93, 0x0b, 0x25, 0x4c, 0x9e, 0xd0, 0xb2, 0x52, 0x46, 0x69, 0xff, 0x2a, 0x91, 0x8c, 0xaa, 0xd2,
0x70, 0x25, 0xb5, 0x67, 0x33, 0x3c, 0x48, 0x55, 0x51, 0x28, 0xf9, 0x74, 0xc2, 0x94, 0x62, 0x02,
0x7c, 0x9b, 0x6e, 0xea, 0x73, 0x3f, 0x03, 0x9d, 0x56, 0xbc, 0x34, 0xaa, 0x72, 0x95, 0xd3, 0x03,
0x84, 0x56, 0x52, 0x70, 0x09, 0xa1, 0xca, 0x00, 0x0f, 0x51, 0x9f, 0x67, 0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