// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v3.19.6 // source: service_ns_user_plan.proto package pb import ( 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 CreateNSUserPlanRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` NsPlanId int64 `protobuf:"varint,2,opt,name=nsPlanId,proto3" json:"nsPlanId,omitempty"` DayFrom string `protobuf:"bytes,3,opt,name=dayFrom,proto3" json:"dayFrom,omitempty"` // YYYYMMDD DayTo string `protobuf:"bytes,4,opt,name=dayTo,proto3" json:"dayTo,omitempty"` // YYYYMMDD PeriodUnit string `protobuf:"bytes,5,opt,name=periodUnit,proto3" json:"periodUnit,omitempty"` // yearly|monthly unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateNSUserPlanRequest) Reset() { *x = CreateNSUserPlanRequest{} mi := &file_service_ns_user_plan_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateNSUserPlanRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateNSUserPlanRequest) ProtoMessage() {} func (x *CreateNSUserPlanRequest) ProtoReflect() protoreflect.Message { mi := &file_service_ns_user_plan_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 CreateNSUserPlanRequest.ProtoReflect.Descriptor instead. func (*CreateNSUserPlanRequest) Descriptor() ([]byte, []int) { return file_service_ns_user_plan_proto_rawDescGZIP(), []int{0} } func (x *CreateNSUserPlanRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *CreateNSUserPlanRequest) GetNsPlanId() int64 { if x != nil { return x.NsPlanId } return 0 } func (x *CreateNSUserPlanRequest) GetDayFrom() string { if x != nil { return x.DayFrom } return "" } func (x *CreateNSUserPlanRequest) GetDayTo() string { if x != nil { return x.DayTo } return "" } func (x *CreateNSUserPlanRequest) GetPeriodUnit() string { if x != nil { return x.PeriodUnit } return "" } type CreateNSUserPlanResponse struct { state protoimpl.MessageState `protogen:"open.v1"` NsUserPlanId int64 `protobuf:"varint,1,opt,name=nsUserPlanId,proto3" json:"nsUserPlanId,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateNSUserPlanResponse) Reset() { *x = CreateNSUserPlanResponse{} mi := &file_service_ns_user_plan_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateNSUserPlanResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateNSUserPlanResponse) ProtoMessage() {} func (x *CreateNSUserPlanResponse) ProtoReflect() protoreflect.Message { mi := &file_service_ns_user_plan_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 CreateNSUserPlanResponse.ProtoReflect.Descriptor instead. func (*CreateNSUserPlanResponse) Descriptor() ([]byte, []int) { return file_service_ns_user_plan_proto_rawDescGZIP(), []int{1} } func (x *CreateNSUserPlanResponse) GetNsUserPlanId() int64 { if x != nil { return x.NsUserPlanId } return 0 } // 修改用户套餐 type UpdateNSUserPlanRequest struct { state protoimpl.MessageState `protogen:"open.v1"` NsUserPlanId int64 `protobuf:"varint,1,opt,name=nsUserPlanId,proto3" json:"nsUserPlanId,omitempty"` NsPlanId int64 `protobuf:"varint,2,opt,name=nsPlanId,proto3" json:"nsPlanId,omitempty"` DayFrom string `protobuf:"bytes,3,opt,name=dayFrom,proto3" json:"dayFrom,omitempty"` // YYYYMMDD DayTo string `protobuf:"bytes,4,opt,name=dayTo,proto3" json:"dayTo,omitempty"` // YYYYMMDD PeriodUnit string `protobuf:"bytes,5,opt,name=periodUnit,proto3" json:"periodUnit,omitempty"` // yearly|monthly unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateNSUserPlanRequest) Reset() { *x = UpdateNSUserPlanRequest{} mi := &file_service_ns_user_plan_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateNSUserPlanRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateNSUserPlanRequest) ProtoMessage() {} func (x *UpdateNSUserPlanRequest) ProtoReflect() protoreflect.Message { mi := &file_service_ns_user_plan_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 UpdateNSUserPlanRequest.ProtoReflect.Descriptor instead. func (*UpdateNSUserPlanRequest) Descriptor() ([]byte, []int) { return file_service_ns_user_plan_proto_rawDescGZIP(), []int{2} } func (x *UpdateNSUserPlanRequest) GetNsUserPlanId() int64 { if x != nil { return x.NsUserPlanId } return 0 } func (x *UpdateNSUserPlanRequest) GetNsPlanId() int64 { if x != nil { return x.NsPlanId } return 0 } func (x *UpdateNSUserPlanRequest) GetDayFrom() string { if x != nil { return x.DayFrom } return "" } func (x *UpdateNSUserPlanRequest) GetDayTo() string { if x != nil { return x.DayTo } return "" } func (x *UpdateNSUserPlanRequest) GetPeriodUnit() string { if x != nil { return x.PeriodUnit } return "" } // 删除用户套餐 type DeleteNSUserPlanRequest struct { state protoimpl.MessageState `protogen:"open.v1"` NsUserPlanId int64 `protobuf:"varint,1,opt,name=nsUserPlanId,proto3" json:"nsUserPlanId,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DeleteNSUserPlanRequest) Reset() { *x = DeleteNSUserPlanRequest{} mi := &file_service_ns_user_plan_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeleteNSUserPlanRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteNSUserPlanRequest) ProtoMessage() {} func (x *DeleteNSUserPlanRequest) ProtoReflect() protoreflect.Message { mi := &file_service_ns_user_plan_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 DeleteNSUserPlanRequest.ProtoReflect.Descriptor instead. func (*DeleteNSUserPlanRequest) Descriptor() ([]byte, []int) { return file_service_ns_user_plan_proto_rawDescGZIP(), []int{3} } func (x *DeleteNSUserPlanRequest) GetNsUserPlanId() int64 { if x != nil { return x.NsUserPlanId } return 0 } // 读取用户套餐 type FindNSUserPlanRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` // 和 nsUserPlanId 二选一 NsUserPlanId int64 `protobuf:"varint,2,opt,name=nsUserPlanId,proto3" json:"nsUserPlanId,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FindNSUserPlanRequest) Reset() { *x = FindNSUserPlanRequest{} mi := &file_service_ns_user_plan_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FindNSUserPlanRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindNSUserPlanRequest) ProtoMessage() {} func (x *FindNSUserPlanRequest) ProtoReflect() protoreflect.Message { mi := &file_service_ns_user_plan_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 FindNSUserPlanRequest.ProtoReflect.Descriptor instead. func (*FindNSUserPlanRequest) Descriptor() ([]byte, []int) { return file_service_ns_user_plan_proto_rawDescGZIP(), []int{4} } func (x *FindNSUserPlanRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *FindNSUserPlanRequest) GetNsUserPlanId() int64 { if x != nil { return x.NsUserPlanId } return 0 } type FindNSUserPlanResponse struct { state protoimpl.MessageState `protogen:"open.v1"` NsUserPlan *NSUserPlan `protobuf:"bytes,1,opt,name=nsUserPlan,proto3" json:"nsUserPlan,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FindNSUserPlanResponse) Reset() { *x = FindNSUserPlanResponse{} mi := &file_service_ns_user_plan_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FindNSUserPlanResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindNSUserPlanResponse) ProtoMessage() {} func (x *FindNSUserPlanResponse) ProtoReflect() protoreflect.Message { mi := &file_service_ns_user_plan_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 FindNSUserPlanResponse.ProtoReflect.Descriptor instead. func (*FindNSUserPlanResponse) Descriptor() ([]byte, []int) { return file_service_ns_user_plan_proto_rawDescGZIP(), []int{5} } func (x *FindNSUserPlanResponse) GetNsUserPlan() *NSUserPlan { if x != nil { return x.NsUserPlan } return nil } // 计算用户套餐数量 type CountNSUserPlansRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` NsPlanId int64 `protobuf:"varint,2,opt,name=nsPlanId,proto3" json:"nsPlanId,omitempty"` PeriodUnit string `protobuf:"bytes,3,opt,name=periodUnit,proto3" json:"periodUnit,omitempty"` IsExpired bool `protobuf:"varint,4,opt,name=isExpired,proto3" json:"isExpired,omitempty"` ExpireDays int32 `protobuf:"varint,5,opt,name=expireDays,proto3" json:"expireDays,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CountNSUserPlansRequest) Reset() { *x = CountNSUserPlansRequest{} mi := &file_service_ns_user_plan_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CountNSUserPlansRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CountNSUserPlansRequest) ProtoMessage() {} func (x *CountNSUserPlansRequest) ProtoReflect() protoreflect.Message { mi := &file_service_ns_user_plan_proto_msgTypes[6] 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 CountNSUserPlansRequest.ProtoReflect.Descriptor instead. func (*CountNSUserPlansRequest) Descriptor() ([]byte, []int) { return file_service_ns_user_plan_proto_rawDescGZIP(), []int{6} } func (x *CountNSUserPlansRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *CountNSUserPlansRequest) GetNsPlanId() int64 { if x != nil { return x.NsPlanId } return 0 } func (x *CountNSUserPlansRequest) GetPeriodUnit() string { if x != nil { return x.PeriodUnit } return "" } func (x *CountNSUserPlansRequest) GetIsExpired() bool { if x != nil { return x.IsExpired } return false } func (x *CountNSUserPlansRequest) GetExpireDays() int32 { if x != nil { return x.ExpireDays } return 0 } // 列出单页套餐 type ListNSUserPlansRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` NsPlanId int64 `protobuf:"varint,2,opt,name=nsPlanId,proto3" json:"nsPlanId,omitempty"` PeriodUnit string `protobuf:"bytes,3,opt,name=periodUnit,proto3" json:"periodUnit,omitempty"` IsExpired bool `protobuf:"varint,4,opt,name=isExpired,proto3" json:"isExpired,omitempty"` ExpireDays int32 `protobuf:"varint,5,opt,name=expireDays,proto3" json:"expireDays,omitempty"` Offset int64 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"` Size int64 `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListNSUserPlansRequest) Reset() { *x = ListNSUserPlansRequest{} mi := &file_service_ns_user_plan_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListNSUserPlansRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListNSUserPlansRequest) ProtoMessage() {} func (x *ListNSUserPlansRequest) ProtoReflect() protoreflect.Message { mi := &file_service_ns_user_plan_proto_msgTypes[7] 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 ListNSUserPlansRequest.ProtoReflect.Descriptor instead. func (*ListNSUserPlansRequest) Descriptor() ([]byte, []int) { return file_service_ns_user_plan_proto_rawDescGZIP(), []int{7} } func (x *ListNSUserPlansRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *ListNSUserPlansRequest) GetNsPlanId() int64 { if x != nil { return x.NsPlanId } return 0 } func (x *ListNSUserPlansRequest) GetPeriodUnit() string { if x != nil { return x.PeriodUnit } return "" } func (x *ListNSUserPlansRequest) GetIsExpired() bool { if x != nil { return x.IsExpired } return false } func (x *ListNSUserPlansRequest) GetExpireDays() int32 { if x != nil { return x.ExpireDays } return 0 } func (x *ListNSUserPlansRequest) GetOffset() int64 { if x != nil { return x.Offset } return 0 } func (x *ListNSUserPlansRequest) GetSize() int64 { if x != nil { return x.Size } return 0 } type ListNSUserPlansResponse struct { state protoimpl.MessageState `protogen:"open.v1"` NsUserPlans []*NSUserPlan `protobuf:"bytes,1,rep,name=nsUserPlans,proto3" json:"nsUserPlans,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListNSUserPlansResponse) Reset() { *x = ListNSUserPlansResponse{} mi := &file_service_ns_user_plan_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListNSUserPlansResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListNSUserPlansResponse) ProtoMessage() {} func (x *ListNSUserPlansResponse) ProtoReflect() protoreflect.Message { mi := &file_service_ns_user_plan_proto_msgTypes[8] 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 ListNSUserPlansResponse.ProtoReflect.Descriptor instead. func (*ListNSUserPlansResponse) Descriptor() ([]byte, []int) { return file_service_ns_user_plan_proto_rawDescGZIP(), []int{8} } func (x *ListNSUserPlansResponse) GetNsUserPlans() []*NSUserPlan { if x != nil { return x.NsUserPlans } return nil } // 使用余额购买用户套餐 type BuyNSUserPlanRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` PlanId int64 `protobuf:"varint,2,opt,name=planId,proto3" json:"planId,omitempty"` Period string `protobuf:"bytes,3,opt,name=period,proto3" json:"period,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BuyNSUserPlanRequest) Reset() { *x = BuyNSUserPlanRequest{} mi := &file_service_ns_user_plan_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BuyNSUserPlanRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*BuyNSUserPlanRequest) ProtoMessage() {} func (x *BuyNSUserPlanRequest) ProtoReflect() protoreflect.Message { mi := &file_service_ns_user_plan_proto_msgTypes[9] 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 BuyNSUserPlanRequest.ProtoReflect.Descriptor instead. func (*BuyNSUserPlanRequest) Descriptor() ([]byte, []int) { return file_service_ns_user_plan_proto_rawDescGZIP(), []int{9} } func (x *BuyNSUserPlanRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *BuyNSUserPlanRequest) GetPlanId() int64 { if x != nil { return x.PlanId } return 0 } func (x *BuyNSUserPlanRequest) GetPeriod() string { if x != nil { return x.Period } return "" } type BuyNSUserPlanResponse struct { state protoimpl.MessageState `protogen:"open.v1"` UserPlanId int64 `protobuf:"varint,1,opt,name=userPlanId,proto3" json:"userPlanId,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BuyNSUserPlanResponse) Reset() { *x = BuyNSUserPlanResponse{} mi := &file_service_ns_user_plan_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BuyNSUserPlanResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*BuyNSUserPlanResponse) ProtoMessage() {} func (x *BuyNSUserPlanResponse) ProtoReflect() protoreflect.Message { mi := &file_service_ns_user_plan_proto_msgTypes[10] 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 BuyNSUserPlanResponse.ProtoReflect.Descriptor instead. func (*BuyNSUserPlanResponse) Descriptor() ([]byte, []int) { return file_service_ns_user_plan_proto_rawDescGZIP(), []int{10} } func (x *BuyNSUserPlanResponse) GetUserPlanId() int64 { if x != nil { return x.UserPlanId } return 0 } var File_service_ns_user_plan_proto protoreflect.FileDescriptor const file_service_ns_user_plan_proto_rawDesc = "" + "\n" + "\x1aservice_ns_user_plan.proto\x12\x02pb\x1a\x1fmodels/model_ns_user_plan.proto\x1a\x19models/rpc_messages.proto\"\x9d\x01\n" + "\x17CreateNSUserPlanRequest\x12\x16\n" + "\x06userId\x18\x01 \x01(\x03R\x06userId\x12\x1a\n" + "\bnsPlanId\x18\x02 \x01(\x03R\bnsPlanId\x12\x18\n" + "\adayFrom\x18\x03 \x01(\tR\adayFrom\x12\x14\n" + "\x05dayTo\x18\x04 \x01(\tR\x05dayTo\x12\x1e\n" + "\n" + "periodUnit\x18\x05 \x01(\tR\n" + "periodUnit\">\n" + "\x18CreateNSUserPlanResponse\x12\"\n" + "\fnsUserPlanId\x18\x01 \x01(\x03R\fnsUserPlanId\"\xa9\x01\n" + "\x17UpdateNSUserPlanRequest\x12\"\n" + "\fnsUserPlanId\x18\x01 \x01(\x03R\fnsUserPlanId\x12\x1a\n" + "\bnsPlanId\x18\x02 \x01(\x03R\bnsPlanId\x12\x18\n" + "\adayFrom\x18\x03 \x01(\tR\adayFrom\x12\x14\n" + "\x05dayTo\x18\x04 \x01(\tR\x05dayTo\x12\x1e\n" + "\n" + "periodUnit\x18\x05 \x01(\tR\n" + "periodUnit\"=\n" + "\x17DeleteNSUserPlanRequest\x12\"\n" + "\fnsUserPlanId\x18\x01 \x01(\x03R\fnsUserPlanId\"S\n" + "\x15FindNSUserPlanRequest\x12\x16\n" + "\x06userId\x18\x01 \x01(\x03R\x06userId\x12\"\n" + "\fnsUserPlanId\x18\x02 \x01(\x03R\fnsUserPlanId\"H\n" + "\x16FindNSUserPlanResponse\x12.\n" + "\n" + "nsUserPlan\x18\x01 \x01(\v2\x0e.pb.NSUserPlanR\n" + "nsUserPlan\"\xab\x01\n" + "\x17CountNSUserPlansRequest\x12\x16\n" + "\x06userId\x18\x01 \x01(\x03R\x06userId\x12\x1a\n" + "\bnsPlanId\x18\x02 \x01(\x03R\bnsPlanId\x12\x1e\n" + "\n" + "periodUnit\x18\x03 \x01(\tR\n" + "periodUnit\x12\x1c\n" + "\tisExpired\x18\x04 \x01(\bR\tisExpired\x12\x1e\n" + "\n" + "expireDays\x18\x05 \x01(\x05R\n" + "expireDays\"\xd6\x01\n" + "\x16ListNSUserPlansRequest\x12\x16\n" + "\x06userId\x18\x01 \x01(\x03R\x06userId\x12\x1a\n" + "\bnsPlanId\x18\x02 \x01(\x03R\bnsPlanId\x12\x1e\n" + "\n" + "periodUnit\x18\x03 \x01(\tR\n" + "periodUnit\x12\x1c\n" + "\tisExpired\x18\x04 \x01(\bR\tisExpired\x12\x1e\n" + "\n" + "expireDays\x18\x05 \x01(\x05R\n" + "expireDays\x12\x16\n" + "\x06offset\x18\x06 \x01(\x03R\x06offset\x12\x12\n" + "\x04size\x18\a \x01(\x03R\x04size\"K\n" + "\x17ListNSUserPlansResponse\x120\n" + "\vnsUserPlans\x18\x01 \x03(\v2\x0e.pb.NSUserPlanR\vnsUserPlans\"^\n" + "\x14BuyNSUserPlanRequest\x12\x16\n" + "\x06userId\x18\x01 \x01(\x03R\x06userId\x12\x16\n" + "\x06planId\x18\x02 \x01(\x03R\x06planId\x12\x16\n" + "\x06period\x18\x03 \x01(\tR\x06period\"7\n" + "\x15BuyNSUserPlanResponse\x12\x1e\n" + "\n" + "userPlanId\x18\x01 \x01(\x03R\n" + "userPlanId2\x86\x04\n" + "\x11NSUserPlanService\x12M\n" + "\x10createNSUserPlan\x12\x1b.pb.CreateNSUserPlanRequest\x1a\x1c.pb.CreateNSUserPlanResponse\x12?\n" + "\x10updateNSUserPlan\x12\x1b.pb.UpdateNSUserPlanRequest\x1a\x0e.pb.RPCSuccess\x12?\n" + "\x10deleteNSUserPlan\x12\x1b.pb.DeleteNSUserPlanRequest\x1a\x0e.pb.RPCSuccess\x12G\n" + "\x0efindNSUserPlan\x12\x19.pb.FindNSUserPlanRequest\x1a\x1a.pb.FindNSUserPlanResponse\x12E\n" + "\x10countNSUserPlans\x12\x1b.pb.CountNSUserPlansRequest\x1a\x14.pb.RPCCountResponse\x12J\n" + "\x0flistNSUserPlans\x12\x1a.pb.ListNSUserPlansRequest\x1a\x1b.pb.ListNSUserPlansResponse\x12D\n" + "\rbuyNSUserPlan\x12\x18.pb.BuyNSUserPlanRequest\x1a\x19.pb.BuyNSUserPlanResponseB\x06Z\x04./pbb\x06proto3" var ( file_service_ns_user_plan_proto_rawDescOnce sync.Once file_service_ns_user_plan_proto_rawDescData []byte ) func file_service_ns_user_plan_proto_rawDescGZIP() []byte { file_service_ns_user_plan_proto_rawDescOnce.Do(func() { file_service_ns_user_plan_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_ns_user_plan_proto_rawDesc), len(file_service_ns_user_plan_proto_rawDesc))) }) return file_service_ns_user_plan_proto_rawDescData } var file_service_ns_user_plan_proto_msgTypes = make([]protoimpl.MessageInfo, 11) var file_service_ns_user_plan_proto_goTypes = []any{ (*CreateNSUserPlanRequest)(nil), // 0: pb.CreateNSUserPlanRequest (*CreateNSUserPlanResponse)(nil), // 1: pb.CreateNSUserPlanResponse (*UpdateNSUserPlanRequest)(nil), // 2: pb.UpdateNSUserPlanRequest (*DeleteNSUserPlanRequest)(nil), // 3: pb.DeleteNSUserPlanRequest (*FindNSUserPlanRequest)(nil), // 4: pb.FindNSUserPlanRequest (*FindNSUserPlanResponse)(nil), // 5: pb.FindNSUserPlanResponse (*CountNSUserPlansRequest)(nil), // 6: pb.CountNSUserPlansRequest (*ListNSUserPlansRequest)(nil), // 7: pb.ListNSUserPlansRequest (*ListNSUserPlansResponse)(nil), // 8: pb.ListNSUserPlansResponse (*BuyNSUserPlanRequest)(nil), // 9: pb.BuyNSUserPlanRequest (*BuyNSUserPlanResponse)(nil), // 10: pb.BuyNSUserPlanResponse (*NSUserPlan)(nil), // 11: pb.NSUserPlan (*RPCSuccess)(nil), // 12: pb.RPCSuccess (*RPCCountResponse)(nil), // 13: pb.RPCCountResponse } var file_service_ns_user_plan_proto_depIdxs = []int32{ 11, // 0: pb.FindNSUserPlanResponse.nsUserPlan:type_name -> pb.NSUserPlan 11, // 1: pb.ListNSUserPlansResponse.nsUserPlans:type_name -> pb.NSUserPlan 0, // 2: pb.NSUserPlanService.createNSUserPlan:input_type -> pb.CreateNSUserPlanRequest 2, // 3: pb.NSUserPlanService.updateNSUserPlan:input_type -> pb.UpdateNSUserPlanRequest 3, // 4: pb.NSUserPlanService.deleteNSUserPlan:input_type -> pb.DeleteNSUserPlanRequest 4, // 5: pb.NSUserPlanService.findNSUserPlan:input_type -> pb.FindNSUserPlanRequest 6, // 6: pb.NSUserPlanService.countNSUserPlans:input_type -> pb.CountNSUserPlansRequest 7, // 7: pb.NSUserPlanService.listNSUserPlans:input_type -> pb.ListNSUserPlansRequest 9, // 8: pb.NSUserPlanService.buyNSUserPlan:input_type -> pb.BuyNSUserPlanRequest 1, // 9: pb.NSUserPlanService.createNSUserPlan:output_type -> pb.CreateNSUserPlanResponse 12, // 10: pb.NSUserPlanService.updateNSUserPlan:output_type -> pb.RPCSuccess 12, // 11: pb.NSUserPlanService.deleteNSUserPlan:output_type -> pb.RPCSuccess 5, // 12: pb.NSUserPlanService.findNSUserPlan:output_type -> pb.FindNSUserPlanResponse 13, // 13: pb.NSUserPlanService.countNSUserPlans:output_type -> pb.RPCCountResponse 8, // 14: pb.NSUserPlanService.listNSUserPlans:output_type -> pb.ListNSUserPlansResponse 10, // 15: pb.NSUserPlanService.buyNSUserPlan:output_type -> pb.BuyNSUserPlanResponse 9, // [9:16] is the sub-list for method output_type 2, // [2:9] 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_service_ns_user_plan_proto_init() } func file_service_ns_user_plan_proto_init() { if File_service_ns_user_plan_proto != nil { return } file_models_model_ns_user_plan_proto_init() file_models_rpc_messages_proto_init() type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_ns_user_plan_proto_rawDesc), len(file_service_ns_user_plan_proto_rawDesc)), NumEnums: 0, NumMessages: 11, NumExtensions: 0, NumServices: 1, }, GoTypes: file_service_ns_user_plan_proto_goTypes, DependencyIndexes: file_service_ns_user_plan_proto_depIdxs, MessageInfos: file_service_ns_user_plan_proto_msgTypes, }.Build() File_service_ns_user_plan_proto = out.File file_service_ns_user_plan_proto_goTypes = nil file_service_ns_user_plan_proto_depIdxs = nil }