github.com/xraypb/Xray-core@v1.8.1/app/dispatcher/config.pb.go (about)

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