config.pb.go 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.25.0
  4. // protoc v3.13.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, 0x19, 0x76,
  98. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x69,
  99. 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x22, 0x15, 0x0a, 0x0d, 0x53, 0x65, 0x73, 0x73,
  100. 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22,
  101. 0x4e, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x44, 0x0a, 0x08, 0x73, 0x65, 0x74,
  102. 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x32,
  103. 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x69, 0x73,
  104. 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43,
  105. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42,
  106. 0x5c, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
  107. 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72,
  108. 0x50, 0x01, 0x5a, 0x1d, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f,
  109. 0x72, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65,
  110. 0x72, 0xaa, 0x02, 0x19, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41,
  111. 0x70, 0x70, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x62, 0x06, 0x70,
  112. 0x72, 0x6f, 0x74, 0x6f, 0x33,
  113. }
  114. var (
  115. file_app_dispatcher_config_proto_rawDescOnce sync.Once
  116. file_app_dispatcher_config_proto_rawDescData = file_app_dispatcher_config_proto_rawDesc
  117. )
  118. func file_app_dispatcher_config_proto_rawDescGZIP() []byte {
  119. file_app_dispatcher_config_proto_rawDescOnce.Do(func() {
  120. file_app_dispatcher_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_dispatcher_config_proto_rawDescData)
  121. })
  122. return file_app_dispatcher_config_proto_rawDescData
  123. }
  124. var file_app_dispatcher_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  125. var file_app_dispatcher_config_proto_goTypes = []interface{}{
  126. (*SessionConfig)(nil), // 0: v2ray.core.app.dispatcher.SessionConfig
  127. (*Config)(nil), // 1: v2ray.core.app.dispatcher.Config
  128. }
  129. var file_app_dispatcher_config_proto_depIdxs = []int32{
  130. 0, // 0: v2ray.core.app.dispatcher.Config.settings:type_name -> v2ray.core.app.dispatcher.SessionConfig
  131. 1, // [1:1] is the sub-list for method output_type
  132. 1, // [1:1] is the sub-list for method input_type
  133. 1, // [1:1] is the sub-list for extension type_name
  134. 1, // [1:1] is the sub-list for extension extendee
  135. 0, // [0:1] is the sub-list for field type_name
  136. }
  137. func init() { file_app_dispatcher_config_proto_init() }
  138. func file_app_dispatcher_config_proto_init() {
  139. if File_app_dispatcher_config_proto != nil {
  140. return
  141. }
  142. if !protoimpl.UnsafeEnabled {
  143. file_app_dispatcher_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  144. switch v := v.(*SessionConfig); i {
  145. case 0:
  146. return &v.state
  147. case 1:
  148. return &v.sizeCache
  149. case 2:
  150. return &v.unknownFields
  151. default:
  152. return nil
  153. }
  154. }
  155. file_app_dispatcher_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  156. switch v := v.(*Config); i {
  157. case 0:
  158. return &v.state
  159. case 1:
  160. return &v.sizeCache
  161. case 2:
  162. return &v.unknownFields
  163. default:
  164. return nil
  165. }
  166. }
  167. }
  168. type x struct{}
  169. out := protoimpl.TypeBuilder{
  170. File: protoimpl.DescBuilder{
  171. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  172. RawDescriptor: file_app_dispatcher_config_proto_rawDesc,
  173. NumEnums: 0,
  174. NumMessages: 2,
  175. NumExtensions: 0,
  176. NumServices: 0,
  177. },
  178. GoTypes: file_app_dispatcher_config_proto_goTypes,
  179. DependencyIndexes: file_app_dispatcher_config_proto_depIdxs,
  180. MessageInfos: file_app_dispatcher_config_proto_msgTypes,
  181. }.Build()
  182. File_app_dispatcher_config_proto = out.File
  183. file_app_dispatcher_config_proto_rawDesc = nil
  184. file_app_dispatcher_config_proto_goTypes = nil
  185. file_app_dispatcher_config_proto_depIdxs = nil
  186. }