github.com/eagleql/xray-core@v1.4.4/app/dispatcher/config.pb.go (about)

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