blob: 8fbd6214a6c6ecd39e4023c69e60544f297fdaab [file] [log] [blame]
William Kurkian1b363f42019-03-12 15:28:12 -04001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/meta.proto
3
William Kurkianad745652019-03-20 08:45:51 -04004package common
William Kurkian1b363f42019-03-12 15:28:12 -04005
William Kurkianad745652019-03-20 08:45:51 -04006import (
7 fmt "fmt"
8 proto "github.com/golang/protobuf/proto"
9 descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
10 math "math"
11)
William Kurkian1b363f42019-03-12 15:28:12 -040012
13// Reference imports to suppress errors if they are not otherwise used.
14var _ = proto.Marshal
15var _ = fmt.Errorf
16var _ = math.Inf
17
18// This is a compile-time assertion to ensure that this generated file
19// is compatible with the proto package it is being compiled against.
20// A compilation error at this line likely means your copy of the
21// proto package needs to be updated.
William Kurkianad745652019-03-20 08:45:51 -040022const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
William Kurkian1b363f42019-03-12 15:28:12 -040023
24type Access int32
25
26const (
27 // read-write, stored attribute
28 Access_CONFIG Access = 0
29 // read-only field, stored with the model, covered by its hash
30 Access_READ_ONLY Access = 1
31 // A read-only attribute that is not stored in the model, not covered
32 // by its hash, its value is filled real-time upon each request.
33 Access_REAL_TIME Access = 2
34)
35
36var Access_name = map[int32]string{
37 0: "CONFIG",
38 1: "READ_ONLY",
39 2: "REAL_TIME",
40}
William Kurkianad745652019-03-20 08:45:51 -040041
William Kurkian1b363f42019-03-12 15:28:12 -040042var Access_value = map[string]int32{
43 "CONFIG": 0,
44 "READ_ONLY": 1,
45 "REAL_TIME": 2,
46}
47
48func (x Access) String() string {
49 return proto.EnumName(Access_name, int32(x))
50}
William Kurkianad745652019-03-20 08:45:51 -040051
William Kurkian1b363f42019-03-12 15:28:12 -040052func (Access) EnumDescriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -040053 return fileDescriptor_96b320e8a67781f3, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -040054}
55
56type ChildNode struct {
57 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
58 XXX_NoUnkeyedLiteral struct{} `json:"-"`
59 XXX_unrecognized []byte `json:"-"`
60 XXX_sizecache int32 `json:"-"`
61}
62
63func (m *ChildNode) Reset() { *m = ChildNode{} }
64func (m *ChildNode) String() string { return proto.CompactTextString(m) }
65func (*ChildNode) ProtoMessage() {}
66func (*ChildNode) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -040067 return fileDescriptor_96b320e8a67781f3, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -040068}
William Kurkianad745652019-03-20 08:45:51 -040069
William Kurkian1b363f42019-03-12 15:28:12 -040070func (m *ChildNode) XXX_Unmarshal(b []byte) error {
71 return xxx_messageInfo_ChildNode.Unmarshal(m, b)
72}
73func (m *ChildNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
74 return xxx_messageInfo_ChildNode.Marshal(b, m, deterministic)
75}
William Kurkianad745652019-03-20 08:45:51 -040076func (m *ChildNode) XXX_Merge(src proto.Message) {
77 xxx_messageInfo_ChildNode.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -040078}
79func (m *ChildNode) XXX_Size() int {
80 return xxx_messageInfo_ChildNode.Size(m)
81}
82func (m *ChildNode) XXX_DiscardUnknown() {
83 xxx_messageInfo_ChildNode.DiscardUnknown(m)
84}
85
86var xxx_messageInfo_ChildNode proto.InternalMessageInfo
87
88func (m *ChildNode) GetKey() string {
89 if m != nil {
90 return m.Key
91 }
92 return ""
93}
94
95var E_ChildNode = &proto.ExtensionDesc{
96 ExtendedType: (*descriptor.FieldOptions)(nil),
97 ExtensionType: (*ChildNode)(nil),
98 Field: 7761772,
99 Name: "voltha.child_node",
William Kurkianad745652019-03-20 08:45:51 -0400100 Tag: "bytes,7761772,opt,name=child_node",
William Kurkian1b363f42019-03-12 15:28:12 -0400101 Filename: "voltha_protos/meta.proto",
102}
103
104var E_Access = &proto.ExtensionDesc{
105 ExtendedType: (*descriptor.FieldOptions)(nil),
106 ExtensionType: (*Access)(nil),
107 Field: 7761773,
108 Name: "voltha.access",
109 Tag: "varint,7761773,opt,name=access,enum=voltha.Access",
110 Filename: "voltha_protos/meta.proto",
111}
112
113func init() {
William Kurkian1b363f42019-03-12 15:28:12 -0400114 proto.RegisterEnum("voltha.Access", Access_name, Access_value)
William Kurkianad745652019-03-20 08:45:51 -0400115 proto.RegisterType((*ChildNode)(nil), "voltha.ChildNode")
William Kurkian1b363f42019-03-12 15:28:12 -0400116 proto.RegisterExtension(E_ChildNode)
117 proto.RegisterExtension(E_Access)
118}
119
William Kurkianad745652019-03-20 08:45:51 -0400120func init() { proto.RegisterFile("voltha_protos/meta.proto", fileDescriptor_96b320e8a67781f3) }
William Kurkian1b363f42019-03-12 15:28:12 -0400121
William Kurkianad745652019-03-20 08:45:51 -0400122var fileDescriptor_96b320e8a67781f3 = []byte{
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300123 // 281 bytes of a gzipped FileDescriptorProto
124 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xc1, 0x4a, 0xc3, 0x40,
125 0x10, 0x86, 0x8d, 0x85, 0x40, 0x46, 0x2c, 0x31, 0xa7, 0x52, 0x28, 0x04, 0x4f, 0x45, 0x70, 0x17,
126 0xd2, 0x5b, 0x6f, 0xb5, 0xb6, 0x5a, 0x88, 0x09, 0x04, 0x2f, 0x7a, 0x09, 0xc9, 0x66, 0x4d, 0x82,
127 0x49, 0x26, 0x64, 0xb7, 0x05, 0x1f, 0xd5, 0x8b, 0x4f, 0xa0, 0xef, 0x20, 0xc9, 0x66, 0xbd, 0x7a,
128 0xfb, 0x67, 0xf6, 0xdf, 0x8f, 0x8f, 0x81, 0xd9, 0x09, 0x2b, 0x59, 0x24, 0x71, 0xdb, 0xa1, 0x44,
129 0x41, 0x6b, 0x2e, 0x13, 0x32, 0x64, 0xc7, 0x54, 0x2f, 0x73, 0x37, 0x47, 0xcc, 0x2b, 0x4e, 0x87,
130 0x6d, 0x7a, 0x7c, 0xa3, 0x19, 0x17, 0xac, 0x2b, 0x5b, 0x89, 0x9d, 0x6a, 0x5e, 0x2f, 0xc0, 0xda,
131 0x16, 0x65, 0x95, 0x05, 0x98, 0x71, 0xc7, 0x86, 0xc9, 0x3b, 0xff, 0x98, 0x19, 0xae, 0xb1, 0xb4,
132 0xa2, 0x3e, 0xde, 0x78, 0x60, 0x6e, 0x18, 0xe3, 0x42, 0x38, 0x00, 0xe6, 0x36, 0x0c, 0xf6, 0x87,
133 0x07, 0xfb, 0xcc, 0xb9, 0x04, 0x2b, 0xda, 0x6d, 0xee, 0xe3, 0x30, 0xf0, 0x5f, 0x6c, 0x63, 0x1c,
134 0xfd, 0xf8, 0xf9, 0xf0, 0xb4, 0xb3, 0xcf, 0xd7, 0x11, 0x00, 0xeb, 0x91, 0x71, 0xd3, 0x33, 0x17,
135 0x44, 0x39, 0x10, 0xed, 0x40, 0xf6, 0x25, 0xaf, 0xb2, 0xb0, 0x95, 0x25, 0x36, 0x62, 0xf6, 0xfd,
136 0xf5, 0x39, 0x71, 0x8d, 0xe5, 0x85, 0x77, 0x45, 0x94, 0x33, 0xf9, 0xd3, 0x89, 0x2c, 0xa6, 0xe3,
137 0xfa, 0x11, 0xcc, 0x44, 0x79, 0xfc, 0xc3, 0xfb, 0x51, 0xbc, 0xa9, 0x37, 0xd5, 0x3c, 0xe5, 0x1f,
138 0x8d, 0xff, 0xef, 0x7c, 0x98, 0x63, 0x97, 0x13, 0x6c, 0x79, 0xc3, 0xb0, 0xcb, 0x74, 0x8b, 0x61,
139 0x5d, 0x63, 0xf3, 0x4a, 0xf2, 0x52, 0x16, 0xc7, 0xb4, 0x1f, 0xa9, 0xae, 0x50, 0x55, 0xb9, 0x1d,
140 0xcf, 0x7c, 0x5a, 0xd1, 0x1c, 0xa9, 0xea, 0xa7, 0xe6, 0xb0, 0x5c, 0xfd, 0x06, 0x00, 0x00, 0xff,
141 0xff, 0x45, 0x61, 0x57, 0xbf, 0x8b, 0x01, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -0400142}