1
0

config.pb.go 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.1
  4. // protoc v5.28.2
  5. // source: app/dispatcher/config.proto
  6. package dispatcher
  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 SessionConfig struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. }
  24. func (x *SessionConfig) Reset() {
  25. *x = SessionConfig{}
  26. mi := &file_app_dispatcher_config_proto_msgTypes[0]
  27. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  28. ms.StoreMessageInfo(mi)
  29. }
  30. func (x *SessionConfig) String() string {
  31. return protoimpl.X.MessageStringOf(x)
  32. }
  33. func (*SessionConfig) ProtoMessage() {}
  34. func (x *SessionConfig) ProtoReflect() protoreflect.Message {
  35. mi := &file_app_dispatcher_config_proto_msgTypes[0]
  36. if x != nil {
  37. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  38. if ms.LoadMessageInfo() == nil {
  39. ms.StoreMessageInfo(mi)
  40. }
  41. return ms
  42. }
  43. return mi.MessageOf(x)
  44. }
  45. // Deprecated: Use SessionConfig.ProtoReflect.Descriptor instead.
  46. func (*SessionConfig) Descriptor() ([]byte, []int) {
  47. return file_app_dispatcher_config_proto_rawDescGZIP(), []int{0}
  48. }
  49. type Config struct {
  50. state protoimpl.MessageState
  51. sizeCache protoimpl.SizeCache
  52. unknownFields protoimpl.UnknownFields
  53. Settings *SessionConfig `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
  54. }
  55. func (x *Config) Reset() {
  56. *x = Config{}
  57. mi := &file_app_dispatcher_config_proto_msgTypes[1]
  58. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  59. ms.StoreMessageInfo(mi)
  60. }
  61. func (x *Config) String() string {
  62. return protoimpl.X.MessageStringOf(x)
  63. }
  64. func (*Config) ProtoMessage() {}
  65. func (x *Config) ProtoReflect() protoreflect.Message {
  66. mi := &file_app_dispatcher_config_proto_msgTypes[1]
  67. if x != nil {
  68. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  69. if ms.LoadMessageInfo() == nil {
  70. ms.StoreMessageInfo(mi)
  71. }
  72. return ms
  73. }
  74. return mi.MessageOf(x)
  75. }
  76. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  77. func (*Config) Descriptor() ([]byte, []int) {
  78. return file_app_dispatcher_config_proto_rawDescGZIP(), []int{1}
  79. }
  80. func (x *Config) GetSettings() *SessionConfig {
  81. if x != nil {
  82. return x.Settings
  83. }
  84. return nil
  85. }
  86. var File_app_dispatcher_config_proto protoreflect.FileDescriptor
  87. var file_app_dispatcher_config_proto_rawDesc = []byte{
  88. 0x0a, 0x1b, 0x61, 0x70, 0x70, 0x2f, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72,
  89. 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x78,
  90. 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68,
  91. 0x65, 0x72, 0x22, 0x15, 0x0a, 0x0d, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e,
  92. 0x66, 0x69, 0x67, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x48, 0x0a, 0x06, 0x43, 0x6f, 0x6e,
  93. 0x66, 0x69, 0x67, 0x12, 0x3e, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18,
  94. 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70,
  95. 0x2e, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x73, 0x73,
  96. 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69,
  97. 0x6e, 0x67, 0x73, 0x42, 0x5b, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e,
  98. 0x61, 0x70, 0x70, 0x2e, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x50, 0x01,
  99. 0x5a, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c,
  100. 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x2f,
  101. 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0xaa, 0x02, 0x13, 0x58, 0x72, 0x61,
  102. 0x79, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72,
  103. 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  104. }
  105. var (
  106. file_app_dispatcher_config_proto_rawDescOnce sync.Once
  107. file_app_dispatcher_config_proto_rawDescData = file_app_dispatcher_config_proto_rawDesc
  108. )
  109. func file_app_dispatcher_config_proto_rawDescGZIP() []byte {
  110. file_app_dispatcher_config_proto_rawDescOnce.Do(func() {
  111. file_app_dispatcher_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_dispatcher_config_proto_rawDescData)
  112. })
  113. return file_app_dispatcher_config_proto_rawDescData
  114. }
  115. var file_app_dispatcher_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  116. var file_app_dispatcher_config_proto_goTypes = []any{
  117. (*SessionConfig)(nil), // 0: xray.app.dispatcher.SessionConfig
  118. (*Config)(nil), // 1: xray.app.dispatcher.Config
  119. }
  120. var file_app_dispatcher_config_proto_depIdxs = []int32{
  121. 0, // 0: xray.app.dispatcher.Config.settings:type_name -> xray.app.dispatcher.SessionConfig
  122. 1, // [1:1] is the sub-list for method output_type
  123. 1, // [1:1] is the sub-list for method input_type
  124. 1, // [1:1] is the sub-list for extension type_name
  125. 1, // [1:1] is the sub-list for extension extendee
  126. 0, // [0:1] is the sub-list for field type_name
  127. }
  128. func init() { file_app_dispatcher_config_proto_init() }
  129. func file_app_dispatcher_config_proto_init() {
  130. if File_app_dispatcher_config_proto != nil {
  131. return
  132. }
  133. type x struct{}
  134. out := protoimpl.TypeBuilder{
  135. File: protoimpl.DescBuilder{
  136. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  137. RawDescriptor: file_app_dispatcher_config_proto_rawDesc,
  138. NumEnums: 0,
  139. NumMessages: 2,
  140. NumExtensions: 0,
  141. NumServices: 0,
  142. },
  143. GoTypes: file_app_dispatcher_config_proto_goTypes,
  144. DependencyIndexes: file_app_dispatcher_config_proto_depIdxs,
  145. MessageInfos: file_app_dispatcher_config_proto_msgTypes,
  146. }.Build()
  147. File_app_dispatcher_config_proto = out.File
  148. file_app_dispatcher_config_proto_rawDesc = nil
  149. file_app_dispatcher_config_proto_goTypes = nil
  150. file_app_dispatcher_config_proto_depIdxs = nil
  151. }