// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v3.19.6 // source: service_user_traffic_bill.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 FindUserTrafficBillsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserBillId int64 `protobuf:"varint,1,opt,name=userBillId,proto3" json:"userBillId,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FindUserTrafficBillsRequest) Reset() { *x = FindUserTrafficBillsRequest{} mi := &file_service_user_traffic_bill_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FindUserTrafficBillsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindUserTrafficBillsRequest) ProtoMessage() {} func (x *FindUserTrafficBillsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_user_traffic_bill_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 FindUserTrafficBillsRequest.ProtoReflect.Descriptor instead. func (*FindUserTrafficBillsRequest) Descriptor() ([]byte, []int) { return file_service_user_traffic_bill_proto_rawDescGZIP(), []int{0} } func (x *FindUserTrafficBillsRequest) GetUserBillId() int64 { if x != nil { return x.UserBillId } return 0 } type FindUserTrafficBillsResponse struct { state protoimpl.MessageState `protogen:"open.v1"` UserTrafficBills []*UserTrafficBill `protobuf:"bytes,1,rep,name=userTrafficBills,proto3" json:"userTrafficBills,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FindUserTrafficBillsResponse) Reset() { *x = FindUserTrafficBillsResponse{} mi := &file_service_user_traffic_bill_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FindUserTrafficBillsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindUserTrafficBillsResponse) ProtoMessage() {} func (x *FindUserTrafficBillsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_user_traffic_bill_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 FindUserTrafficBillsResponse.ProtoReflect.Descriptor instead. func (*FindUserTrafficBillsResponse) Descriptor() ([]byte, []int) { return file_service_user_traffic_bill_proto_rawDescGZIP(), []int{1} } func (x *FindUserTrafficBillsResponse) GetUserTrafficBills() []*UserTrafficBill { if x != nil { return x.UserTrafficBills } return nil } var File_service_user_traffic_bill_proto protoreflect.FileDescriptor const file_service_user_traffic_bill_proto_rawDesc = "" + "\n" + "\x1fservice_user_traffic_bill.proto\x12\x02pb\x1a$models/model_user_traffic_bill.proto\"=\n" + "\x1bFindUserTrafficBillsRequest\x12\x1e\n" + "\n" + "userBillId\x18\x01 \x01(\x03R\n" + "userBillId\"_\n" + "\x1cFindUserTrafficBillsResponse\x12?\n" + "\x10userTrafficBills\x18\x01 \x03(\v2\x13.pb.UserTrafficBillR\x10userTrafficBills2s\n" + "\x16UserTrafficBillService\x12Y\n" + "\x14findUserTrafficBills\x12\x1f.pb.FindUserTrafficBillsRequest\x1a .pb.FindUserTrafficBillsResponseB\x06Z\x04./pbb\x06proto3" var ( file_service_user_traffic_bill_proto_rawDescOnce sync.Once file_service_user_traffic_bill_proto_rawDescData []byte ) func file_service_user_traffic_bill_proto_rawDescGZIP() []byte { file_service_user_traffic_bill_proto_rawDescOnce.Do(func() { file_service_user_traffic_bill_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_user_traffic_bill_proto_rawDesc), len(file_service_user_traffic_bill_proto_rawDesc))) }) return file_service_user_traffic_bill_proto_rawDescData } var file_service_user_traffic_bill_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_service_user_traffic_bill_proto_goTypes = []any{ (*FindUserTrafficBillsRequest)(nil), // 0: pb.FindUserTrafficBillsRequest (*FindUserTrafficBillsResponse)(nil), // 1: pb.FindUserTrafficBillsResponse (*UserTrafficBill)(nil), // 2: pb.UserTrafficBill } var file_service_user_traffic_bill_proto_depIdxs = []int32{ 2, // 0: pb.FindUserTrafficBillsResponse.userTrafficBills:type_name -> pb.UserTrafficBill 0, // 1: pb.UserTrafficBillService.findUserTrafficBills:input_type -> pb.FindUserTrafficBillsRequest 1, // 2: pb.UserTrafficBillService.findUserTrafficBills:output_type -> pb.FindUserTrafficBillsResponse 2, // [2:3] is the sub-list for method output_type 1, // [1:2] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name } func init() { file_service_user_traffic_bill_proto_init() } func file_service_user_traffic_bill_proto_init() { if File_service_user_traffic_bill_proto != nil { return } file_models_model_user_traffic_bill_proto_init() type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_user_traffic_bill_proto_rawDesc), len(file_service_user_traffic_bill_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 1, }, GoTypes: file_service_user_traffic_bill_proto_goTypes, DependencyIndexes: file_service_user_traffic_bill_proto_depIdxs, MessageInfos: file_service_user_traffic_bill_proto_msgTypes, }.Build() File_service_user_traffic_bill_proto = out.File file_service_user_traffic_bill_proto_goTypes = nil file_service_user_traffic_bill_proto_depIdxs = nil }