// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v5.29.3
// source: flv.proto

package pb

import (
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	durationpb "google.golang.org/protobuf/types/known/durationpb"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
	pb "m7s.live/v5/pb"
	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 ReqStopRecord struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	StreamPath    string                 `protobuf:"bytes,1,opt,name=streamPath,proto3" json:"streamPath,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ReqStopRecord) ProtoMessage() {}

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

func (x *ReqStopRecord) GetStreamPath() string {
	if x != nil {
		return x.StreamPath
	}
	return ""
}

type ResponseStopRecord struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Code          int32                  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message       string                 `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Data          uint64                 `protobuf:"varint,3,opt,name=data,proto3" json:"data,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ResponseStopRecord) ProtoMessage() {}

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

func (x *ResponseStopRecord) GetCode() int32 {
	if x != nil {
		return x.Code
	}
	return 0
}

func (x *ResponseStopRecord) GetMessage() string {
	if x != nil {
		return x.Message
	}
	return ""
}

func (x *ResponseStopRecord) GetData() uint64 {
	if x != nil {
		return x.Data
	}
	return 0
}

type ReqRecordList struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	StreamPath    string                 `protobuf:"bytes,1,opt,name=streamPath,proto3" json:"streamPath,omitempty"`
	Range         string                 `protobuf:"bytes,2,opt,name=range,proto3" json:"range,omitempty"`
	Start         string                 `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty"`
	End           string                 `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty"`
	PageNum       uint32                 `protobuf:"varint,5,opt,name=pageNum,proto3" json:"pageNum,omitempty"`
	PageSize      uint32                 `protobuf:"varint,6,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	Mode          string                 `protobuf:"bytes,7,opt,name=mode,proto3" json:"mode,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ReqRecordList) ProtoMessage() {}

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

func (x *ReqRecordList) GetStreamPath() string {
	if x != nil {
		return x.StreamPath
	}
	return ""
}

func (x *ReqRecordList) GetRange() string {
	if x != nil {
		return x.Range
	}
	return ""
}

func (x *ReqRecordList) GetStart() string {
	if x != nil {
		return x.Start
	}
	return ""
}

func (x *ReqRecordList) GetEnd() string {
	if x != nil {
		return x.End
	}
	return ""
}

func (x *ReqRecordList) GetPageNum() uint32 {
	if x != nil {
		return x.PageNum
	}
	return 0
}

func (x *ReqRecordList) GetPageSize() uint32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ReqRecordList) GetMode() string {
	if x != nil {
		return x.Mode
	}
	return ""
}

type ReqRecordDelete struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	StreamPath    string                 `protobuf:"bytes,1,opt,name=streamPath,proto3" json:"streamPath,omitempty"`
	Ids           []uint32               `protobuf:"varint,2,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	StartTime     string                 `protobuf:"bytes,3,opt,name=startTime,proto3" json:"startTime,omitempty"`
	EndTime       string                 `protobuf:"bytes,4,opt,name=endTime,proto3" json:"endTime,omitempty"`
	Range         string                 `protobuf:"bytes,5,opt,name=range,proto3" json:"range,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ReqRecordDelete) ProtoMessage() {}

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

func (x *ReqRecordDelete) GetStreamPath() string {
	if x != nil {
		return x.StreamPath
	}
	return ""
}

func (x *ReqRecordDelete) GetIds() []uint32 {
	if x != nil {
		return x.Ids
	}
	return nil
}

func (x *ReqRecordDelete) GetStartTime() string {
	if x != nil {
		return x.StartTime
	}
	return ""
}

func (x *ReqRecordDelete) GetEndTime() string {
	if x != nil {
		return x.EndTime
	}
	return ""
}

func (x *ReqRecordDelete) GetRange() string {
	if x != nil {
		return x.Range
	}
	return ""
}

