config.pb.go 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.21.12
  5. // source: proxy/loopback/config.proto
  6. package loopback
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type Config struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. InboundTag string `protobuf:"bytes,1,opt,name=inbound_tag,json=inboundTag,proto3" json:"inbound_tag,omitempty"`
  24. }
  25. func (x *Config) Reset() {
  26. *x = Config{}
  27. if protoimpl.UnsafeEnabled {
  28. mi := &file_proxy_loopback_config_proto_msgTypes[0]
  29. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  30. ms.StoreMessageInfo(mi)
  31. }
  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_loopback_config_proto_msgTypes[0]
  39. if protoimpl.UnsafeEnabled && 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_loopback_config_proto_rawDescGZIP(), []int{0}
  51. }
  52. func (x *Config) GetInboundTag() string {
  53. if x != nil {
  54. return x.InboundTag
  55. }
  56. return ""
  57. }
  58. var File_proxy_loopback_config_proto protoreflect.FileDescriptor
  59. var file_proxy_loopback_config_proto_rawDesc = []byte{
  60. 0x0a, 0x1b, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x6c, 0x6f, 0x6f, 0x70, 0x62, 0x61, 0x63, 0x6b,
  61. 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x78,
  62. 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x62, 0x61,
  63. 0x63, 0x6b, 0x22, 0x29, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1f, 0x0a, 0x0b,
  64. 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28,
  65. 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x42, 0x5b, 0x0a,
  66. 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e,
  67. 0x6c, 0x6f, 0x6f, 0x70, 0x62, 0x61, 0x63, 0x6b, 0x50, 0x01, 0x5a, 0x28, 0x67, 0x69, 0x74, 0x68,
  68. 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79,
  69. 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x6c, 0x6f, 0x6f, 0x70,
  70. 0x62, 0x61, 0x63, 0x6b, 0xaa, 0x02, 0x13, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x78,
  71. 0x79, 0x2e, 0x4c, 0x6f, 0x6f, 0x70, 0x62, 0x61, 0x63, 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  72. 0x6f, 0x33,
  73. }
  74. var (
  75. file_proxy_loopback_config_proto_rawDescOnce sync.Once
  76. file_proxy_loopback_config_proto_rawDescData = file_proxy_loopback_config_proto_rawDesc
  77. )
  78. func file_proxy_loopback_config_proto_rawDescGZIP() []byte {
  79. file_proxy_loopback_config_proto_rawDescOnce.Do(func() {
  80. file_proxy_loopback_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_loopback_config_proto_rawDescData)
  81. })
  82. return file_proxy_loopback_config_proto_rawDescData
  83. }
  84. var file_proxy_loopback_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  85. var file_proxy_loopback_config_proto_goTypes = []interface{}{
  86. (*Config)(nil), // 0: xray.proxy.loopback.Config
  87. }
  88. var file_proxy_loopback_config_proto_depIdxs = []int32{
  89. 0, // [0:0] is the sub-list for method output_type
  90. 0, // [0:0] is the sub-list for method input_type
  91. 0, // [0:0] is the sub-list for extension type_name
  92. 0, // [0:0] is the sub-list for extension extendee
  93. 0, // [0:0] is the sub-list for field type_name
  94. }
  95. func init() { file_proxy_loopback_config_proto_init() }
  96. func file_proxy_loopback_config_proto_init() {
  97. if File_proxy_loopback_config_proto != nil {
  98. return
  99. }
  100. if !protoimpl.UnsafeEnabled {
  101. file_proxy_loopback_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  102. switch v := v.(*Config); i {
  103. case 0:
  104. return &v.state
  105. case 1:
  106. return &v.sizeCache
  107. case 2:
  108. return &v.unknownFields
  109. default:
  110. return nil
  111. }
  112. }
  113. }
  114. type x struct{}
  115. out := protoimpl.TypeBuilder{
  116. File: protoimpl.DescBuilder{
  117. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  118. RawDescriptor: file_proxy_loopback_config_proto_rawDesc,
  119. NumEnums: 0,
  120. NumMessages: 1,
  121. NumExtensions: 0,
  122. NumServices: 0,
  123. },
  124. GoTypes: file_proxy_loopback_config_proto_goTypes,
  125. DependencyIndexes: file_proxy_loopback_config_proto_depIdxs,
  126. MessageInfos: file_proxy_loopback_config_proto_msgTypes,
  127. }.Build()
  128. File_proxy_loopback_config_proto = out.File
  129. file_proxy_loopback_config_proto_rawDesc = nil
  130. file_proxy_loopback_config_proto_goTypes = nil
  131. file_proxy_loopback_config_proto_depIdxs = nil
  132. }