| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 2 | // versions: |
| 3 | // protoc-gen-go v1.36.11 |
| 4 | // protoc v4.25.8 |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 5 | // source: voltha_protos/omci_test.proto |
| 6 | |
| 7 | package omci |
| 8 | |
| 9 | import ( |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 10 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 11 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 12 | reflect "reflect" |
| 13 | sync "sync" |
| 14 | unsafe "unsafe" |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 15 | ) |
| 16 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 17 | const ( |
| 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 | ) |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 23 | |
| 24 | type TestResponse_TestResponseResult int32 |
| 25 | |
| 26 | const ( |
| 27 | TestResponse_SUCCESS TestResponse_TestResponseResult = 0 |
| 28 | TestResponse_FAILURE TestResponse_TestResponseResult = 1 |
| 29 | ) |
| 30 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 31 | // Enum value maps for TestResponse_TestResponseResult. |
| 32 | var ( |
| 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 | ) |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 42 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 43 | func (x TestResponse_TestResponseResult) Enum() *TestResponse_TestResponseResult { |
| 44 | p := new(TestResponse_TestResponseResult) |
| 45 | *p = x |
| 46 | return p |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 47 | } |
| 48 | |
| 49 | func (x TestResponse_TestResponseResult) String() string { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 50 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 51 | } |
| 52 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 53 | func (TestResponse_TestResponseResult) Descriptor() protoreflect.EnumDescriptor { |
| 54 | return file_voltha_protos_omci_test_proto_enumTypes[0].Descriptor() |
| 55 | } |
| 56 | |
| 57 | func (TestResponse_TestResponseResult) Type() protoreflect.EnumType { |
| 58 | return &file_voltha_protos_omci_test_proto_enumTypes[0] |
| 59 | } |
| 60 | |
| 61 | func (x TestResponse_TestResponseResult) Number() protoreflect.EnumNumber { |
| 62 | return protoreflect.EnumNumber(x) |
| 63 | } |
| 64 | |
| 65 | // Deprecated: Use TestResponse_TestResponseResult.Descriptor instead. |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 66 | func (TestResponse_TestResponseResult) EnumDescriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 67 | return file_voltha_protos_omci_test_proto_rawDescGZIP(), []int{1, 0} |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 68 | } |
| 69 | |
| 70 | type OmciTestRequest struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 71 | 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 |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 76 | } |
| 77 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 78 | func (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 | |
| 85 | func (x *OmciTestRequest) String() string { |
| 86 | return protoimpl.X.MessageStringOf(x) |
| 87 | } |
| 88 | |
| 89 | func (*OmciTestRequest) ProtoMessage() {} |
| 90 | |
| 91 | func (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. |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 104 | func (*OmciTestRequest) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 105 | return file_voltha_protos_omci_test_proto_rawDescGZIP(), []int{0} |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 106 | } |
| 107 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 108 | func (x *OmciTestRequest) GetId() string { |
| 109 | if x != nil { |
| 110 | return x.Id |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 111 | } |
| 112 | return "" |
| 113 | } |
| 114 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 115 | func (x *OmciTestRequest) GetUuid() string { |
| 116 | if x != nil { |
| 117 | return x.Uuid |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 118 | } |
| 119 | return "" |
| 120 | } |
| 121 | |
| 122 | type TestResponse struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 123 | 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 |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 127 | } |
| 128 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 129 | func (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 | |
| 136 | func (x *TestResponse) String() string { |
| 137 | return protoimpl.X.MessageStringOf(x) |
| 138 | } |
| 139 | |
| 140 | func (*TestResponse) ProtoMessage() {} |
| 141 | |
| 142 | func (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. |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 155 | func (*TestResponse) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 156 | return file_voltha_protos_omci_test_proto_rawDescGZIP(), []int{1} |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 157 | } |
| 158 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 159 | func (x *TestResponse) GetResult() TestResponse_TestResponseResult { |
| 160 | if x != nil { |
| 161 | return x.Result |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 162 | } |
| 163 | return TestResponse_SUCCESS |
| 164 | } |
| 165 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 166 | var File_voltha_protos_omci_test_proto protoreflect.FileDescriptor |
| 167 | |
| 168 | const 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 | |
| 181 | var ( |
| 182 | file_voltha_protos_omci_test_proto_rawDescOnce sync.Once |
| 183 | file_voltha_protos_omci_test_proto_rawDescData []byte |
| 184 | ) |
| 185 | |
| 186 | func 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 |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 191 | } |
| 192 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 193 | var file_voltha_protos_omci_test_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 194 | var file_voltha_protos_omci_test_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 195 | var 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 | } |
| 200 | var 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 | } |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 208 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 209 | func init() { file_voltha_protos_omci_test_proto_init() } |
| 210 | func 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 |
| khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 232 | } |