github.com/v2fly/v2ray-core/v4@v4.45.2/app/commander/config.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.27.1
     4  // 	protoc        v3.17.3
     5  // source: app/commander/config.proto
     6  
     7  package commander
     8  
     9  import (
    10  	serial "github.com/v2fly/v2ray-core/v4/common/serial"
    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  // Config is the settings for Commander.
    25  type Config struct {
    26  	state         protoimpl.MessageState
    27  	sizeCache     protoimpl.SizeCache
    28  	unknownFields protoimpl.UnknownFields
    29  
    30  	// Tag of the outbound handler that handles grpc connections.
    31  	Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
    32  	// Services that supported by this server. All services must implement Service
    33  	// interface.
    34  	Service []*serial.TypedMessage `protobuf:"bytes,2,rep,name=service,proto3" json:"service,omitempty"`
    35  }
    36  
    37  func (x *Config) Reset() {
    38  	*x = Config{}
    39  	if protoimpl.UnsafeEnabled {
    40  		mi := &file_app_commander_config_proto_msgTypes[0]
    41  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    42  		ms.StoreMessageInfo(mi)
    43  	}
    44  }
    45  
    46  func (x *Config) String() string {
    47  	return protoimpl.X.MessageStringOf(x)
    48  }
    49  
    50  func (*Config) ProtoMessage() {}
    51  
    52  func (x *Config) ProtoReflect() protoreflect.Message {
    53  	mi := &file_app_commander_config_proto_msgTypes[0]
    54  	if protoimpl.UnsafeEnabled && x != nil {
    55  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    56  		if ms.LoadMessageInfo() == nil {
    57  			ms.StoreMessageInfo(mi)
    58  		}
    59  		return ms
    60  	}
    61  	return mi.MessageOf(x)
    62  }
    63  
    64  // Deprecated: Use Config.ProtoReflect.Descriptor instead.
    65  func (*Config) Descriptor() ([]byte, []int) {
    66  	return file_app_commander_config_proto_rawDescGZIP(), []int{0}
    67  }
    68  
    69  func (x *Config) GetTag() string {
    70  	if x != nil {
    71  		return x.Tag
    72  	}
    73  	return ""
    74  }
    75  
    76  func (x *Config) GetService() []*serial.TypedMessage {
    77  	if x != nil {
    78  		return x.Service
    79  	}
    80  	return nil
    81  }
    82  
    83  // ReflectionConfig is the placeholder config for ReflectionService.
    84  type ReflectionConfig struct {
    85  	state         protoimpl.MessageState
    86  	sizeCache     protoimpl.SizeCache
    87  	unknownFields protoimpl.UnknownFields
    88  }
    89  
    90  func (x *ReflectionConfig) Reset() {
    91  	*x = ReflectionConfig{}
    92  	if protoimpl.UnsafeEnabled {
    93  		mi := &file_app_commander_config_proto_msgTypes[1]
    94  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    95  		ms.StoreMessageInfo(mi)
    96  	}
    97  }
    98  
    99  func (x *ReflectionConfig) String() string {
   100  	return protoimpl.X.MessageStringOf(x)
   101  }
   102  
   103  func (*ReflectionConfig) ProtoMessage() {}
   104  
   105  func (x *ReflectionConfig) ProtoReflect() protoreflect.Message {
   106  	mi := &file_app_commander_config_proto_msgTypes[1]
   107  	if protoimpl.UnsafeEnabled && x != nil {
   108  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   109  		if ms.LoadMessageInfo() == nil {
   110  			ms.StoreMessageInfo(mi)
   111  		}
   112  		return ms
   113  	}
   114  	return mi.MessageOf(x)
   115  }
   116  
   117  // Deprecated: Use ReflectionConfig.ProtoReflect.Descriptor instead.
   118  func (*ReflectionConfig) Descriptor() ([]byte, []int) {
   119  	return file_app_commander_config_proto_rawDescGZIP(), []int{1}
   120  }
   121  
   122  var File_app_commander_config_proto protoreflect.FileDescriptor
   123  
   124  var file_app_commander_config_proto_rawDesc = []byte{
   125  	0x0a, 0x1a, 0x61, 0x70, 0x70, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72, 0x2f,
   126  	0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x76, 0x32,
   127  	0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x6f, 0x6d,
   128  	0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73,
   129  	0x65, 0x72, 0x69, 0x61, 0x6c, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73,
   130  	0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x06, 0x43, 0x6f, 0x6e,
   131  	0x66, 0x69, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
   132  	0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x40, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
   133  	0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63,
   134  	0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61,
   135  	0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07,
   136  	0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x12, 0x0a, 0x10, 0x52, 0x65, 0x66, 0x6c, 0x65,
   137  	0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x69, 0x0a, 0x1c, 0x63,
   138  	0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70,
   139  	0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72, 0x50, 0x01, 0x5a, 0x2c, 0x67,
   140  	0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f,
   141  	0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70,
   142  	0x70, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72, 0xaa, 0x02, 0x18, 0x56, 0x32,
   143  	0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x43, 0x6f, 0x6d,
   144  	0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   145  }
   146  
   147  var (
   148  	file_app_commander_config_proto_rawDescOnce sync.Once
   149  	file_app_commander_config_proto_rawDescData = file_app_commander_config_proto_rawDesc
   150  )
   151  
   152  func file_app_commander_config_proto_rawDescGZIP() []byte {
   153  	file_app_commander_config_proto_rawDescOnce.Do(func() {
   154  		file_app_commander_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_commander_config_proto_rawDescData)
   155  	})
   156  	return file_app_commander_config_proto_rawDescData
   157  }
   158  
   159  var file_app_commander_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   160  var file_app_commander_config_proto_goTypes = []interface{}{
   161  	(*Config)(nil),              // 0: v2ray.core.app.commander.Config
   162  	(*ReflectionConfig)(nil),    // 1: v2ray.core.app.commander.ReflectionConfig
   163  	(*serial.TypedMessage)(nil), // 2: v2ray.core.common.serial.TypedMessage
   164  }
   165  var file_app_commander_config_proto_depIdxs = []int32{
   166  	2, // 0: v2ray.core.app.commander.Config.service:type_name -> v2ray.core.common.serial.TypedMessage
   167  	1, // [1:1] is the sub-list for method output_type
   168  	1, // [1:1] is the sub-list for method input_type
   169  	1, // [1:1] is the sub-list for extension type_name
   170  	1, // [1:1] is the sub-list for extension extendee
   171  	0, // [0:1] is the sub-list for field type_name
   172  }
   173  
   174  func init() { file_app_commander_config_proto_init() }
   175  func file_app_commander_config_proto_init() {
   176  	if File_app_commander_config_proto != nil {
   177  		return
   178  	}
   179  	if !protoimpl.UnsafeEnabled {
   180  		file_app_commander_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   181  			switch v := v.(*Config); i {
   182  			case 0:
   183  				return &v.state
   184  			case 1:
   185  				return &v.sizeCache
   186  			case 2:
   187  				return &v.unknownFields
   188  			default:
   189  				return nil
   190  			}
   191  		}
   192  		file_app_commander_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   193  			switch v := v.(*ReflectionConfig); i {
   194  			case 0:
   195  				return &v.state
   196  			case 1:
   197  				return &v.sizeCache
   198  			case 2:
   199  				return &v.unknownFields
   200  			default:
   201  				return nil
   202  			}
   203  		}
   204  	}
   205  	type x struct{}
   206  	out := protoimpl.TypeBuilder{
   207  		File: protoimpl.DescBuilder{
   208  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   209  			RawDescriptor: file_app_commander_config_proto_rawDesc,
   210  			NumEnums:      0,
   211  			NumMessages:   2,
   212  			NumExtensions: 0,
   213  			NumServices:   0,
   214  		},
   215  		GoTypes:           file_app_commander_config_proto_goTypes,
   216  		DependencyIndexes: file_app_commander_config_proto_depIdxs,
   217  		MessageInfos:      file_app_commander_config_proto_msgTypes,
   218  	}.Build()
   219  	File_app_commander_config_proto = out.File
   220  	file_app_commander_config_proto_rawDesc = nil
   221  	file_app_commander_config_proto_goTypes = nil
   222  	file_app_commander_config_proto_depIdxs = nil
   223  }