mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 05:00:24 +08:00 
			
		
		
		
	套餐API增加查找套餐基本信息API
This commit is contained in:
		@@ -626,6 +626,101 @@ func (x *FindEnabledPlanResponse) GetPlan() *Plan {
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// 查找套餐基本信息
 | 
			
		||||
type FindBasicPlanRequest struct {
 | 
			
		||||
	state         protoimpl.MessageState
 | 
			
		||||
	sizeCache     protoimpl.SizeCache
 | 
			
		||||
	unknownFields protoimpl.UnknownFields
 | 
			
		||||
 | 
			
		||||
	PlanId int64 `protobuf:"varint,1,opt,name=planId,proto3" json:"planId,omitempty"` // 套餐ID
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *FindBasicPlanRequest) Reset() {
 | 
			
		||||
	*x = FindBasicPlanRequest{}
 | 
			
		||||
	if protoimpl.UnsafeEnabled {
 | 
			
		||||
		mi := &file_service_plan_proto_msgTypes[6]
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
		ms.StoreMessageInfo(mi)
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *FindBasicPlanRequest) String() string {
 | 
			
		||||
	return protoimpl.X.MessageStringOf(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (*FindBasicPlanRequest) ProtoMessage() {}
 | 
			
		||||
 | 
			
		||||
func (x *FindBasicPlanRequest) ProtoReflect() protoreflect.Message {
 | 
			
		||||
	mi := &file_service_plan_proto_msgTypes[6]
 | 
			
		||||
	if protoimpl.UnsafeEnabled && x != nil {
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
		if ms.LoadMessageInfo() == nil {
 | 
			
		||||
			ms.StoreMessageInfo(mi)
 | 
			
		||||
		}
 | 
			
		||||
		return ms
 | 
			
		||||
	}
 | 
			
		||||
	return mi.MessageOf(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Deprecated: Use FindBasicPlanRequest.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*FindBasicPlanRequest) Descriptor() ([]byte, []int) {
 | 
			
		||||
	return file_service_plan_proto_rawDescGZIP(), []int{6}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *FindBasicPlanRequest) GetPlanId() int64 {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.PlanId
 | 
			
		||||
	}
 | 
			
		||||
	return 0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type FindBasicPlanResponse struct {
 | 
			
		||||
	state         protoimpl.MessageState
 | 
			
		||||
	sizeCache     protoimpl.SizeCache
 | 
			
		||||
	unknownFields protoimpl.UnknownFields
 | 
			
		||||
 | 
			
		||||
	Plan *Plan `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"` // 套餐信息(只读取基本信息)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *FindBasicPlanResponse) Reset() {
 | 
			
		||||
	*x = FindBasicPlanResponse{}
 | 
			
		||||
	if protoimpl.UnsafeEnabled {
 | 
			
		||||
		mi := &file_service_plan_proto_msgTypes[7]
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
		ms.StoreMessageInfo(mi)
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *FindBasicPlanResponse) String() string {
 | 
			
		||||
	return protoimpl.X.MessageStringOf(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (*FindBasicPlanResponse) ProtoMessage() {}
 | 
			
		||||
 | 
			
		||||
func (x *FindBasicPlanResponse) ProtoReflect() protoreflect.Message {
 | 
			
		||||
	mi := &file_service_plan_proto_msgTypes[7]
 | 
			
		||||
	if protoimpl.UnsafeEnabled && x != nil {
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
		if ms.LoadMessageInfo() == nil {
 | 
			
		||||
			ms.StoreMessageInfo(mi)
 | 
			
		||||
		}
 | 
			
		||||
		return ms
 | 
			
		||||
	}
 | 
			
		||||
	return mi.MessageOf(x)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Deprecated: Use FindBasicPlanResponse.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*FindBasicPlanResponse) Descriptor() ([]byte, []int) {
 | 
			
		||||
	return file_service_plan_proto_rawDescGZIP(), []int{7}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *FindBasicPlanResponse) GetPlan() *Plan {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Plan
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// 计算套餐数量
 | 
			
		||||
type CountAllEnabledPlansRequest struct {
 | 
			
		||||
	state         protoimpl.MessageState
 | 
			
		||||
@@ -636,7 +731,7 @@ type CountAllEnabledPlansRequest struct {
 | 
			
		||||
func (x *CountAllEnabledPlansRequest) Reset() {
 | 
			
		||||
	*x = CountAllEnabledPlansRequest{}
 | 
			
		||||
	if protoimpl.UnsafeEnabled {
 | 
			
		||||
		mi := &file_service_plan_proto_msgTypes[6]
 | 
			
		||||
		mi := &file_service_plan_proto_msgTypes[8]
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
		ms.StoreMessageInfo(mi)
 | 
			
		||||
	}
 | 
			
		||||
@@ -649,7 +744,7 @@ func (x *CountAllEnabledPlansRequest) String() string {
 | 
			
		||||
func (*CountAllEnabledPlansRequest) ProtoMessage() {}
 | 
			
		||||
 | 
			
		||||
func (x *CountAllEnabledPlansRequest) ProtoReflect() protoreflect.Message {
 | 
			
		||||
	mi := &file_service_plan_proto_msgTypes[6]
 | 
			
		||||
	mi := &file_service_plan_proto_msgTypes[8]
 | 
			
		||||
	if protoimpl.UnsafeEnabled && x != nil {
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
		if ms.LoadMessageInfo() == nil {
 | 
			
		||||
@@ -662,7 +757,7 @@ func (x *CountAllEnabledPlansRequest) ProtoReflect() protoreflect.Message {
 | 
			
		||||
 | 
			
		||||
// Deprecated: Use CountAllEnabledPlansRequest.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*CountAllEnabledPlansRequest) Descriptor() ([]byte, []int) {
 | 
			
		||||
	return file_service_plan_proto_rawDescGZIP(), []int{6}
 | 
			
		||||
	return file_service_plan_proto_rawDescGZIP(), []int{8}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// 列出单页套餐
 | 
			
		||||
@@ -678,7 +773,7 @@ type ListEnabledPlansRequest struct {
 | 
			
		||||
func (x *ListEnabledPlansRequest) Reset() {
 | 
			
		||||
	*x = ListEnabledPlansRequest{}
 | 
			
		||||
	if protoimpl.UnsafeEnabled {
 | 
			
		||||
		mi := &file_service_plan_proto_msgTypes[7]
 | 
			
		||||
		mi := &file_service_plan_proto_msgTypes[9]
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
		ms.StoreMessageInfo(mi)
 | 
			
		||||
	}
 | 
			
		||||
@@ -691,7 +786,7 @@ func (x *ListEnabledPlansRequest) String() string {
 | 
			
		||||
func (*ListEnabledPlansRequest) ProtoMessage() {}
 | 
			
		||||
 | 
			
		||||
func (x *ListEnabledPlansRequest) ProtoReflect() protoreflect.Message {
 | 
			
		||||
	mi := &file_service_plan_proto_msgTypes[7]
 | 
			
		||||
	mi := &file_service_plan_proto_msgTypes[9]
 | 
			
		||||
	if protoimpl.UnsafeEnabled && x != nil {
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
		if ms.LoadMessageInfo() == nil {
 | 
			
		||||
@@ -704,7 +799,7 @@ func (x *ListEnabledPlansRequest) ProtoReflect() protoreflect.Message {
 | 
			
		||||
 | 
			
		||||
// Deprecated: Use ListEnabledPlansRequest.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*ListEnabledPlansRequest) Descriptor() ([]byte, []int) {
 | 
			
		||||
	return file_service_plan_proto_rawDescGZIP(), []int{7}
 | 
			
		||||
	return file_service_plan_proto_rawDescGZIP(), []int{9}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *ListEnabledPlansRequest) GetOffset() int64 {
 | 
			
		||||
@@ -732,7 +827,7 @@ type ListEnabledPlansResponse struct {
 | 
			
		||||
func (x *ListEnabledPlansResponse) Reset() {
 | 
			
		||||
	*x = ListEnabledPlansResponse{}
 | 
			
		||||
	if protoimpl.UnsafeEnabled {
 | 
			
		||||
		mi := &file_service_plan_proto_msgTypes[8]
 | 
			
		||||
		mi := &file_service_plan_proto_msgTypes[10]
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
		ms.StoreMessageInfo(mi)
 | 
			
		||||
	}
 | 
			
		||||
@@ -745,7 +840,7 @@ func (x *ListEnabledPlansResponse) String() string {
 | 
			
		||||
func (*ListEnabledPlansResponse) ProtoMessage() {}
 | 
			
		||||
 | 
			
		||||
func (x *ListEnabledPlansResponse) ProtoReflect() protoreflect.Message {
 | 
			
		||||
	mi := &file_service_plan_proto_msgTypes[8]
 | 
			
		||||
	mi := &file_service_plan_proto_msgTypes[10]
 | 
			
		||||
	if protoimpl.UnsafeEnabled && x != nil {
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
		if ms.LoadMessageInfo() == nil {
 | 
			
		||||
@@ -758,7 +853,7 @@ func (x *ListEnabledPlansResponse) ProtoReflect() protoreflect.Message {
 | 
			
		||||
 | 
			
		||||
// Deprecated: Use ListEnabledPlansResponse.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*ListEnabledPlansResponse) Descriptor() ([]byte, []int) {
 | 
			
		||||
	return file_service_plan_proto_rawDescGZIP(), []int{8}
 | 
			
		||||
	return file_service_plan_proto_rawDescGZIP(), []int{10}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *ListEnabledPlansResponse) GetPlans() []*Plan {
 | 
			
		||||
@@ -778,7 +873,7 @@ type FindAllAvailablePlansRequest struct {
 | 
			
		||||
func (x *FindAllAvailablePlansRequest) Reset() {
 | 
			
		||||
	*x = FindAllAvailablePlansRequest{}
 | 
			
		||||
	if protoimpl.UnsafeEnabled {
 | 
			
		||||
		mi := &file_service_plan_proto_msgTypes[9]
 | 
			
		||||
		mi := &file_service_plan_proto_msgTypes[11]
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
		ms.StoreMessageInfo(mi)
 | 
			
		||||
	}
 | 
			
		||||
@@ -791,7 +886,7 @@ func (x *FindAllAvailablePlansRequest) String() string {
 | 
			
		||||
func (*FindAllAvailablePlansRequest) ProtoMessage() {}
 | 
			
		||||
 | 
			
		||||
func (x *FindAllAvailablePlansRequest) ProtoReflect() protoreflect.Message {
 | 
			
		||||
	mi := &file_service_plan_proto_msgTypes[9]
 | 
			
		||||
	mi := &file_service_plan_proto_msgTypes[11]
 | 
			
		||||
	if protoimpl.UnsafeEnabled && x != nil {
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
		if ms.LoadMessageInfo() == nil {
 | 
			
		||||
@@ -804,7 +899,7 @@ func (x *FindAllAvailablePlansRequest) ProtoReflect() protoreflect.Message {
 | 
			
		||||
 | 
			
		||||
// Deprecated: Use FindAllAvailablePlansRequest.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*FindAllAvailablePlansRequest) Descriptor() ([]byte, []int) {
 | 
			
		||||
	return file_service_plan_proto_rawDescGZIP(), []int{9}
 | 
			
		||||
	return file_service_plan_proto_rawDescGZIP(), []int{11}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type FindAllAvailablePlansResponse struct {
 | 
			
		||||
@@ -818,7 +913,7 @@ type FindAllAvailablePlansResponse struct {
 | 
			
		||||
func (x *FindAllAvailablePlansResponse) Reset() {
 | 
			
		||||
	*x = FindAllAvailablePlansResponse{}
 | 
			
		||||
	if protoimpl.UnsafeEnabled {
 | 
			
		||||
		mi := &file_service_plan_proto_msgTypes[10]
 | 
			
		||||
		mi := &file_service_plan_proto_msgTypes[12]
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
		ms.StoreMessageInfo(mi)
 | 
			
		||||
	}
 | 
			
		||||
@@ -831,7 +926,7 @@ func (x *FindAllAvailablePlansResponse) String() string {
 | 
			
		||||
func (*FindAllAvailablePlansResponse) ProtoMessage() {}
 | 
			
		||||
 | 
			
		||||
func (x *FindAllAvailablePlansResponse) ProtoReflect() protoreflect.Message {
 | 
			
		||||
	mi := &file_service_plan_proto_msgTypes[10]
 | 
			
		||||
	mi := &file_service_plan_proto_msgTypes[12]
 | 
			
		||||
	if protoimpl.UnsafeEnabled && x != nil {
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
		if ms.LoadMessageInfo() == nil {
 | 
			
		||||
@@ -844,7 +939,7 @@ func (x *FindAllAvailablePlansResponse) ProtoReflect() protoreflect.Message {
 | 
			
		||||
 | 
			
		||||
// Deprecated: Use FindAllAvailablePlansResponse.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*FindAllAvailablePlansResponse) Descriptor() ([]byte, []int) {
 | 
			
		||||
	return file_service_plan_proto_rawDescGZIP(), []int{10}
 | 
			
		||||
	return file_service_plan_proto_rawDescGZIP(), []int{12}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *FindAllAvailablePlansResponse) GetPlans() []*Plan {
 | 
			
		||||
@@ -864,7 +959,7 @@ type FindAllAvailableBasicPlansRequest struct {
 | 
			
		||||
func (x *FindAllAvailableBasicPlansRequest) Reset() {
 | 
			
		||||
	*x = FindAllAvailableBasicPlansRequest{}
 | 
			
		||||
	if protoimpl.UnsafeEnabled {
 | 
			
		||||
		mi := &file_service_plan_proto_msgTypes[11]
 | 
			
		||||
		mi := &file_service_plan_proto_msgTypes[13]
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
		ms.StoreMessageInfo(mi)
 | 
			
		||||
	}
 | 
			
		||||
@@ -877,7 +972,7 @@ func (x *FindAllAvailableBasicPlansRequest) String() string {
 | 
			
		||||
func (*FindAllAvailableBasicPlansRequest) ProtoMessage() {}
 | 
			
		||||
 | 
			
		||||
func (x *FindAllAvailableBasicPlansRequest) ProtoReflect() protoreflect.Message {
 | 
			
		||||
	mi := &file_service_plan_proto_msgTypes[11]
 | 
			
		||||
	mi := &file_service_plan_proto_msgTypes[13]
 | 
			
		||||
	if protoimpl.UnsafeEnabled && x != nil {
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
		if ms.LoadMessageInfo() == nil {
 | 
			
		||||
@@ -890,7 +985,7 @@ func (x *FindAllAvailableBasicPlansRequest) ProtoReflect() protoreflect.Message
 | 
			
		||||
 | 
			
		||||
// Deprecated: Use FindAllAvailableBasicPlansRequest.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*FindAllAvailableBasicPlansRequest) Descriptor() ([]byte, []int) {
 | 
			
		||||
	return file_service_plan_proto_rawDescGZIP(), []int{11}
 | 
			
		||||
	return file_service_plan_proto_rawDescGZIP(), []int{13}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type FindAllAvailableBasicPlansResponse struct {
 | 
			
		||||
@@ -904,7 +999,7 @@ type FindAllAvailableBasicPlansResponse struct {
 | 
			
		||||
func (x *FindAllAvailableBasicPlansResponse) Reset() {
 | 
			
		||||
	*x = FindAllAvailableBasicPlansResponse{}
 | 
			
		||||
	if protoimpl.UnsafeEnabled {
 | 
			
		||||
		mi := &file_service_plan_proto_msgTypes[12]
 | 
			
		||||
		mi := &file_service_plan_proto_msgTypes[14]
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
		ms.StoreMessageInfo(mi)
 | 
			
		||||
	}
 | 
			
		||||
@@ -917,7 +1012,7 @@ func (x *FindAllAvailableBasicPlansResponse) String() string {
 | 
			
		||||
func (*FindAllAvailableBasicPlansResponse) ProtoMessage() {}
 | 
			
		||||
 | 
			
		||||
func (x *FindAllAvailableBasicPlansResponse) ProtoReflect() protoreflect.Message {
 | 
			
		||||
	mi := &file_service_plan_proto_msgTypes[12]
 | 
			
		||||
	mi := &file_service_plan_proto_msgTypes[14]
 | 
			
		||||
	if protoimpl.UnsafeEnabled && x != nil {
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
		if ms.LoadMessageInfo() == nil {
 | 
			
		||||
@@ -930,7 +1025,7 @@ func (x *FindAllAvailableBasicPlansResponse) ProtoReflect() protoreflect.Message
 | 
			
		||||
 | 
			
		||||
// Deprecated: Use FindAllAvailableBasicPlansResponse.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*FindAllAvailableBasicPlansResponse) Descriptor() ([]byte, []int) {
 | 
			
		||||
	return file_service_plan_proto_rawDescGZIP(), []int{12}
 | 
			
		||||
	return file_service_plan_proto_rawDescGZIP(), []int{14}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *FindAllAvailableBasicPlansResponse) GetPlans() []*Plan {
 | 
			
		||||
@@ -952,7 +1047,7 @@ type SortPlansRequest struct {
 | 
			
		||||
func (x *SortPlansRequest) Reset() {
 | 
			
		||||
	*x = SortPlansRequest{}
 | 
			
		||||
	if protoimpl.UnsafeEnabled {
 | 
			
		||||
		mi := &file_service_plan_proto_msgTypes[13]
 | 
			
		||||
		mi := &file_service_plan_proto_msgTypes[15]
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
		ms.StoreMessageInfo(mi)
 | 
			
		||||
	}
 | 
			
		||||
@@ -965,7 +1060,7 @@ func (x *SortPlansRequest) String() string {
 | 
			
		||||
func (*SortPlansRequest) ProtoMessage() {}
 | 
			
		||||
 | 
			
		||||
func (x *SortPlansRequest) ProtoReflect() protoreflect.Message {
 | 
			
		||||
	mi := &file_service_plan_proto_msgTypes[13]
 | 
			
		||||
	mi := &file_service_plan_proto_msgTypes[15]
 | 
			
		||||
	if protoimpl.UnsafeEnabled && x != nil {
 | 
			
		||||
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
			
		||||
		if ms.LoadMessageInfo() == nil {
 | 
			
		||||
@@ -978,7 +1073,7 @@ func (x *SortPlansRequest) ProtoReflect() protoreflect.Message {
 | 
			
		||||
 | 
			
		||||
// Deprecated: Use SortPlansRequest.ProtoReflect.Descriptor instead.
 | 
			
		||||
func (*SortPlansRequest) Descriptor() ([]byte, []int) {
 | 
			
		||||
	return file_service_plan_proto_rawDescGZIP(), []int{13}
 | 
			
		||||
	return file_service_plan_proto_rawDescGZIP(), []int{15}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *SortPlansRequest) GetPlanIds() []int64 {
 | 
			
		||||
@@ -1120,75 +1215,86 @@ var file_service_plan_proto_rawDesc = []byte{
 | 
			
		||||
	0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70,
 | 
			
		||||
	0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x01, 0x20, 0x01,
 | 
			
		||||
	0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x04, 0x70, 0x6c,
 | 
			
		||||
	0x61, 0x6e, 0x22, 0x1d, 0x0a, 0x1b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
 | 
			
		||||
	0x61, 0x62, 0x6c, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
 | 
			
		||||
	0x74, 0x22, 0x45, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
 | 
			
		||||
	0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06,
 | 
			
		||||
	0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66,
 | 
			
		||||
	0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01,
 | 
			
		||||
	0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x3a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74,
 | 
			
		||||
	0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70,
 | 
			
		||||
	0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x05, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x18, 0x01, 0x20,
 | 
			
		||||
	0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x05, 0x70,
 | 
			
		||||
	0x6c, 0x61, 0x6e, 0x73, 0x22, 0x1e, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41,
 | 
			
		||||
	0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71,
 | 
			
		||||
	0x75, 0x65, 0x73, 0x74, 0x22, 0x3f, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41,
 | 
			
		||||
	0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x73,
 | 
			
		||||
	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x05, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x18, 0x01,
 | 
			
		||||
	0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x05,
 | 
			
		||||
	0x70, 0x6c, 0x61, 0x6e, 0x73, 0x22, 0x23, 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c,
 | 
			
		||||
	0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61, 0x73, 0x69, 0x63, 0x50, 0x6c,
 | 
			
		||||
	0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x44, 0x0a, 0x22, 0x46, 0x69,
 | 
			
		||||
	0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61,
 | 
			
		||||
	0x73, 0x69, 0x63, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
 | 
			
		||||
	0x12, 0x1e, 0x0a, 0x05, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
 | 
			
		||||
	0x08, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x05, 0x70, 0x6c, 0x61, 0x6e, 0x73,
 | 
			
		||||
	0x22, 0x2c, 0x0a, 0x10, 0x53, 0x6f, 0x72, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71,
 | 
			
		||||
	0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x6c, 0x61, 0x6e, 0x49, 0x64, 0x73, 0x18,
 | 
			
		||||
	0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x70, 0x6c, 0x61, 0x6e, 0x49, 0x64, 0x73, 0x32, 0x9c,
 | 
			
		||||
	0x05, 0x0a, 0x0b, 0x50, 0x6c, 0x61, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3b,
 | 
			
		||||
	0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x15, 0x2e, 0x70,
 | 
			
		||||
	0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75,
 | 
			
		||||
	0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50,
 | 
			
		||||
	0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x0a, 0x75,
 | 
			
		||||
	0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x55,
 | 
			
		||||
	0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
 | 
			
		||||
	0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
 | 
			
		||||
	0x12, 0x33, 0x0a, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x15,
 | 
			
		||||
	0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65,
 | 
			
		||||
	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75,
 | 
			
		||||
	0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4a, 0x0a, 0x0f, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61,
 | 
			
		||||
	0x62, 0x6c, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
 | 
			
		||||
	0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71,
 | 
			
		||||
	0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
 | 
			
		||||
	0x61, 0x62, 0x6c, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
 | 
			
		||||
	0x65, 0x12, 0x4d, 0x0a, 0x14, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61,
 | 
			
		||||
	0x62, 0x6c, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x43,
 | 
			
		||||
	0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x50, 0x6c,
 | 
			
		||||
	0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e,
 | 
			
		||||
	0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
 | 
			
		||||
	0x12, 0x4d, 0x0a, 0x10, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x50,
 | 
			
		||||
	0x6c, 0x61, 0x6e, 0x73, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e,
 | 
			
		||||
	0x61, 0x62, 0x6c, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
 | 
			
		||||
	0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c,
 | 
			
		||||
	0x65, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
 | 
			
		||||
	0x5c, 0x0a, 0x15, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61,
 | 
			
		||||
	0x62, 0x6c, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
 | 
			
		||||
	0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x6c,
 | 
			
		||||
	0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e,
 | 
			
		||||
	0x61, 0x6e, 0x22, 0x2e, 0x0a, 0x14, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x61, 0x73, 0x69, 0x63, 0x50,
 | 
			
		||||
	0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6c,
 | 
			
		||||
	0x61, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x70, 0x6c, 0x61, 0x6e,
 | 
			
		||||
	0x49, 0x64, 0x22, 0x35, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x61, 0x73, 0x69, 0x63, 0x50,
 | 
			
		||||
	0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x04, 0x70,
 | 
			
		||||
	0x6c, 0x61, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x50,
 | 
			
		||||
	0x6c, 0x61, 0x6e, 0x52, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x22, 0x1d, 0x0a, 0x1b, 0x43, 0x6f, 0x75,
 | 
			
		||||
	0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x6e,
 | 
			
		||||
	0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x45, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74,
 | 
			
		||||
	0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75,
 | 
			
		||||
	0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20,
 | 
			
		||||
	0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73,
 | 
			
		||||
	0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22,
 | 
			
		||||
	0x3a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x50, 0x6c,
 | 
			
		||||
	0x61, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x05, 0x70,
 | 
			
		||||
	0x6c, 0x61, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e,
 | 
			
		||||
	0x50, 0x6c, 0x61, 0x6e, 0x52, 0x05, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x22, 0x1e, 0x0a, 0x1c, 0x46,
 | 
			
		||||
	0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x50,
 | 
			
		||||
	0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3f, 0x0a, 0x1d, 0x46,
 | 
			
		||||
	0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x50,
 | 
			
		||||
	0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x05,
 | 
			
		||||
	0x70, 0x6c, 0x61, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62,
 | 
			
		||||
	0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x05, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x22, 0x23, 0x0a, 0x21,
 | 
			
		||||
	0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65,
 | 
			
		||||
	0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a,
 | 
			
		||||
	0x1a, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c,
 | 
			
		||||
	0x65, 0x42, 0x61, 0x73, 0x69, 0x63, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x25, 0x2e, 0x70, 0x62,
 | 
			
		||||
	0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c,
 | 
			
		||||
	0x65, 0x42, 0x61, 0x73, 0x69, 0x63, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
 | 
			
		||||
	0x73, 0x74, 0x1a, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41,
 | 
			
		||||
	0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61, 0x73, 0x69, 0x63, 0x50, 0x6c, 0x61,
 | 
			
		||||
	0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x09, 0x73, 0x6f,
 | 
			
		||||
	0x72, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x6f, 0x72,
 | 
			
		||||
	0x74, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e,
 | 
			
		||||
	0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x06, 0x5a,
 | 
			
		||||
	0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
 | 
			
		||||
	0x42, 0x61, 0x73, 0x69, 0x63, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
 | 
			
		||||
	0x74, 0x22, 0x44, 0x0a, 0x22, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x69,
 | 
			
		||||
	0x6c, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61, 0x73, 0x69, 0x63, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52,
 | 
			
		||||
	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x05, 0x70, 0x6c, 0x61, 0x6e, 0x73,
 | 
			
		||||
	0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x6c, 0x61, 0x6e,
 | 
			
		||||
	0x52, 0x05, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x22, 0x2c, 0x0a, 0x10, 0x53, 0x6f, 0x72, 0x74, 0x50,
 | 
			
		||||
	0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70,
 | 
			
		||||
	0x6c, 0x61, 0x6e, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x70, 0x6c,
 | 
			
		||||
	0x61, 0x6e, 0x49, 0x64, 0x73, 0x32, 0xe2, 0x05, 0x0a, 0x0b, 0x50, 0x6c, 0x61, 0x6e, 0x53, 0x65,
 | 
			
		||||
	0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50,
 | 
			
		||||
	0x6c, 0x61, 0x6e, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50,
 | 
			
		||||
	0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x70, 0x62, 0x2e,
 | 
			
		||||
	0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
 | 
			
		||||
	0x73, 0x65, 0x12, 0x33, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e,
 | 
			
		||||
	0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e,
 | 
			
		||||
	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43,
 | 
			
		||||
	0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x33, 0x0a, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74,
 | 
			
		||||
	0x65, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
 | 
			
		||||
	0x65, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70,
 | 
			
		||||
	0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4a, 0x0a, 0x0f,
 | 
			
		||||
	0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x12,
 | 
			
		||||
	0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
 | 
			
		||||
	0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62,
 | 
			
		||||
	0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x6e,
 | 
			
		||||
	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x66, 0x69, 0x6e, 0x64,
 | 
			
		||||
	0x42, 0x61, 0x73, 0x69, 0x63, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x46,
 | 
			
		||||
	0x69, 0x6e, 0x64, 0x42, 0x61, 0x73, 0x69, 0x63, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75,
 | 
			
		||||
	0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x61, 0x73,
 | 
			
		||||
	0x69, 0x63, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d,
 | 
			
		||||
	0x0a, 0x14, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
 | 
			
		||||
	0x64, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e,
 | 
			
		||||
	0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x73,
 | 
			
		||||
	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43,
 | 
			
		||||
	0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a,
 | 
			
		||||
	0x10, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x6e,
 | 
			
		||||
	0x73, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c,
 | 
			
		||||
	0x65, 0x64, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c,
 | 
			
		||||
	0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x50,
 | 
			
		||||
	0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x15,
 | 
			
		||||
	0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65,
 | 
			
		||||
	0x50, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41,
 | 
			
		||||
	0x6c, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x73,
 | 
			
		||||
	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e,
 | 
			
		||||
	0x64, 0x41, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x6c, 0x61,
 | 
			
		||||
	0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x1a, 0x66, 0x69,
 | 
			
		||||
	0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61,
 | 
			
		||||
	0x73, 0x69, 0x63, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
 | 
			
		||||
	0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61,
 | 
			
		||||
	0x73, 0x69, 0x63, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
 | 
			
		||||
	0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x76, 0x61, 0x69,
 | 
			
		||||
	0x6c, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61, 0x73, 0x69, 0x63, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x52,
 | 
			
		||||
	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x09, 0x73, 0x6f, 0x72, 0x74, 0x50,
 | 
			
		||||
	0x6c, 0x61, 0x6e, 0x73, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x50, 0x6c,
 | 
			
		||||
	0x61, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e,
 | 
			
		||||
	0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f,
 | 
			
		||||
	0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
var (
 | 
			
		||||
@@ -1203,7 +1309,7 @@ func file_service_plan_proto_rawDescGZIP() []byte {
 | 
			
		||||
	return file_service_plan_proto_rawDescData
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
var file_service_plan_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
 | 
			
		||||
var file_service_plan_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
 | 
			
		||||
var file_service_plan_proto_goTypes = []interface{}{
 | 
			
		||||
	(*CreatePlanRequest)(nil),                  // 0: pb.CreatePlanRequest
 | 
			
		||||
	(*CreatePlanResponse)(nil),                 // 1: pb.CreatePlanResponse
 | 
			
		||||
@@ -1211,46 +1317,51 @@ var file_service_plan_proto_goTypes = []interface{}{
 | 
			
		||||
	(*DeletePlanRequest)(nil),                  // 3: pb.DeletePlanRequest
 | 
			
		||||
	(*FindEnabledPlanRequest)(nil),             // 4: pb.FindEnabledPlanRequest
 | 
			
		||||
	(*FindEnabledPlanResponse)(nil),            // 5: pb.FindEnabledPlanResponse
 | 
			
		||||
	(*CountAllEnabledPlansRequest)(nil),        // 6: pb.CountAllEnabledPlansRequest
 | 
			
		||||
	(*ListEnabledPlansRequest)(nil),            // 7: pb.ListEnabledPlansRequest
 | 
			
		||||
	(*ListEnabledPlansResponse)(nil),           // 8: pb.ListEnabledPlansResponse
 | 
			
		||||
	(*FindAllAvailablePlansRequest)(nil),       // 9: pb.FindAllAvailablePlansRequest
 | 
			
		||||
	(*FindAllAvailablePlansResponse)(nil),      // 10: pb.FindAllAvailablePlansResponse
 | 
			
		||||
	(*FindAllAvailableBasicPlansRequest)(nil),  // 11: pb.FindAllAvailableBasicPlansRequest
 | 
			
		||||
	(*FindAllAvailableBasicPlansResponse)(nil), // 12: pb.FindAllAvailableBasicPlansResponse
 | 
			
		||||
	(*SortPlansRequest)(nil),                   // 13: pb.SortPlansRequest
 | 
			
		||||
	(*Plan)(nil),                               // 14: pb.Plan
 | 
			
		||||
	(*RPCSuccess)(nil),                         // 15: pb.RPCSuccess
 | 
			
		||||
	(*RPCCountResponse)(nil),                   // 16: pb.RPCCountResponse
 | 
			
		||||
	(*FindBasicPlanRequest)(nil),               // 6: pb.FindBasicPlanRequest
 | 
			
		||||
	(*FindBasicPlanResponse)(nil),              // 7: pb.FindBasicPlanResponse
 | 
			
		||||
	(*CountAllEnabledPlansRequest)(nil),        // 8: pb.CountAllEnabledPlansRequest
 | 
			
		||||
	(*ListEnabledPlansRequest)(nil),            // 9: pb.ListEnabledPlansRequest
 | 
			
		||||
	(*ListEnabledPlansResponse)(nil),           // 10: pb.ListEnabledPlansResponse
 | 
			
		||||
	(*FindAllAvailablePlansRequest)(nil),       // 11: pb.FindAllAvailablePlansRequest
 | 
			
		||||
	(*FindAllAvailablePlansResponse)(nil),      // 12: pb.FindAllAvailablePlansResponse
 | 
			
		||||
	(*FindAllAvailableBasicPlansRequest)(nil),  // 13: pb.FindAllAvailableBasicPlansRequest
 | 
			
		||||
	(*FindAllAvailableBasicPlansResponse)(nil), // 14: pb.FindAllAvailableBasicPlansResponse
 | 
			
		||||
	(*SortPlansRequest)(nil),                   // 15: pb.SortPlansRequest
 | 
			
		||||
	(*Plan)(nil),                               // 16: pb.Plan
 | 
			
		||||
	(*RPCSuccess)(nil),                         // 17: pb.RPCSuccess
 | 
			
		||||
	(*RPCCountResponse)(nil),                   // 18: pb.RPCCountResponse
 | 
			
		||||
}
 | 
			
		||||
var file_service_plan_proto_depIdxs = []int32{
 | 
			
		||||
	14, // 0: pb.FindEnabledPlanResponse.plan:type_name -> pb.Plan
 | 
			
		||||
	14, // 1: pb.ListEnabledPlansResponse.plans:type_name -> pb.Plan
 | 
			
		||||
	14, // 2: pb.FindAllAvailablePlansResponse.plans:type_name -> pb.Plan
 | 
			
		||||
	14, // 3: pb.FindAllAvailableBasicPlansResponse.plans:type_name -> pb.Plan
 | 
			
		||||
	0,  // 4: pb.PlanService.createPlan:input_type -> pb.CreatePlanRequest
 | 
			
		||||
	2,  // 5: pb.PlanService.updatePlan:input_type -> pb.UpdatePlanRequest
 | 
			
		||||
	3,  // 6: pb.PlanService.deletePlan:input_type -> pb.DeletePlanRequest
 | 
			
		||||
	4,  // 7: pb.PlanService.findEnabledPlan:input_type -> pb.FindEnabledPlanRequest
 | 
			
		||||
	6,  // 8: pb.PlanService.countAllEnabledPlans:input_type -> pb.CountAllEnabledPlansRequest
 | 
			
		||||
	7,  // 9: pb.PlanService.listEnabledPlans:input_type -> pb.ListEnabledPlansRequest
 | 
			
		||||
	9,  // 10: pb.PlanService.findAllAvailablePlans:input_type -> pb.FindAllAvailablePlansRequest
 | 
			
		||||
	11, // 11: pb.PlanService.findAllAvailableBasicPlans:input_type -> pb.FindAllAvailableBasicPlansRequest
 | 
			
		||||
	13, // 12: pb.PlanService.sortPlans:input_type -> pb.SortPlansRequest
 | 
			
		||||
	1,  // 13: pb.PlanService.createPlan:output_type -> pb.CreatePlanResponse
 | 
			
		||||
	15, // 14: pb.PlanService.updatePlan:output_type -> pb.RPCSuccess
 | 
			
		||||
	15, // 15: pb.PlanService.deletePlan:output_type -> pb.RPCSuccess
 | 
			
		||||
	5,  // 16: pb.PlanService.findEnabledPlan:output_type -> pb.FindEnabledPlanResponse
 | 
			
		||||
	16, // 17: pb.PlanService.countAllEnabledPlans:output_type -> pb.RPCCountResponse
 | 
			
		||||
	8,  // 18: pb.PlanService.listEnabledPlans:output_type -> pb.ListEnabledPlansResponse
 | 
			
		||||
	10, // 19: pb.PlanService.findAllAvailablePlans:output_type -> pb.FindAllAvailablePlansResponse
 | 
			
		||||
	12, // 20: pb.PlanService.findAllAvailableBasicPlans:output_type -> pb.FindAllAvailableBasicPlansResponse
 | 
			
		||||
	15, // 21: pb.PlanService.sortPlans:output_type -> pb.RPCSuccess
 | 
			
		||||
	13, // [13:22] is the sub-list for method output_type
 | 
			
		||||
	4,  // [4:13] is the sub-list for method input_type
 | 
			
		||||
	4,  // [4:4] is the sub-list for extension type_name
 | 
			
		||||
	4,  // [4:4] is the sub-list for extension extendee
 | 
			
		||||
	0,  // [0:4] is the sub-list for field type_name
 | 
			
		||||
	16, // 0: pb.FindEnabledPlanResponse.plan:type_name -> pb.Plan
 | 
			
		||||
	16, // 1: pb.FindBasicPlanResponse.plan:type_name -> pb.Plan
 | 
			
		||||
	16, // 2: pb.ListEnabledPlansResponse.plans:type_name -> pb.Plan
 | 
			
		||||
	16, // 3: pb.FindAllAvailablePlansResponse.plans:type_name -> pb.Plan
 | 
			
		||||
	16, // 4: pb.FindAllAvailableBasicPlansResponse.plans:type_name -> pb.Plan
 | 
			
		||||
	0,  // 5: pb.PlanService.createPlan:input_type -> pb.CreatePlanRequest
 | 
			
		||||
	2,  // 6: pb.PlanService.updatePlan:input_type -> pb.UpdatePlanRequest
 | 
			
		||||
	3,  // 7: pb.PlanService.deletePlan:input_type -> pb.DeletePlanRequest
 | 
			
		||||
	4,  // 8: pb.PlanService.findEnabledPlan:input_type -> pb.FindEnabledPlanRequest
 | 
			
		||||
	6,  // 9: pb.PlanService.findBasicPlan:input_type -> pb.FindBasicPlanRequest
 | 
			
		||||
	8,  // 10: pb.PlanService.countAllEnabledPlans:input_type -> pb.CountAllEnabledPlansRequest
 | 
			
		||||
	9,  // 11: pb.PlanService.listEnabledPlans:input_type -> pb.ListEnabledPlansRequest
 | 
			
		||||
	11, // 12: pb.PlanService.findAllAvailablePlans:input_type -> pb.FindAllAvailablePlansRequest
 | 
			
		||||
	13, // 13: pb.PlanService.findAllAvailableBasicPlans:input_type -> pb.FindAllAvailableBasicPlansRequest
 | 
			
		||||
	15, // 14: pb.PlanService.sortPlans:input_type -> pb.SortPlansRequest
 | 
			
		||||
	1,  // 15: pb.PlanService.createPlan:output_type -> pb.CreatePlanResponse
 | 
			
		||||
	17, // 16: pb.PlanService.updatePlan:output_type -> pb.RPCSuccess
 | 
			
		||||
	17, // 17: pb.PlanService.deletePlan:output_type -> pb.RPCSuccess
 | 
			
		||||
	5,  // 18: pb.PlanService.findEnabledPlan:output_type -> pb.FindEnabledPlanResponse
 | 
			
		||||
	7,  // 19: pb.PlanService.findBasicPlan:output_type -> pb.FindBasicPlanResponse
 | 
			
		||||
	18, // 20: pb.PlanService.countAllEnabledPlans:output_type -> pb.RPCCountResponse
 | 
			
		||||
	10, // 21: pb.PlanService.listEnabledPlans:output_type -> pb.ListEnabledPlansResponse
 | 
			
		||||
	12, // 22: pb.PlanService.findAllAvailablePlans:output_type -> pb.FindAllAvailablePlansResponse
 | 
			
		||||
	14, // 23: pb.PlanService.findAllAvailableBasicPlans:output_type -> pb.FindAllAvailableBasicPlansResponse
 | 
			
		||||
	17, // 24: pb.PlanService.sortPlans:output_type -> pb.RPCSuccess
 | 
			
		||||
	15, // [15:25] is the sub-list for method output_type
 | 
			
		||||
	5,  // [5:15] is the sub-list for method input_type
 | 
			
		||||
	5,  // [5:5] is the sub-list for extension type_name
 | 
			
		||||
	5,  // [5:5] is the sub-list for extension extendee
 | 
			
		||||
	0,  // [0:5] is the sub-list for field type_name
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func init() { file_service_plan_proto_init() }
 | 
			
		||||
@@ -1334,7 +1445,7 @@ func file_service_plan_proto_init() {
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		file_service_plan_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
 | 
			
		||||
			switch v := v.(*CountAllEnabledPlansRequest); i {
 | 
			
		||||
			switch v := v.(*FindBasicPlanRequest); i {
 | 
			
		||||
			case 0:
 | 
			
		||||
				return &v.state
 | 
			
		||||
			case 1:
 | 
			
		||||
@@ -1346,7 +1457,7 @@ func file_service_plan_proto_init() {
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		file_service_plan_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
 | 
			
		||||
			switch v := v.(*ListEnabledPlansRequest); i {
 | 
			
		||||
			switch v := v.(*FindBasicPlanResponse); i {
 | 
			
		||||
			case 0:
 | 
			
		||||
				return &v.state
 | 
			
		||||
			case 1:
 | 
			
		||||
@@ -1358,7 +1469,7 @@ func file_service_plan_proto_init() {
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		file_service_plan_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
 | 
			
		||||
			switch v := v.(*ListEnabledPlansResponse); i {
 | 
			
		||||
			switch v := v.(*CountAllEnabledPlansRequest); i {
 | 
			
		||||
			case 0:
 | 
			
		||||
				return &v.state
 | 
			
		||||
			case 1:
 | 
			
		||||
@@ -1370,7 +1481,7 @@ func file_service_plan_proto_init() {
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		file_service_plan_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
 | 
			
		||||
			switch v := v.(*FindAllAvailablePlansRequest); i {
 | 
			
		||||
			switch v := v.(*ListEnabledPlansRequest); i {
 | 
			
		||||
			case 0:
 | 
			
		||||
				return &v.state
 | 
			
		||||
			case 1:
 | 
			
		||||
@@ -1382,7 +1493,7 @@ func file_service_plan_proto_init() {
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		file_service_plan_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
 | 
			
		||||
			switch v := v.(*FindAllAvailablePlansResponse); i {
 | 
			
		||||
			switch v := v.(*ListEnabledPlansResponse); i {
 | 
			
		||||
			case 0:
 | 
			
		||||
				return &v.state
 | 
			
		||||
			case 1:
 | 
			
		||||
@@ -1394,7 +1505,7 @@ func file_service_plan_proto_init() {
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		file_service_plan_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
 | 
			
		||||
			switch v := v.(*FindAllAvailableBasicPlansRequest); i {
 | 
			
		||||
			switch v := v.(*FindAllAvailablePlansRequest); i {
 | 
			
		||||
			case 0:
 | 
			
		||||
				return &v.state
 | 
			
		||||
			case 1:
 | 
			
		||||
@@ -1406,7 +1517,7 @@ func file_service_plan_proto_init() {
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		file_service_plan_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
 | 
			
		||||
			switch v := v.(*FindAllAvailableBasicPlansResponse); i {
 | 
			
		||||
			switch v := v.(*FindAllAvailablePlansResponse); i {
 | 
			
		||||
			case 0:
 | 
			
		||||
				return &v.state
 | 
			
		||||
			case 1:
 | 
			
		||||
@@ -1418,6 +1529,30 @@ func file_service_plan_proto_init() {
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		file_service_plan_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
 | 
			
		||||
			switch v := v.(*FindAllAvailableBasicPlansRequest); i {
 | 
			
		||||
			case 0:
 | 
			
		||||
				return &v.state
 | 
			
		||||
			case 1:
 | 
			
		||||
				return &v.sizeCache
 | 
			
		||||
			case 2:
 | 
			
		||||
				return &v.unknownFields
 | 
			
		||||
			default:
 | 
			
		||||
				return nil
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		file_service_plan_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
 | 
			
		||||
			switch v := v.(*FindAllAvailableBasicPlansResponse); i {
 | 
			
		||||
			case 0:
 | 
			
		||||
				return &v.state
 | 
			
		||||
			case 1:
 | 
			
		||||
				return &v.sizeCache
 | 
			
		||||
			case 2:
 | 
			
		||||
				return &v.unknownFields
 | 
			
		||||
			default:
 | 
			
		||||
				return nil
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		file_service_plan_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
 | 
			
		||||
			switch v := v.(*SortPlansRequest); i {
 | 
			
		||||
			case 0:
 | 
			
		||||
				return &v.state
 | 
			
		||||
@@ -1436,7 +1571,7 @@ func file_service_plan_proto_init() {
 | 
			
		||||
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 | 
			
		||||
			RawDescriptor: file_service_plan_proto_rawDesc,
 | 
			
		||||
			NumEnums:      0,
 | 
			
		||||
			NumMessages:   14,
 | 
			
		||||
			NumMessages:   16,
 | 
			
		||||
			NumExtensions: 0,
 | 
			
		||||
			NumServices:   1,
 | 
			
		||||
		},
 | 
			
		||||
 
 | 
			
		||||
@@ -23,6 +23,7 @@ const (
 | 
			
		||||
	PlanService_UpdatePlan_FullMethodName                 = "/pb.PlanService/updatePlan"
 | 
			
		||||
	PlanService_DeletePlan_FullMethodName                 = "/pb.PlanService/deletePlan"
 | 
			
		||||
	PlanService_FindEnabledPlan_FullMethodName            = "/pb.PlanService/findEnabledPlan"
 | 
			
		||||
	PlanService_FindBasicPlan_FullMethodName              = "/pb.PlanService/findBasicPlan"
 | 
			
		||||
	PlanService_CountAllEnabledPlans_FullMethodName       = "/pb.PlanService/countAllEnabledPlans"
 | 
			
		||||
	PlanService_ListEnabledPlans_FullMethodName           = "/pb.PlanService/listEnabledPlans"
 | 
			
		||||
	PlanService_FindAllAvailablePlans_FullMethodName      = "/pb.PlanService/findAllAvailablePlans"
 | 
			
		||||
@@ -42,6 +43,8 @@ type PlanServiceClient interface {
 | 
			
		||||
	DeletePlan(ctx context.Context, in *DeletePlanRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
 | 
			
		||||
	// 查找单个套餐
 | 
			
		||||
	FindEnabledPlan(ctx context.Context, in *FindEnabledPlanRequest, opts ...grpc.CallOption) (*FindEnabledPlanResponse, error)
 | 
			
		||||
	// 查找套餐基本信息
 | 
			
		||||
	FindBasicPlan(ctx context.Context, in *FindBasicPlanRequest, opts ...grpc.CallOption) (*FindBasicPlanResponse, error)
 | 
			
		||||
	// 计算套餐数量
 | 
			
		||||
	CountAllEnabledPlans(ctx context.Context, in *CountAllEnabledPlansRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
 | 
			
		||||
	// 列出单页套餐
 | 
			
		||||
@@ -98,6 +101,15 @@ func (c *planServiceClient) FindEnabledPlan(ctx context.Context, in *FindEnabled
 | 
			
		||||
	return out, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *planServiceClient) FindBasicPlan(ctx context.Context, in *FindBasicPlanRequest, opts ...grpc.CallOption) (*FindBasicPlanResponse, error) {
 | 
			
		||||
	out := new(FindBasicPlanResponse)
 | 
			
		||||
	err := c.cc.Invoke(ctx, PlanService_FindBasicPlan_FullMethodName, in, out, opts...)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return out, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *planServiceClient) CountAllEnabledPlans(ctx context.Context, in *CountAllEnabledPlansRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
 | 
			
		||||
	out := new(RPCCountResponse)
 | 
			
		||||
	err := c.cc.Invoke(ctx, PlanService_CountAllEnabledPlans_FullMethodName, in, out, opts...)
 | 
			
		||||
@@ -155,6 +167,8 @@ type PlanServiceServer interface {
 | 
			
		||||
	DeletePlan(context.Context, *DeletePlanRequest) (*RPCSuccess, error)
 | 
			
		||||
	// 查找单个套餐
 | 
			
		||||
	FindEnabledPlan(context.Context, *FindEnabledPlanRequest) (*FindEnabledPlanResponse, error)
 | 
			
		||||
	// 查找套餐基本信息
 | 
			
		||||
	FindBasicPlan(context.Context, *FindBasicPlanRequest) (*FindBasicPlanResponse, error)
 | 
			
		||||
	// 计算套餐数量
 | 
			
		||||
	CountAllEnabledPlans(context.Context, *CountAllEnabledPlansRequest) (*RPCCountResponse, error)
 | 
			
		||||
	// 列出单页套餐
 | 
			
		||||
@@ -183,6 +197,9 @@ func (UnimplementedPlanServiceServer) DeletePlan(context.Context, *DeletePlanReq
 | 
			
		||||
func (UnimplementedPlanServiceServer) FindEnabledPlan(context.Context, *FindEnabledPlanRequest) (*FindEnabledPlanResponse, error) {
 | 
			
		||||
	return nil, status.Errorf(codes.Unimplemented, "method FindEnabledPlan not implemented")
 | 
			
		||||
}
 | 
			
		||||
func (UnimplementedPlanServiceServer) FindBasicPlan(context.Context, *FindBasicPlanRequest) (*FindBasicPlanResponse, error) {
 | 
			
		||||
	return nil, status.Errorf(codes.Unimplemented, "method FindBasicPlan not implemented")
 | 
			
		||||
}
 | 
			
		||||
func (UnimplementedPlanServiceServer) CountAllEnabledPlans(context.Context, *CountAllEnabledPlansRequest) (*RPCCountResponse, error) {
 | 
			
		||||
	return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledPlans not implemented")
 | 
			
		||||
}
 | 
			
		||||
@@ -282,6 +299,24 @@ func _PlanService_FindEnabledPlan_Handler(srv interface{}, ctx context.Context,
 | 
			
		||||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _PlanService_FindBasicPlan_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(FindBasicPlanRequest)
 | 
			
		||||
	if err := dec(in); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	if interceptor == nil {
 | 
			
		||||
		return srv.(PlanServiceServer).FindBasicPlan(ctx, in)
 | 
			
		||||
	}
 | 
			
		||||
	info := &grpc.UnaryServerInfo{
 | 
			
		||||
		Server:     srv,
 | 
			
		||||
		FullMethod: PlanService_FindBasicPlan_FullMethodName,
 | 
			
		||||
	}
 | 
			
		||||
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
			
		||||
		return srv.(PlanServiceServer).FindBasicPlan(ctx, req.(*FindBasicPlanRequest))
 | 
			
		||||
	}
 | 
			
		||||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _PlanService_CountAllEnabledPlans_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(CountAllEnabledPlansRequest)
 | 
			
		||||
	if err := dec(in); err != nil {
 | 
			
		||||
@@ -395,6 +430,10 @@ var PlanService_ServiceDesc = grpc.ServiceDesc{
 | 
			
		||||
			MethodName: "findEnabledPlan",
 | 
			
		||||
			Handler:    _PlanService_FindEnabledPlan_Handler,
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "findBasicPlan",
 | 
			
		||||
			Handler:    _PlanService_FindBasicPlan_Handler,
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "countAllEnabledPlans",
 | 
			
		||||
			Handler:    _PlanService_CountAllEnabledPlans_Handler,
 | 
			
		||||
 
 | 
			
		||||
@@ -20,6 +20,9 @@ service PlanService {
 | 
			
		||||
	// 查找单个套餐
 | 
			
		||||
	rpc findEnabledPlan(FindEnabledPlanRequest) returns (FindEnabledPlanResponse);
 | 
			
		||||
 | 
			
		||||
	// 查找套餐基本信息
 | 
			
		||||
	rpc findBasicPlan(FindBasicPlanRequest) returns (FindBasicPlanResponse);
 | 
			
		||||
 | 
			
		||||
	// 计算套餐数量
 | 
			
		||||
	rpc countAllEnabledPlans(CountAllEnabledPlansRequest) returns (RPCCountResponse);
 | 
			
		||||
 | 
			
		||||
@@ -104,6 +107,15 @@ message FindEnabledPlanResponse {
 | 
			
		||||
	Plan plan = 1; // 套餐信息
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// 查找套餐基本信息
 | 
			
		||||
message FindBasicPlanRequest {
 | 
			
		||||
	int64 planId = 1; // 套餐ID
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
message FindBasicPlanResponse {
 | 
			
		||||
	Plan plan = 1; // 套餐信息(只读取基本信息)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// 计算套餐数量
 | 
			
		||||
message CountAllEnabledPlansRequest {
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user