mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-16 06:40:26 +08:00
238 lines
9.3 KiB
Go
238 lines
9.3 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.31.0
|
||
// protoc v3.19.4
|
||
// source: service_traffic_daily_stat.proto
|
||
|
||
package pb
|
||
|
||
import (
|
||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
reflect "reflect"
|
||
sync "sync"
|
||
)
|
||
|
||
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 FindTrafficDailyStatWithDayRequest struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Day string `protobuf:"bytes,1,opt,name=day,proto3" json:"day,omitempty"` // YYYYMMDD
|
||
Minute string `protobuf:"bytes,2,opt,name=minute,proto3" json:"minute,omitempty"` // HHIISS,可选项
|
||
}
|
||
|
||
func (x *FindTrafficDailyStatWithDayRequest) Reset() {
|
||
*x = FindTrafficDailyStatWithDayRequest{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_service_traffic_daily_stat_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *FindTrafficDailyStatWithDayRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindTrafficDailyStatWithDayRequest) ProtoMessage() {}
|
||
|
||
func (x *FindTrafficDailyStatWithDayRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_traffic_daily_stat_proto_msgTypes[0]
|
||
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 FindTrafficDailyStatWithDayRequest.ProtoReflect.Descriptor instead.
|
||
func (*FindTrafficDailyStatWithDayRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_traffic_daily_stat_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *FindTrafficDailyStatWithDayRequest) GetDay() string {
|
||
if x != nil {
|
||
return x.Day
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *FindTrafficDailyStatWithDayRequest) GetMinute() string {
|
||
if x != nil {
|
||
return x.Minute
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type FindTrafficDailyStatWithDayResponse struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
TrafficDailyStat *TrafficDailyStat `protobuf:"bytes,1,opt,name=trafficDailyStat,proto3" json:"trafficDailyStat,omitempty"`
|
||
}
|
||
|
||
func (x *FindTrafficDailyStatWithDayResponse) Reset() {
|
||
*x = FindTrafficDailyStatWithDayResponse{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_service_traffic_daily_stat_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *FindTrafficDailyStatWithDayResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindTrafficDailyStatWithDayResponse) ProtoMessage() {}
|
||
|
||
func (x *FindTrafficDailyStatWithDayResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_traffic_daily_stat_proto_msgTypes[1]
|
||
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 FindTrafficDailyStatWithDayResponse.ProtoReflect.Descriptor instead.
|
||
func (*FindTrafficDailyStatWithDayResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_traffic_daily_stat_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *FindTrafficDailyStatWithDayResponse) GetTrafficDailyStat() *TrafficDailyStat {
|
||
if x != nil {
|
||
return x.TrafficDailyStat
|
||
}
|
||
return nil
|
||
}
|
||
|
||
var File_service_traffic_daily_stat_proto protoreflect.FileDescriptor
|
||
|
||
var file_service_traffic_daily_stat_proto_rawDesc = []byte{
|
||
0x0a, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69,
|
||
0x63, 0x5f, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f,
|
||
0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x25, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d,
|
||
0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x5f, 0x64, 0x61, 0x69,
|
||
0x6c, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a,
|
||
0x22, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x44, 0x61, 0x69, 0x6c,
|
||
0x79, 0x53, 0x74, 0x61, 0x74, 0x57, 0x69, 0x74, 0x68, 0x44, 0x61, 0x79, 0x52, 0x65, 0x71, 0x75,
|
||
0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||
0x52, 0x03, 0x64, 0x61, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x18,
|
||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x22, 0x67, 0x0a,
|
||
0x23, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x44, 0x61, 0x69, 0x6c,
|
||
0x79, 0x53, 0x74, 0x61, 0x74, 0x57, 0x69, 0x74, 0x68, 0x44, 0x61, 0x79, 0x52, 0x65, 0x73, 0x70,
|
||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x44,
|
||
0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
|
||
0x2e, 0x70, 0x62, 0x2e, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x44, 0x61, 0x69, 0x6c, 0x79,
|
||
0x53, 0x74, 0x61, 0x74, 0x52, 0x10, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x44, 0x61, 0x69,
|
||
0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x32, 0x89, 0x01, 0x0a, 0x17, 0x54, 0x72, 0x61, 0x66, 0x66,
|
||
0x69, 0x63, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69,
|
||
0x63, 0x65, 0x12, 0x6e, 0x0a, 0x1b, 0x66, 0x69, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69,
|
||
0x63, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x57, 0x69, 0x74, 0x68, 0x44, 0x61,
|
||
0x79, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x66, 0x66,
|
||
0x69, 0x63, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x57, 0x69, 0x74, 0x68, 0x44,
|
||
0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x46,
|
||
0x69, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53,
|
||
0x74, 0x61, 0x74, 0x57, 0x69, 0x74, 0x68, 0x44, 0x61, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||
0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
||
0x6f, 0x33,
|
||
}
|
||
|
||
var (
|
||
file_service_traffic_daily_stat_proto_rawDescOnce sync.Once
|
||
file_service_traffic_daily_stat_proto_rawDescData = file_service_traffic_daily_stat_proto_rawDesc
|
||
)
|
||
|
||
func file_service_traffic_daily_stat_proto_rawDescGZIP() []byte {
|
||
file_service_traffic_daily_stat_proto_rawDescOnce.Do(func() {
|
||
file_service_traffic_daily_stat_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_traffic_daily_stat_proto_rawDescData)
|
||
})
|
||
return file_service_traffic_daily_stat_proto_rawDescData
|
||
}
|
||
|
||
var file_service_traffic_daily_stat_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||
var file_service_traffic_daily_stat_proto_goTypes = []interface{}{
|
||
(*FindTrafficDailyStatWithDayRequest)(nil), // 0: pb.FindTrafficDailyStatWithDayRequest
|
||
(*FindTrafficDailyStatWithDayResponse)(nil), // 1: pb.FindTrafficDailyStatWithDayResponse
|
||
(*TrafficDailyStat)(nil), // 2: pb.TrafficDailyStat
|
||
}
|
||
var file_service_traffic_daily_stat_proto_depIdxs = []int32{
|
||
2, // 0: pb.FindTrafficDailyStatWithDayResponse.trafficDailyStat:type_name -> pb.TrafficDailyStat
|
||
0, // 1: pb.TrafficDailyStatService.findTrafficDailyStatWithDay:input_type -> pb.FindTrafficDailyStatWithDayRequest
|
||
1, // 2: pb.TrafficDailyStatService.findTrafficDailyStatWithDay:output_type -> pb.FindTrafficDailyStatWithDayResponse
|
||
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_traffic_daily_stat_proto_init() }
|
||
func file_service_traffic_daily_stat_proto_init() {
|
||
if File_service_traffic_daily_stat_proto != nil {
|
||
return
|
||
}
|
||
file_models_model_traffic_daily_stat_proto_init()
|
||
if !protoimpl.UnsafeEnabled {
|
||
file_service_traffic_daily_stat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*FindTrafficDailyStatWithDayRequest); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_service_traffic_daily_stat_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*FindTrafficDailyStatWithDayResponse); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
}
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: file_service_traffic_daily_stat_proto_rawDesc,
|
||
NumEnums: 0,
|
||
NumMessages: 2,
|
||
NumExtensions: 0,
|
||
NumServices: 1,
|
||
},
|
||
GoTypes: file_service_traffic_daily_stat_proto_goTypes,
|
||
DependencyIndexes: file_service_traffic_daily_stat_proto_depIdxs,
|
||
MessageInfos: file_service_traffic_daily_stat_proto_msgTypes,
|
||
}.Build()
|
||
File_service_traffic_daily_stat_proto = out.File
|
||
file_service_traffic_daily_stat_proto_rawDesc = nil
|
||
file_service_traffic_daily_stat_proto_goTypes = nil
|
||
file_service_traffic_daily_stat_proto_depIdxs = nil
|
||
}
|