blob: 15c7e0be4515e6653d4062ae841f572901926b73 [file] [log] [blame]
khenaidoo4c6543e2021-10-19 17:25:58 -04001// Code generated by protoc-gen-go. DO NOT EDIT.
Abhay Kumar03713392025-12-30 05:20:58 +00002// versions:
3// protoc-gen-go v1.36.11
4// protoc v4.25.8
khenaidoo4c6543e2021-10-19 17:25:58 -04005// source: voltha_protos/omci_test.proto
6
7package omci
8
9import (
Abhay Kumar03713392025-12-30 05:20:58 +000010 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12 reflect "reflect"
13 sync "sync"
14 unsafe "unsafe"
khenaidoo4c6543e2021-10-19 17:25:58 -040015)
16
Abhay Kumar03713392025-12-30 05:20:58 +000017const (
18 // Verify that this generated code is sufficiently up-to-date.
19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20 // Verify that runtime/protoimpl is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22)
khenaidoo4c6543e2021-10-19 17:25:58 -040023
24type TestResponse_TestResponseResult int32
25
26const (
27 TestResponse_SUCCESS TestResponse_TestResponseResult = 0
28 TestResponse_FAILURE TestResponse_TestResponseResult = 1
29)
30
Abhay Kumar03713392025-12-30 05:20:58 +000031// Enum value maps for TestResponse_TestResponseResult.
32var (
33 TestResponse_TestResponseResult_name = map[int32]string{
34 0: "SUCCESS",
35 1: "FAILURE",
36 }
37 TestResponse_TestResponseResult_value = map[string]int32{
38 "SUCCESS": 0,
39 "FAILURE": 1,
40 }
41)
khenaidoo4c6543e2021-10-19 17:25:58 -040042
Abhay Kumar03713392025-12-30 05:20:58 +000043func (x TestResponse_TestResponseResult) Enum() *TestResponse_TestResponseResult {
44 p := new(TestResponse_TestResponseResult)
45 *p = x
46 return p
khenaidoo4c6543e2021-10-19 17:25:58 -040047}
48
49func (x TestResponse_TestResponseResult) String() string {
Abhay Kumar03713392025-12-30 05:20:58 +000050 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
khenaidoo4c6543e2021-10-19 17:25:58 -040051}
52
Abhay Kumar03713392025-12-30 05:20:58 +000053func (TestResponse_TestResponseResult) Descriptor() protoreflect.EnumDescriptor {
54 return file_voltha_protos_omci_test_proto_enumTypes[0].Descriptor()
55}
56
57func (TestResponse_TestResponseResult) Type() protoreflect.EnumType {
58 return &file_voltha_protos_omci_test_proto_enumTypes[0]
59}
60
61func (x TestResponse_TestResponseResult) Number() protoreflect.EnumNumber {
62 return protoreflect.EnumNumber(x)
63}
64
65// Deprecated: Use TestResponse_TestResponseResult.Descriptor instead.
khenaidoo4c6543e2021-10-19 17:25:58 -040066func (TestResponse_TestResponseResult) EnumDescriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +000067 return file_voltha_protos_omci_test_proto_rawDescGZIP(), []int{1, 0}
khenaidoo4c6543e2021-10-19 17:25:58 -040068}
69
70type OmciTestRequest struct {
Abhay Kumar03713392025-12-30 05:20:58 +000071 state protoimpl.MessageState `protogen:"open.v1"`
72 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
73 Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
74 unknownFields protoimpl.UnknownFields
75 sizeCache protoimpl.SizeCache
khenaidoo4c6543e2021-10-19 17:25:58 -040076}
77
Abhay Kumar03713392025-12-30 05:20:58 +000078func (x *OmciTestRequest) Reset() {
79 *x = OmciTestRequest{}
80 mi := &file_voltha_protos_omci_test_proto_msgTypes[0]
81 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
82 ms.StoreMessageInfo(mi)
83}
84
85func (x *OmciTestRequest) String() string {
86 return protoimpl.X.MessageStringOf(x)
87}
88
89func (*OmciTestRequest) ProtoMessage() {}
90
91func (x *OmciTestRequest) ProtoReflect() protoreflect.Message {
92 mi := &file_voltha_protos_omci_test_proto_msgTypes[0]
93 if x != nil {
94 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
95 if ms.LoadMessageInfo() == nil {
96 ms.StoreMessageInfo(mi)
97 }
98 return ms
99 }
100 return mi.MessageOf(x)
101}
102
103// Deprecated: Use OmciTestRequest.ProtoReflect.Descriptor instead.
khenaidoo4c6543e2021-10-19 17:25:58 -0400104func (*OmciTestRequest) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000105 return file_voltha_protos_omci_test_proto_rawDescGZIP(), []int{0}
khenaidoo4c6543e2021-10-19 17:25:58 -0400106}
107
Abhay Kumar03713392025-12-30 05:20:58 +0000108func (x *OmciTestRequest) GetId() string {
109 if x != nil {
110 return x.Id
khenaidoo4c6543e2021-10-19 17:25:58 -0400111 }
112 return ""
113}
114
Abhay Kumar03713392025-12-30 05:20:58 +0000115func (x *OmciTestRequest) GetUuid() string {
116 if x != nil {
117 return x.Uuid
khenaidoo4c6543e2021-10-19 17:25:58 -0400118 }
119 return ""
120}
121
122type TestResponse struct {
Abhay Kumar03713392025-12-30 05:20:58 +0000123 state protoimpl.MessageState `protogen:"open.v1"`
124 Result TestResponse_TestResponseResult `protobuf:"varint,1,opt,name=result,proto3,enum=omci.TestResponse_TestResponseResult" json:"result,omitempty"`
125 unknownFields protoimpl.UnknownFields
126 sizeCache protoimpl.SizeCache
khenaidoo4c6543e2021-10-19 17:25:58 -0400127}
128
Abhay Kumar03713392025-12-30 05:20:58 +0000129func (x *TestResponse) Reset() {
130 *x = TestResponse{}
131 mi := &file_voltha_protos_omci_test_proto_msgTypes[1]
132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
133 ms.StoreMessageInfo(mi)
134}
135
136func (x *TestResponse) String() string {
137 return protoimpl.X.MessageStringOf(x)
138}
139
140func (*TestResponse) ProtoMessage() {}
141
142func (x *TestResponse) ProtoReflect() protoreflect.Message {
143 mi := &file_voltha_protos_omci_test_proto_msgTypes[1]
144 if x != nil {
145 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
146 if ms.LoadMessageInfo() == nil {
147 ms.StoreMessageInfo(mi)
148 }
149 return ms
150 }
151 return mi.MessageOf(x)
152}
153
154// Deprecated: Use TestResponse.ProtoReflect.Descriptor instead.
khenaidoo4c6543e2021-10-19 17:25:58 -0400155func (*TestResponse) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000156 return file_voltha_protos_omci_test_proto_rawDescGZIP(), []int{1}
khenaidoo4c6543e2021-10-19 17:25:58 -0400157}
158
Abhay Kumar03713392025-12-30 05:20:58 +0000159func (x *TestResponse) GetResult() TestResponse_TestResponseResult {
160 if x != nil {
161 return x.Result
khenaidoo4c6543e2021-10-19 17:25:58 -0400162 }
163 return TestResponse_SUCCESS
164}
165
Abhay Kumar03713392025-12-30 05:20:58 +0000166var File_voltha_protos_omci_test_proto protoreflect.FileDescriptor
167
168const file_voltha_protos_omci_test_proto_rawDesc = "" +
169 "\n" +
170 "\x1dvoltha_protos/omci_test.proto\x12\x04omci\"5\n" +
171 "\x0fOmciTestRequest\x12\x0e\n" +
172 "\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
173 "\x04uuid\x18\x02 \x01(\tR\x04uuid\"}\n" +
174 "\fTestResponse\x12=\n" +
175 "\x06result\x18\x01 \x01(\x0e2%.omci.TestResponse.TestResponseResultR\x06result\".\n" +
176 "\x12TestResponseResult\x12\v\n" +
177 "\aSUCCESS\x10\x00\x12\v\n" +
178 "\aFAILURE\x10\x01BH\n" +
179 "\x18org.opencord.voltha.omciZ,github.com/opencord/voltha-protos/v5/go/omcib\x06proto3"
180
181var (
182 file_voltha_protos_omci_test_proto_rawDescOnce sync.Once
183 file_voltha_protos_omci_test_proto_rawDescData []byte
184)
185
186func file_voltha_protos_omci_test_proto_rawDescGZIP() []byte {
187 file_voltha_protos_omci_test_proto_rawDescOnce.Do(func() {
188 file_voltha_protos_omci_test_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_voltha_protos_omci_test_proto_rawDesc), len(file_voltha_protos_omci_test_proto_rawDesc)))
189 })
190 return file_voltha_protos_omci_test_proto_rawDescData
khenaidoo4c6543e2021-10-19 17:25:58 -0400191}
192
Abhay Kumar03713392025-12-30 05:20:58 +0000193var file_voltha_protos_omci_test_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
194var file_voltha_protos_omci_test_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
195var file_voltha_protos_omci_test_proto_goTypes = []any{
196 (TestResponse_TestResponseResult)(0), // 0: omci.TestResponse.TestResponseResult
197 (*OmciTestRequest)(nil), // 1: omci.OmciTestRequest
198 (*TestResponse)(nil), // 2: omci.TestResponse
199}
200var file_voltha_protos_omci_test_proto_depIdxs = []int32{
201 0, // 0: omci.TestResponse.result:type_name -> omci.TestResponse.TestResponseResult
202 1, // [1:1] is the sub-list for method output_type
203 1, // [1:1] is the sub-list for method input_type
204 1, // [1:1] is the sub-list for extension type_name
205 1, // [1:1] is the sub-list for extension extendee
206 0, // [0:1] is the sub-list for field type_name
207}
khenaidoo4c6543e2021-10-19 17:25:58 -0400208
Abhay Kumar03713392025-12-30 05:20:58 +0000209func init() { file_voltha_protos_omci_test_proto_init() }
210func file_voltha_protos_omci_test_proto_init() {
211 if File_voltha_protos_omci_test_proto != nil {
212 return
213 }
214 type x struct{}
215 out := protoimpl.TypeBuilder{
216 File: protoimpl.DescBuilder{
217 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
218 RawDescriptor: unsafe.Slice(unsafe.StringData(file_voltha_protos_omci_test_proto_rawDesc), len(file_voltha_protos_omci_test_proto_rawDesc)),
219 NumEnums: 1,
220 NumMessages: 2,
221 NumExtensions: 0,
222 NumServices: 0,
223 },
224 GoTypes: file_voltha_protos_omci_test_proto_goTypes,
225 DependencyIndexes: file_voltha_protos_omci_test_proto_depIdxs,
226 EnumInfos: file_voltha_protos_omci_test_proto_enumTypes,
227 MessageInfos: file_voltha_protos_omci_test_proto_msgTypes,
228 }.Build()
229 File_voltha_protos_omci_test_proto = out.File
230 file_voltha_protos_omci_test_proto_goTypes = nil
231 file_voltha_protos_omci_test_proto_depIdxs = nil
khenaidoo4c6543e2021-10-19 17:25:58 -0400232}