github.com/Uhtred009/v2ray-core-1@v4.31.2+incompatible/app/stats/config.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.25.0
     4  // 	protoc        v3.12.3
     5  // source: config.proto
     6  
     7  package stats
     8  
     9  import (
    10  	proto "github.com/golang/protobuf/proto"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  // This is a compile-time assertion that a sufficiently up-to-date version
    25  // of the legacy proto package is being used.
    26  const _ = proto.ProtoPackageIsVersion4
    27  
    28  type Config struct {
    29  	state         protoimpl.MessageState
    30  	sizeCache     protoimpl.SizeCache
    31  	unknownFields protoimpl.UnknownFields
    32  
    33  	TrackIp bool `protobuf:"varint,1,opt,name=track_ip,json=trackIp,proto3" json:"track_ip,omitempty"`
    34  }
    35  
    36  func (x *Config) Reset() {
    37  	*x = Config{}
    38  	if protoimpl.UnsafeEnabled {
    39  		mi := &file_config_proto_msgTypes[0]
    40  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    41  		ms.StoreMessageInfo(mi)
    42  	}
    43  }
    44  
    45  func (x *Config) String() string {
    46  	return protoimpl.X.MessageStringOf(x)
    47  }
    48  
    49  func (*Config) ProtoMessage() {}
    50  
    51  func (x *Config) ProtoReflect() protoreflect.Message {
    52  	mi := &file_config_proto_msgTypes[0]
    53  	if protoimpl.UnsafeEnabled && x != nil {
    54  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    55  		if ms.LoadMessageInfo() == nil {
    56  			ms.StoreMessageInfo(mi)
    57  		}
    58  		return ms
    59  	}
    60  	return mi.MessageOf(x)
    61  }
    62  
    63  // Deprecated: Use Config.ProtoReflect.Descriptor instead.
    64  func (*Config) Descriptor() ([]byte, []int) {
    65  	return file_config_proto_rawDescGZIP(), []int{0}
    66  }
    67  
    68  func (x *Config) GetTrackIp() bool {
    69  	if x != nil {
    70  		return x.TrackIp
    71  	}
    72  	return false
    73  }
    74  
    75  type ChannelConfig struct {
    76  	state         protoimpl.MessageState
    77  	sizeCache     protoimpl.SizeCache
    78  	unknownFields protoimpl.UnknownFields
    79  
    80  	Blocking        bool  `protobuf:"varint,1,opt,name=Blocking,proto3" json:"Blocking,omitempty"`
    81  	SubscriberLimit int32 `protobuf:"varint,2,opt,name=SubscriberLimit,proto3" json:"SubscriberLimit,omitempty"`
    82  	BufferSize      int32 `protobuf:"varint,3,opt,name=BufferSize,proto3" json:"BufferSize,omitempty"`
    83  }
    84  
    85  func (x *ChannelConfig) Reset() {
    86  	*x = ChannelConfig{}
    87  	if protoimpl.UnsafeEnabled {
    88  		mi := &file_config_proto_msgTypes[1]
    89  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    90  		ms.StoreMessageInfo(mi)
    91  	}
    92  }
    93  
    94  func (x *ChannelConfig) String() string {
    95  	return protoimpl.X.MessageStringOf(x)
    96  }
    97  
    98  func (*ChannelConfig) ProtoMessage() {}
    99  
   100  func (x *ChannelConfig) ProtoReflect() protoreflect.Message {
   101  	mi := &file_config_proto_msgTypes[1]
   102  	if protoimpl.UnsafeEnabled && x != nil {
   103  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   104  		if ms.LoadMessageInfo() == nil {
   105  			ms.StoreMessageInfo(mi)
   106  		}
   107  		return ms
   108  	}
   109  	return mi.MessageOf(x)
   110  }
   111  
   112  // Deprecated: Use ChannelConfig.ProtoReflect.Descriptor instead.
   113  func (*ChannelConfig) Descriptor() ([]byte, []int) {
   114  	return file_config_proto_rawDescGZIP(), []int{1}
   115  }
   116  
   117  func (x *ChannelConfig) GetBlocking() bool {
   118  	if x != nil {
   119  		return x.Blocking
   120  	}
   121  	return false
   122  }
   123  
   124  func (x *ChannelConfig) GetSubscriberLimit() int32 {
   125  	if x != nil {
   126  		return x.SubscriberLimit
   127  	}
   128  	return 0
   129  }
   130  
   131  func (x *ChannelConfig) GetBufferSize() int32 {
   132  	if x != nil {
   133  		return x.BufferSize
   134  	}
   135  	return 0
   136  }
   137  
   138  var File_config_proto protoreflect.FileDescriptor
   139  
   140  var file_config_proto_rawDesc = []byte{
   141  	0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14,
   142  	0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73,
   143  	0x74, 0x61, 0x74, 0x73, 0x22, 0x23, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x19,
   144  	0x0a, 0x08, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x5f, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
   145  	0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x49, 0x70, 0x22, 0x75, 0x0a, 0x0d, 0x43, 0x68, 0x61,
   146  	0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x42, 0x6c,
   147  	0x6f, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x42, 0x6c,
   148  	0x6f, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x28, 0x0a, 0x0f, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
   149  	0x69, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
   150  	0x0f, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74,
   151  	0x12, 0x1e, 0x0a, 0x0a, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03,
   152  	0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65,
   153  	0x42, 0x4d, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
   154  	0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x50, 0x01, 0x5a, 0x18,
   155  	0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61,
   156  	0x70, 0x70, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0xaa, 0x02, 0x14, 0x56, 0x32, 0x52, 0x61, 0x79,
   157  	0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x62,
   158  	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   159  }
   160  
   161  var (
   162  	file_config_proto_rawDescOnce sync.Once
   163  	file_config_proto_rawDescData = file_config_proto_rawDesc
   164  )
   165  
   166  func file_config_proto_rawDescGZIP() []byte {
   167  	file_config_proto_rawDescOnce.Do(func() {
   168  		file_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_config_proto_rawDescData)
   169  	})
   170  	return file_config_proto_rawDescData
   171  }
   172  
   173  var file_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   174  var file_config_proto_goTypes = []interface{}{
   175  	(*Config)(nil),        // 0: v2ray.core.app.stats.Config
   176  	(*ChannelConfig)(nil), // 1: v2ray.core.app.stats.ChannelConfig
   177  }
   178  var file_config_proto_depIdxs = []int32{
   179  	0, // [0:0] is the sub-list for method output_type
   180  	0, // [0:0] is the sub-list for method input_type
   181  	0, // [0:0] is the sub-list for extension type_name
   182  	0, // [0:0] is the sub-list for extension extendee
   183  	0, // [0:0] is the sub-list for field type_name
   184  }
   185  
   186  func init() { file_config_proto_init() }
   187  func file_config_proto_init() {
   188  	if File_config_proto != nil {
   189  		return
   190  	}
   191  	if !protoimpl.UnsafeEnabled {
   192  		file_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   193  			switch v := v.(*Config); i {
   194  			case 0:
   195  				return &v.state
   196  			case 1:
   197  				return &v.sizeCache
   198  			case 2:
   199  				return &v.unknownFields
   200  			default:
   201  				return nil
   202  			}
   203  		}
   204  		file_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   205  			switch v := v.(*ChannelConfig); i {
   206  			case 0:
   207  				return &v.state
   208  			case 1:
   209  				return &v.sizeCache
   210  			case 2:
   211  				return &v.unknownFields
   212  			default:
   213  				return nil
   214  			}
   215  		}
   216  	}
   217  	type x struct{}
   218  	out := protoimpl.TypeBuilder{
   219  		File: protoimpl.DescBuilder{
   220  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   221  			RawDescriptor: file_config_proto_rawDesc,
   222  			NumEnums:      0,
   223  			NumMessages:   2,
   224  			NumExtensions: 0,
   225  			NumServices:   0,
   226  		},
   227  		GoTypes:           file_config_proto_goTypes,
   228  		DependencyIndexes: file_config_proto_depIdxs,
   229  		MessageInfos:      file_config_proto_msgTypes,
   230  	}.Build()
   231  	File_config_proto = out.File
   232  	file_config_proto_rawDesc = nil
   233  	file_config_proto_goTypes = nil
   234  	file_config_proto_depIdxs = nil
   235  }