github.com/imannamdari/v2ray-core/v5@v5.0.5/proxy/vlite/inbound/config.pb.go (about)

     1  package inbound
     2  
     3  import (
     4  	reflect "reflect"
     5  	sync "sync"
     6  
     7  	_ "github.com/imannamdari/v2ray-core/v5/common/protoext"
     8  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
     9  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    10  )
    11  
    12  const (
    13  	// Verify that this generated code is sufficiently up-to-date.
    14  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    15  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    16  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    17  )
    18  
    19  type UDPProtocolConfig struct {
    20  	state         protoimpl.MessageState
    21  	sizeCache     protoimpl.SizeCache
    22  	unknownFields protoimpl.UnknownFields
    23  
    24  	Password                    string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
    25  	ScramblePacket              bool   `protobuf:"varint,4,opt,name=scramble_packet,json=scramblePacket,proto3" json:"scramble_packet,omitempty"`
    26  	EnableFec                   bool   `protobuf:"varint,5,opt,name=enable_fec,json=enableFec,proto3" json:"enable_fec,omitempty"`
    27  	EnableStabilization         bool   `protobuf:"varint,6,opt,name=enable_stabilization,json=enableStabilization,proto3" json:"enable_stabilization,omitempty"`
    28  	EnableRenegotiation         bool   `protobuf:"varint,7,opt,name=enable_renegotiation,json=enableRenegotiation,proto3" json:"enable_renegotiation,omitempty"`
    29  	HandshakeMaskingPaddingSize uint32 `protobuf:"varint,8,opt,name=handshake_masking_padding_size,json=handshakeMaskingPaddingSize,proto3" json:"handshake_masking_padding_size,omitempty"`
    30  }
    31  
    32  func (x *UDPProtocolConfig) Reset() {
    33  	*x = UDPProtocolConfig{}
    34  	if protoimpl.UnsafeEnabled {
    35  		mi := &file_proxy_vlite_inbound_config_proto_msgTypes[0]
    36  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    37  		ms.StoreMessageInfo(mi)
    38  	}
    39  }
    40  
    41  func (x *UDPProtocolConfig) String() string {
    42  	return protoimpl.X.MessageStringOf(x)
    43  }
    44  
    45  func (*UDPProtocolConfig) ProtoMessage() {}
    46  
    47  func (x *UDPProtocolConfig) ProtoReflect() protoreflect.Message {
    48  	mi := &file_proxy_vlite_inbound_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 UDPProtocolConfig.ProtoReflect.Descriptor instead.
    60  func (*UDPProtocolConfig) Descriptor() ([]byte, []int) {
    61  	return file_proxy_vlite_inbound_config_proto_rawDescGZIP(), []int{0}
    62  }
    63  
    64  func (x *UDPProtocolConfig) GetPassword() string {
    65  	if x != nil {
    66  		return x.Password
    67  	}
    68  	return ""
    69  }
    70  
    71  func (x *UDPProtocolConfig) GetScramblePacket() bool {
    72  	if x != nil {
    73  		return x.ScramblePacket
    74  	}
    75  	return false
    76  }
    77  
    78  func (x *UDPProtocolConfig) GetEnableFec() bool {
    79  	if x != nil {
    80  		return x.EnableFec
    81  	}
    82  	return false
    83  }
    84  
    85  func (x *UDPProtocolConfig) GetEnableStabilization() bool {
    86  	if x != nil {
    87  		return x.EnableStabilization
    88  	}
    89  	return false
    90  }
    91  
    92  func (x *UDPProtocolConfig) GetEnableRenegotiation() bool {
    93  	if x != nil {
    94  		return x.EnableRenegotiation
    95  	}
    96  	return false
    97  }
    98  
    99  func (x *UDPProtocolConfig) GetHandshakeMaskingPaddingSize() uint32 {
   100  	if x != nil {
   101  		return x.HandshakeMaskingPaddingSize
   102  	}
   103  	return 0
   104  }
   105  
   106  var File_proxy_vlite_inbound_config_proto protoreflect.FileDescriptor
   107  
   108  var file_proxy_vlite_inbound_config_proto_rawDesc = []byte{
   109  	0x0a, 0x20, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x69, 0x74, 0x65, 0x2f, 0x69, 0x6e,
   110  	0x62, 0x6f, 0x75, 0x6e, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f,
   111  	0x74, 0x6f, 0x12, 0x1e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70,
   112  	0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x69, 0x74, 0x65, 0x2e, 0x69, 0x6e, 0x62, 0x6f, 0x75,
   113  	0x6e, 0x64, 0x1a, 0x20, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   114  	0x65, 0x78, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
   115  	0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbd, 0x02, 0x0a, 0x11, 0x55, 0x44, 0x50, 0x50, 0x72, 0x6f, 0x74,
   116  	0x6f, 0x63, 0x6f, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61,
   117  	0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61,
   118  	0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x63, 0x72, 0x61, 0x6d, 0x62,
   119  	0x6c, 0x65, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52,
   120  	0x0e, 0x73, 0x63, 0x72, 0x61, 0x6d, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x12,
   121  	0x1d, 0x0a, 0x0a, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x65, 0x63, 0x18, 0x05, 0x20,
   122  	0x01, 0x28, 0x08, 0x52, 0x09, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x65, 0x63, 0x12, 0x31,
   123  	0x0a, 0x14, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69,
   124  	0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x65, 0x6e,
   125  	0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
   126  	0x6e, 0x12, 0x31, 0x0a, 0x14, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x6e, 0x65,
   127  	0x67, 0x6f, 0x74, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52,
   128  	0x13, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x6e, 0x65, 0x67, 0x6f, 0x74, 0x69, 0x61,
   129  	0x74, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x1e, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b,
   130  	0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e,
   131  	0x67, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x1b, 0x68, 0x61,
   132  	0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x50, 0x61,
   133  	0x64, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x7a, 0x65, 0x3a, 0x19, 0x82, 0xb5, 0x18, 0x09, 0x0a,
   134  	0x07, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x82, 0xb5, 0x18, 0x08, 0x12, 0x06, 0x76, 0x6c,
   135  	0x69, 0x74, 0x65, 0x75, 0x42, 0x7b, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61,
   136  	0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x69,
   137  	0x74, 0x65, 0x2e, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x50, 0x01, 0x5a, 0x32, 0x67, 0x69,
   138  	0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76,
   139  	0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x70, 0x72, 0x6f,
   140  	0x78, 0x79, 0x2f, 0x76, 0x6c, 0x69, 0x74, 0x65, 0x2f, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64,
   141  	0xaa, 0x02, 0x1e, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x72,
   142  	0x6f, 0x78, 0x79, 0x2e, 0x56, 0x6c, 0x69, 0x74, 0x65, 0x2e, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e,
   143  	0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   144  }
   145  
   146  var (
   147  	file_proxy_vlite_inbound_config_proto_rawDescOnce sync.Once
   148  	file_proxy_vlite_inbound_config_proto_rawDescData = file_proxy_vlite_inbound_config_proto_rawDesc
   149  )
   150  
   151  func file_proxy_vlite_inbound_config_proto_rawDescGZIP() []byte {
   152  	file_proxy_vlite_inbound_config_proto_rawDescOnce.Do(func() {
   153  		file_proxy_vlite_inbound_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_vlite_inbound_config_proto_rawDescData)
   154  	})
   155  	return file_proxy_vlite_inbound_config_proto_rawDescData
   156  }
   157  
   158  var file_proxy_vlite_inbound_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   159  var file_proxy_vlite_inbound_config_proto_goTypes = []interface{}{
   160  	(*UDPProtocolConfig)(nil), // 0: v2ray.core.proxy.vlite.inbound.UDPProtocolConfig
   161  }
   162  var file_proxy_vlite_inbound_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_proxy_vlite_inbound_config_proto_init() }
   171  func file_proxy_vlite_inbound_config_proto_init() {
   172  	if File_proxy_vlite_inbound_config_proto != nil {
   173  		return
   174  	}
   175  	if !protoimpl.UnsafeEnabled {
   176  		file_proxy_vlite_inbound_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   177  			switch v := v.(*UDPProtocolConfig); 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  	}
   189  	type x struct{}
   190  	out := protoimpl.TypeBuilder{
   191  		File: protoimpl.DescBuilder{
   192  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   193  			RawDescriptor: file_proxy_vlite_inbound_config_proto_rawDesc,
   194  			NumEnums:      0,
   195  			NumMessages:   1,
   196  			NumExtensions: 0,
   197  			NumServices:   0,
   198  		},
   199  		GoTypes:           file_proxy_vlite_inbound_config_proto_goTypes,
   200  		DependencyIndexes: file_proxy_vlite_inbound_config_proto_depIdxs,
   201  		MessageInfos:      file_proxy_vlite_inbound_config_proto_msgTypes,
   202  	}.Build()
   203  	File_proxy_vlite_inbound_config_proto = out.File
   204  	file_proxy_vlite_inbound_config_proto_rawDesc = nil
   205  	file_proxy_vlite_inbound_config_proto_goTypes = nil
   206  	file_proxy_vlite_inbound_config_proto_depIdxs = nil
   207  }