blob: 6d32ae0b197d0516cb0e56b4434f58344637c046 [file] [log] [blame]
khenaidoo4c6543e2021-10-19 17:25:58 -04001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/omci_test.proto
3
4package omci
5
6import (
7 fmt "fmt"
8 proto "github.com/golang/protobuf/proto"
9 math "math"
10)
11
12// Reference imports to suppress errors if they are not otherwise used.
13var _ = proto.Marshal
14var _ = fmt.Errorf
15var _ = math.Inf
16
17// This is a compile-time assertion to ensure that this generated file
18// is compatible with the proto package it is being compiled against.
19// A compilation error at this line likely means your copy of the
20// proto package needs to be updated.
21const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
22
23type TestResponse_TestResponseResult int32
24
25const (
26 TestResponse_SUCCESS TestResponse_TestResponseResult = 0
27 TestResponse_FAILURE TestResponse_TestResponseResult = 1
28)
29
30var TestResponse_TestResponseResult_name = map[int32]string{
31 0: "SUCCESS",
32 1: "FAILURE",
33}
34
35var TestResponse_TestResponseResult_value = map[string]int32{
36 "SUCCESS": 0,
37 "FAILURE": 1,
38}
39
40func (x TestResponse_TestResponseResult) String() string {
41 return proto.EnumName(TestResponse_TestResponseResult_name, int32(x))
42}
43
44func (TestResponse_TestResponseResult) EnumDescriptor() ([]byte, []int) {
45 return fileDescriptor_146dc5f97baf9397, []int{1, 0}
46}
47
48type OmciTestRequest struct {
49 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
50 Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
51 XXX_NoUnkeyedLiteral struct{} `json:"-"`
52 XXX_unrecognized []byte `json:"-"`
53 XXX_sizecache int32 `json:"-"`
54}
55
56func (m *OmciTestRequest) Reset() { *m = OmciTestRequest{} }
57func (m *OmciTestRequest) String() string { return proto.CompactTextString(m) }
58func (*OmciTestRequest) ProtoMessage() {}
59func (*OmciTestRequest) Descriptor() ([]byte, []int) {
60 return fileDescriptor_146dc5f97baf9397, []int{0}
61}
62
63func (m *OmciTestRequest) XXX_Unmarshal(b []byte) error {
64 return xxx_messageInfo_OmciTestRequest.Unmarshal(m, b)
65}
66func (m *OmciTestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
67 return xxx_messageInfo_OmciTestRequest.Marshal(b, m, deterministic)
68}
69func (m *OmciTestRequest) XXX_Merge(src proto.Message) {
70 xxx_messageInfo_OmciTestRequest.Merge(m, src)
71}
72func (m *OmciTestRequest) XXX_Size() int {
73 return xxx_messageInfo_OmciTestRequest.Size(m)
74}
75func (m *OmciTestRequest) XXX_DiscardUnknown() {
76 xxx_messageInfo_OmciTestRequest.DiscardUnknown(m)
77}
78
79var xxx_messageInfo_OmciTestRequest proto.InternalMessageInfo
80
81func (m *OmciTestRequest) GetId() string {
82 if m != nil {
83 return m.Id
84 }
85 return ""
86}
87
88func (m *OmciTestRequest) GetUuid() string {
89 if m != nil {
90 return m.Uuid
91 }
92 return ""
93}
94
95type TestResponse struct {
96 Result TestResponse_TestResponseResult `protobuf:"varint,1,opt,name=result,proto3,enum=omci.TestResponse_TestResponseResult" json:"result,omitempty"`
97 XXX_NoUnkeyedLiteral struct{} `json:"-"`
98 XXX_unrecognized []byte `json:"-"`
99 XXX_sizecache int32 `json:"-"`
100}
101
102func (m *TestResponse) Reset() { *m = TestResponse{} }
103func (m *TestResponse) String() string { return proto.CompactTextString(m) }
104func (*TestResponse) ProtoMessage() {}
105func (*TestResponse) Descriptor() ([]byte, []int) {
106 return fileDescriptor_146dc5f97baf9397, []int{1}
107}
108
109func (m *TestResponse) XXX_Unmarshal(b []byte) error {
110 return xxx_messageInfo_TestResponse.Unmarshal(m, b)
111}
112func (m *TestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
113 return xxx_messageInfo_TestResponse.Marshal(b, m, deterministic)
114}
115func (m *TestResponse) XXX_Merge(src proto.Message) {
116 xxx_messageInfo_TestResponse.Merge(m, src)
117}
118func (m *TestResponse) XXX_Size() int {
119 return xxx_messageInfo_TestResponse.Size(m)
120}
121func (m *TestResponse) XXX_DiscardUnknown() {
122 xxx_messageInfo_TestResponse.DiscardUnknown(m)
123}
124
125var xxx_messageInfo_TestResponse proto.InternalMessageInfo
126
127func (m *TestResponse) GetResult() TestResponse_TestResponseResult {
128 if m != nil {
129 return m.Result
130 }
131 return TestResponse_SUCCESS
132}
133
134func init() {
135 proto.RegisterEnum("omci.TestResponse_TestResponseResult", TestResponse_TestResponseResult_name, TestResponse_TestResponseResult_value)
136 proto.RegisterType((*OmciTestRequest)(nil), "omci.OmciTestRequest")
137 proto.RegisterType((*TestResponse)(nil), "omci.TestResponse")
138}
139
140func init() { proto.RegisterFile("voltha_protos/omci_test.proto", fileDescriptor_146dc5f97baf9397) }
141
142var fileDescriptor_146dc5f97baf9397 = []byte{
143 // 230 bytes of a gzipped FileDescriptorProto
144 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2d, 0xcb, 0xcf, 0x29,
145 0xc9, 0x48, 0x8c, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x2f, 0xd6, 0xcf, 0xcf, 0x4d, 0xce, 0x8c, 0x2f,
146 0x49, 0x2d, 0x2e, 0xd1, 0x03, 0x0b, 0x08, 0xb1, 0x80, 0x04, 0x94, 0x4c, 0xb9, 0xf8, 0xfd, 0x73,
147 0x93, 0x33, 0x43, 0x52, 0x8b, 0x4b, 0x82, 0x52, 0x0b, 0x4b, 0x53, 0x8b, 0x4b, 0x84, 0xf8, 0xb8,
148 0x98, 0x32, 0x53, 0x24, 0x18, 0x15, 0x18, 0x35, 0x38, 0x83, 0x98, 0x32, 0x53, 0x84, 0x84, 0xb8,
149 0x58, 0x4a, 0x4b, 0x33, 0x53, 0x24, 0x98, 0xc0, 0x22, 0x60, 0xb6, 0x52, 0x2d, 0x17, 0x0f, 0x44,
150 0x4b, 0x71, 0x41, 0x7e, 0x5e, 0x71, 0xaa, 0x90, 0x2d, 0x17, 0x5b, 0x51, 0x6a, 0x71, 0x69, 0x4e,
151 0x09, 0x58, 0x1f, 0x9f, 0x91, 0xaa, 0x1e, 0xc8, 0x74, 0x3d, 0x64, 0x35, 0x28, 0x9c, 0x20, 0xb0,
152 0xe2, 0x20, 0xa8, 0x26, 0x25, 0x3d, 0x2e, 0x21, 0x4c, 0x59, 0x21, 0x6e, 0x2e, 0xf6, 0xe0, 0x50,
153 0x67, 0x67, 0xd7, 0xe0, 0x60, 0x01, 0x06, 0x10, 0xc7, 0xcd, 0xd1, 0xd3, 0x27, 0x34, 0xc8, 0x55,
154 0x80, 0xd1, 0xc9, 0x83, 0x4b, 0x22, 0xbf, 0x28, 0x5d, 0x2f, 0xbf, 0x20, 0x35, 0x2f, 0x39, 0xbf,
155 0x28, 0x45, 0x0f, 0xe2, 0x53, 0xb0, 0x9d, 0x51, 0x3a, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a,
156 0xc9, 0xf9, 0xb9, 0xfa, 0x30, 0x05, 0xfa, 0x10, 0x05, 0xba, 0xd0, 0xa0, 0x28, 0x33, 0xd5, 0x4f,
157 0xcf, 0x07, 0x07, 0x48, 0x12, 0x1b, 0x58, 0xc8, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x85, 0xc9,
158 0x07, 0x50, 0x2d, 0x01, 0x00, 0x00,
159}