Zack Williams | 41513bf | 2018-07-07 20:08:35 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2017-present Open Networking Foundation |
| 3 | |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
Stephane Barbarie | 1408896 | 2017-06-01 16:56:55 -0400 | [diff] [blame] | 16 | // Code generated by protoc-gen-go. |
| 17 | // source: meta.proto |
| 18 | // DO NOT EDIT! |
| 19 | |
| 20 | /* |
| 21 | Package voltha is a generated protocol buffer package. |
| 22 | |
| 23 | It is generated from these files: |
| 24 | meta.proto |
| 25 | |
| 26 | It has these top-level messages: |
| 27 | ChildNode |
| 28 | */ |
| 29 | package meta |
| 30 | |
| 31 | import proto "github.com/golang/protobuf/proto" |
| 32 | import fmt "fmt" |
| 33 | import math "math" |
| 34 | import google_protobuf "github.com/golang/protobuf/protoc-gen-go/descriptor" |
| 35 | |
| 36 | // Reference imports to suppress errors if they are not otherwise used. |
| 37 | var _ = proto.Marshal |
| 38 | var _ = fmt.Errorf |
| 39 | var _ = math.Inf |
| 40 | |
| 41 | // This is a compile-time assertion to ensure that this generated file |
| 42 | // is compatible with the proto package it is being compiled against. |
| 43 | // A compilation error at this line likely means your copy of the |
| 44 | // proto package needs to be updated. |
| 45 | const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package |
| 46 | |
| 47 | type Access int32 |
| 48 | |
| 49 | const ( |
| 50 | // read-write, stored attribute |
| 51 | Access_CONFIG Access = 0 |
| 52 | // read-only field, stored with the model, covered by its hash |
| 53 | Access_READ_ONLY Access = 1 |
| 54 | // A read-only attribute that is not stored in the model, not covered |
| 55 | // by its hash, its value is filled real-time upon each request. |
| 56 | Access_REAL_TIME Access = 2 |
| 57 | ) |
| 58 | |
| 59 | var Access_name = map[int32]string{ |
| 60 | 0: "CONFIG", |
| 61 | 1: "READ_ONLY", |
| 62 | 2: "REAL_TIME", |
| 63 | } |
| 64 | var Access_value = map[string]int32{ |
| 65 | "CONFIG": 0, |
| 66 | "READ_ONLY": 1, |
| 67 | "REAL_TIME": 2, |
| 68 | } |
| 69 | |
| 70 | func (x Access) String() string { |
| 71 | return proto.EnumName(Access_name, int32(x)) |
| 72 | } |
| 73 | func (Access) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } |
| 74 | |
| 75 | type ChildNode struct { |
| 76 | Key string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` |
| 77 | } |
| 78 | |
| 79 | func (m *ChildNode) Reset() { *m = ChildNode{} } |
| 80 | func (m *ChildNode) String() string { return proto.CompactTextString(m) } |
| 81 | func (*ChildNode) ProtoMessage() {} |
| 82 | func (*ChildNode) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } |
| 83 | |
| 84 | func (m *ChildNode) GetKey() string { |
| 85 | if m != nil { |
| 86 | return m.Key |
| 87 | } |
| 88 | return "" |
| 89 | } |
| 90 | |
| 91 | var E_ChildNode = &proto.ExtensionDesc{ |
| 92 | ExtendedType: (*google_protobuf.FieldOptions)(nil), |
| 93 | ExtensionType: (*ChildNode)(nil), |
| 94 | Field: 7761772, |
| 95 | Name: "voltha.child_node", |
| 96 | Tag: "bytes,7761772,opt,name=child_node,json=childNode", |
| 97 | Filename: "meta.proto", |
| 98 | } |
| 99 | |
| 100 | var E_Access = &proto.ExtensionDesc{ |
| 101 | ExtendedType: (*google_protobuf.FieldOptions)(nil), |
| 102 | ExtensionType: (*Access)(nil), |
| 103 | Field: 7761773, |
| 104 | Name: "voltha.access", |
| 105 | Tag: "varint,7761773,opt,name=access,enum=voltha.Access", |
| 106 | Filename: "meta.proto", |
| 107 | } |
| 108 | |
| 109 | func init() { |
| 110 | proto.RegisterType((*ChildNode)(nil), "voltha.ChildNode") |
| 111 | proto.RegisterEnum("voltha.Access", Access_name, Access_value) |
| 112 | proto.RegisterExtension(E_ChildNode) |
| 113 | proto.RegisterExtension(E_Access) |
| 114 | } |
| 115 | |
| 116 | func init() { proto.RegisterFile("meta.proto", fileDescriptor0) } |
| 117 | |
| 118 | var fileDescriptor0 = []byte{ |
| 119 | // 229 bytes of a gzipped FileDescriptorProto |
| 120 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0xca, 0x4d, 0x2d, 0x49, |
| 121 | 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2b, 0xcb, 0xcf, 0x29, 0xc9, 0x48, 0x94, 0x52, |
| 122 | 0x48, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x07, 0x8b, 0x26, 0x95, 0xa6, 0xe9, 0xa7, 0xa4, 0x16, |
| 123 | 0x27, 0x17, 0x65, 0x16, 0x94, 0xe4, 0x17, 0x41, 0x54, 0x2a, 0xc9, 0x72, 0x71, 0x3a, 0x67, 0x64, |
| 124 | 0xe6, 0xa4, 0xf8, 0xe5, 0xa7, 0xa4, 0x0a, 0x09, 0x70, 0x31, 0x67, 0xa7, 0x56, 0x4a, 0x30, 0x2a, |
| 125 | 0x30, 0x6a, 0x70, 0x06, 0x81, 0x98, 0x5a, 0x46, 0x5c, 0x6c, 0x8e, 0xc9, 0xc9, 0xa9, 0xc5, 0xc5, |
| 126 | 0x42, 0x5c, 0x5c, 0x6c, 0xce, 0xfe, 0x7e, 0x6e, 0x9e, 0xee, 0x02, 0x0c, 0x42, 0xbc, 0x5c, 0x9c, |
| 127 | 0x41, 0xae, 0x8e, 0x2e, 0xf1, 0xfe, 0x7e, 0x3e, 0x91, 0x02, 0x8c, 0x50, 0xae, 0x4f, 0x7c, 0x88, |
| 128 | 0xa7, 0xaf, 0xab, 0x00, 0x93, 0x55, 0x10, 0x17, 0x57, 0x32, 0xc8, 0xc8, 0xf8, 0x3c, 0x90, 0x99, |
| 129 | 0xb2, 0x7a, 0x10, 0x37, 0xe8, 0xc1, 0xdc, 0xa0, 0xe7, 0x96, 0x99, 0x9a, 0x93, 0xe2, 0x5f, 0x50, |
| 130 | 0x92, 0x99, 0x9f, 0x57, 0x2c, 0xf1, 0xe6, 0xde, 0x4d, 0x66, 0x05, 0x46, 0x0d, 0x6e, 0x23, 0x41, |
| 131 | 0x3d, 0x88, 0x9b, 0xf5, 0xe0, 0xce, 0x09, 0xe2, 0x4c, 0x86, 0x31, 0xad, 0x3c, 0xb8, 0xd8, 0x12, |
| 132 | 0x21, 0xee, 0x20, 0x60, 0xde, 0x5b, 0x88, 0x79, 0x7c, 0x46, 0x7c, 0x30, 0xf3, 0x20, 0xee, 0x0f, |
| 133 | 0x82, 0xea, 0x4f, 0x62, 0x03, 0xeb, 0x33, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x55, 0xcc, 0xf1, |
| 134 | 0x90, 0x2f, 0x01, 0x00, 0x00, |
| 135 | } |