| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: voltha_protos/meta.proto |
| |
| package common |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" |
| math "math" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| type Access int32 |
| |
| const ( |
| // read-write, stored attribute |
| Access_CONFIG Access = 0 |
| // read-only field, stored with the model, covered by its hash |
| Access_READ_ONLY Access = 1 |
| // A read-only attribute that is not stored in the model, not covered |
| // by its hash, its value is filled real-time upon each request. |
| Access_REAL_TIME Access = 2 |
| ) |
| |
| var Access_name = map[int32]string{ |
| 0: "CONFIG", |
| 1: "READ_ONLY", |
| 2: "REAL_TIME", |
| } |
| |
| var Access_value = map[string]int32{ |
| "CONFIG": 0, |
| "READ_ONLY": 1, |
| "REAL_TIME": 2, |
| } |
| |
| func (x Access) String() string { |
| return proto.EnumName(Access_name, int32(x)) |
| } |
| |
| func (Access) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_96b320e8a67781f3, []int{0} |
| } |
| |
| type ChildNode struct { |
| Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ChildNode) Reset() { *m = ChildNode{} } |
| func (m *ChildNode) String() string { return proto.CompactTextString(m) } |
| func (*ChildNode) ProtoMessage() {} |
| func (*ChildNode) Descriptor() ([]byte, []int) { |
| return fileDescriptor_96b320e8a67781f3, []int{0} |
| } |
| |
| func (m *ChildNode) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ChildNode.Unmarshal(m, b) |
| } |
| func (m *ChildNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ChildNode.Marshal(b, m, deterministic) |
| } |
| func (m *ChildNode) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ChildNode.Merge(m, src) |
| } |
| func (m *ChildNode) XXX_Size() int { |
| return xxx_messageInfo_ChildNode.Size(m) |
| } |
| func (m *ChildNode) XXX_DiscardUnknown() { |
| xxx_messageInfo_ChildNode.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ChildNode proto.InternalMessageInfo |
| |
| func (m *ChildNode) GetKey() string { |
| if m != nil { |
| return m.Key |
| } |
| return "" |
| } |
| |
| var E_ChildNode = &proto.ExtensionDesc{ |
| ExtendedType: (*descriptor.FieldOptions)(nil), |
| ExtensionType: (*ChildNode)(nil), |
| Field: 7761772, |
| Name: "voltha.child_node", |
| Tag: "bytes,7761772,opt,name=child_node", |
| Filename: "voltha_protos/meta.proto", |
| } |
| |
| var E_Access = &proto.ExtensionDesc{ |
| ExtendedType: (*descriptor.FieldOptions)(nil), |
| ExtensionType: (*Access)(nil), |
| Field: 7761773, |
| Name: "voltha.access", |
| Tag: "varint,7761773,opt,name=access,enum=voltha.Access", |
| Filename: "voltha_protos/meta.proto", |
| } |
| |
| func init() { |
| proto.RegisterEnum("voltha.Access", Access_name, Access_value) |
| proto.RegisterType((*ChildNode)(nil), "voltha.ChildNode") |
| proto.RegisterExtension(E_ChildNode) |
| proto.RegisterExtension(E_Access) |
| } |
| |
| func init() { proto.RegisterFile("voltha_protos/meta.proto", fileDescriptor_96b320e8a67781f3) } |
| |
| var fileDescriptor_96b320e8a67781f3 = []byte{ |
| // 273 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x41, 0x4b, 0x84, 0x40, |
| 0x18, 0x86,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