config.pb.go 7.0 KB

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