config.pb.go 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.11
  4. // protoc v6.33.5
  5. // source: proxy/vmess/outbound/config.proto
  6. package outbound
  7. import (
  8. protocol "github.com/xtls/xray-core/common/protocol"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. reflect "reflect"
  12. sync "sync"
  13. unsafe "unsafe"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. type Config struct {
  22. state protoimpl.MessageState `protogen:"open.v1"`
  23. Receiver *protocol.ServerEndpoint `protobuf:"bytes,1,opt,name=Receiver,proto3" json:"Receiver,omitempty"`
  24. unknownFields protoimpl.UnknownFields
  25. sizeCache protoimpl.SizeCache
  26. }
  27. func (x *Config) Reset() {
  28. *x = Config{}
  29. mi := &file_proxy_vmess_outbound_config_proto_msgTypes[0]
  30. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  31. ms.StoreMessageInfo(mi)
  32. }
  33. func (x *Config) String() string {
  34. return protoimpl.X.MessageStringOf(x)
  35. }
  36. func (*Config) ProtoMessage() {}
  37. func (x *Config) ProtoReflect() protoreflect.Message {
  38. mi := &file_proxy_vmess_outbound_config_proto_msgTypes[0]
  39. if x != nil {
  40. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  41. if ms.LoadMessageInfo() == nil {
  42. ms.StoreMessageInfo(mi)
  43. }
  44. return ms
  45. }
  46. return mi.MessageOf(x)
  47. }
  48. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  49. func (*Config) Descriptor() ([]byte, []int) {
  50. return file_proxy_vmess_outbound_config_proto_rawDescGZIP(), []int{0}
  51. }
  52. func (x *Config) GetReceiver() *protocol.ServerEndpoint {
  53. if x != nil {
  54. return x.Receiver
  55. }
  56. return nil
  57. }
  58. var File_proxy_vmess_outbound_config_proto protoreflect.FileDescriptor
  59. const file_proxy_vmess_outbound_config_proto_rawDesc = "" +
  60. "\n" +
  61. "!proxy/vmess/outbound/config.proto\x12\x19xray.proxy.vmess.outbound\x1a!common/protocol/server_spec.proto\"J\n" +
  62. "\x06Config\x12@\n" +
  63. "\bReceiver\x18\x01 \x01(\v2$.xray.common.protocol.ServerEndpointR\bReceiverBm\n" +
  64. "\x1dcom.xray.proxy.vmess.outboundP\x01Z.github.com/xtls/xray-core/proxy/vmess/outbound\xaa\x02\x19Xray.Proxy.Vmess.Outboundb\x06proto3"
  65. var (
  66. file_proxy_vmess_outbound_config_proto_rawDescOnce sync.Once
  67. file_proxy_vmess_outbound_config_proto_rawDescData []byte
  68. )
  69. func file_proxy_vmess_outbound_config_proto_rawDescGZIP() []byte {
  70. file_proxy_vmess_outbound_config_proto_rawDescOnce.Do(func() {
  71. file_proxy_vmess_outbound_config_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proxy_vmess_outbound_config_proto_rawDesc), len(file_proxy_vmess_outbound_config_proto_rawDesc)))
  72. })
  73. return file_proxy_vmess_outbound_config_proto_rawDescData
  74. }
  75. var file_proxy_vmess_outbound_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  76. var file_proxy_vmess_outbound_config_proto_goTypes = []any{
  77. (*Config)(nil), // 0: xray.proxy.vmess.outbound.Config
  78. (*protocol.ServerEndpoint)(nil), // 1: xray.common.protocol.ServerEndpoint
  79. }
  80. var file_proxy_vmess_outbound_config_proto_depIdxs = []int32{
  81. 1, // 0: xray.proxy.vmess.outbound.Config.Receiver:type_name -> xray.common.protocol.ServerEndpoint
  82. 1, // [1:1] is the sub-list for method output_type
  83. 1, // [1:1] is the sub-list for method input_type
  84. 1, // [1:1] is the sub-list for extension type_name
  85. 1, // [1:1] is the sub-list for extension extendee
  86. 0, // [0:1] is the sub-list for field type_name
  87. }
  88. func init() { file_proxy_vmess_outbound_config_proto_init() }
  89. func file_proxy_vmess_outbound_config_proto_init() {
  90. if File_proxy_vmess_outbound_config_proto != nil {
  91. return
  92. }
  93. type x struct{}
  94. out := protoimpl.TypeBuilder{
  95. File: protoimpl.DescBuilder{
  96. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  97. RawDescriptor: unsafe.Slice(unsafe.StringData(file_proxy_vmess_outbound_config_proto_rawDesc), len(file_proxy_vmess_outbound_config_proto_rawDesc)),
  98. NumEnums: 0,
  99. NumMessages: 1,
  100. NumExtensions: 0,
  101. NumServices: 0,
  102. },
  103. GoTypes: file_proxy_vmess_outbound_config_proto_goTypes,
  104. DependencyIndexes: file_proxy_vmess_outbound_config_proto_depIdxs,
  105. MessageInfos: file_proxy_vmess_outbound_config_proto_msgTypes,
  106. }.Build()
  107. File_proxy_vmess_outbound_config_proto = out.File
  108. file_proxy_vmess_outbound_config_proto_goTypes = nil
  109. file_proxy_vmess_outbound_config_proto_depIdxs = nil
  110. }