blob: b8b91817e2ccded574d91628c5660d969d23b0e9 [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
4package common // import "github.com/opencord/voltha-protos/go/common"
5
6import proto "github.com/golang/protobuf/proto"
7import fmt "fmt"
8import math "math"
9import descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
10
11// Reference imports to suppress errors if they are not otherwise used.
12var _ = proto.Marshal
13var _ = fmt.Errorf
14var _ = 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.
20const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
21
22type Access int32
23
24const (
25 // read-write, stored attribute
26 Access_CONFIG Access = 0
27 // read-only field, stored with the model, covered by its hash
28 Access_READ_ONLY Access = 1
29 // A read-only attribute that is not stored in the model, not covered
30 // by its hash, its value is filled real-time upon each request.
31 Access_REAL_TIME Access = 2
32)
33
34var Access_name = map[int32]string{
35 0: "CONFIG",
36 1: "READ_ONLY",
37 2: "REAL_TIME",
38}
39var Access_value = map[string]int32{
40 "CONFIG": 0,
41 "READ_ONLY": 1,
42 "REAL_TIME": 2,
43}
44
45func (x Access) String() string {
46 return proto.EnumName(Access_name, int32(x))
47}
48func (Access) EnumDescriptor() ([]byte, []int) {
49 return fileDescriptor_meta_7d0d80d5e7f91838, []int{0}
50}
51
52type ChildNode struct {
53 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
54 XXX_NoUnkeyedLiteral struct{} `json:"-"`
55 XXX_unrecognized []byte `json:"-"`
56 XXX_sizecache int32 `json:"-"`
57}
58
59func (m *ChildNode) Reset() { *m = ChildNode{} }
60func (m *ChildNode) String() string { return proto.CompactTextString(m) }
61func (*ChildNode) ProtoMessage() {}
62func (*ChildNode) Descriptor() ([]byte, []int) {
63 return fileDescriptor_meta_7d0d80d5e7f91838, []int{0}
64}
65func (m *ChildNode) XXX_Unmarshal(b []byte) error {
66 return xxx_messageInfo_ChildNode.Unmarshal(m, b)
67}
68func (m *ChildNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
69 return xxx_messageInfo_ChildNode.Marshal(b, m, deterministic)
70}
71func (dst *ChildNode) XXX_Merge(src proto.Message) {
72 xxx_messageInfo_ChildNode.Merge(dst, src)
73}
74func (m *ChildNode) XXX_Size() int {
75 return xxx_messageInfo_ChildNode.Size(m)
76}
77func (m *ChildNode) XXX_DiscardUnknown() {
78 xxx_messageInfo_ChildNode.DiscardUnknown(m)
79}
80
81var xxx_messageInfo_ChildNode proto.InternalMessageInfo
82
83func (m *ChildNode) GetKey() string {
84 if m != nil {
85 return m.Key
86 }
87 return ""
88}
89
90var E_ChildNode = &proto.ExtensionDesc{
91 ExtendedType: (*descriptor.FieldOptions)(nil),
92 ExtensionType: (*ChildNode)(nil),
93 Field: 7761772,
94 Name: "voltha.child_node",
95 Tag: "bytes,7761772,opt,name=child_node,json=childNode",
96 Filename: "voltha_protos/meta.proto",
97}
98
99var E_Access = &proto.ExtensionDesc{
100 ExtendedType: (*descriptor.FieldOptions)(nil),
101 ExtensionType: (*Access)(nil),
102 Field: 7761773,
103 Name: "voltha.access",
104 Tag: "varint,7761773,opt,name=access,enum=voltha.Access",
105 Filename: "voltha_protos/meta.proto",
106}
107
108func init() {
109 proto.RegisterType((*ChildNode)(nil), "voltha.ChildNode")
110 proto.RegisterEnum("voltha.Access", Access_name, Access_value)
111 proto.RegisterExtension(E_ChildNode)
112 proto.RegisterExtension(E_Access)
113}
114
115func init() { proto.RegisterFile("voltha_protos/meta.proto", fileDescriptor_meta_7d0d80d5e7f91838) }
116
117var fileDescriptor_meta_7d0d80d5e7f91838 = []byte{
118 // 271 bytes of a gzipped FileDescriptorProto
119 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x41, 0x4b, 0x84, 0x40,
120 0x18, 0x86, 0xb3, 0x05, 0xc1, 0x2f, 0x5a, 0xcc, 0x93, 0x04, 0x0b, 0xd2, 0x69, 0x29, 0x76, 0x06,
121 0xec, 0xb6, 0xb7, 0x6d, 0xdb, 0xad, 0x85, 0x4d, 0x41, 0xba, 0xd4, 0x45, 0x74, 0x9c, 0x74, 0x48,
122 0xfd, 0xc4, 0x99, 0x0d, 0xfa, 0xa9, 0x5d, 0xfa, 0x05, 0xf5, 0x1f, 0x42, 0x47, 0xbb, 0xee, 0xed,
123 0x9d, 0x77, 0xde, 0x79, 0x78, 0x18, 0x70, 0x3f, 0xb0, 0x54, 0x45, 0x12, 0x37, 0x2d, 0x2a, 0x94,
124 0xb4, 0xe2, 0x2a, 0x21, 0x7d, 0x76, 0x4c, 0x7d, 0x73, 0xe9, 0xe5, 0x88, 0x79, 0xc9, 0x69, 0xdf,
125 0xa6, 0x87, 0x37, 0x9a, 0x71, 0xc9, 0x5a, 0xd1, 0x28, 0x6c, 0xf5, 0xf2, 0x6a, 0x06, 0xd6, 0xba,
126 0x10, 0x65, 0x16, 0x60, 0xc6, 0x1d, 0x1b, 0x26, 0xef, 0xfc, 0xd3, 0x35, 0x3c, 0x63, 0x6e, 0x45,
127 0x5d, 0xbc, 0xf6, 0xc1, 0x5c, 0x31, 0xc6, 0xa5, 0x74, 0x00, 0xcc, 0x75, 0x18, 0x6c, 0x77, 0x0f,
128 0xf6, 0x89, 0x73, 0x0e, 0x56, 0xb4, 0x59, 0xdd, 0xc7, 0x61, 0xb0, 0x7f, 0xb1, 0x8d, 0xe1, 0xb8,
129 0x8f, 0x9f, 0x77, 0x4f, 0x1b, 0xfb, 0x74, 0x19, 0x01, 0xb0, 0x0e, 0x19, 0xd7, 0x1d, 0x73, 0x46,
130 0xb4, 0x03, 0x19, 0x1d, 0xc8, 0x56, 0xf0, 0x32, 0x0b, 0x1b, 0x25, 0xb0, 0x96, 0xee, 0xcf, 0xf7,
131 0xd7, 0xc4, 0x33, 0xe6, 0x67, 0xfe, 0x05, 0xd1, 0xce, 0xe4, 0x5f, 0x27, 0xb2, 0xd8, 0x18, 0x97,
132 0x8f, 0x60, 0x26, 0xda, 0xe3, 0x08, 0xef, 0x57, 0xf3, 0xa6, 0xfe, 0x74, 0xe4, 0x69, 0xff, 0x68,
133 0x78, 0x7f, 0xb7, 0x78, 0xbd, 0xc9, 0x85, 0x2a, 0x0e, 0x29, 0x61, 0x58, 0x51, 0x6c, 0x78, 0xcd,
134 0xb0, 0xcd, 0xa8, 0x1e, 0x2f, 0x86, 0xaf, 0xcc, 0x91, 0x32, 0xac, 0x2a, 0xac, 0x53, 0xb3, 0x6f,
135 0x6e, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xc0, 0x90, 0x94, 0xed, 0x6c, 0x01, 0x00, 0x00,
136}