github.com/xtls/xray-core@v1.8.12-0.20240518155711-3168d27b0bdb/transport/internet/reality/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: transport/internet/reality/config.proto
     6  
     7  package reality
     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  	Show         bool     `protobuf:"varint,1,opt,name=show,proto3" json:"show,omitempty"`
    29  	Dest         string   `protobuf:"bytes,2,opt,name=dest,proto3" json:"dest,omitempty"`
    30  	Type         string   `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
    31  	Xver         uint64   `protobuf:"varint,4,opt,name=xver,proto3" json:"xver,omitempty"`
    32  	ServerNames  []string `protobuf:"bytes,5,rep,name=server_names,json=serverNames,proto3" json:"server_names,omitempty"`
    33  	PrivateKey   []byte   `protobuf:"bytes,6,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
    34  	MinClientVer []byte   `protobuf:"bytes,7,opt,name=min_client_ver,json=minClientVer,proto3" json:"min_client_ver,omitempty"`
    35  	MaxClientVer []byte   `protobuf:"bytes,8,opt,name=max_client_ver,json=maxClientVer,proto3" json:"max_client_ver,omitempty"`
    36  	MaxTimeDiff  uint64   `protobuf:"varint,9,opt,name=max_time_diff,json=maxTimeDiff,proto3" json:"max_time_diff,omitempty"`
    37  	ShortIds     [][]byte `protobuf:"bytes,10,rep,name=short_ids,json=shortIds,proto3" json:"short_ids,omitempty"`
    38  	Fingerprint  string   `protobuf:"bytes,21,opt,name=Fingerprint,proto3" json:"Fingerprint,omitempty"`
    39  	ServerName   string   `protobuf:"bytes,22,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
    40  	PublicKey    []byte   `protobuf:"bytes,23,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
    41  	ShortId      []byte   `protobuf:"bytes,24,opt,name=short_id,json=shortId,proto3" json:"short_id,omitempty"`
    42  	SpiderX      string   `protobuf:"bytes,25,opt,name=spider_x,json=spiderX,proto3" json:"spider_x,omitempty"`
    43  	SpiderY      []int64  `protobuf:"varint,26,rep,packed,name=spider_y,json=spiderY,proto3" json:"spider_y,omitempty"`
    44  	MasterKeyLog string   `protobuf:"bytes,27,opt,name=master_key_log,json=masterKeyLog,proto3" json:"master_key_log,omitempty"`
    45  }
    46  
    47  func (x *Config) Reset() {
    48  	*x = Config{}
    49  	if protoimpl.UnsafeEnabled {
    50  		mi := &file_transport_internet_reality_config_proto_msgTypes[0]
    51  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    52  		ms.StoreMessageInfo(mi)
    53  	}
    54  }
    55  
    56  func (x *Config) String() string {
    57  	return protoimpl.X.MessageStringOf(x)
    58  }
    59  
    60  func (*Config) ProtoMessage() {}
    61  
    62  func (x *Config) ProtoReflect() protoreflect.Message {
    63  	mi := &file_transport_internet_reality_config_proto_msgTypes[0]
    64  	if protoimpl.UnsafeEnabled && x != nil {
    65  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    66  		if ms.LoadMessageInfo() == nil {
    67  			ms.StoreMessageInfo(mi)
    68  		}
    69  		return ms
    70  	}
    71  	return mi.MessageOf(x)
    72  }
    73  
    74  // Deprecated: Use Config.ProtoReflect.Descriptor instead.
    75  func (*Config) Descriptor() ([]byte, []int) {
    76  	return file_transport_internet_reality_config_proto_rawDescGZIP(), []int{0}
    77  }
    78  
    79  func (x *Config) GetShow() bool {
    80  	if x != nil {
    81  		return x.Show
    82  	}
    83  	return false
    84  }
    85  
    86  func (x *Config) GetDest() string {
    87  	if x != nil {
    88  		return x.Dest
    89  	}
    90  	return ""
    91  }
    92  
    93  func (x *Config) GetType() string {
    94  	if x != nil {
    95  		return x.Type
    96  	}
    97  	return ""
    98  }
    99  
   100  func (x *Config) GetXver() uint64 {
   101  	if x != nil {
   102  		return x.Xver
   103  	}
   104  	return 0
   105  }
   106  
   107  func (x *Config) GetServerNames() []string {
   108  	if x != nil {
   109  		return x.ServerNames
   110  	}
   111  	return nil
   112  }
   113  
   114  func (x *Config) GetPrivateKey() []byte {
   115  	if x != nil {
   116  		return x.PrivateKey
   117  	}
   118  	return nil
   119  }
   120  
   121  func (x *Config) GetMinClientVer() []byte {
   122  	if x != nil {
   123  		return x.MinClientVer
   124  	}
   125  	return nil
   126  }
   127  
   128  func (x *Config) GetMaxClientVer() []byte {
   129  	if x != nil {
   130  		return x.MaxClientVer
   131  	}
   132  	return nil
   133  }
   134  
   135  func (x *Config) GetMaxTimeDiff() uint64 {
   136  	if x != nil {
   137  		return x.MaxTimeDiff
   138  	}
   139  	return 0
   140  }
   141  
   142  func (x *Config) GetShortIds() [][]byte {
   143  	if x != nil {
   144  		return x.ShortIds
   145  	}
   146  	return nil
   147  }
   148  
   149  func (x *Config) GetFingerprint() string {
   150  	if x != nil {
   151  		return x.Fingerprint
   152  	}
   153  	return ""
   154  }
   155  
   156  func (x *Config) GetServerName() string {
   157  	if x != nil {
   158  		return x.ServerName
   159  	}
   160  	return ""
   161  }
   162  
   163  func (x *Config) GetPublicKey() []byte {
   164  	if x != nil {
   165  		return x.PublicKey
   166  	}
   167  	return nil
   168  }
   169  
   170  func (x *Config) GetShortId() []byte {
   171  	if x != nil {
   172  		return x.ShortId
   173  	}
   174  	return nil
   175  }
   176  
   177  func (x *Config) GetSpiderX() string {
   178  	if x != nil {
   179  		return x.SpiderX
   180  	}
   181  	return ""
   182  }
   183  
   184  func (x *Config) GetSpiderY() []int64 {
   185  	if x != nil {
   186  		return x.SpiderY
   187  	}
   188  	return nil
   189  }
   190  
   191  func (x *Config) GetMasterKeyLog() string {
   192  	if x != nil {
   193  		return x.MasterKeyLog
   194  	}
   195  	return ""
   196  }
   197  
   198  var File_transport_internet_reality_config_proto protoreflect.FileDescriptor
   199  
   200  var file_transport_internet_reality_config_proto_rawDesc = []byte{
   201  	0x0a, 0x27, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
   202  	0x72, 0x6e, 0x65, 0x74, 0x2f, 0x72, 0x65, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x2f, 0x63, 0x6f, 0x6e,
   203  	0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x78, 0x72, 0x61, 0x79, 0x2e,
   204  	0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
   205  	0x65, 0x74, 0x2e, 0x72, 0x65, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x82, 0x04, 0x0a, 0x06, 0x43,
   206  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x01, 0x20,
   207  	0x01, 0x28, 0x08, 0x52, 0x04, 0x73, 0x68, 0x6f, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73,
   208  	0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a,
   209  	0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70,
   210  	0x65, 0x12, 0x12, 0x0a, 0x04, 0x78, 0x76, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52,
   211  	0x04, 0x78, 0x76, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f,
   212  	0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72,
   213  	0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x69, 0x76,
   214  	0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70,
   215  	0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x69, 0x6e,
   216  	0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28,
   217  	0x0c, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x12,
   218  	0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65,
   219  	0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x43, 0x6c, 0x69, 0x65,
   220  	0x6e, 0x74, 0x56, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x69, 0x6d,
   221  	0x65, 0x5f, 0x64, 0x69, 0x66, 0x66, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x61,
   222  	0x78, 0x54, 0x69, 0x6d, 0x65, 0x44, 0x69, 0x66, 0x66, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x68, 0x6f,
   223  	0x72, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x73, 0x68,
   224  	0x6f, 0x72, 0x74, 0x49, 0x64, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72,
   225  	0x70, 0x72, 0x69, 0x6e, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x46, 0x69, 0x6e,
   226  	0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76,
   227  	0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73,
   228  	0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62,
   229  	0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70,
   230  	0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x68, 0x6f, 0x72,
   231  	0x74, 0x5f, 0x69, 0x64, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x68, 0x6f, 0x72,
   232  	0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x70, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x78, 0x18,
   233  	0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x70, 0x69, 0x64, 0x65, 0x72, 0x58, 0x12, 0x19,
   234  	0x0a, 0x08, 0x73, 0x70, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x79, 0x18, 0x1a, 0x20, 0x03, 0x28, 0x03,
   235  	0x52, 0x07, 0x73, 0x70, 0x69, 0x64, 0x65, 0x72, 0x59, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x73,
   236  	0x74, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6c, 0x6f, 0x67, 0x18, 0x1b, 0x20, 0x01, 0x28,
   237  	0x09, 0x52, 0x0c, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x4c, 0x6f, 0x67, 0x42,
   238  	0x7f, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e,
   239  	0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x72,
   240  	0x65, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x50, 0x01, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
   241  	0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63,
   242  	0x6f, 0x72, 0x65, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e,
   243  	0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x72, 0x65, 0x61, 0x6c, 0x69, 0x74, 0x79, 0xaa, 0x02,
   244  	0x1f, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e,
   245  	0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x52, 0x65, 0x61, 0x6c, 0x69, 0x74, 0x79,
   246  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   247  }
   248  
   249  var (
   250  	file_transport_internet_reality_config_proto_rawDescOnce sync.Once
   251  	file_transport_internet_reality_config_proto_rawDescData = file_transport_internet_reality_config_proto_rawDesc
   252  )
   253  
   254  func file_transport_internet_reality_config_proto_rawDescGZIP() []byte {
   255  	file_transport_internet_reality_config_proto_rawDescOnce.Do(func() {
   256  		file_transport_internet_reality_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_reality_config_proto_rawDescData)
   257  	})
   258  	return file_transport_internet_reality_config_proto_rawDescData
   259  }
   260  
   261  var file_transport_internet_reality_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   262  var file_transport_internet_reality_config_proto_goTypes = []interface{}{
   263  	(*Config)(nil), // 0: xray.transport.internet.reality.Config
   264  }
   265  var file_transport_internet_reality_config_proto_depIdxs = []int32{
   266  	0, // [0:0] is the sub-list for method output_type
   267  	0, // [0:0] is the sub-list for method input_type
   268  	0, // [0:0] is the sub-list for extension type_name
   269  	0, // [0:0] is the sub-list for extension extendee
   270  	0, // [0:0] is the sub-list for field type_name
   271  }
   272  
   273  func init() { file_transport_internet_reality_config_proto_init() }
   274  func file_transport_internet_reality_config_proto_init() {
   275  	if File_transport_internet_reality_config_proto != nil {
   276  		return
   277  	}
   278  	if !protoimpl.UnsafeEnabled {
   279  		file_transport_internet_reality_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   280  			switch v := v.(*Config); i {
   281  			case 0:
   282  				return &v.state
   283  			case 1:
   284  				return &v.sizeCache
   285  			case 2:
   286  				return &v.unknownFields
   287  			default:
   288  				return nil
   289  			}
   290  		}
   291  	}
   292  	type x struct{}
   293  	out := protoimpl.TypeBuilder{
   294  		File: protoimpl.DescBuilder{
   295  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   296  			RawDescriptor: file_transport_internet_reality_config_proto_rawDesc,
   297  			NumEnums:      0,
   298  			NumMessages:   1,
   299  			NumExtensions: 0,
   300  			NumServices:   0,
   301  		},
   302  		GoTypes:           file_transport_internet_reality_config_proto_goTypes,
   303  		DependencyIndexes: file_transport_internet_reality_config_proto_depIdxs,
   304  		MessageInfos:      file_transport_internet_reality_config_proto_msgTypes,
   305  	}.Build()
   306  	File_transport_internet_reality_config_proto = out.File
   307  	file_transport_internet_reality_config_proto_rawDesc = nil
   308  	file_transport_internet_reality_config_proto_goTypes = nil
   309  	file_transport_internet_reality_config_proto_depIdxs = nil
   310  }