// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        (unknown)
// source: runtime/v1/approval_notification_flows.proto

package runtimev1

import (
	v1 "github.com/pingcap-inc/nexuscrm-contract/wire-go/gen/common/v1"
	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 ReadApprovalNotificationFlowsRequest struct {
	state              protoimpl.MessageState `protogen:"open.v1"`
	MinCatalogRevision *uint64                `protobuf:"varint,1,opt,name=min_catalog_revision,json=minCatalogRevision,proto3,oneof" json:"min_catalog_revision,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

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

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

func (*ReadApprovalNotificationFlowsRequest) ProtoMessage() {}

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

func (x *ReadApprovalNotificationFlowsRequest) GetMinCatalogRevision() uint64 {
	if x != nil && x.MinCatalogRevision != nil {
		return *x.MinCatalogRevision
	}
	return 0
}

type ApprovalNotificationFlowDescriptor struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Label         string                 `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	Description   string                 `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ApprovalNotificationFlowDescriptor) ProtoMessage() {}

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

func (x *ApprovalNotificationFlowDescriptor) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *ApprovalNotificationFlowDescriptor) GetLabel() string {
	if x != nil {
		return x.Label
	}
	return ""
}

func (x *ApprovalNotificationFlowDescriptor) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

type ReadApprovalNotificationFlowsResponse struct {
	state         protoimpl.MessageState                `protogen:"open.v1"`
	Flows         []*ApprovalNotificationFlowDescriptor `protobuf:"bytes,1,rep,name=flows,proto3" json:"flows,omitempty"`
	Receipts      *v1.ConsistencyReceipts               `protobuf:"bytes,2,opt,name=receipts,proto3" json:"receipts,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ReadApprovalNotificationFlowsResponse) ProtoMessage() {}

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

func (x *ReadApprovalNotificationFlowsResponse) GetFlows() []*ApprovalNotificationFlowDescriptor {
	if x != nil {
		return x.Flows
	}
	return nil
}

func (x *ReadApprovalNotificationFlowsResponse) GetReceipts() *v1.ConsistencyReceipts {
	if x != nil {
		return x.Receipts
	}
	return nil
}

var File_runtime_v1_approval_notification_flows_proto protoreflect.FileDescriptor

const file_runtime_v1_approval_notification_flows_proto_rawDesc = "" +
	"\n" +
	",runtime/v1/approval_notification_flows.proto\x12\x13nexuscrm.runtime.v1\x1a\x16common/v1/common.proto\"v\n" +
	"$ReadApprovalNotificationFlowsRequest\x125\n" +
	"\x14min_catalog_revision\x18\x01 \x01(\x04H\x00R\x12minCatalogRevision\x88\x01\x01B\x17\n" +
	"\x15_min_catalog_revision\"p\n" +
	"\"ApprovalNotificationFlowDescriptor\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +
	"\x05label\x18\x02 \x01(\tR\x05label\x12 \n" +
	"\vdescription\x18\x03 \x01(\tR\vdescription\"\xbb\x01\n" +
	"%ReadApprovalNotificationFlowsResponse\x12M\n" +
	"\x05flows\x18\x01 \x03(\v27.nexuscrm.runtime.v1.ApprovalNotificationFlowDescriptorR\x05flows\x12C\n" +
	"\breceipts\x18\x02 \x01(\v2'.nexuscrm.common.v1.ConsistencyReceiptsR\breceipts2\xbe\x01\n" +
	"#ApprovalNotificationFlowReadService\x12\x96\x01\n" +
	"\x1dReadApprovalNotificationFlows\x129.nexuscrm.runtime.v1.ReadApprovalNotificationFlowsRequest\x1a:.nexuscrm.runtime.v1.ReadApprovalNotificationFlowsResponseBKZIgithub.com/pingcap-inc/nexuscrm-contract/wire-go/gen/runtime/v1;runtimev1b\x06proto3"

var (
	file_runtime_v1_approval_notification_flows_proto_rawDescOnce sync.Once
	file_runtime_v1_approval_notification_flows_proto_rawDescData []byte
)

func file_runtime_v1_approval_notification_flows_proto_rawDescGZIP() []byte {
	file_runtime_v1_approval_notification_flows_proto_rawDescOnce.Do(func() {
		file_runtime_v1_approval_notification_flows_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_runtime_v1_approval_notification_flows_proto_rawDesc), len(file_runtime_v1_approval_notification_flows_proto_rawDesc)))
	})
	return file_runtime_v1_approval_notification_flows_proto_rawDescData
}

var file_runtime_v1_approval_notification_flows_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_runtime_v1_approval_notification_flows_proto_goTypes = []any{
	(*ReadApprovalNotificationFlowsRequest)(nil),  // 0: nexuscrm.runtime.v1.ReadApprovalNotificationFlowsRequest
	(*ApprovalNotificationFlowDescriptor)(nil),    // 1: nexuscrm.runtime.v1.ApprovalNotificationFlowDescriptor
	(*ReadApprovalNotificationFlowsResponse)(nil), // 2: nexuscrm.runtime.v1.ReadApprovalNotificationFlowsResponse
	(*v1.ConsistencyReceipts)(nil),                // 3: nexuscrm.common.v1.ConsistencyReceipts
}
var file_runtime_v1_approval_notification_flows_proto_depIdxs = []int32{
	1, // 0: nexuscrm.runtime.v1.ReadApprovalNotificationFlowsResponse.flows:type_name -> nexuscrm.runtime.v1.ApprovalNotificationFlowDescriptor
	3, // 1: nexuscrm.runtime.v1.ReadApprovalNotificationFlowsResponse.receipts:type_name -> nexuscrm.common.v1.ConsistencyReceipts
	0, // 2: nexuscrm.runtime.v1.ApprovalNotificationFlowReadService.ReadApprovalNotificationFlows:input_type -> nexuscrm.runtime.v1.ReadApprovalNotificationFlowsRequest
	2, // 3: nexuscrm.runtime.v1.ApprovalNotificationFlowReadService.ReadApprovalNotificationFlows:output_type -> nexuscrm.runtime.v1.ReadApprovalNotificationFlowsResponse
	3, // [3:4] is the sub-list for method output_type
	2, // [2:3] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_runtime_v1_approval_notification_flows_proto_init() }
func file_runtime_v1_approval_notification_flows_proto_init() {
	if File_runtime_v1_approval_notification_flows_proto != nil {
		return
	}
	file_runtime_v1_approval_notification_flows_proto_msgTypes[0].OneofWrappers = []any{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_runtime_v1_approval_notification_flows_proto_rawDesc), len(file_runtime_v1_approval_notification_flows_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_runtime_v1_approval_notification_flows_proto_goTypes,
		DependencyIndexes: file_runtime_v1_approval_notification_flows_proto_depIdxs,
		MessageInfos:      file_runtime_v1_approval_notification_flows_proto_msgTypes,
	}.Build()
	File_runtime_v1_approval_notification_flows_proto = out.File
	file_runtime_v1_approval_notification_flows_proto_goTypes = nil
	file_runtime_v1_approval_notification_flows_proto_depIdxs = nil
}
