// SPDX-License-Identifier: Apache-2.0
// Copyright Authors of Hubble

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.3
// 	protoc        (unknown)
// source: tetragon/eventlogservice.proto

package tetragon

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

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 SetEventLogParamsRequest struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	MaxSize          *int32                 `protobuf:"varint,1,opt,name=max_size,json=maxSize,proto3,oneof" json:"max_size,omitempty"`
	RotationInterval *string                `protobuf:"bytes,2,opt,name=rotation_interval,json=rotationInterval,proto3,oneof" json:"rotation_interval,omitempty"`
	MaxBackups       *int32                 `protobuf:"varint,3,opt,name=max_backups,json=maxBackups,proto3,oneof" json:"max_backups,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*SetEventLogParamsRequest) ProtoMessage() {}

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

func (x *SetEventLogParamsRequest) GetMaxSize() int32 {
	if x != nil && x.MaxSize != nil {
		return *x.MaxSize
	}
	return 0
}

func (x *SetEventLogParamsRequest) GetRotationInterval() string {
	if x != nil && x.RotationInterval != nil {
		return *x.RotationInterval
	}
	return ""
}

func (x *SetEventLogParamsRequest) GetMaxBackups() int32 {
	if x != nil && x.MaxBackups != nil {
		return *x.MaxBackups
	}
	return 0
}

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

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

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

func (*SetEventLogParamsResponse) ProtoMessage() {}

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

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

func (x *GetEventLogParamsRequest) Reset() {
	*x = GetEventLogParamsRequest{}
	mi := &file_tetragon_eventlogservice_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GetEventLogParamsRequest) ProtoMessage() {}

func (x *GetEventLogParamsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_tetragon_eventlogservice_proto_msgTypes[2]
	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 GetEventLogParamsRequest.ProtoReflect.Descriptor instead.
func (*GetEventLogParamsRequest) Descriptor() ([]byte, []int) {
	return file_tetragon_eventlogservice_proto_rawDescGZIP(), []int{2}
}

type GetEventLogParamsResponse struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	MaxSize          int32                  `protobuf:"varint,1,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"`
	RotationInterval string                 `protobuf:"bytes,2,opt,name=rotation_interval,json=rotationInterval,proto3" json:"rotation_interval,omitempty"`
	MaxBackups       int32                  `protobuf:"varint,3,opt,name=max_backups,json=maxBackups,proto3" json:"max_backups,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *GetEventLogParamsResponse) Reset() {
	*x = GetEventLogParamsResponse{}
	mi := &file_tetragon_eventlogservice_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GetEventLogParamsResponse) ProtoMessage() {}

