github.com/xmplusdev/xmcore@v1.8.11-0.20240412132628-5518b55526af/app/stats/config.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.33.0
     4  // 	protoc        v4.23.1
     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, 0x0e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61,
   129  	0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x22, 0x08, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66,
   130  	0x69, 0x67, 0x22, 0x75, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6f, 0x6e,
   131  	0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x18,
   132  	0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x12,
   133  	0x28, 0x0a, 0x0f, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x6d,
   134  	0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
   135  	0x69, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x42, 0x75, 0x66,
   136  	0x66, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x42,
   137  	0x75, 0x66, 0x66, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x42, 0x4c, 0x0a, 0x12, 0x63, 0x6f, 0x6d,
   138  	0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x50,
   139  	0x01, 0x5a, 0x23, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74,
   140  	0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x70,
   141  	0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0xaa, 0x02, 0x0e, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x41, 0x70,
   142  	0x70, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   143  }
   144  
   145  var (
   146  	file_app_stats_config_proto_rawDescOnce sync.Once
   147  	file_app_stats_config_proto_rawDescData = file_app_stats_config_proto_rawDesc
   148  )
   149  
   150  func file_app_stats_config_proto_rawDescGZIP() []byte {
   151  	file_app_stats_config_proto_rawDescOnce.Do(func() {
   152  		file_app_stats_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_stats_config_proto_rawDescData)
   153  	})
   154  	return file_app_stats_config_proto_rawDescData
   155  }
   156  
   157  var file_app_stats_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   158  var file_app_stats_config_proto_goTypes = []interface{}{
   159  	(*Config)(nil),        // 0: xray.app.stats.Config
   160  	(*ChannelConfig)(nil), // 1: xray.app.stats.ChannelConfig
   161  }
   162  var file_app_stats_config_proto_depIdxs = []int32{
   163  	0, // [0:0] is the sub-list for method output_type
   164  	0, // [0:0] is the sub-list for method input_type
   165  	0, // [0:0] is the sub-list for extension type_name
   166  	0, // [0:0] is the sub-list for extension extendee
   167  	0, // [0:0] is the sub-list for field type_name
   168  }
   169  
   170  func init() { file_app_stats_config_proto_init() }
   171  func file_app_stats_config_proto_init() {
   172  	if File_app_stats_config_proto != nil {
   173  		return
   174  	}
   175  	if !protoimpl.UnsafeEnabled {
   176  		file_app_stats_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   177  			switch v := v.(*Config); i {
   178  			case 0:
   179  				return &v.state
   180  			case 1:
   181  				return &v.sizeCache
   182  			case 2:
   183  				return &v.unknownFields
   184  			default:
   185  				return nil
   186  			}
   187  		}
   188  		file_app_stats_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   189  			switch v := v.(*ChannelConfig); i {
   190  			case 0:
   191  				return &v.state
   192  			case 1:
   193  				return &v.sizeCache
   194  			case 2:
   195  				return &v.unknownFields
   196  			default:
   197  				return nil
   198  			}
   199  		}
   200  	}
   201  	type x struct{}
   202  	out := protoimpl.TypeBuilder{
   203  		File: protoimpl.DescBuilder{
   204  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   205  			RawDescriptor: file_app_stats_config_proto_rawDesc,
   206  			NumEnums:      0,
   207  			NumMessages:   2,
   208  			NumExtensions: 0,
   209  			NumServices:   0,
   210  		},
   211  		GoTypes:           file_app_stats_config_proto_goTypes,
   212  		DependencyIndexes: file_app_stats_config_proto_depIdxs,
   213  		MessageInfos:      file_app_stats_config_proto_msgTypes,
   214  	}.Build()
   215  	File_app_stats_config_proto = out.File
   216  	file_app_stats_config_proto_rawDesc = nil
   217  	file_app_stats_config_proto_goTypes = nil
   218  	file_app_stats_config_proto_depIdxs = nil
   219  }