// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.7
// 	protoc        v6.32.0
// source: internal/module/notifications/rpc/rpc.proto

package rpc

import (
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"

	_ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
	event "gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/pkg/event"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)

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 GitPushEventRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Event         *event.GitPushEvent    `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GitPushEventRequest) ProtoMessage() {}

func (x *GitPushEventRequest) ProtoReflect() protoreflect.Message {
	mi := &file_internal_module_notifications_rpc_rpc_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 GitPushEventRequest.ProtoReflect.Descriptor instead.
func (*GitPushEventRequest) Descriptor() ([]byte, []int) {
	return file_internal_module_notifications_rpc_rpc_proto_rawDescGZIP(), []int{0}
}

func (x *GitPushEventRequest) GetEvent() *event.GitPushEvent {
	if x != nil {
		return x.Event
	}
	return nil
}

type GitPushEventResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GitPushEventResponse) ProtoMessage() {}

func (x *GitPushEventResponse) ProtoReflect() protoreflect.Message {
	mi := &file_internal_module_notifications_rpc_rpc_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 GitPushEventResponse.ProtoReflect.Descriptor instead.
func (*GitPushEventResponse) Descriptor() ([]byte, []int) {
	return file_internal_module_notifications_rpc_rpc_proto_rawDescGZIP(), []int{1}
}

var File_internal_module_notifications_rpc_rpc_proto protoreflect.FileDescriptor

const file_internal_module_notifications_rpc_rpc_proto_rawDesc = "" +
	"\n" +
	"+internal/module/notifications/rpc/rpc.proto\x12\x1egitlab.agent.notifications.rpc\x1a\x1bbuf/validate/validate.proto\x1a\x15pkg/event/event.proto\"U\n" +
	"\x13GitPushEventRequest\x12>\n" +
	"\x05event\x18\x01 \x01(\v2 .gitlab.agent.event.GitPushEventB\x06\xbaH\x03\xc8\x01\x01R\x05event\"\x16\n" +
	"\x14GitPushEventResponse2\x8c\x01\n" +
	"\rNotifications\x12{\n" +
	"\fGitPushEvent\x123.gitlab.agent.notifications.rpc.GitPushEventRequest\x1a4.gitlab.agent.notifications.rpc.GitPushEventResponse\"\x00B^Z\\gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/module/notifications/rpcb\x06proto3"

var (
	file_internal_module_notifications_rpc_rpc_proto_rawDescOnce sync.Once
	file_internal_module_notifications_rpc_rpc_proto_rawDescData []byte
)

func file_internal_module_notifications_rpc_rpc_proto_rawDescGZIP() []byte {
	file_internal_module_notifications_rpc_rpc_proto_rawDescOnce.Do(func() {
		file_internal_module_notifications_rpc_rpc_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_internal_module_notifications_rpc_rpc_proto_rawDesc), len(file_internal_module_notifications_rpc_rpc_proto_rawDesc)))
	})
	return file_internal_module_notifications_rpc_rpc_proto_rawDescData
}

var file_internal_module_notifications_rpc_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_internal_module_notifications_rpc_rpc_proto_goTypes = []any{
	(*GitPushEventRequest)(nil),  // 0: gitlab.agent.notifications.rpc.GitPushEventRequest
	(*GitPushEventResponse)(nil), // 1: gitlab.agent.notifications.rpc.GitPushEventResponse
	(*event.GitPushEvent)(nil),   // 2: gitlab.agent.event.GitPushEvent
}
var file_internal_module_notifications_rpc_rpc_proto_depIdxs = []int32{
	2, // 0: gitlab.agent.notifications.rpc.GitPushEventRequest.event:type_name -> gitlab.agent.event.GitPushEvent
	0, // 1: gitlab.agent.notifications.rpc.Notifications.GitPushEvent:input_type -> gitlab.agent.notifications.rpc.GitPushEventRequest
	1, // 2: gitlab.agent.notifications.rpc.Notifications.GitPushEvent:output_type -> gitlab.agent.notifications.rpc.GitPushEventResponse
	2, // [2:3] is the sub-list for method output_type
	1, // [1:2] 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_internal_module_notifications_rpc_rpc_proto_init() }
func file_internal_module_notifications_rpc_rpc_proto_init() {
	if File_internal_module_notifications_rpc_rpc_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_internal_module_notifications_rpc_rpc_proto_rawDesc), len(file_internal_module_notifications_rpc_rpc_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_internal_module_notifications_rpc_rpc_proto_goTypes,
		DependencyIndexes: file_internal_module_notifications_rpc_rpc_proto_depIdxs,
		MessageInfos:      file_internal_module_notifications_rpc_rpc_proto_msgTypes,
	}.Build()
	File_internal_module_notifications_rpc_rpc_proto = out.File
	file_internal_module_notifications_rpc_rpc_proto_goTypes = nil
	file_internal_module_notifications_rpc_rpc_proto_depIdxs = nil
}
