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/meta.proto |
| 3 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 4 | package common |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 5 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 6 | import ( |
| 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 Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 12 | |
| 13 | // Reference imports to suppress errors if they are not otherwise used. |
| 14 | var _ = proto.Marshal |
| 15 | var _ = fmt.Errorf |
| 16 | var _ = 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 Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 22 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 23 | |
| 24 | type Access int32 |
| 25 | |
| 26 | const ( |
| 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 | |
| 36 | var Access_name = map[int32]string{ |
| 37 | 0: "CONFIG", |
| 38 | 1: "READ_ONLY", |
| 39 | 2: "REAL_TIME", |
| 40 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 41 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 42 | var Access_value = map[string]int32{ |
| 43 | "CONFIG": 0, |
| 44 | "READ_ONLY": 1, |
| 45 | "REAL_TIME": 2, |
| 46 | } |
| 47 | |
| 48 | func (x Access) String() string { |
| 49 | return proto.EnumName(Access_name, int32(x)) |
| 50 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 51 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 52 | func (Access) EnumDescriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 53 | return fileDescriptor_96b320e8a67781f3, []int{0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 54 | } |
| 55 | |
| 56 | type 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 | |
| 63 | func (m *ChildNode) Reset() { *m = ChildNode{} } |
| 64 | func (m *ChildNode) String() string { return proto.CompactTextString(m) } |
| 65 | func (*ChildNode) ProtoMessage() {} |
| 66 | func (*ChildNode) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 67 | return fileDescriptor_96b320e8a67781f3, []int{0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 68 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 69 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 70 | func (m *ChildNode) XXX_Unmarshal(b []byte) error { |
| 71 | return xxx_messageInfo_ChildNode.Unmarshal(m, b) |
| 72 | } |
| 73 | func (m *ChildNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 74 | return xxx_messageInfo_ChildNode.Marshal(b, m, deterministic) |
| 75 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 76 | func (m *ChildNode) XXX_Merge(src proto.Message) { |
| 77 | xxx_messageInfo_ChildNode.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 78 | } |
| 79 | func (m *ChildNode) XXX_Size() int { |
| 80 | return xxx_messageInfo_ChildNode.Size(m) |
| 81 | } |
| 82 | func (m *ChildNode) XXX_DiscardUnknown() { |
| 83 | xxx_messageInfo_ChildNode.DiscardUnknown(m) |
| 84 | } |
| 85 | |
| 86 | var xxx_messageInfo_ChildNode proto.InternalMessageInfo |
| 87 | |
| 88 | func (m *ChildNode) GetKey() string { |
| 89 | if m != nil { |
| 90 | return m.Key |
| 91 | } |
| 92 | return "" |
| 93 | } |
| 94 | |
| 95 | var E_ChildNode = &proto.ExtensionDesc{ |
| 96 | ExtendedType: (*descriptor.FieldOptions)(nil), |
| 97 | ExtensionType: (*ChildNode)(nil), |
| 98 | Field: 7761772, |
| 99 | Name: "voltha.child_node", |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 100 | Tag: "bytes,7761772,opt,name=child_node", |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 101 | Filename: "voltha_protos/meta.proto", |
| 102 | } |
| 103 | |
| 104 | var 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 | |
| 113 | func init() { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 114 | proto.RegisterEnum("voltha.Access", Access_name, Access_value) |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 115 | proto.RegisterType((*ChildNode)(nil), "voltha.ChildNode") |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 116 | proto.RegisterExtension(E_ChildNode) |
| 117 | proto.RegisterExtension(E_Access) |
| 118 | } |
| 119 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 120 | func init() { proto.RegisterFile("voltha_protos/meta.proto", fileDescriptor_96b320e8a67781f3) } |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 121 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 122 | var fileDescriptor_96b320e8a67781f3 = []byte{ |
khenaidoo | 5fc5cea | 2021-08-11 17:39:16 -0400 | [diff] [blame] | 123 | // 282 bytes of a gzipped FileDescriptorProto |
Matteo Scandolo | b3c08ae | 2020-10-14 13:15:43 -0700 | [diff] [blame] | 124 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x41, 0x4b, 0x84, 0x40, |
| 125 | 0x14, 0xc7, 0xb3, 0x05, 0xc1, 0x17, 0x2d, 0xe6, 0x69, 0x59, 0x58, 0x90, 0x4e, 0x4b, 0xd0, 0x0c, |
khenaidoo | 5fc5cea | 2021-08-11 17:39:16 -0400 | [diff] [blame] | 126 | 0x18, 0x5d, 0xf6, 0xb6, 0x6d, 0xbb, 0xb5, 0x60, 0x0a, 0xd2, 0xa5, 0x2e, 0xa2, 0xe3, 0xa4, 0x92, |
| 127 | 0xfa, 0xc4, 0x99, 0x5d, 0xe8, 0xa3, 0x76, 0xe9, 0x13, 0xd4, 0x77, 0x08, 0x1d, 0xa7, 0x6b, 0xb7, |
| 128 | 0xff, 0x7b, 0xf3, 0x9f, 0x1f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x0c, |
| 139 | 0xeb, 0x1a, 0x9b, 0x57, 0x92, 0x97, 0xb2, 0x38, 0xa4, 0xfd, 0x48, 0x75, 0x85, 0xaa, 0xca, 0xf5, |
| 140 | 0x78, 0xe6, 0xe3, 0x2d, 0xcd, 0x91, 0xaa, 0x7e, 0x6a, 0x0e, 0xcb, 0x9b, 0xdf, 0x00, 0x00, 0x00, |
| 141 | 0xff, 0xff, 0x56, 0x6a, 0x8b, 0x22, 0x8b, 0x01, 0x00, 0x00, |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 142 | } |