config.pb.go 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. package stats
  2. import (
  3. proto "github.com/golang/protobuf/proto"
  4. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  5. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  6. reflect "reflect"
  7. sync "sync"
  8. )
  9. const (
  10. // Verify that this generated code is sufficiently up-to-date.
  11. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  12. // Verify that runtime/protoimpl is sufficiently up-to-date.
  13. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  14. )
  15. // This is a compile-time assertion that a sufficiently up-to-date version
  16. // of the legacy proto package is being used.
  17. const _ = proto.ProtoPackageIsVersion4
  18. type Config struct {
  19. state protoimpl.MessageState
  20. sizeCache protoimpl.SizeCache
  21. unknownFields protoimpl.UnknownFields
  22. }
  23. func (x *Config) Reset() {
  24. *x = Config{}
  25. if protoimpl.UnsafeEnabled {
  26. mi := &file_v2ray_com_core_app_stats_config_proto_msgTypes[0]
  27. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  28. ms.StoreMessageInfo(mi)
  29. }
  30. }
  31. func (x *Config) String() string {
  32. return protoimpl.X.MessageStringOf(x)
  33. }
  34. func (*Config) ProtoMessage() {}
  35. func (x *Config) ProtoReflect() protoreflect.Message {
  36. mi := &file_v2ray_com_core_app_stats_config_proto_msgTypes[0]
  37. if protoimpl.UnsafeEnabled && x != nil {
  38. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  39. if ms.LoadMessageInfo() == nil {
  40. ms.StoreMessageInfo(mi)
  41. }
  42. return ms
  43. }
  44. return mi.MessageOf(x)
  45. }
  46. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  47. func (*Config) Descriptor() ([]byte, []int) {
  48. return file_v2ray_com_core_app_stats_config_proto_rawDescGZIP(), []int{0}
  49. }
  50. var File_v2ray_com_core_app_stats_config_proto protoreflect.FileDescriptor
  51. var file_v2ray_com_core_app_stats_config_proto_rawDesc = []byte{
  52. 0x0a, 0x25, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x65,
  53. 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
  54. 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63,
  55. 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x22, 0x08, 0x0a,
  56. 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x3a, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x76,
  57. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74,
  58. 0x61, 0x74, 0x73, 0x50, 0x01, 0x5a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0xaa, 0x02, 0x14, 0x56,
  59. 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x53, 0x74,
  60. 0x61, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  61. }
  62. var (
  63. file_v2ray_com_core_app_stats_config_proto_rawDescOnce sync.Once
  64. file_v2ray_com_core_app_stats_config_proto_rawDescData = file_v2ray_com_core_app_stats_config_proto_rawDesc
  65. )
  66. func file_v2ray_com_core_app_stats_config_proto_rawDescGZIP() []byte {
  67. file_v2ray_com_core_app_stats_config_proto_rawDescOnce.Do(func() {
  68. file_v2ray_com_core_app_stats_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_v2ray_com_core_app_stats_config_proto_rawDescData)
  69. })
  70. return file_v2ray_com_core_app_stats_config_proto_rawDescData
  71. }
  72. var file_v2ray_com_core_app_stats_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  73. var file_v2ray_com_core_app_stats_config_proto_goTypes = []interface{}{
  74. (*Config)(nil), // 0: v2ray.core.app.stats.Config
  75. }
  76. var file_v2ray_com_core_app_stats_config_proto_depIdxs = []int32{
  77. 0, // [0:0] is the sub-list for method output_type
  78. 0, // [0:0] is the sub-list for method input_type
  79. 0, // [0:0] is the sub-list for extension type_name
  80. 0, // [0:0] is the sub-list for extension extendee
  81. 0, // [0:0] is the sub-list for field type_name
  82. }
  83. func init() { file_v2ray_com_core_app_stats_config_proto_init() }
  84. func file_v2ray_com_core_app_stats_config_proto_init() {
  85. if File_v2ray_com_core_app_stats_config_proto != nil {
  86. return
  87. }
  88. if !protoimpl.UnsafeEnabled {
  89. file_v2ray_com_core_app_stats_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  90. switch v := v.(*Config); i {
  91. case 0:
  92. return &v.state
  93. case 1:
  94. return &v.sizeCache
  95. case 2:
  96. return &v.unknownFields
  97. default:
  98. return nil
  99. }
  100. }
  101. }
  102. type x struct{}
  103. out := protoimpl.TypeBuilder{
  104. File: protoimpl.DescBuilder{
  105. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  106. RawDescriptor: file_v2ray_com_core_app_stats_config_proto_rawDesc,
  107. NumEnums: 0,
  108. NumMessages: 1,
  109. NumExtensions: 0,
  110. NumServices: 0,
  111. },
  112. GoTypes: file_v2ray_com_core_app_stats_config_proto_goTypes,
  113. DependencyIndexes: file_v2ray_com_core_app_stats_config_proto_depIdxs,
  114. MessageInfos: file_v2ray_com_core_app_stats_config_proto_msgTypes,
  115. }.Build()
  116. File_v2ray_com_core_app_stats_config_proto = out.File
  117. file_v2ray_com_core_app_stats_config_proto_rawDesc = nil
  118. file_v2ray_com_core_app_stats_config_proto_goTypes = nil
  119. file_v2ray_com_core_app_stats_config_proto_depIdxs = nil
  120. }