William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: voltha_protos/yang_options.proto |
| 3 | |
| 4 | package common // import "github.com/opencord/voltha-protos/go/common" |
| 5 | |
| 6 | import proto "github.com/golang/protobuf/proto" |
| 7 | import fmt "fmt" |
| 8 | import math "math" |
| 9 | import descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" |
| 10 | |
| 11 | // Reference imports to suppress errors if they are not otherwise used. |
| 12 | var _ = proto.Marshal |
| 13 | var _ = fmt.Errorf |
| 14 | var _ = math.Inf |
| 15 | |
| 16 | // This is a compile-time assertion to ensure that this generated file |
| 17 | // is compatible with the proto package it is being compiled against. |
| 18 | // A compilation error at this line likely means your copy of the |
| 19 | // proto package needs to be updated. |
| 20 | const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package |
| 21 | |
| 22 | type MessageParserOption int32 |
| 23 | |
| 24 | const ( |
| 25 | // Move any enclosing child enum/message definition to the same level |
| 26 | // as the parent (this message) in the yang generated file |
| 27 | MessageParserOption_MOVE_TO_PARENT_LEVEL MessageParserOption = 0 |
| 28 | // Create both a grouping and a container for this message. The container |
| 29 | // name will be the message name. The grouping name will be the message |
| 30 | // name prefixed with "grouping_" |
| 31 | MessageParserOption_CREATE_BOTH_GROUPING_AND_CONTAINER MessageParserOption = 1 |
| 32 | ) |
| 33 | |
| 34 | var MessageParserOption_name = map[int32]string{ |
| 35 | 0: "MOVE_TO_PARENT_LEVEL", |
| 36 | 1: "CREATE_BOTH_GROUPING_AND_CONTAINER", |
| 37 | } |
| 38 | var MessageParserOption_value = map[string]int32{ |
| 39 | "MOVE_TO_PARENT_LEVEL": 0, |
| 40 | "CREATE_BOTH_GROUPING_AND_CONTAINER": 1, |
| 41 | } |
| 42 | |
| 43 | func (x MessageParserOption) String() string { |
| 44 | return proto.EnumName(MessageParserOption_name, int32(x)) |
| 45 | } |
| 46 | func (MessageParserOption) EnumDescriptor() ([]byte, []int) { |
| 47 | return fileDescriptor_yang_options_40f3be6d35d15307, []int{0} |
| 48 | } |
| 49 | |
| 50 | type InlineNode struct { |
| 51 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 52 | Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` |
| 53 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 54 | XXX_unrecognized []byte `json:"-"` |
| 55 | XXX_sizecache int32 `json:"-"` |
| 56 | } |
| 57 | |
| 58 | func (m *InlineNode) Reset() { *m = InlineNode{} } |
| 59 | func (m *InlineNode) String() string { return proto.CompactTextString(m) } |
| 60 | func (*InlineNode) ProtoMessage() {} |
| 61 | func (*InlineNode) Descriptor() ([]byte, []int) { |
| 62 | return fileDescriptor_yang_options_40f3be6d35d15307, []int{0} |
| 63 | } |
| 64 | func (m *InlineNode) XXX_Unmarshal(b []byte) error { |
| 65 | return xxx_messageInfo_InlineNode.Unmarshal(m, b) |
| 66 | } |
| 67 | func (m *InlineNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 68 | return xxx_messageInfo_InlineNode.Marshal(b, m, deterministic) |
| 69 | } |
| 70 | func (dst *InlineNode) XXX_Merge(src proto.Message) { |
| 71 | xxx_messageInfo_InlineNode.Merge(dst, src) |
| 72 | } |
| 73 | func (m *InlineNode) XXX_Size() int { |
| 74 | return xxx_messageInfo_InlineNode.Size(m) |
| 75 | } |
| 76 | func (m *InlineNode) XXX_DiscardUnknown() { |
| 77 | xxx_messageInfo_InlineNode.DiscardUnknown(m) |
| 78 | } |
| 79 | |
| 80 | var xxx_messageInfo_InlineNode proto.InternalMessageInfo |
| 81 | |
| 82 | func (m *InlineNode) GetId() string { |
| 83 | if m != nil { |
| 84 | return m.Id |
| 85 | } |
| 86 | return "" |
| 87 | } |
| 88 | |
| 89 | func (m *InlineNode) GetType() string { |
| 90 | if m != nil { |
| 91 | return m.Type |
| 92 | } |
| 93 | return "" |
| 94 | } |
| 95 | |
| 96 | type RpcReturnDef struct { |
| 97 | // The gRPC methods return message types. NETCONF expects an actual |
| 98 | // attribute as defined in the YANG schema. The xnl_tag will be used |
| 99 | // as the top most tag when translating a gRPC response into an xml |
| 100 | // response |
| 101 | XmlTag string `protobuf:"bytes,1,opt,name=xml_tag,json=xmlTag,proto3" json:"xml_tag,omitempty"` |
| 102 | // When the gRPC response is a list of items, we need to differentiate |
| 103 | // between a YANG schema attribute whose name is "items" and when "items" |
| 104 | // is used only to indicate a list of items is being returned. The default |
| 105 | // behavior assumes a list is returned when "items" is present in |
| 106 | // the response. This option will therefore be used when the attribute |
| 107 | // name in the YANG schema is 'items' |
| 108 | ListItemsName string `protobuf:"bytes,2,opt,name=list_items_name,json=listItemsName,proto3" json:"list_items_name,omitempty"` |
| 109 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 110 | XXX_unrecognized []byte `json:"-"` |
| 111 | XXX_sizecache int32 `json:"-"` |
| 112 | } |
| 113 | |
| 114 | func (m *RpcReturnDef) Reset() { *m = RpcReturnDef{} } |
| 115 | func (m *RpcReturnDef) String() string { return proto.CompactTextString(m) } |
| 116 | func (*RpcReturnDef) ProtoMessage() {} |
| 117 | func (*RpcReturnDef) Descriptor() ([]byte, []int) { |
| 118 | return fileDescriptor_yang_options_40f3be6d35d15307, []int{1} |
| 119 | } |
| 120 | func (m *RpcReturnDef) XXX_Unmarshal(b []byte) error { |
| 121 | return xxx_messageInfo_RpcReturnDef.Unmarshal(m, b) |
| 122 | } |
| 123 | func (m *RpcReturnDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 124 | return xxx_messageInfo_RpcReturnDef.Marshal(b, m, deterministic) |
| 125 | } |
| 126 | func (dst *RpcReturnDef) XXX_Merge(src proto.Message) { |
| 127 | xxx_messageInfo_RpcReturnDef.Merge(dst, src) |
| 128 | } |
| 129 | func (m *RpcReturnDef) XXX_Size() int { |
| 130 | return xxx_messageInfo_RpcReturnDef.Size(m) |
| 131 | } |
| 132 | func (m *RpcReturnDef) XXX_DiscardUnknown() { |
| 133 | xxx_messageInfo_RpcReturnDef.DiscardUnknown(m) |
| 134 | } |
| 135 | |
| 136 | var xxx_messageInfo_RpcReturnDef proto.InternalMessageInfo |
| 137 | |
| 138 | func (m *RpcReturnDef) GetXmlTag() string { |
| 139 | if m != nil { |
| 140 | return m.XmlTag |
| 141 | } |
| 142 | return "" |
| 143 | } |
| 144 | |
| 145 | func (m *RpcReturnDef) GetListItemsName() string { |
| 146 | if m != nil { |
| 147 | return m.ListItemsName |
| 148 | } |
| 149 | return "" |
| 150 | } |
| 151 | |
| 152 | var E_YangChildRule = &proto.ExtensionDesc{ |
| 153 | ExtendedType: (*descriptor.MessageOptions)(nil), |
| 154 | ExtensionType: (*MessageParserOption)(nil), |
| 155 | Field: 7761774, |
| 156 | Name: "voltha.yang_child_rule", |
| 157 | Tag: "varint,7761774,opt,name=yang_child_rule,json=yangChildRule,enum=voltha.MessageParserOption", |
| 158 | Filename: "voltha_protos/yang_options.proto", |
| 159 | } |
| 160 | |
| 161 | var E_YangMessageRule = &proto.ExtensionDesc{ |
| 162 | ExtendedType: (*descriptor.MessageOptions)(nil), |
| 163 | ExtensionType: (*MessageParserOption)(nil), |
| 164 | Field: 7761775, |
| 165 | Name: "voltha.yang_message_rule", |
| 166 | Tag: "varint,7761775,opt,name=yang_message_rule,json=yangMessageRule,enum=voltha.MessageParserOption", |
| 167 | Filename: "voltha_protos/yang_options.proto", |
| 168 | } |
| 169 | |
| 170 | var E_YangInlineNode = &proto.ExtensionDesc{ |
| 171 | ExtendedType: (*descriptor.FieldOptions)(nil), |
| 172 | ExtensionType: (*InlineNode)(nil), |
| 173 | Field: 7761776, |
| 174 | Name: "voltha.yang_inline_node", |
| 175 | Tag: "bytes,7761776,opt,name=yang_inline_node,json=yangInlineNode", |
| 176 | Filename: "voltha_protos/yang_options.proto", |
| 177 | } |
| 178 | |
| 179 | var E_YangXmlTag = &proto.ExtensionDesc{ |
| 180 | ExtendedType: (*descriptor.MethodOptions)(nil), |
| 181 | ExtensionType: (*RpcReturnDef)(nil), |
| 182 | Field: 7761777, |
| 183 | Name: "voltha.yang_xml_tag", |
| 184 | Tag: "bytes,7761777,opt,name=yang_xml_tag,json=yangXmlTag", |
| 185 | Filename: "voltha_protos/yang_options.proto", |
| 186 | } |
| 187 | |
| 188 | func init() { |
| 189 | proto.RegisterType((*InlineNode)(nil), "voltha.InlineNode") |
| 190 | proto.RegisterType((*RpcReturnDef)(nil), "voltha.RpcReturnDef") |
| 191 | proto.RegisterEnum("voltha.MessageParserOption", MessageParserOption_name, MessageParserOption_value) |
| 192 | proto.RegisterExtension(E_YangChildRule) |
| 193 | proto.RegisterExtension(E_YangMessageRule) |
| 194 | proto.RegisterExtension(E_YangInlineNode) |
| 195 | proto.RegisterExtension(E_YangXmlTag) |
| 196 | } |
| 197 | |
| 198 | func init() { |
| 199 | proto.RegisterFile("voltha_protos/yang_options.proto", fileDescriptor_yang_options_40f3be6d35d15307) |
| 200 | } |
| 201 | |
| 202 | var fileDescriptor_yang_options_40f3be6d35d15307 = []byte{ |
| 203 | // 452 bytes of a gzipped FileDescriptorProto |
| 204 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x4d, 0x6f, 0xd3, 0x30, |
| 205 | 0x18, 0xc7, 0x69, 0x41, 0x45, 0x98, 0xad, 0x2b, 0x66, 0x12, 0x15, 0x08, 0xa8, 0x7a, 0x98, 0x26, |
| 206 | 0xd0, 0x12, 0x34, 0x6e, 0xbd, 0x75, 0x5d, 0x18, 0x95, 0xb6, 0xa4, 0xb2, 0xc2, 0x78, 0x39, 0x60, |
| 207 | 0xa5, 0x89, 0xe7, 0x58, 0xd8, 0x7e, 0xa2, 0xd8, 0x41, 0xdb, 0x47, 0xe5, 0xc2, 0x47, 0xe0, 0xe5, |
| 208 | 0x1b, 0xa0, 0x38, 0x09, 0x43, 0x62, 0x87, 0xde, 0x92, 0x7f, 0xec, 0xdf, 0x2f, 0xcf, 0x0b, 0x9a, |
| 209 | 0x7c, 0x05, 0x69, 0xf3, 0x84, 0x16, 0x25, 0x58, 0x30, 0xfe, 0x55, 0xa2, 0x39, 0x85, 0xc2, 0x0a, |
| 210 | 0xd0, 0xc6, 0x73, 0x19, 0x1e, 0x34, 0x27, 0x1e, 0x4f, 0x38, 0x00, 0x97, 0xcc, 0x77, 0xe9, 0xba, |
| 211 | 0xba, 0xf0, 0x33, 0x66, 0xd2, 0x52, 0x14, 0x16, 0xca, 0xe6, 0xe4, 0xf4, 0x15, 0x42, 0x4b, 0x2d, |
| 212 | 0x85, 0x66, 0x21, 0x64, 0x0c, 0x0f, 0x51, 0x5f, 0x64, 0xe3, 0xde, 0xa4, 0xb7, 0x7f, 0x8f, 0xf4, |
| 213 | 0x45, 0x86, 0x31, 0xba, 0x63, 0xaf, 0x0a, 0x36, 0xee, 0xbb, 0xc4, 0x3d, 0x4f, 0x23, 0xb4, 0x45, |
| 214 | 0x8a, 0x94, 0x30, 0x5b, 0x95, 0xfa, 0x98, 0x5d, 0xe0, 0x47, 0xe8, 0xee, 0xa5, 0x92, 0xd4, 0x26, |
| 215 | 0xbc, 0xbd, 0x38, 0xb8, 0x54, 0x32, 0x4e, 0x38, 0xde, 0x43, 0x3b, 0x52, 0x18, 0x4b, 0x85, 0x65, |
| 216 | 0xca, 0x50, 0x9d, 0xa8, 0x8e, 0xb3, 0x5d, 0xc7, 0xcb, 0x3a, 0x0d, 0x13, 0xc5, 0x5e, 0xbc, 0x47, |
| 217 | 0x0f, 0xcf, 0x98, 0x31, 0x09, 0x67, 0xab, 0xa4, 0x34, 0xac, 0x8c, 0x5c, 0x29, 0x78, 0x8c, 0x76, |
| 218 | 0xcf, 0xa2, 0xf3, 0x80, 0xc6, 0x11, 0x5d, 0xcd, 0x49, 0x10, 0xc6, 0xf4, 0x34, 0x38, 0x0f, 0x4e, |
| 219 | 0x47, 0xb7, 0xf0, 0x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, 0x7b, 0x29, |
| 230 | 0x28, 0x1f, 0x0a, 0xa6, 0x53, 0x28, 0x33, 0xbf, 0xb9, 0x76, 0xd0, 0xae, 0x33, 0x07, 0x3f, 0x05, |
| 231 | 0xa5, 0x40, 0xaf, 0x07, 0x2e, 0x79, 0xfd, 0x27, 0x00, 0x00, 0xff, 0xff, 0x04, 0x3a, 0x59, 0x44, |
| 232 | 0xf0, 0x02, 0x00, 0x00, |
| 233 | } |