config.pb.go 6.8 KB

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