Skip to content

Commit 3ee9045

Browse files
committed
chore: regenerate protos
1 parent 1cf24f4 commit 3ee9045

File tree

101 files changed

+2830
-6565
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+2830
-6565
lines changed

app/browserforwarder/config.pb.go

Lines changed: 15 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
77
reflect "reflect"
88
sync "sync"
9+
unsafe "unsafe"
910
)
1011

1112
const (
@@ -17,21 +18,18 @@ const (
1718

1819
// Config is the settings for BrowserForwarder.
1920
type Config struct {
20-
state protoimpl.MessageState
21-
sizeCache protoimpl.SizeCache
21+
state protoimpl.MessageState `protogen:"open.v1"`
22+
ListenAddr string `protobuf:"bytes,1,opt,name=listen_addr,json=listenAddr,proto3" json:"listen_addr,omitempty"`
23+
ListenPort int32 `protobuf:"varint,2,opt,name=listen_port,json=listenPort,proto3" json:"listen_port,omitempty"`
2224
unknownFields protoimpl.UnknownFields
23-
24-
ListenAddr string `protobuf:"bytes,1,opt,name=listen_addr,json=listenAddr,proto3" json:"listen_addr,omitempty"`
25-
ListenPort int32 `protobuf:"varint,2,opt,name=listen_port,json=listenPort,proto3" json:"listen_port,omitempty"`
25+
sizeCache protoimpl.SizeCache
2626
}
2727

2828
func (x *Config) Reset() {
2929
*x = Config{}
30-
if protoimpl.UnsafeEnabled {
31-
mi := &file_app_browserforwarder_config_proto_msgTypes[0]
32-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
33-
ms.StoreMessageInfo(mi)
34-
}
30+
mi := &file_app_browserforwarder_config_proto_msgTypes[0]
31+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
32+
ms.StoreMessageInfo(mi)
3533
}
3634

3735
func (x *Config) String() string {
@@ -42,7 +40,7 @@ func (*Config) ProtoMessage() {}
4240

4341
func (x *Config) ProtoReflect() protoreflect.Message {
4442
mi := &file_app_browserforwarder_config_proto_msgTypes[0]
45-
if protoimpl.UnsafeEnabled && x != nil {
43+
if x != nil {
4644
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
4745
if ms.LoadMessageInfo() == nil {
4846
ms.StoreMessageInfo(mi)
@@ -73,7 +71,7 @@ func (x *Config) GetListenPort() int32 {
7371

7472
var File_app_browserforwarder_config_proto protoreflect.FileDescriptor
7573

76-
var file_app_browserforwarder_config_proto_rawDesc = []byte{
74+
var file_app_browserforwarder_config_proto_rawDesc = string([]byte{
7775
0x0a, 0x21, 0x61, 0x70, 0x70, 0x2f, 0x62, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x66, 0x6f, 0x72,
7876
0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72,
7977
0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
@@ -96,22 +94,22 @@ var file_app_browserforwarder_config_proto_rawDesc = []byte{
9694
0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65,
9795
0x72, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
9896
0x6f, 0x33,
99-
}
97+
})
10098

10199
var (
102100
file_app_browserforwarder_config_proto_rawDescOnce sync.Once
103-
file_app_browserforwarder_config_proto_rawDescData = file_app_browserforwarder_config_proto_rawDesc
101+
file_app_browserforwarder_config_proto_rawDescData []byte
104102
)
105103

106104
func file_app_browserforwarder_config_proto_rawDescGZIP() []byte {
107105
file_app_browserforwarder_config_proto_rawDescOnce.Do(func() {
108-
file_app_browserforwarder_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_browserforwarder_config_proto_rawDescData)
106+
file_app_browserforwarder_config_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_app_browserforwarder_config_proto_rawDesc), len(file_app_browserforwarder_config_proto_rawDesc)))
109107
})
110108
return file_app_browserforwarder_config_proto_rawDescData
111109
}
112110

113111
var file_app_browserforwarder_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
114-
var file_app_browserforwarder_config_proto_goTypes = []interface{}{
112+
var file_app_browserforwarder_config_proto_goTypes = []any{
115113
(*Config)(nil), // 0: v2ray.core.app.browserforwarder.Config
116114
}
117115
var file_app_browserforwarder_config_proto_depIdxs = []int32{
@@ -127,25 +125,11 @@ func file_app_browserforwarder_config_proto_init() {
127125
if File_app_browserforwarder_config_proto != nil {
128126
return
129127
}
130-
if !protoimpl.UnsafeEnabled {
131-
file_app_browserforwarder_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
132-
switch v := v.(*Config); i {
133-
case 0:
134-
return &v.state
135-
case 1:
136-
return &v.sizeCache
137-
case 2:
138-
return &v.unknownFields
139-
default:
140-
return nil
141-
}
142-
}
143-
}
144128
type x struct{}
145129
out := protoimpl.TypeBuilder{
146130
File: protoimpl.DescBuilder{
147131
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
148-
RawDescriptor: file_app_browserforwarder_config_proto_rawDesc,
132+
RawDescriptor: unsafe.Slice(unsafe.StringData(file_app_browserforwarder_config_proto_rawDesc), len(file_app_browserforwarder_config_proto_rawDesc)),
149133
NumEnums: 0,
150134
NumMessages: 1,
151135
NumExtensions: 0,
@@ -156,7 +140,6 @@ func file_app_browserforwarder_config_proto_init() {
156140
MessageInfos: file_app_browserforwarder_config_proto_msgTypes,
157141
}.Build()
158142
File_app_browserforwarder_config_proto = out.File
159-
file_app_browserforwarder_config_proto_rawDesc = nil
160143
file_app_browserforwarder_config_proto_goTypes = nil
161144
file_app_browserforwarder_config_proto_depIdxs = nil
162145
}

app/commander/config.pb.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
anypb "google.golang.org/protobuf/types/known/anypb"
88
reflect "reflect"
99
sync "sync"
10+
unsafe "unsafe"
1011
)
1112

1213
const (
@@ -163,7 +164,7 @@ func (x *SimplifiedConfig) GetName() []string {
163164

164165
var File_app_commander_config_proto protoreflect.FileDescriptor
165166

166-
var file_app_commander_config_proto_rawDesc = []byte{
167+
var file_app_commander_config_proto_rawDesc = string([]byte{
167168
0x0a, 0x1a, 0x61, 0x70, 0x70, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72, 0x2f,
168169
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x76, 0x32,
169170
0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x6f, 0x6d,
@@ -192,16 +193,16 @@ var file_app_commander_config_proto_rawDesc = []byte{
192193
0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72, 0xaa, 0x02, 0x18, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43,
193194
0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x65,
194195
0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
195-
}
196+
})
196197

197198
var (
198199
file_app_commander_config_proto_rawDescOnce sync.Once
199-
file_app_commander_config_proto_rawDescData = file_app_commander_config_proto_rawDesc
200+
file_app_commander_config_proto_rawDescData []byte
200201
)
201202

202203
func file_app_commander_config_proto_rawDescGZIP() []byte {
203204
file_app_commander_config_proto_rawDescOnce.Do(func() {
204-
file_app_commander_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_commander_config_proto_rawDescData)
205+
file_app_commander_config_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_app_commander_config_proto_rawDesc), len(file_app_commander_config_proto_rawDesc)))
205206
})
206207
return file_app_commander_config_proto_rawDescData
207208
}
@@ -231,7 +232,7 @@ func file_app_commander_config_proto_init() {
231232
out := protoimpl.TypeBuilder{
232233
File: protoimpl.DescBuilder{
233234
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
234-
RawDescriptor: file_app_commander_config_proto_rawDesc,
235+
RawDescriptor: unsafe.Slice(unsafe.StringData(file_app_commander_config_proto_rawDesc), len(file_app_commander_config_proto_rawDesc)),
235236
NumEnums: 0,
236237
NumMessages: 3,
237238
NumExtensions: 0,
@@ -242,7 +243,6 @@ func file_app_commander_config_proto_init() {
242243
MessageInfos: file_app_commander_config_proto_msgTypes,
243244
}.Build()
244245
File_app_commander_config_proto = out.File
245-
file_app_commander_config_proto_rawDesc = nil
246246
file_app_commander_config_proto_goTypes = nil
247247
file_app_commander_config_proto_depIdxs = nil
248248
}

app/commander/webcommander/config.pb.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
77
reflect "reflect"
88
sync "sync"
9+
unsafe "unsafe"
910
)
1011

1112
const (
@@ -85,7 +86,7 @@ func (x *Config) GetApiMountpoint() string {
8586

8687
var File_app_commander_webcommander_config_proto protoreflect.FileDescriptor
8788

88-
var file_app_commander_webcommander_config_proto_rawDesc = []byte{
89+
var file_app_commander_webcommander_config_proto_rawDesc = string([]byte{
8990
0x0a, 0x27, 0x61, 0x70, 0x70, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72, 0x2f,
9091
0x77, 0x65, 0x62, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6e,
9192
0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x76, 0x32, 0x72, 0x61, 0x79,
@@ -114,16 +115,16 @@ var file_app_commander_webcommander_config_proto_rawDesc = []byte{
114115
0x02, 0x25, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70,
115116
0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x57, 0x65, 0x62, 0x43, 0x6f,
116117
0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
117-
}
118+
})
118119

119120
var (
120121
file_app_commander_webcommander_config_proto_rawDescOnce sync.Once
121-
file_app_commander_webcommander_config_proto_rawDescData = file_app_commander_webcommander_config_proto_rawDesc
122+
file_app_commander_webcommander_config_proto_rawDescData []byte
122123
)
123124

124125
func file_app_commander_webcommander_config_proto_rawDescGZIP() []byte {
125126
file_app_commander_webcommander_config_proto_rawDescOnce.Do(func() {
126-
file_app_commander_webcommander_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_commander_webcommander_config_proto_rawDescData)
127+
file_app_commander_webcommander_config_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_app_commander_webcommander_config_proto_rawDesc), len(file_app_commander_webcommander_config_proto_rawDesc)))
127128
})
128129
return file_app_commander_webcommander_config_proto_rawDescData
129130
}
@@ -149,7 +150,7 @@ func file_app_commander_webcommander_config_proto_init() {
149150
out := protoimpl.TypeBuilder{
150151
File: protoimpl.DescBuilder{
151152
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
152-
RawDescriptor: file_app_commander_webcommander_config_proto_rawDesc,
153+
RawDescriptor: unsafe.Slice(unsafe.StringData(file_app_commander_webcommander_config_proto_rawDesc), len(file_app_commander_webcommander_config_proto_rawDesc)),
153154
NumEnums: 0,
154155
NumMessages: 1,
155156
NumExtensions: 0,
@@ -160,7 +161,6 @@ func file_app_commander_webcommander_config_proto_init() {
160161
MessageInfos: file_app_commander_webcommander_config_proto_msgTypes,
161162
}.Build()
162163
File_app_commander_webcommander_config_proto = out.File
163-
file_app_commander_webcommander_config_proto_rawDesc = nil
164164
file_app_commander_webcommander_config_proto_goTypes = nil
165165
file_app_commander_webcommander_config_proto_depIdxs = nil
166166
}

app/dispatcher/config.pb.go

Lines changed: 20 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
66
reflect "reflect"
77
sync "sync"
8+
unsafe "unsafe"
89
)
910

1011
const (
@@ -15,18 +16,16 @@ const (
1516
)
1617

1718
type SessionConfig struct {
18-
state protoimpl.MessageState
19-
sizeCache protoimpl.SizeCache
19+
state protoimpl.MessageState `protogen:"open.v1"`
2020
unknownFields protoimpl.UnknownFields
21+
sizeCache protoimpl.SizeCache
2122
}
2223

2324
func (x *SessionConfig) Reset() {
2425
*x = SessionConfig{}
25-
if protoimpl.UnsafeEnabled {
26-
mi := &file_app_dispatcher_config_proto_msgTypes[0]
27-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
28-
ms.StoreMessageInfo(mi)
29-
}
26+
mi := &file_app_dispatcher_config_proto_msgTypes[0]
27+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
28+
ms.StoreMessageInfo(mi)
3029
}
3130

3231
func (x *SessionConfig) String() string {
@@ -37,7 +36,7 @@ func (*SessionConfig) ProtoMessage() {}
3736

3837
func (x *SessionConfig) ProtoReflect() protoreflect.Message {
3938
mi := &file_app_dispatcher_config_proto_msgTypes[0]
40-
if protoimpl.UnsafeEnabled && x != nil {
39+
if x != nil {
4140
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
4241
if ms.LoadMessageInfo() == nil {
4342
ms.StoreMessageInfo(mi)
@@ -53,20 +52,17 @@ func (*SessionConfig) Descriptor() ([]byte, []int) {
5352
}
5453

5554
type Config struct {
56-
state protoimpl.MessageState
57-
sizeCache protoimpl.SizeCache
55+
state protoimpl.MessageState `protogen:"open.v1"`
56+
Settings *SessionConfig `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
5857
unknownFields protoimpl.UnknownFields
59-
60-
Settings *SessionConfig `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
58+
sizeCache protoimpl.SizeCache
6159
}
6260

6361
func (x *Config) Reset() {
6462
*x = Config{}
65-
if protoimpl.UnsafeEnabled {
66-
mi := &file_app_dispatcher_config_proto_msgTypes[1]
67-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
68-
ms.StoreMessageInfo(mi)
69-
}
63+
mi := &file_app_dispatcher_config_proto_msgTypes[1]
64+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
65+
ms.StoreMessageInfo(mi)
7066
}
7167

7268
func (x *Config) String() string {
@@ -77,7 +73,7 @@ func (*Config) ProtoMessage() {}
7773

7874
func (x *Config) ProtoReflect() protoreflect.Message {
7975
mi := &file_app_dispatcher_config_proto_msgTypes[1]
80-
if protoimpl.UnsafeEnabled && x != nil {
76+
if x != nil {
8177
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
8278
if ms.LoadMessageInfo() == nil {
8379
ms.StoreMessageInfo(mi)
@@ -101,7 +97,7 @@ func (x *Config) GetSettings() *SessionConfig {
10197

10298
var File_app_dispatcher_config_proto protoreflect.FileDescriptor
10399

104-
var file_app_dispatcher_config_proto_rawDesc = []byte{
100+
var file_app_dispatcher_config_proto_rawDesc = string([]byte{
105101
0x0a, 0x1b, 0x61, 0x70, 0x70, 0x2f, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72,
106102
0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x76,
107103
0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x69,
@@ -120,22 +116,22 @@ var file_app_dispatcher_config_proto_rawDesc = []byte{
120116
0x72, 0xaa, 0x02, 0x19, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41,
121117
0x70, 0x70, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x62, 0x06, 0x70,
122118
0x72, 0x6f, 0x74, 0x6f, 0x33,
123-
}
119+
})
124120

125121
var (
126122
file_app_dispatcher_config_proto_rawDescOnce sync.Once
127-
file_app_dispatcher_config_proto_rawDescData = file_app_dispatcher_config_proto_rawDesc
123+
file_app_dispatcher_config_proto_rawDescData []byte
128124
)
129125

130126
func file_app_dispatcher_config_proto_rawDescGZIP() []byte {
131127
file_app_dispatcher_config_proto_rawDescOnce.Do(func() {
132-
file_app_dispatcher_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_dispatcher_config_proto_rawDescData)
128+
file_app_dispatcher_config_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_app_dispatcher_config_proto_rawDesc), len(file_app_dispatcher_config_proto_rawDesc)))
133129
})
134130
return file_app_dispatcher_config_proto_rawDescData
135131
}
136132

137133
var file_app_dispatcher_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
138-
var file_app_dispatcher_config_proto_goTypes = []interface{}{
134+
var file_app_dispatcher_config_proto_goTypes = []any{
139135
(*SessionConfig)(nil), // 0: v2ray.core.app.dispatcher.SessionConfig
140136
(*Config)(nil), // 1: v2ray.core.app.dispatcher.Config
141137
}
@@ -153,37 +149,11 @@ func file_app_dispatcher_config_proto_init() {
153149
if File_app_dispatcher_config_proto != nil {
154150
return
155151
}
156-
if !protoimpl.UnsafeEnabled {
157-
file_app_dispatcher_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
158-
switch v := v.(*SessionConfig); i {
159-
case 0:
160-
return &v.state
161-
case 1:
162-
return &v.sizeCache
163-
case 2:
164-
return &v.unknownFields
165-
default:
166-
return nil
167-
}
168-
}
169-
file_app_dispatcher_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
170-
switch v := v.(*Config); i {
171-
case 0:
172-
return &v.state
173-
case 1:
174-
return &v.sizeCache
175-
case 2:
176-
return &v.unknownFields
177-
default:
178-
return nil
179-
}
180-
}
181-
}
182152
type x struct{}
183153
out := protoimpl.TypeBuilder{
184154
File: protoimpl.DescBuilder{
185155
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
186-
RawDescriptor: file_app_dispatcher_config_proto_rawDesc,
156+
RawDescriptor: unsafe.Slice(unsafe.StringData(file_app_dispatcher_config_proto_rawDesc), len(file_app_dispatcher_config_proto_rawDesc)),
187157
NumEnums: 0,
188158
NumMessages: 2,
189159
NumExtensions: 0,
@@ -194,7 +164,6 @@ func file_app_dispatcher_config_proto_init() {
194164
MessageInfos: file_app_dispatcher_config_proto_msgTypes,
195165
}.Build()
196166
File_app_dispatcher_config_proto = out.File
197-
file_app_dispatcher_config_proto_rawDesc = nil
198167
file_app_dispatcher_config_proto_goTypes = nil
199168
file_app_dispatcher_config_proto_depIdxs = nil
200169
}

0 commit comments

Comments
 (0)