// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v3.19.6 // source: service_ad_package_price.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 UpdateADPackagePriceRequest struct { state protoimpl.MessageState `protogen:"open.v1"` AdPackageId int64 `protobuf:"varint,1,opt,name=adPackageId,proto3" json:"adPackageId,omitempty"` AdPackagePeriodId int64 `protobuf:"varint,2,opt,name=adPackagePeriodId,proto3" json:"adPackagePeriodId,omitempty"` Price float64 `protobuf:"fixed64,3,opt,name=price,proto3" json:"price,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateADPackagePriceRequest) Reset() { *x = UpdateADPackagePriceRequest{} mi := &file_service_ad_package_price_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateADPackagePriceRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateADPackagePriceRequest) ProtoMessage() {} func (x *UpdateADPackagePriceRequest) ProtoReflect() protoreflect.Message { mi := &file_service_ad_package_price_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 UpdateADPackagePriceRequest.ProtoReflect.Descriptor instead. func (*UpdateADPackagePriceRequest) Descriptor() ([]byte, []int) { return file_service_ad_package_price_proto_rawDescGZIP(), []int{0} } func (x *UpdateADPackagePriceRequest) GetAdPackageId() int64 { if x != nil { return x.AdPackageId } return 0 } func (x *UpdateADPackagePriceRequest) GetAdPackagePeriodId() int64 { if x != nil { return x.AdPackagePeriodId } return 0 } func (x *UpdateADPackagePriceRequest) GetPrice() float64 { if x != nil { return x.Price } return 0 } // 获取单个高防产品具体价格 type FindADPackagePriceRequest struct { state protoimpl.MessageState `protogen:"open.v1"` AdPackageId int64 `protobuf:"varint,1,opt,name=adPackageId,proto3" json:"adPackageId,omitempty"` AdPackagePeriodId int64 `protobuf:"varint,2,opt,name=adPackagePeriodId,proto3" json:"adPackagePeriodId,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FindADPackagePriceRequest) Reset() { *x = FindADPackagePriceRequest{} mi := &file_service_ad_package_price_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FindADPackagePriceRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindADPackagePriceRequest) ProtoMessage() {} func (x *FindADPackagePriceRequest) ProtoReflect() protoreflect.Message { mi := &file_service_ad_package_price_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 FindADPackagePriceRequest.ProtoReflect.Descriptor instead. func (*FindADPackagePriceRequest) Descriptor() ([]byte, []int) { return file_service_ad_package_price_proto_rawDescGZIP(), []int{1} } func (x *FindADPackagePriceRequest) GetAdPackageId() int64 { if x != nil { return x.AdPackageId } return 0 } func (x *FindADPackagePriceRequest) GetAdPackagePeriodId() int64 { if x != nil { return x.AdPackagePeriodId } return 0 } func (x *FindADPackagePriceRequest) GetCount() int32 { if x != nil { return x.Count } return 0 } type FindADPackagePriceResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Price float64 `protobuf:"fixed64,1,opt,name=price,proto3" json:"price,omitempty"` // 单价 Amount float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"` // 总价 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FindADPackagePriceResponse) Reset() { *x = FindADPackagePriceResponse{} mi := &file_service_ad_package_price_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FindADPackagePriceResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindADPackagePriceResponse) ProtoMessage() {} func (x *FindADPackagePriceResponse) ProtoReflect() protoreflect.Message { mi := &file_service_ad_package_price_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 FindADPackagePriceResponse.ProtoReflect.Descriptor instead. func (*FindADPackagePriceResponse) Descriptor() ([]byte, []int) { return file_service_ad_package_price_proto_rawDescGZIP(), []int{2} } func (x *FindADPackagePriceResponse) GetPrice() float64 { if x != nil { return x.Price } return 0 } func (x *FindADPackagePriceResponse) GetAmount() float64 { if x != nil { return x.Amount } return 0 } // 计算高防产品价格项数量 type CountADPackagePricesRequest struct { state protoimpl.MessageState `protogen:"open.v1"` AdPackageId int64 `protobuf:"varint,1,opt,name=adPackageId,proto3" json:"adPackageId,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CountADPackagePricesRequest) Reset() { *x = CountADPackagePricesRequest{} mi := &file_service_ad_package_price_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CountADPackagePricesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CountADPackagePricesRequest) ProtoMessage() {} func (x *CountADPackagePricesRequest) ProtoReflect() protoreflect.Message { mi := &file_service_ad_package_price_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 CountADPackagePricesRequest.ProtoReflect.Descriptor instead. func (*CountADPackagePricesRequest) Descriptor() ([]byte, []int) { return file_service_ad_package_price_proto_rawDescGZIP(), []int{3} } func (x *CountADPackagePricesRequest) GetAdPackageId() int64 { if x != nil { return x.AdPackageId } return 0 } // 查找高防产品价格 type FindADPackagePricesRequest struct { state protoimpl.MessageState `protogen:"open.v1"` AdPackageId int64 `protobuf:"varint,1,opt,name=adPackageId,proto3" json:"adPackageId,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FindADPackagePricesRequest) Reset() { *x = FindADPackagePricesRequest{} mi := &file_service_ad_package_price_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FindADPackagePricesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindADPackagePricesRequest) ProtoMessage() {} func (x *FindADPackagePricesRequest) ProtoReflect() protoreflect.Message { mi := &file_service_ad_package_price_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 FindADPackagePricesRequest.ProtoReflect.Descriptor instead. func (*FindADPackagePricesRequest) Descriptor() ([]byte, []int) { return file_service_ad_package_price_proto_rawDescGZIP(), []int{4} } func (x *FindADPackagePricesRequest) GetAdPackageId() int64 { if x != nil { return x.AdPackageId } return 0 } type FindADPackagePricesResponse struct { state protoimpl.MessageState `protogen:"open.v1"` AdPackagePrices []*ADPackagePrice `protobuf:"bytes,1,rep,name=adPackagePrices,proto3" json:"adPackagePrices,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FindADPackagePricesResponse) Reset() { *x = FindADPackagePricesResponse{} mi := &file_service_ad_package_price_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FindADPackagePricesResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindADPackagePricesResponse) ProtoMessage() {} func (x *FindADPackagePricesResponse) ProtoReflect() protoreflect.Message { mi := &file_service_ad_package_price_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 FindADPackagePricesResponse.ProtoReflect.Descriptor instead. func (*FindADPackagePricesResponse) Descriptor() ([]byte, []int) { return file_service_ad_package_price_proto_rawDescGZIP(), []int{5} } func (x *FindADPackagePricesResponse) GetAdPackagePrices() []*ADPackagePrice { if x != nil { return x.AdPackagePrices } return nil } // 查找所有高防产品价格 type FindAllADPackagePricesRequest struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FindAllADPackagePricesRequest) Reset() { *x = FindAllADPackagePricesRequest{} mi := &file_service_ad_package_price_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FindAllADPackagePricesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindAllADPackagePricesRequest) ProtoMessage() {} func (x *FindAllADPackagePricesRequest) ProtoReflect() protoreflect.Message { mi := &file_service_ad_package_price_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 FindAllADPackagePricesRequest.ProtoReflect.Descriptor instead. func (*FindAllADPackagePricesRequest) Descriptor() ([]byte, []int) { return file_service_ad_package_price_proto_rawDescGZIP(), []int{6} } type FindAllADPackagePricesResponse struct { state protoimpl.MessageState `protogen:"open.v1"` AdPackagePrices []*ADPackagePrice `protobuf:"bytes,1,rep,name=adPackagePrices,proto3" json:"adPackagePrices,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FindAllADPackagePricesResponse) Reset() { *x = FindAllADPackagePricesResponse{} mi := &file_service_ad_package_price_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FindAllADPackagePricesResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindAllADPackagePricesResponse) ProtoMessage() {} func (x *FindAllADPackagePricesResponse) ProtoReflect() protoreflect.Message { mi := &file_service_ad_package_price_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 FindAllADPackagePricesResponse.ProtoReflect.Descriptor instead. func (*FindAllADPackagePricesResponse) Descriptor() ([]byte, []int) { return file_service_ad_package_price_proto_rawDescGZIP(), []int{7} } func (x *FindAllADPackagePricesResponse) GetAdPackagePrices() []*ADPackagePrice { if x != nil { return x.AdPackagePrices } return nil } var File_service_ad_package_price_proto protoreflect.FileDescriptor const file_service_ad_package_price_proto_rawDesc = "" + "\n" + "\x1eservice_ad_package_price.proto\x12\x02pb\x1a#models/model_ad_package_price.proto\x1a\x19models/rpc_messages.proto\"\x83\x01\n" + "\x1bUpdateADPackagePriceRequest\x12 \n" + "\vadPackageId\x18\x01 \x01(\x03R\vadPackageId\x12,\n" + "\x11adPackagePeriodId\x18\x02 \x01(\x03R\x11adPackagePeriodId\x12\x14\n" + "\x05price\x18\x03 \x01(\x01R\x05price\"\x81\x01\n" + "\x19FindADPackagePriceRequest\x12 \n" + "\vadPackageId\x18\x01 \x01(\x03R\vadPackageId\x12,\n" + "\x11adPackagePeriodId\x18\x02 \x01(\x03R\x11adPackagePeriodId\x12\x14\n" + "\x05count\x18\x03 \x01(\x05R\x05count\"J\n" + "\x1aFindADPackagePriceResponse\x12\x14\n" + "\x05price\x18\x01 \x01(\x01R\x05price\x12\x16\n" + "\x06amount\x18\x02 \x01(\x01R\x06amount\"?\n" + "\x1bCountADPackagePricesRequest\x12 \n" + "\vadPackageId\x18\x01 \x01(\x03R\vadPackageId\">\n" + "\x1aFindADPackagePricesRequest\x12 \n" + "\vadPackageId\x18\x01 \x01(\x03R\vadPackageId\"[\n" + "\x1bFindADPackagePricesResponse\x12<\n" + "\x0fadPackagePrices\x18\x01 \x03(\v2\x12.pb.ADPackagePriceR\x0fadPackagePrices\"\x1f\n" + "\x1dFindAllADPackagePricesRequest\"^\n" + "\x1eFindAllADPackagePricesResponse\x12<\n" + "\x0fadPackagePrices\x18\x01 \x03(\v2\x12.pb.ADPackagePriceR\x0fadPackagePrices2\xbd\x03\n" + "\x15ADPackagePriceService\x12G\n" + "\x14updateADPackagePrice\x12\x1f.pb.UpdateADPackagePriceRequest\x1a\x0e.pb.RPCSuccess\x12S\n" + "\x12findADPackagePrice\x12\x1d.pb.FindADPackagePriceRequest\x1a\x1e.pb.FindADPackagePriceResponse\x12M\n" + "\x14countADPackagePrices\x12\x1f.pb.CountADPackagePricesRequest\x1a\x14.pb.RPCCountResponse\x12V\n" + "\x13findADPackagePrices\x12\x1e.pb.FindADPackagePricesRequest\x1a\x1f.pb.FindADPackagePricesResponse\x12_\n" + "\x16findAllADPackagePrices\x12!.pb.FindAllADPackagePricesRequest\x1a\".pb.FindAllADPackagePricesResponseB\x06Z\x04./pbb\x06proto3" var ( file_service_ad_package_price_proto_rawDescOnce sync.Once file_service_ad_package_price_proto_rawDescData []byte ) func file_service_ad_package_price_proto_rawDescGZIP() []byte { file_service_ad_package_price_proto_rawDescOnce.Do(func() { file_service_ad_package_price_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_ad_package_price_proto_rawDesc), len(file_service_ad_package_price_proto_rawDesc))) }) return file_service_ad_package_price_proto_rawDescData } var file_service_ad_package_price_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_service_ad_package_price_proto_goTypes = []any{ (*UpdateADPackagePriceRequest)(nil), // 0: pb.UpdateADPackagePriceRequest (*FindADPackagePriceRequest)(nil), // 1: pb.FindADPackagePriceRequest (*FindADPackagePriceResponse)(nil), // 2: pb.FindADPackagePriceResponse (*CountADPackagePricesRequest)(nil), // 3: pb.CountADPackagePricesRequest (*FindADPackagePricesRequest)(nil), // 4: pb.FindADPackagePricesRequest (*FindADPackagePricesResponse)(nil), // 5: pb.FindADPackagePricesResponse (*FindAllADPackagePricesRequest)(nil), // 6: pb.FindAllADPackagePricesRequest (*FindAllADPackagePricesResponse)(nil), // 7: pb.FindAllADPackagePricesResponse (*ADPackagePrice)(nil), // 8: pb.ADPackagePrice (*RPCSuccess)(nil), // 9: pb.RPCSuccess (*RPCCountResponse)(nil), // 10: pb.RPCCountResponse } var file_service_ad_package_price_proto_depIdxs = []int32{ 8, // 0: pb.FindADPackagePricesResponse.adPackagePrices:type_name -> pb.ADPackagePrice 8, // 1: pb.FindAllADPackagePricesResponse.adPackagePrices:type_name -> pb.ADPackagePrice 0, // 2: pb.ADPackagePriceService.updateADPackagePrice:input_type -> pb.UpdateADPackagePriceRequest 1, // 3: pb.ADPackagePriceService.findADPackagePrice:input_type -> pb.FindADPackagePriceRequest 3, // 4: pb.ADPackagePriceService.countADPackagePrices:input_type -> pb.CountADPackagePricesRequest 4, // 5: pb.ADPackagePriceService.findADPackagePrices:input_type -> pb.FindADPackagePricesRequest 6, // 6: pb.ADPackagePriceService.findAllADPackagePrices:input_type -> pb.FindAllADPackagePricesRequest 9, // 7: pb.ADPackagePriceService.updateADPackagePrice:output_type -> pb.RPCSuccess 2, // 8: pb.ADPackagePriceService.findADPackagePrice:output_type -> pb.FindADPackagePriceResponse 10, // 9: pb.ADPackagePriceService.countADPackagePrices:output_type -> pb.RPCCountResponse 5, // 10: pb.ADPackagePriceService.findADPackagePrices:output_type -> pb.FindADPackagePricesResponse 7, // 11: pb.ADPackagePriceService.findAllADPackagePrices:output_type -> pb.FindAllADPackagePricesResponse 7, // [7:12] is the sub-list for method output_type 2, // [2:7] 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_ad_package_price_proto_init() } func file_service_ad_package_price_proto_init() { if File_service_ad_package_price_proto != nil { return } file_models_model_ad_package_price_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_ad_package_price_proto_rawDesc), len(file_service_ad_package_price_proto_rawDesc)), NumEnums: 0, NumMessages: 8, NumExtensions: 0, NumServices: 1, }, GoTypes: file_service_ad_package_price_proto_goTypes, DependencyIndexes: file_service_ad_package_price_proto_depIdxs, MessageInfos: file_service_ad_package_price_proto_msgTypes, }.Build() File_service_ad_package_price_proto = out.File file_service_ad_package_price_proto_goTypes = nil file_service_ad_package_price_proto_depIdxs = nil }