type ReqStartRecord struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	StreamPath    string                 `protobuf:"bytes,1,opt,name=streamPath,proto3" json:"streamPath,omitempty"`
	Fragment      *durationpb.Duration   `protobuf:"bytes,2,opt,name=fragment,proto3" json:"fragment,omitempty"`
	FilePath      string                 `protobuf:"bytes,3,opt,name=filePath,proto3" json:"filePath,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ReqStartRecord) Reset() {
	*x = ReqStartRecord{}
	mi := &file_flv_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ReqStartRecord) ProtoMessage() {}

func (x *ReqStartRecord) ProtoReflect() protoreflect.Message {
	mi := &file_flv_proto_msgTypes[4]
	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 ReqStartRecord.ProtoReflect.Descriptor instead.
func (*ReqStartRecord) Descriptor() ([]byte, []int) {
	return file_flv_proto_rawDescGZIP(), []int{4}
}

func (x *ReqStartRecord) GetStreamPath() string {
	if x != nil {
		return x.StreamPath
	}
	return ""
}

func (x *ReqStartRecord) GetFragment() *durationpb.Duration {
	if x != nil {
		return x.Fragment
	}
	return nil
}

func (x *ReqStartRecord) GetFilePath() string {
	if x != nil {
		return x.FilePath
	}
	return ""
}

type ResponseStartRecord struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Code          int32                  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message       string                 `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Data          uint64                 `protobuf:"varint,3,opt,name=data,proto3" json:"data,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ResponseStartRecord) Reset() {
	*x = ResponseStartRecord{}
	mi := &file_flv_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ResponseStartRecord) ProtoMessage() {}

func (x *ResponseStartRecord) ProtoReflect() protoreflect.Message {
	mi := &file_flv_proto_msgTypes[5]
	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 ResponseStartRecord.ProtoReflect.Descriptor instead.
func (*ResponseStartRecord) Descriptor() ([]byte, []int) {
	return file_flv_proto_rawDescGZIP(), []int{5}
}

func (x *ResponseStartRecord) GetCode() int32 {
	if x != nil {
		return x.Code
	}
	return 0
}

func (x *ResponseStartRecord) GetMessage() string {
	if x != nil {
		return x.Message
	}
	return ""
}

func (x *ResponseStartRecord) GetData() uint64 {
	if x != nil {
		return x.Data
	}
	return 0
}

var File_flv_proto protoreflect.FileDescriptor

const file_flv_proto_rawDesc = "" +
	"\n" +
	"\tflv.proto\x12\x03flv\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\fglobal.proto\"/\n" +
	"\rReqStopRecord\x12\x1e\n" +
	"\n" +
	"streamPath\x18\x01 \x01(\tR\n" +
	"streamPath\"V\n" +
	"\x12ResponseStopRecord\x12\x12\n" +
	"\x04code\x18\x01 \x01(\x05R\x04code\x12\x18\n" +
	"\amessage\x18\x02 \x01(\tR\amessage\x12\x12\n" +
	"\x04data\x18\x03 \x01(\x04R\x04data\"\xb7\x01\n" +
	"\rReqRecordList\x12\x1e\n" +
	"\n" +
	"streamPath\x18\x01 \x01(\tR\n" +
	"streamPath\x12\x14\n" +
	"\x05range\x18\x02 \x01(\tR\x05range\x12\x14\n" +
	"\x05start\x18\x03 \x01(\tR\x05start\x12\x10\n" +
	"\x03end\x18\x04 \x01(\tR\x03end\x12\x18\n" +
	"\apageNum\x18\x05 \x01(\rR\apageNum\x12\x1a\n" +
	"\bpageSize\x18\x06 \x01(\rR\bpageSize\x12\x12\n" +
	"\x04mode\x18\a \x01(\tR\x04mode\"\x91\x01\n" +
	"\x0fReqRecordDelete\x12\x1e\n" +
	"\n" +
	"streamPath\x18\x01 \x01(\tR\n" +
	"streamPath\x12\x10\n" +
	"\x03ids\x18\x02 \x03(\rR\x03ids\x12\x1c\n" +
	"\tstartTime\x18\x03 \x01(\tR\tstartTime\x12\x18\n" +
	"\aendTime\x18\x04 \x01(\tR\aendTime\x12\x14\n" +
	"\x05range\x18\x05 \x01(\tR\x05range\"\x83\x01\n" +
	"\x0eReqStartRecord\x12\x1e\n" +
	"\n" +
	"streamPath\x18\x01 \x01(\tR\n" +
	"streamPath\x125\n" +
	"\bfragment\x18\x02 \x01(\v2\x19.google.protobuf.DurationR\bfragment\x12\x1a\n" +
	"\bfilePath\x18\x03 \x01(\tR\bfilePath\"W\n" +
	"\x13ResponseStartRecord\x12\x12\n" +
	"\x04code\x18\x01 \x01(\x05R\x04code\x12\x18\n" +
	"\amessage\x18\x02 \x01(\tR\amessage\x12\x12\n" +
	"\x04data\x18\x03 \x01(\x04R\x04data2\xec\x03\n" +
	"\x03api\x12]\n" +
	"\x04List\x12\x12.flv.ReqRecordList\x1a\x1a.global.RecordResponseList\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/flv/api/list/{streamPath=**}\x12T\n" +
	"\aCatalog\x12\x16.google.protobuf.Empty\x1a\x17.global.ResponseCatalog\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/flv/api/catalog\x12b\n" +
	"\x06Delete\x12\x14.flv.ReqRecordDelete\x1a\x16.global.ResponseDelete\"*\x82\xd3\xe4\x93\x02$:\x01*\"\x1f/flv/api/delete/{streamPath=**}\x12g\n" +
	"\vStartRecord\x12\x13.flv.ReqStartRecord\x1a\x18.flv.ResponseStartRecord\")\x82\xd3\xe4\x93\x02#:\x01*\"\x1e/flv/api/start/{streamPath=**}\x12c\n" +
	"\n" +
	"StopRecord\x12\x12.flv.ReqStopRecord\x1a\x17.flv.ResponseStopRecord\"(\x82\xd3\xe4\x93\x02\":\x01*\"\x1d/flv/api/stop/{streamPath=**}B\x1bZ\x19m7s.live/v5/plugin/flv/pbb\x06proto3"

var (
	file_flv_proto_rawDescOnce sync.Once
	file_flv_proto_rawDescData []byte
)

func file_flv_proto_rawDescGZIP() []byte {
	file_flv_proto_rawDescOnce.Do(func() {
		file_flv_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flv_proto_rawDesc), len(file_flv_proto_rawDesc)))
	})
	return file_flv_proto_rawDescData
}

var file_flv_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_flv_proto_goTypes = []any{
	(*ReqStopRecord)(nil),         // 0: flv.ReqStopRecord
	(*ResponseStopRecord)(nil),    // 1: flv.ResponseStopRecord
	(*ReqRecordList)(nil),         // 2: flv.ReqRecordList
	(*ReqRecordDelete)(nil),       // 3: flv.ReqRecordDelete
	(*ReqStartRecord)(nil),        // 4: flv.ReqStartRecord
	(*ResponseStartRecord)(nil),   // 5: flv.ResponseStartRecord
	(*durationpb.Duration)(nil),   // 6: google.protobuf.Duration
	(*emptypb.Empty)(nil),         // 7: google.protobuf.Empty
	(*pb.RecordResponseList)(nil), // 8: global.RecordResponseList
	(*pb.ResponseCatalog)(nil),    // 9: global.ResponseCatalog
	(*pb.ResponseDelete)(nil),     // 10: global.ResponseDelete
}
var file_flv_proto_depIdxs = []int32{
	6,  // 0: flv.ReqStartRecord.fragment:type_name -> google.protobuf.Duration
	2,  // 1: flv.api.List:input_type -> flv.ReqRecordList
	7,  // 2: flv.api.Catalog:input_type -> google.protobuf.Empty
	3,  // 3: flv.api.Delete:input_type -> flv.ReqRecordDelete
	4,  // 4: flv.api.StartRecord:input_type -> flv.ReqStartRecord
	0,  // 5: flv.api.StopRecord:input_type -> flv.ReqStopRecord
	8,  // 6: flv.api.List:output_type -> global.RecordResponseList
	9,  // 7: flv.api.Catalog:output_type -> global.ResponseCatalog
	10, // 8: flv.api.Delete:output_type -> global.ResponseDelete
	5,  // 9: flv.api.StartRecord:output_type -> flv.ResponseStartRecord
	1,  // 10: flv.api.StopRecord:output_type -> flv.ResponseStopRecord
	6,  // [6:11] is the sub-list for method output_type
	1,  // [1:6] 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_flv_proto_init() }
func file_flv_proto_init() {
	if File_flv_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_flv_proto_rawDesc), len(file_flv_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   6,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_flv_proto_goTypes,
		DependencyIndexes: file_flv_proto_depIdxs,
		MessageInfos:      file_flv_proto_msgTypes,
	}.Build()
	File_flv_proto = out.File
	file_flv_proto_goTypes = nil
	file_flv_proto_depIdxs = nil
}
