github.com/Uhtred009/v2ray-core-1@v4.31.2+incompatible/transport/internet/quic/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.13.0
     5  // source: transport/internet/quic/config.proto
     6  
     7  package quic
     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  	protocol "v2ray.com/core/common/protocol"
    16  	serial "v2ray.com/core/common/serial"
    17  )
    18  
    19  const (
    20  	// Verify that this generated code is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    22  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    23  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    24  )
    25  
    26  // This is a compile-time assertion that a sufficiently up-to-date version
    27  // of the legacy proto package is being used.
    28  const _ = proto.ProtoPackageIsVersion4
    29  
    30  type Config struct {
    31  	state         protoimpl.MessageState
    32  	sizeCache     protoimpl.SizeCache
    33  	unknownFields protoimpl.UnknownFields
    34  
    35  	Key      string                   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
    36  	Security *protocol.SecurityConfig `protobuf:"bytes,2,opt,name=security,proto3" json:"security,omitempty"`
    37  	Header   *serial.TypedMessage     `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"`
    38  }
    39  
    40  func (x *Config) Reset() {
    41  	*x = Config{}
    42  	if protoimpl.UnsafeEnabled {
    43  		mi := &file_transport_internet_quic_config_proto_msgTypes[0]
    44  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    45  		ms.StoreMessageInfo(mi)
    46  	}
    47  }
    48  
    49  func (x *Config) String() string {
    50  	return protoimpl.X.MessageStringOf(x)
    51  }
    52  
    53  func (*Config) ProtoMessage() {}
    54  
    55  func (x *Config) ProtoReflect() protoreflect.Message {
    56  	mi := &file_transport_internet_quic_config_proto_msgTypes[0]
    57  	if protoimpl.UnsafeEnabled && x != nil {
    58  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    59  		if ms.LoadMessageInfo() == nil {
    60  			ms.StoreMessageInfo(mi)
    61  		}
    62  		return ms
    63  	}
    64  	return mi.MessageOf(x)
    65  }
    66  
    67  // Deprecated: Use Config.ProtoReflect.Descriptor instead.
    68  func (*Config) Descriptor() ([]byte, []int) {
    69  	return file_transport_internet_quic_config_proto_rawDescGZIP(), []int{0}
    70  }
    71  
    72  func (x *Config) GetKey() string {
    73  	if x != nil {
    74  		return x.Key
    75  	}
    76  	return ""
    77  }
    78  
    79  func (x *Config) GetSecurity() *protocol.SecurityConfig {
    80  	if x != nil {
    81  		return x.Security
    82  	}
    83  	return nil
    84  }
    85  
    86  func (x *Config) GetHeader() *serial.TypedMessage {
    87  	if x != nil {
    88  		return x.Header
    89  	}
    90  	return nil
    91  }
    92  
    93  var File_transport_internet_quic_config_proto protoreflect.FileDescriptor
    94  
    95  var file_transport_internet_quic_config_proto_rawDesc = []byte{
    96  	0x0a, 0x24, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
    97  	0x72, 0x6e, 0x65, 0x74, 0x2f, 0x71, 0x75, 0x69, 0x63, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
    98  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
    99  	0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74,
   100  	0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x71, 0x75, 0x69, 0x63, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d,
   101  	0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f,
   102  	0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x63,
   103  	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68,
   104  	0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x01, 0x0a,
   105  	0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
   106  	0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x46, 0x0a, 0x08, 0x73, 0x65, 0x63,
   107  	0x75, 0x72, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x32,
   108  	0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
   109  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
   110  	0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
   111  	0x79, 0x12, 0x3e, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,
   112  	0x0b, 0x32, 0x26, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63,
   113  	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 0x54, 0x79, 0x70,
   114  	0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65,
   115  	0x72, 0x42, 0x77, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63,
   116  	0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e,
   117  	0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x71, 0x75, 0x69, 0x63, 0x50, 0x01, 0x5a, 0x26, 0x76,
   118  	0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x72,
   119  	0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74,
   120  	0x2f, 0x71, 0x75, 0x69, 0x63, 0xaa, 0x02, 0x22, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f,
   121  	0x72, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e, 0x74,
   122  	0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x51, 0x75, 0x69, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
   123  	0x6f, 0x33,
   124  }
   125  
   126  var (
   127  	file_transport_internet_quic_config_proto_rawDescOnce sync.Once
   128  	file_transport_internet_quic_config_proto_rawDescData = file_transport_internet_quic_config_proto_rawDesc
   129  )
   130  
   131  func file_transport_internet_quic_config_proto_rawDescGZIP() []byte {
   132  	file_transport_internet_quic_config_proto_rawDescOnce.Do(func() {
   133  		file_transport_internet_quic_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_quic_config_proto_rawDescData)
   134  	})
   135  	return file_transport_internet_quic_config_proto_rawDescData
   136  }
   137  
   138  var file_transport_internet_quic_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   139  var file_transport_internet_quic_config_proto_goTypes = []interface{}{
   140  	(*Config)(nil),                  // 0: v2ray.core.transport.internet.quic.Config
   141  	(*protocol.SecurityConfig)(nil), // 1: v2ray.core.common.protocol.SecurityConfig
   142  	(*serial.TypedMessage)(nil),     // 2: v2ray.core.common.serial.TypedMessage
   143  }
   144  var file_transport_internet_quic_config_proto_depIdxs = []int32{
   145  	1, // 0: v2ray.core.transport.internet.quic.Config.security:type_name -> v2ray.core.common.protocol.SecurityConfig
   146  	2, // 1: v2ray.core.transport.internet.quic.Config.header:type_name -> v2ray.core.common.serial.TypedMessage
   147  	2, // [2:2] is the sub-list for method output_type
   148  	2, // [2:2] is the sub-list for method input_type
   149  	2, // [2:2] is the sub-list for extension type_name
   150  	2, // [2:2] is the sub-list for extension extendee
   151  	0, // [0:2] is the sub-list for field type_name
   152  }
   153  
   154  func init() { file_transport_internet_quic_config_proto_init() }
   155  func file_transport_internet_quic_config_proto_init() {
   156  	if File_transport_internet_quic_config_proto != nil {
   157  		return
   158  	}
   159  	if !protoimpl.UnsafeEnabled {
   160  		file_transport_internet_quic_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   161  			switch v := v.(*Config); i {
   162  			case 0:
   163  				return &v.state
   164  			case 1:
   165  				return &v.sizeCache
   166  			case 2:
   167  				return &v.unknownFields
   168  			default:
   169  				return nil
   170  			}
   171  		}
   172  	}
   173  	type x struct{}
   174  	out := protoimpl.TypeBuilder{
   175  		File: protoimpl.DescBuilder{
   176  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   177  			RawDescriptor: file_transport_internet_quic_config_proto_rawDesc,
   178  			NumEnums:      0,
   179  			NumMessages:   1,
   180  			NumExtensions: 0,
   181  			NumServices:   0,
   182  		},
   183  		GoTypes:           file_transport_internet_quic_config_proto_goTypes,
   184  		DependencyIndexes: file_transport_internet_quic_config_proto_depIdxs,
   185  		MessageInfos:      file_transport_internet_quic_config_proto_msgTypes,
   186  	}.Build()
   187  	File_transport_internet_quic_config_proto = out.File
   188  	file_transport_internet_quic_config_proto_rawDesc = nil
   189  	file_transport_internet_quic_config_proto_goTypes = nil
   190  	file_transport_internet_quic_config_proto_depIdxs = nil
   191  }