github.com/v2fly/v2ray-core/v4@v4.45.2/app/stats/config.pb.go (about)

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