github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/transport/internet/request/assembler/simple/config.pb.go (about)

     1  package simple
     2  
     3  import (
     4  	_ "github.com/v2fly/v2ray-core/v5/common/protoext"
     5  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
     6  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
     7  	reflect "reflect"
     8  	sync "sync"
     9  )
    10  
    11  const (
    12  	// Verify that this generated code is sufficiently up-to-date.
    13  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    14  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    15  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    16  )
    17  
    18  type ClientConfig struct {
    19  	state         protoimpl.MessageState
    20  	sizeCache     protoimpl.SizeCache
    21  	unknownFields protoimpl.UnknownFields
    22  
    23  	MaxWriteSize             int32   `protobuf:"varint,1,opt,name=max_write_size,json=maxWriteSize,proto3" json:"max_write_size,omitempty"`
    24  	WaitSubsequentWriteMs    int32   `protobuf:"varint,2,opt,name=wait_subsequent_write_ms,json=waitSubsequentWriteMs,proto3" json:"wait_subsequent_write_ms,omitempty"`
    25  	InitialPollingIntervalMs int32   `protobuf:"varint,3,opt,name=initial_polling_interval_ms,json=initialPollingIntervalMs,proto3" json:"initial_polling_interval_ms,omitempty"`
    26  	MaxPollingIntervalMs     int32   `protobuf:"varint,4,opt,name=max_polling_interval_ms,json=maxPollingIntervalMs,proto3" json:"max_polling_interval_ms,omitempty"`
    27  	MinPollingIntervalMs     int32   `protobuf:"varint,5,opt,name=min_polling_interval_ms,json=minPollingIntervalMs,proto3" json:"min_polling_interval_ms,omitempty"`
    28  	BackoffFactor            float32 `protobuf:"fixed32,6,opt,name=backoff_factor,json=backoffFactor,proto3" json:"backoff_factor,omitempty"`
    29  	FailedRetryIntervalMs    int32   `protobuf:"varint,7,opt,name=failed_retry_interval_ms,json=failedRetryIntervalMs,proto3" json:"failed_retry_interval_ms,omitempty"`
    30  }
    31  
    32  func (x *ClientConfig) Reset() {
    33  	*x = ClientConfig{}
    34  	if protoimpl.UnsafeEnabled {
    35  		mi := &file_transport_internet_request_assembler_simple_config_proto_msgTypes[0]
    36  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    37  		ms.StoreMessageInfo(mi)
    38  	}
    39  }
    40  
    41  func (x *ClientConfig) String() string {
    42  	return protoimpl.X.MessageStringOf(x)
    43  }
    44  
    45  func (*ClientConfig) ProtoMessage() {}
    46  
    47  func (x *ClientConfig) ProtoReflect() protoreflect.Message {
    48  	mi := &file_transport_internet_request_assembler_simple_config_proto_msgTypes[0]
    49  	if protoimpl.UnsafeEnabled && x != nil {
    50  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    51  		if ms.LoadMessageInfo() == nil {
    52  			ms.StoreMessageInfo(mi)
    53  		}
    54  		return ms
    55  	}
    56  	return mi.MessageOf(x)
    57  }
    58  
    59  // Deprecated: Use ClientConfig.ProtoReflect.Descriptor instead.
    60  func (*ClientConfig) Descriptor() ([]byte, []int) {
    61  	return file_transport_internet_request_assembler_simple_config_proto_rawDescGZIP(), []int{0}
    62  }
    63  
    64  func (x *ClientConfig) GetMaxWriteSize() int32 {
    65  	if x != nil {
    66  		return x.MaxWriteSize
    67  	}
    68  	return 0
    69  }
    70  
    71  func (x *ClientConfig) GetWaitSubsequentWriteMs() int32 {
    72  	if x != nil {
    73  		return x.WaitSubsequentWriteMs
    74  	}
    75  	return 0
    76  }
    77  
    78  func (x *ClientConfig) GetInitialPollingIntervalMs() int32 {
    79  	if x != nil {
    80  		return x.InitialPollingIntervalMs
    81  	}
    82  	return 0
    83  }
    84  
    85  func (x *ClientConfig) GetMaxPollingIntervalMs() int32 {
    86  	if x != nil {
    87  		return x.MaxPollingIntervalMs
    88  	}
    89  	return 0
    90  }
    91  
    92  func (x *ClientConfig) GetMinPollingIntervalMs() int32 {
    93  	if x != nil {
    94  		return x.MinPollingIntervalMs
    95  	}
    96  	return 0
    97  }
    98  
    99  func (x *ClientConfig) GetBackoffFactor() float32 {
   100  	if x != nil {
   101  		return x.BackoffFactor
   102  	}
   103  	return 0
   104  }
   105  
   106  func (x *ClientConfig) GetFailedRetryIntervalMs() int32 {
   107  	if x != nil {
   108  		return x.FailedRetryIntervalMs
   109  	}
   110  	return 0
   111  }
   112  
   113  type ServerConfig struct {
   114  	state         protoimpl.MessageState
   115  	sizeCache     protoimpl.SizeCache
   116  	unknownFields protoimpl.UnknownFields
   117  
   118  	MaxWriteSize int32 `protobuf:"varint,1,opt,name=max_write_size,json=maxWriteSize,proto3" json:"max_write_size,omitempty"`
   119  }
   120  
   121  func (x *ServerConfig) Reset() {
   122  	*x = ServerConfig{}
   123  	if protoimpl.UnsafeEnabled {
   124  		mi := &file_transport_internet_request_assembler_simple_config_proto_msgTypes[1]
   125  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   126  		ms.StoreMessageInfo(mi)
   127  	}
   128  }
   129  
   130  func (x *ServerConfig) String() string {
   131  	return protoimpl.X.MessageStringOf(x)
   132  }
   133  
   134  func (*ServerConfig) ProtoMessage() {}
   135  
   136  func (x *ServerConfig) ProtoReflect() protoreflect.Message {
   137  	mi := &file_transport_internet_request_assembler_simple_config_proto_msgTypes[1]
   138  	if protoimpl.UnsafeEnabled && x != nil {
   139  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   140  		if ms.LoadMessageInfo() == nil {
   141  			ms.StoreMessageInfo(mi)
   142  		}
   143  		return ms
   144  	}
   145  	return mi.MessageOf(x)
   146  }
   147  
   148  // Deprecated: Use ServerConfig.ProtoReflect.Descriptor instead.
   149  func (*ServerConfig) Descriptor() ([]byte, []int) {
   150  	return file_transport_internet_request_assembler_simple_config_proto_rawDescGZIP(), []int{1}
   151  }
   152  
   153  func (x *ServerConfig) GetMaxWriteSize() int32 {
   154  	if x != nil {
   155  		return x.MaxWriteSize
   156  	}
   157  	return 0
   158  }
   159  
   160  var File_transport_internet_request_assembler_simple_config_proto protoreflect.FileDescriptor
   161  
   162  var file_transport_internet_request_assembler_simple_config_proto_rawDesc = []byte{
   163  	0x0a, 0x38, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
   164  	0x72, 0x6e, 0x65, 0x74, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2f, 0x61, 0x73, 0x73,
   165  	0x65, 0x6d, 0x62, 0x6c, 0x65, 0x72, 0x2f, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x63, 0x6f,
   166  	0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x36, 0x76, 0x32, 0x72, 0x61,
   167  	0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74,
   168  	0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
   169  	0x74, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x6d, 0x70,
   170  	0x6c, 0x65, 0x1a, 0x20, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   171  	0x65, 0x78, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
   172  	0x72, 0x6f, 0x74, 0x6f, 0x22, 0xac, 0x03, 0x0a, 0x0c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43,
   173  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x77, 0x72, 0x69,
   174  	0x74, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6d,
   175  	0x61, 0x78, 0x57, 0x72, 0x69, 0x74, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x37, 0x0a, 0x18, 0x77,
   176  	0x61, 0x69, 0x74, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x74, 0x5f, 0x77,
   177  	0x72, 0x69, 0x74, 0x65, 0x5f, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x77,
   178  	0x61, 0x69, 0x74, 0x53, 0x75, 0x62, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x74, 0x57, 0x72, 0x69,
   179  	0x74, 0x65, 0x4d, 0x73, 0x12, 0x3d, 0x0a, 0x1b, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f,
   180  	0x70, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c,
   181  	0x5f, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x18, 0x69, 0x6e, 0x69, 0x74, 0x69,
   182  	0x61, 0x6c, 0x50, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
   183  	0x6c, 0x4d, 0x73, 0x12, 0x35, 0x0a, 0x17, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x6f, 0x6c, 0x6c, 0x69,
   184  	0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x6d, 0x73, 0x18, 0x04,
   185  	0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x6d, 0x61, 0x78, 0x50, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67,
   186  	0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x73, 0x12, 0x35, 0x0a, 0x17, 0x6d, 0x69,
   187  	0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76,
   188  	0x61, 0x6c, 0x5f, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x6d, 0x69, 0x6e,
   189  	0x50, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d,
   190  	0x73, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x5f, 0x66, 0x61, 0x63,
   191  	0x74, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0d, 0x62, 0x61, 0x63, 0x6b, 0x6f,
   192  	0x66, 0x66, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x37, 0x0a, 0x18, 0x66, 0x61, 0x69, 0x6c,
   193  	0x65, 0x64, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
   194  	0x6c, 0x5f, 0x6d, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x66, 0x61, 0x69, 0x6c,
   195  	0x65, 0x64, 0x52, 0x65, 0x74, 0x72, 0x79, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d,
   196  	0x73, 0x3a, 0x30, 0x82, 0xb5, 0x18, 0x2c, 0x0a, 0x22, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,
   197  	0x72, 0x74, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x6d,
   198  	0x62, 0x6c, 0x65, 0x72, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x06, 0x73, 0x69, 0x6d,
   199  	0x70, 0x6c, 0x65, 0x22, 0x66, 0x0a, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e,
   200  	0x66, 0x69, 0x67, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x65,
   201  	0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6d, 0x61, 0x78,
   202  	0x57, 0x72, 0x69, 0x74, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x3a, 0x30, 0x82, 0xb5, 0x18, 0x2c, 0x0a,
   203  	0x22, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65,
   204  	0x73, 0x74, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x65, 0x72, 0x2e, 0x73, 0x65, 0x72,
   205  	0x76, 0x65, 0x72, 0x12, 0x06, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x42, 0xc3, 0x01, 0x0a, 0x3a,
   206  	0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74,
   207  	0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65,
   208  	0x74, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62,
   209  	0x6c, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69,
   210  	0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76,
   211  	0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x74, 0x72, 0x61,
   212  	0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f,
   213  	0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x65,
   214  	0x72, 0x2f, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0xaa, 0x02, 0x36, 0x56, 0x32, 0x52, 0x61, 0x79,
   215  	0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e,
   216  	0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
   217  	0x2e, 0x41, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c,
   218  	0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   219  }
   220  
   221  var (
   222  	file_transport_internet_request_assembler_simple_config_proto_rawDescOnce sync.Once
   223  	file_transport_internet_request_assembler_simple_config_proto_rawDescData = file_transport_internet_request_assembler_simple_config_proto_rawDesc
   224  )
   225  
   226  func file_transport_internet_request_assembler_simple_config_proto_rawDescGZIP() []byte {
   227  	file_transport_internet_request_assembler_simple_config_proto_rawDescOnce.Do(func() {
   228  		file_transport_internet_request_assembler_simple_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_request_assembler_simple_config_proto_rawDescData)
   229  	})
   230  	return file_transport_internet_request_assembler_simple_config_proto_rawDescData
   231  }
   232  
   233  var file_transport_internet_request_assembler_simple_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   234  var file_transport_internet_request_assembler_simple_config_proto_goTypes = []interface{}{
   235  	(*ClientConfig)(nil), // 0: v2ray.core.transport.internet.request.assembler.simple.ClientConfig
   236  	(*ServerConfig)(nil), // 1: v2ray.core.transport.internet.request.assembler.simple.ServerConfig
   237  }
   238  var file_transport_internet_request_assembler_simple_config_proto_depIdxs = []int32{
   239  	0, // [0:0] is the sub-list for method output_type
   240  	0, // [0:0] is the sub-list for method input_type
   241  	0, // [0:0] is the sub-list for extension type_name
   242  	0, // [0:0] is the sub-list for extension extendee
   243  	0, // [0:0] is the sub-list for field type_name
   244  }
   245  
   246  func init() { file_transport_internet_request_assembler_simple_config_proto_init() }
   247  func file_transport_internet_request_assembler_simple_config_proto_init() {
   248  	if File_transport_internet_request_assembler_simple_config_proto != nil {
   249  		return
   250  	}
   251  	if !protoimpl.UnsafeEnabled {
   252  		file_transport_internet_request_assembler_simple_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   253  			switch v := v.(*ClientConfig); i {
   254  			case 0:
   255  				return &v.state
   256  			case 1:
   257  				return &v.sizeCache
   258  			case 2:
   259  				return &v.unknownFields
   260  			default:
   261  				return nil
   262  			}
   263  		}
   264  		file_transport_internet_request_assembler_simple_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   265  			switch v := v.(*ServerConfig); i {
   266  			case 0:
   267  				return &v.state
   268  			case 1:
   269  				return &v.sizeCache
   270  			case 2:
   271  				return &v.unknownFields
   272  			default:
   273  				return nil
   274  			}
   275  		}
   276  	}
   277  	type x struct{}
   278  	out := protoimpl.TypeBuilder{
   279  		File: protoimpl.DescBuilder{
   280  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   281  			RawDescriptor: file_transport_internet_request_assembler_simple_config_proto_rawDesc,
   282  			NumEnums:      0,
   283  			NumMessages:   2,
   284  			NumExtensions: 0,
   285  			NumServices:   0,
   286  		},
   287  		GoTypes:           file_transport_internet_request_assembler_simple_config_proto_goTypes,
   288  		DependencyIndexes: file_transport_internet_request_assembler_simple_config_proto_depIdxs,
   289  		MessageInfos:      file_transport_internet_request_assembler_simple_config_proto_msgTypes,
   290  	}.Build()
   291  	File_transport_internet_request_assembler_simple_config_proto = out.File
   292  	file_transport_internet_request_assembler_simple_config_proto_rawDesc = nil
   293  	file_transport_internet_request_assembler_simple_config_proto_goTypes = nil
   294  	file_transport_internet_request_assembler_simple_config_proto_depIdxs = nil
   295  }