// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v4.25.8
// source: voltha_protos/omci_test.proto

package omci

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type TestResponse_TestResponseResult int32

const (
	TestResponse_SUCCESS TestResponse_TestResponseResult = 0
	TestResponse_FAILURE TestResponse_TestResponseResult = 1
)

// Enum value maps for TestResponse_TestResponseResult.
var (
	TestResponse_TestResponseResult_name = map[int32]string{
		0: "SUCCESS",
		1: "FAILURE",
	}
	TestResponse_TestResponseResult_value = map[string]int32{
		"SUCCESS": 0,
		"FAILURE": 1,
	}
)

func (x TestResponse_TestResponseResult) Enum() *TestResponse_TestResponseResult {
	p := new(TestResponse_TestResponseResult)
	*p = x
	return p
}

func (x TestResponse_TestResponseResult) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (TestResponse_TestResponseResult) Descriptor() protoreflect.EnumDescriptor {
	return file_voltha_protos_omci_test_proto_enumTypes[0].Descriptor()
}

func (TestResponse_TestResponseResult) Type() protoreflect.EnumType {
	return &file_voltha_protos_omci_test_proto_enumTypes[0]
}

func (x TestResponse_TestResponseResult) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use TestResponse_TestResponseResult.Descriptor instead.
func (TestResponse_TestResponseResult) EnumDescriptor() ([]byte, []int) {
	return file_voltha_protos_omci_test_proto_rawDescGZIP(), []int{1, 0}
}

type OmciTestRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid          string                 `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *OmciTestRequest) Reset() {
	*x = OmciTestRequest{}
	mi := &file_voltha_protos_omci_test_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *OmciTestRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*OmciTestRequest) ProtoMessage() {}

func (x *OmciTestRequest) ProtoReflect() protoreflect.Message {
	mi := &file_voltha_protos_omci_test_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use OmciTestRequest.ProtoReflect.Descriptor instead.
func (*OmciTestRequest) Descriptor() ([]byte, []int) {
	return file_voltha_protos_omci_test_proto_rawDescGZIP(), []int{0}
}

func (x *OmciTestRequest) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *OmciTestRequest) GetUuid() string {
	if x != nil {
		return x.Uuid
	}
	return ""
}

type TestResponse struct {
	state         protoimpl.MessageState          `protogen:"open.v1"`
	Result        TestResponse_TestResponseResult `protobuf:"varint,1,opt,name=result,proto3,enum=omci.TestResponse_TestResponseResult" json:"result,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *TestResponse) Reset() {
	*x = TestResponse{}
	mi := &file_voltha_protos_omci_test_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *TestResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*TestResponse) ProtoMessage() {}

func (x *TestResponse) ProtoReflect() protoreflect.Message {
	mi := &file_voltha_protos_omci_test_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use TestResponse.ProtoReflect.Descriptor instead.
func (*TestResponse) Descriptor() ([]byte, []int) {
	return file_voltha_protos_omci_test_proto_rawDescGZIP(), []int{1}
}

func (x *TestResponse) GetResult() TestResponse_TestResponseResult {
	if x != nil {
		return x.Result
	}
	return TestResponse_SUCCESS
}

var File_voltha_protos_omci_test_proto protoreflect.FileDescriptor

const file_voltha_protos_omci_test_proto_rawDesc = "" +
	"\n" +
	"\x1dvoltha_protos/omci_test.proto\x12\x04omci\"5\n" +
	"\x0fOmciTestRequest\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
	"\x04uuid\x18\x02 \x01(\tR\x04uuid\"}\n" +
	"\fTestResponse\x12=\n" +
	"\x06result\x18\x01 \x01(\x0e2%.omci.TestResponse.TestResponseResultR\x06result\".\n" +
	"\x12TestResponseResult\x12\v\n" +
	"\aSUCCESS\x10\x00\x12\v\n" +
	"\aFAILURE\x10\x01BH\n" +
	"\x18org.opencord.voltha.omciZ,github.com/opencord/voltha-protos/v5/go/omcib\x06proto3"

var (
	file_voltha_protos_omci_test_proto_rawDescOnce sync.Once
	file_voltha_protos_omci_test_proto_rawDescData []byte
)

func file_voltha_protos_omci_test_proto_rawDescGZIP() []byte {
	file_voltha_protos_omci_test_proto_rawDescOnce.Do(func() {
		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)))
	})
	return file_voltha_protos_omci_test_proto_rawDescData
}

var file_voltha_protos_omci_test_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_voltha_protos_omci_test_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_voltha_protos_omci_test_proto_goTypes = []any{
	(TestResponse_TestResponseResult)(0), // 0: omci.TestResponse.TestResponseResult
	(*OmciTestRequest)(nil),              // 1: omci.OmciTestRequest
	(*TestResponse)(nil),                 // 2: omci.TestResponse
}
var file_voltha_protos_omci_test_proto_depIdxs = []int32{
	0, // 0: omci.TestResponse.result:type_name -> omci.TestResponse.TestResponseResult
	1, // [1:1] is the sub-list for method output_type
	1, // [1:1] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_voltha_protos_omci_test_proto_init() }
func file_voltha_protos_omci_test_proto_init() {
	if File_voltha_protos_omci_test_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_voltha_protos_omci_test_proto_rawDesc), len(file_voltha_protos_omci_test_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_voltha_protos_omci_test_proto_goTypes,
		DependencyIndexes: file_voltha_protos_omci_test_proto_depIdxs,
		EnumInfos:         file_voltha_protos_omci_test_proto_enumTypes,
		MessageInfos:      file_voltha_protos_omci_test_proto_msgTypes,
	}.Build()
	File_voltha_protos_omci_test_proto = out.File
	file_voltha_protos_omci_test_proto_goTypes = nil
	file_voltha_protos_omci_test_proto_depIdxs = nil
}
