github.com/Uhtred009/v2ray-core-1@v4.31.2+incompatible/app/commander/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.13.0 5 // source: app/commander/config.proto 6 7 package commander 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 serial "v2ray.com/core/common/serial" 16 ) 17 18 const ( 19 // Verify that this generated code is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 21 // Verify that runtime/protoimpl is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 23 ) 24 25 // This is a compile-time assertion that a sufficiently up-to-date version 26 // of the legacy proto package is being used. 27 const _ = proto.ProtoPackageIsVersion4 28 29 // Config is the settings for Commander. 30 type Config struct { 31 state protoimpl.MessageState 32 sizeCache protoimpl.SizeCache 33 unknownFields protoimpl.UnknownFields 34 35 // Tag of the outbound handler that handles grpc connections. 36 Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` 37 // Services that supported by this server. All services must implement Service 38 // interface. 39 Service []*serial.TypedMessage `protobuf:"bytes,2,rep,name=service,proto3" json:"service,omitempty"` 40 } 41 42 func (x *Config) Reset() { 43 *x = Config{} 44 if protoimpl.UnsafeEnabled { 45 mi := &file_app_commander_config_proto_msgTypes[0] 46 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 47 ms.StoreMessageInfo(mi) 48 } 49 } 50 51 func (x *Config) String() string { 52 return protoimpl.X.MessageStringOf(x) 53 } 54 55 func (*Config) ProtoMessage() {} 56 57 func (x *Config) ProtoReflect() protoreflect.Message { 58 mi := &file_app_commander_config_proto_msgTypes[0] 59 if protoimpl.UnsafeEnabled && x != nil { 60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 61 if ms.LoadMessageInfo() == nil { 62 ms.StoreMessageInfo(mi) 63 } 64 return ms 65 } 66 return mi.MessageOf(x) 67 } 68 69 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 70 func (*Config) Descriptor() ([]byte, []int) { 71 return file_app_commander_config_proto_rawDescGZIP(), []int{0} 72 } 73 74 func (x *Config) GetTag() string { 75 if x != nil { 76 return x.Tag 77 } 78 return "" 79 } 80 81 func (x *Config) GetService() []*serial.TypedMessage { 82 if x != nil { 83 return x.Service 84 } 85 return nil 86 } 87 88 var File_app_commander_config_proto protoreflect.FileDescriptor 89 90 var file_app_commander_config_proto_rawDesc = []byte{ 91 0x0a, 0x1a, 0x61, 0x70, 0x70, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72, 0x2f, 92 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x76, 0x32, 93 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 94 0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 95 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 96 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 97 0x66, 0x69, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 98 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x40, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 99 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 100 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 101 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 102 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x59, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 103 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x6f, 104 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72, 0x50, 0x01, 0x5a, 0x1c, 0x76, 0x32, 0x72, 0x61, 0x79, 105 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x63, 0x6f, 106 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72, 0xaa, 0x02, 0x18, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 107 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 108 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 109 } 110 111 var ( 112 file_app_commander_config_proto_rawDescOnce sync.Once 113 file_app_commander_config_proto_rawDescData = file_app_commander_config_proto_rawDesc 114 ) 115 116 func file_app_commander_config_proto_rawDescGZIP() []byte { 117 file_app_commander_config_proto_rawDescOnce.Do(func() { 118 file_app_commander_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_commander_config_proto_rawDescData) 119 }) 120 return file_app_commander_config_proto_rawDescData 121 } 122 123 var file_app_commander_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 124 var file_app_commander_config_proto_goTypes = []interface{}{ 125 (*Config)(nil), // 0: v2ray.core.app.commander.Config 126 (*serial.TypedMessage)(nil), // 1: v2ray.core.common.serial.TypedMessage 127 } 128 var file_app_commander_config_proto_depIdxs = []int32{ 129 1, // 0: v2ray.core.app.commander.Config.service:type_name -> v2ray.core.common.serial.TypedMessage 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 137 func init() { file_app_commander_config_proto_init() } 138 func file_app_commander_config_proto_init() { 139 if File_app_commander_config_proto != nil { 140 return 141 } 142 if !protoimpl.UnsafeEnabled { 143 file_app_commander_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 144 switch v := v.(*Config); 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 } 156 type x struct{} 157 out := protoimpl.TypeBuilder{ 158 File: protoimpl.DescBuilder{ 159 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 160 RawDescriptor: file_app_commander_config_proto_rawDesc, 161 NumEnums: 0, 162 NumMessages: 1, 163 NumExtensions: 0, 164 NumServices: 0, 165 }, 166 GoTypes: file_app_commander_config_proto_goTypes, 167 DependencyIndexes: file_app_commander_config_proto_depIdxs, 168 MessageInfos: file_app_commander_config_proto_msgTypes, 169 }.Build() 170 File_app_commander_config_proto = out.File 171 file_app_commander_config_proto_rawDesc = nil 172 file_app_commander_config_proto_goTypes = nil 173 file_app_commander_config_proto_depIdxs = nil 174 }