func (x *GetEventLogParamsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_tetragon_eventlogservice_proto_msgTypes[3]
	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 GetEventLogParamsResponse.ProtoReflect.Descriptor instead.
func (*GetEventLogParamsResponse) Descriptor() ([]byte, []int) {
	return file_tetragon_eventlogservice_proto_rawDescGZIP(), []int{3}
}

func (x *GetEventLogParamsResponse) GetMaxSize() int32 {
	if x != nil {
		return x.MaxSize
	}
	return 0
}

func (x *GetEventLogParamsResponse) GetRotationInterval() string {
	if x != nil {
		return x.RotationInterval
	}
	return ""
}

func (x *GetEventLogParamsResponse) GetMaxBackups() int32 {
	if x != nil {
		return x.MaxBackups
	}
	return 0
}

var File_tetragon_eventlogservice_proto protoreflect.FileDescriptor

var file_tetragon_eventlogservice_proto_rawDesc = []byte{
	0x0a, 0x1e, 0x74, 0x65, 0x74, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74,
	0x6c, 0x6f, 0x67, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
	0x12, 0x08, 0x74, 0x65, 0x74, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x22, 0xc5, 0x01, 0x0a, 0x18, 0x53,
	0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x73,
	0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x61, 0x78,
	0x53, 0x69, 0x7a, 0x65, 0x88, 0x01, 0x01, 0x12, 0x30, 0x0a, 0x11, 0x72, 0x6f, 0x74, 0x61, 0x74,
	0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01,
	0x28, 0x09, 0x48, 0x01, 0x52, 0x10, 0x72, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e,
	0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x0b, 0x6d, 0x61, 0x78,
	0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x48, 0x02,
	0x52, 0x0a, 0x6d, 0x61, 0x78, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x88, 0x01, 0x01, 0x42,
	0x0b, 0x0a, 0x09, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x14, 0x0a, 0x12,
	0x5f, 0x72, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76,
	0x61, 0x6c, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75,
	0x70, 0x73, 0x22, 0x1b, 0x0a, 0x19, 0x53, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4c, 0x6f,
	0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
	0x1a, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x61,
	0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x84, 0x01, 0x0a, 0x19,
	0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d,
	0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78,
	0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x61, 0x78,
	0x53, 0x69, 0x7a, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
	0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
	0x10, 0x72, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
	0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73,
	0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x42, 0x61, 0x63, 0x6b, 0x75,
	0x70, 0x73, 0x32, 0xd1, 0x01, 0x0a, 0x0f, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x53,
	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5e, 0x0a, 0x11, 0x53, 0x65, 0x74, 0x45, 0x76, 0x65,
	0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x22, 0x2e, 0x74, 0x65,
	0x74, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4c,
	0x6f, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
	0x23, 0x2e, 0x74, 0x65, 0x74, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x74, 0x45, 0x76,
	0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70,
	0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65,
	0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x22, 0x2e, 0x74, 0x65,
	0x74, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4c,
	0x6f, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
	0x23, 0x2e, 0x74, 0x65, 0x74, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x76,
	0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70,
	0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x2c, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
	0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x69, 0x6c, 0x69, 0x75, 0x6d, 0x2f, 0x74, 0x65, 0x74, 0x72,
	0x61, 0x67, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x65, 0x74, 0x72,
	0x61, 0x67, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_tetragon_eventlogservice_proto_rawDescOnce sync.Once
	file_tetragon_eventlogservice_proto_rawDescData = file_tetragon_eventlogservice_proto_rawDesc
)

func file_tetragon_eventlogservice_proto_rawDescGZIP() []byte {
	file_tetragon_eventlogservice_proto_rawDescOnce.Do(func() {
		file_tetragon_eventlogservice_proto_rawDescData = protoimpl.X.CompressGZIP(file_tetragon_eventlogservice_proto_rawDescData)
	})
	return file_tetragon_eventlogservice_proto_rawDescData
}

var file_tetragon_eventlogservice_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_tetragon_eventlogservice_proto_goTypes = []any{
	(*SetEventLogParamsRequest)(nil),  // 0: tetragon.SetEventLogParamsRequest
	(*SetEventLogParamsResponse)(nil), // 1: tetragon.SetEventLogParamsResponse
	(*GetEventLogParamsRequest)(nil),  // 2: tetragon.GetEventLogParamsRequest
	(*GetEventLogParamsResponse)(nil), // 3: tetragon.GetEventLogParamsResponse
}
var file_tetragon_eventlogservice_proto_depIdxs = []int32{
	0, // 0: tetragon.EventLogService.SetEventLogParams:input_type -> tetragon.SetEventLogParamsRequest
	2, // 1: tetragon.EventLogService.GetEventLogParams:input_type -> tetragon.GetEventLogParamsRequest
	1, // 2: tetragon.EventLogService.SetEventLogParams:output_type -> tetragon.SetEventLogParamsResponse
	3, // 3: tetragon.EventLogService.GetEventLogParams:output_type -> tetragon.GetEventLogParamsResponse
	2, // [2:4] is the sub-list for method output_type
	0, // [0:2] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_tetragon_eventlogservice_proto_init() }
func file_tetragon_eventlogservice_proto_init() {
	if File_tetragon_eventlogservice_proto != nil {
		return
	}
	file_tetragon_eventlogservice_proto_msgTypes[0].OneofWrappers = []any{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_tetragon_eventlogservice_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_tetragon_eventlogservice_proto_goTypes,
		DependencyIndexes: file_tetragon_eventlogservice_proto_depIdxs,
		MessageInfos:      file_tetragon_eventlogservice_proto_msgTypes,
	}.Build()
	File_tetragon_eventlogservice_proto = out.File
	file_tetragon_eventlogservice_proto_rawDesc = nil
	file_tetragon_eventlogservice_proto_goTypes = nil
	file_tetragon_eventlogservice_proto_depIdxs = nil
}
