github.com/Asutorufa/yuhaiin@v0.3.6-0.20240502055049-7984da7023a0/pkg/protos/statistic/grpc/config.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.34.0 4 // protoc v4.25.3 5 // source: statistic/grpc/config.proto 6 7 package service 8 9 import ( 10 statistic "github.com/Asutorufa/yuhaiin/pkg/protos/statistic" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 emptypb "google.golang.org/protobuf/types/known/emptypb" 14 reflect "reflect" 15 sync "sync" 16 ) 17 18 const ( 19 // Verify that this generated code is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 21 // Verify that runtime/protoimpl is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 23 ) 24 25 type TotalFlow struct { 26 state protoimpl.MessageState 27 sizeCache protoimpl.SizeCache 28 unknownFields protoimpl.UnknownFields 29 30 Download uint64 `protobuf:"varint,1,opt,name=download,proto3" json:"download,omitempty"` 31 Upload uint64 `protobuf:"varint,2,opt,name=upload,proto3" json:"upload,omitempty"` 32 } 33 34 func (x *TotalFlow) Reset() { 35 *x = TotalFlow{} 36 if protoimpl.UnsafeEnabled { 37 mi := &file_statistic_grpc_config_proto_msgTypes[0] 38 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 39 ms.StoreMessageInfo(mi) 40 } 41 } 42 43 func (x *TotalFlow) String() string { 44 return protoimpl.X.MessageStringOf(x) 45 } 46 47 func (*TotalFlow) ProtoMessage() {} 48 49 func (x *TotalFlow) ProtoReflect() protoreflect.Message { 50 mi := &file_statistic_grpc_config_proto_msgTypes[0] 51 if protoimpl.UnsafeEnabled && x != nil { 52 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 53 if ms.LoadMessageInfo() == nil { 54 ms.StoreMessageInfo(mi) 55 } 56 return ms 57 } 58 return mi.MessageOf(x) 59 } 60 61 // Deprecated: Use TotalFlow.ProtoReflect.Descriptor instead. 62 func (*TotalFlow) Descriptor() ([]byte, []int) { 63 return file_statistic_grpc_config_proto_rawDescGZIP(), []int{0} 64 } 65 66 func (x *TotalFlow) GetDownload() uint64 { 67 if x != nil { 68 return x.Download 69 } 70 return 0 71 } 72 73 func (x *TotalFlow) GetUpload() uint64 { 74 if x != nil { 75 return x.Upload 76 } 77 return 0 78 } 79 80 type NotifyData struct { 81 state protoimpl.MessageState 82 sizeCache protoimpl.SizeCache 83 unknownFields protoimpl.UnknownFields 84 85 // Types that are assignable to Data: 86 // 87 // *NotifyData_TotalFlow 88 // *NotifyData_NotifyNewConnections 89 // *NotifyData_NotifyRemoveConnections 90 Data isNotifyData_Data `protobuf_oneof:"data"` 91 } 92 93 func (x *NotifyData) Reset() { 94 *x = NotifyData{} 95 if protoimpl.UnsafeEnabled { 96 mi := &file_statistic_grpc_config_proto_msgTypes[1] 97 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 98 ms.StoreMessageInfo(mi) 99 } 100 } 101 102 func (x *NotifyData) String() string { 103 return protoimpl.X.MessageStringOf(x) 104 } 105 106 func (*NotifyData) ProtoMessage() {} 107 108 func (x *NotifyData) ProtoReflect() protoreflect.Message { 109 mi := &file_statistic_grpc_config_proto_msgTypes[1] 110 if protoimpl.UnsafeEnabled && x != nil { 111 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 112 if ms.LoadMessageInfo() == nil { 113 ms.StoreMessageInfo(mi) 114 } 115 return ms 116 } 117 return mi.MessageOf(x) 118 } 119 120 // Deprecated: Use NotifyData.ProtoReflect.Descriptor instead. 121 func (*NotifyData) Descriptor() ([]byte, []int) { 122 return file_statistic_grpc_config_proto_rawDescGZIP(), []int{1} 123 } 124 125 func (m *NotifyData) GetData() isNotifyData_Data { 126 if m != nil { 127 return m.Data 128 } 129 return nil 130 } 131 132 func (x *NotifyData) GetTotalFlow() *TotalFlow { 133 if x, ok := x.GetData().(*NotifyData_TotalFlow); ok { 134 return x.TotalFlow 135 } 136 return nil 137 } 138 139 func (x *NotifyData) GetNotifyNewConnections() *NotifyNewConnections { 140 if x, ok := x.GetData().(*NotifyData_NotifyNewConnections); ok { 141 return x.NotifyNewConnections 142 } 143 return nil 144 } 145 146 func (x *NotifyData) GetNotifyRemoveConnections() *NotifyRemoveConnections { 147 if x, ok := x.GetData().(*NotifyData_NotifyRemoveConnections); ok { 148 return x.NotifyRemoveConnections 149 } 150 return nil 151 } 152 153 type isNotifyData_Data interface { 154 isNotifyData_Data() 155 } 156 157 type NotifyData_TotalFlow struct { 158 TotalFlow *TotalFlow `protobuf:"bytes,3,opt,name=total_flow,json=totalFlow,proto3,oneof"` 159 } 160 161 type NotifyData_NotifyNewConnections struct { 162 NotifyNewConnections *NotifyNewConnections `protobuf:"bytes,1,opt,name=notify_new_connections,json=notifyNewConnections,proto3,oneof"` 163 } 164 165 type NotifyData_NotifyRemoveConnections struct { 166 NotifyRemoveConnections *NotifyRemoveConnections `protobuf:"bytes,2,opt,name=notify_remove_connections,json=notifyRemoveConnections,proto3,oneof"` 167 } 168 169 func (*NotifyData_TotalFlow) isNotifyData_Data() {} 170 171 func (*NotifyData_NotifyNewConnections) isNotifyData_Data() {} 172 173 func (*NotifyData_NotifyRemoveConnections) isNotifyData_Data() {} 174 175 type NotifyNewConnections struct { 176 state protoimpl.MessageState 177 sizeCache protoimpl.SizeCache 178 unknownFields protoimpl.UnknownFields 179 180 Connections []*statistic.Connection `protobuf:"bytes,1,rep,name=connections,proto3" json:"connections,omitempty"` 181 } 182 183 func (x *NotifyNewConnections) Reset() { 184 *x = NotifyNewConnections{} 185 if protoimpl.UnsafeEnabled { 186 mi := &file_statistic_grpc_config_proto_msgTypes[2] 187 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 188 ms.StoreMessageInfo(mi) 189 } 190 } 191 192 func (x *NotifyNewConnections) String() string { 193 return protoimpl.X.MessageStringOf(x) 194 } 195 196 func (*NotifyNewConnections) ProtoMessage() {} 197 198 func (x *NotifyNewConnections) ProtoReflect() protoreflect.Message { 199 mi := &file_statistic_grpc_config_proto_msgTypes[2] 200 if protoimpl.UnsafeEnabled && x != nil { 201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 202 if ms.LoadMessageInfo() == nil { 203 ms.StoreMessageInfo(mi) 204 } 205 return ms 206 } 207 return mi.MessageOf(x) 208 } 209 210 // Deprecated: Use NotifyNewConnections.ProtoReflect.Descriptor instead. 211 func (*NotifyNewConnections) Descriptor() ([]byte, []int) { 212 return file_statistic_grpc_config_proto_rawDescGZIP(), []int{2} 213 } 214 215 func (x *NotifyNewConnections) GetConnections() []*statistic.Connection { 216 if x != nil { 217 return x.Connections 218 } 219 return nil 220 } 221 222 type NotifyRemoveConnections struct { 223 state protoimpl.MessageState 224 sizeCache protoimpl.SizeCache 225 unknownFields protoimpl.UnknownFields 226 227 Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` 228 } 229 230 func (x *NotifyRemoveConnections) Reset() { 231 *x = NotifyRemoveConnections{} 232 if protoimpl.UnsafeEnabled { 233 mi := &file_statistic_grpc_config_proto_msgTypes[3] 234 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 235 ms.StoreMessageInfo(mi) 236 } 237 } 238 239 func (x *NotifyRemoveConnections) String() string { 240 return protoimpl.X.MessageStringOf(x) 241 } 242 243 func (*NotifyRemoveConnections) ProtoMessage() {} 244 245 func (x *NotifyRemoveConnections) ProtoReflect() protoreflect.Message { 246 mi := &file_statistic_grpc_config_proto_msgTypes[3] 247 if protoimpl.UnsafeEnabled && x != nil { 248 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 249 if ms.LoadMessageInfo() == nil { 250 ms.StoreMessageInfo(mi) 251 } 252 return ms 253 } 254 return mi.MessageOf(x) 255 } 256 257 // Deprecated: Use NotifyRemoveConnections.ProtoReflect.Descriptor instead. 258 func (*NotifyRemoveConnections) Descriptor() ([]byte, []int) { 259 return file_statistic_grpc_config_proto_rawDescGZIP(), []int{3} 260 } 261 262 func (x *NotifyRemoveConnections) GetIds() []uint64 { 263 if x != nil { 264 return x.Ids 265 } 266 return nil 267 } 268 269 var File_statistic_grpc_config_proto protoreflect.FileDescriptor 270 271 var file_statistic_grpc_config_proto_rawDesc = []byte{ 272 0x0a, 0x1b, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x2f, 0x67, 0x72, 0x70, 0x63, 273 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x79, 274 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x73, 0x74, 275 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 276 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 277 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x73, 0x74, 278 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 279 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x66, 0x6c, 280 0x6f, 0x77, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 281 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x16, 282 0x0a, 0x06, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 283 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xd1, 0x02, 0x0a, 0x0b, 0x6e, 0x6f, 0x74, 0x69, 0x66, 284 0x79, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 285 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x79, 0x75, 0x68, 286 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x73, 0x74, 0x61, 0x74, 287 0x69, 0x73, 0x74, 0x69, 0x63, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x6f, 288 0x74, 0x61, 0x6c, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x48, 0x00, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 289 0x6c, 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x70, 0x0a, 0x16, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 290 0x6e, 0x65, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 291 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 292 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 293 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 294 0x6e, 0x65, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 295 0x00, 0x52, 0x14, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x4e, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x6e, 296 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x79, 0x0a, 0x19, 0x6e, 0x6f, 0x74, 0x69, 0x66, 297 0x79, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 298 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x79, 0x75, 0x68, 299 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x73, 0x74, 0x61, 0x74, 300 0x69, 0x73, 0x74, 0x69, 0x63, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x6e, 0x6f, 301 0x74, 0x69, 0x66, 0x79, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 302 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x17, 0x6e, 0x6f, 0x74, 0x69, 0x66, 303 0x79, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 304 0x6e, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x59, 0x0a, 0x16, 0x6e, 0x6f, 305 0x74, 0x69, 0x66, 0x79, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 306 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 307 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x79, 0x75, 0x68, 0x61, 308 0x69, 0x69, 0x6e, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x2e, 0x63, 0x6f, 309 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 310 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x2d, 0x0a, 0x19, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 311 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 312 0x6e, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 313 0x03, 0x69, 0x64, 0x73, 0x32, 0xed, 0x02, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 314 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x59, 0x0a, 0x05, 0x63, 0x6f, 0x6e, 0x6e, 0x73, 0x12, 0x16, 0x2e, 315 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 316 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x38, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 317 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 318 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 319 0x6e, 0x65, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 320 0x61, 0x0a, 0x0a, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x12, 0x3b, 0x2e, 321 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x73, 322 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 323 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x63, 324 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 325 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 326 0x74, 0x79, 0x12, 0x4d, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x16, 0x2e, 0x67, 0x6f, 327 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 328 0x70, 0x74, 0x79, 0x1a, 0x2c, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 329 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x2e, 0x73, 330 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x66, 0x6c, 0x6f, 331 0x77, 0x12, 0x51, 0x0a, 0x06, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x12, 0x16, 0x2e, 0x67, 0x6f, 332 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 333 0x70, 0x74, 0x79, 0x1a, 0x2d, 0x2e, 0x79, 0x75, 0x68, 0x61, 0x69, 0x69, 0x6e, 0x2e, 0x70, 0x72, 334 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x2e, 0x73, 335 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 0x64, 0x61, 336 0x74, 0x61, 0x30, 0x01, 0x42, 0x3b, 0x5a, 0x39, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 337 0x6f, 0x6d, 0x2f, 0x41, 0x73, 0x75, 0x74, 0x6f, 0x72, 0x75, 0x66, 0x61, 0x2f, 0x79, 0x75, 0x68, 338 0x61, 0x69, 0x69, 0x6e, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 339 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 340 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 341 } 342 343 var ( 344 file_statistic_grpc_config_proto_rawDescOnce sync.Once 345 file_statistic_grpc_config_proto_rawDescData = file_statistic_grpc_config_proto_rawDesc 346 ) 347 348 func file_statistic_grpc_config_proto_rawDescGZIP() []byte { 349 file_statistic_grpc_config_proto_rawDescOnce.Do(func() { 350 file_statistic_grpc_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_statistic_grpc_config_proto_rawDescData) 351 }) 352 return file_statistic_grpc_config_proto_rawDescData 353 } 354 355 var file_statistic_grpc_config_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 356 var file_statistic_grpc_config_proto_goTypes = []interface{}{ 357 (*TotalFlow)(nil), // 0: yuhaiin.protos.statistic.service.total_flow 358 (*NotifyData)(nil), // 1: yuhaiin.protos.statistic.service.notify_data 359 (*NotifyNewConnections)(nil), // 2: yuhaiin.protos.statistic.service.notify_new_connections 360 (*NotifyRemoveConnections)(nil), // 3: yuhaiin.protos.statistic.service.notify_remove_connections 361 (*statistic.Connection)(nil), // 4: yuhaiin.statistic.connection 362 (*emptypb.Empty)(nil), // 5: google.protobuf.Empty 363 } 364 var file_statistic_grpc_config_proto_depIdxs = []int32{ 365 0, // 0: yuhaiin.protos.statistic.service.notify_data.total_flow:type_name -> yuhaiin.protos.statistic.service.total_flow 366 2, // 1: yuhaiin.protos.statistic.service.notify_data.notify_new_connections:type_name -> yuhaiin.protos.statistic.service.notify_new_connections 367 3, // 2: yuhaiin.protos.statistic.service.notify_data.notify_remove_connections:type_name -> yuhaiin.protos.statistic.service.notify_remove_connections 368 4, // 3: yuhaiin.protos.statistic.service.notify_new_connections.connections:type_name -> yuhaiin.statistic.connection 369 5, // 4: yuhaiin.protos.statistic.service.connections.conns:input_type -> google.protobuf.Empty 370 3, // 5: yuhaiin.protos.statistic.service.connections.close_conn:input_type -> yuhaiin.protos.statistic.service.notify_remove_connections 371 5, // 6: yuhaiin.protos.statistic.service.connections.total:input_type -> google.protobuf.Empty 372 5, // 7: yuhaiin.protos.statistic.service.connections.notify:input_type -> google.protobuf.Empty 373 2, // 8: yuhaiin.protos.statistic.service.connections.conns:output_type -> yuhaiin.protos.statistic.service.notify_new_connections 374 5, // 9: yuhaiin.protos.statistic.service.connections.close_conn:output_type -> google.protobuf.Empty 375 0, // 10: yuhaiin.protos.statistic.service.connections.total:output_type -> yuhaiin.protos.statistic.service.total_flow 376 1, // 11: yuhaiin.protos.statistic.service.connections.notify:output_type -> yuhaiin.protos.statistic.service.notify_data 377 8, // [8:12] is the sub-list for method output_type 378 4, // [4:8] is the sub-list for method input_type 379 4, // [4:4] is the sub-list for extension type_name 380 4, // [4:4] is the sub-list for extension extendee 381 0, // [0:4] is the sub-list for field type_name 382 } 383 384 func init() { file_statistic_grpc_config_proto_init() } 385 func file_statistic_grpc_config_proto_init() { 386 if File_statistic_grpc_config_proto != nil { 387 return 388 } 389 if !protoimpl.UnsafeEnabled { 390 file_statistic_grpc_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 391 switch v := v.(*TotalFlow); i { 392 case 0: 393 return &v.state 394 case 1: 395 return &v.sizeCache 396 case 2: 397 return &v.unknownFields 398 default: 399 return nil 400 } 401 } 402 file_statistic_grpc_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 403 switch v := v.(*NotifyData); i { 404 case 0: 405 return &v.state 406 case 1: 407 return &v.sizeCache 408 case 2: 409 return &v.unknownFields 410 default: 411 return nil 412 } 413 } 414 file_statistic_grpc_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 415 switch v := v.(*NotifyNewConnections); i { 416 case 0: 417 return &v.state 418 case 1: 419 return &v.sizeCache 420 case 2: 421 return &v.unknownFields 422 default: 423 return nil 424 } 425 } 426 file_statistic_grpc_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 427 switch v := v.(*NotifyRemoveConnections); i { 428 case 0: 429 return &v.state 430 case 1: 431 return &v.sizeCache 432 case 2: 433 return &v.unknownFields 434 default: 435 return nil 436 } 437 } 438 } 439 file_statistic_grpc_config_proto_msgTypes[1].OneofWrappers = []interface{}{ 440 (*NotifyData_TotalFlow)(nil), 441 (*NotifyData_NotifyNewConnections)(nil), 442 (*NotifyData_NotifyRemoveConnections)(nil), 443 } 444 type x struct{} 445 out := protoimpl.TypeBuilder{ 446 File: protoimpl.DescBuilder{ 447 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 448 RawDescriptor: file_statistic_grpc_config_proto_rawDesc, 449 NumEnums: 0, 450 NumMessages: 4, 451 NumExtensions: 0, 452 NumServices: 1, 453 }, 454 GoTypes: file_statistic_grpc_config_proto_goTypes, 455 DependencyIndexes: file_statistic_grpc_config_proto_depIdxs, 456 MessageInfos: file_statistic_grpc_config_proto_msgTypes, 457 }.Build() 458 File_statistic_grpc_config_proto = out.File 459 file_statistic_grpc_config_proto_rawDesc = nil 460 file_statistic_grpc_config_proto_goTypes = nil 461 file_statistic_grpc_config_proto_depIdxs = nil 462 }