-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAccountTypeOuterClass.java
290 lines (272 loc) · 8.79 KB
/
AccountTypeOuterClass.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: AccountType.proto
package emu.grasscutter.net.proto;
public final class AccountTypeOuterClass {
private AccountTypeOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
* Protobuf enum {@code AccountType}
*/
public enum AccountType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>ACCOUNT_TYPE_MIHOYO_GUEST = 0;</code>
*/
ACCOUNT_TYPE_MIHOYO_GUEST(0),
/**
* <code>ACCOUNT_TYPE_MIHOYO = 1;</code>
*/
ACCOUNT_TYPE_MIHOYO(1),
/**
* <code>ACCOUNT_TYPE_XIAOMI = 11;</code>
*/
ACCOUNT_TYPE_XIAOMI(11),
/**
* <code>ACCOUNT_TYPE_COOLPAD = 12;</code>
*/
ACCOUNT_TYPE_COOLPAD(12),
/**
* <code>ACCOUNT_TYPE_YYB = 13;</code>
*/
ACCOUNT_TYPE_YYB(13),
/**
* <code>ACCOUNT_TYPE_BILI = 14;</code>
*/
ACCOUNT_TYPE_BILI(14),
/**
* <code>ACCOUNT_TYPE_HUAWEI = 15;</code>
*/
ACCOUNT_TYPE_HUAWEI(15),
/**
* <code>ACCOUNT_TYPE_MEIZU = 16;</code>
*/
ACCOUNT_TYPE_MEIZU(16),
/**
* <code>ACCOUNT_TYPE_360 = 17;</code>
*/
ACCOUNT_TYPE_360(17),
/**
* <code>ACCOUNT_TYPE_OPPO = 18;</code>
*/
ACCOUNT_TYPE_OPPO(18),
/**
* <code>ACCOUNT_TYPE_VIVO = 19;</code>
*/
ACCOUNT_TYPE_VIVO(19),
/**
* <code>ACCOUNT_TYPE_UC = 20;</code>
*/
ACCOUNT_TYPE_UC(20),
/**
* <code>ACCOUNT_TYPE_WANDOJIA = 21;</code>
*/
ACCOUNT_TYPE_WANDOJIA(21),
/**
* <code>ACCOUNT_TYPE_LENOVO = 22;</code>
*/
ACCOUNT_TYPE_LENOVO(22),
/**
* <code>ACCOUNT_TYPE_JINLI = 23;</code>
*/
ACCOUNT_TYPE_JINLI(23),
/**
* <code>ACCOUNT_TYPE_BAIDU = 25;</code>
*/
ACCOUNT_TYPE_BAIDU(25),
/**
* <code>ACCOUNT_TYPE_DANGLE = 26;</code>
*/
ACCOUNT_TYPE_DANGLE(26),
UNRECOGNIZED(-1),
;
/**
* <code>ACCOUNT_TYPE_MIHOYO_GUEST = 0;</code>
*/
public static final int ACCOUNT_TYPE_MIHOYO_GUEST_VALUE = 0;
/**
* <code>ACCOUNT_TYPE_MIHOYO = 1;</code>
*/
public static final int ACCOUNT_TYPE_MIHOYO_VALUE = 1;
/**
* <code>ACCOUNT_TYPE_XIAOMI = 11;</code>
*/
public static final int ACCOUNT_TYPE_XIAOMI_VALUE = 11;
/**
* <code>ACCOUNT_TYPE_COOLPAD = 12;</code>
*/
public static final int ACCOUNT_TYPE_COOLPAD_VALUE = 12;
/**
* <code>ACCOUNT_TYPE_YYB = 13;</code>
*/
public static final int ACCOUNT_TYPE_YYB_VALUE = 13;
/**
* <code>ACCOUNT_TYPE_BILI = 14;</code>
*/
public static final int ACCOUNT_TYPE_BILI_VALUE = 14;
/**
* <code>ACCOUNT_TYPE_HUAWEI = 15;</code>
*/
public static final int ACCOUNT_TYPE_HUAWEI_VALUE = 15;
/**
* <code>ACCOUNT_TYPE_MEIZU = 16;</code>
*/
public static final int ACCOUNT_TYPE_MEIZU_VALUE = 16;
/**
* <code>ACCOUNT_TYPE_360 = 17;</code>
*/
public static final int ACCOUNT_TYPE_360_VALUE = 17;
/**
* <code>ACCOUNT_TYPE_OPPO = 18;</code>
*/
public static final int ACCOUNT_TYPE_OPPO_VALUE = 18;
/**
* <code>ACCOUNT_TYPE_VIVO = 19;</code>
*/
public static final int ACCOUNT_TYPE_VIVO_VALUE = 19;
/**
* <code>ACCOUNT_TYPE_UC = 20;</code>
*/
public static final int ACCOUNT_TYPE_UC_VALUE = 20;
/**
* <code>ACCOUNT_TYPE_WANDOJIA = 21;</code>
*/
public static final int ACCOUNT_TYPE_WANDOJIA_VALUE = 21;
/**
* <code>ACCOUNT_TYPE_LENOVO = 22;</code>
*/
public static final int ACCOUNT_TYPE_LENOVO_VALUE = 22;
/**
* <code>ACCOUNT_TYPE_JINLI = 23;</code>
*/
public static final int ACCOUNT_TYPE_JINLI_VALUE = 23;
/**
* <code>ACCOUNT_TYPE_BAIDU = 25;</code>
*/
public static final int ACCOUNT_TYPE_BAIDU_VALUE = 25;
/**
* <code>ACCOUNT_TYPE_DANGLE = 26;</code>
*/
public static final int ACCOUNT_TYPE_DANGLE_VALUE = 26;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AccountType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static AccountType forNumber(int value) {
switch (value) {
case 0: return ACCOUNT_TYPE_MIHOYO_GUEST;
case 1: return ACCOUNT_TYPE_MIHOYO;
case 11: return ACCOUNT_TYPE_XIAOMI;
case 12: return ACCOUNT_TYPE_COOLPAD;
case 13: return ACCOUNT_TYPE_YYB;
case 14: return ACCOUNT_TYPE_BILI;
case 15: return ACCOUNT_TYPE_HUAWEI;
case 16: return ACCOUNT_TYPE_MEIZU;
case 17: return ACCOUNT_TYPE_360;
case 18: return ACCOUNT_TYPE_OPPO;
case 19: return ACCOUNT_TYPE_VIVO;
case 20: return ACCOUNT_TYPE_UC;
case 21: return ACCOUNT_TYPE_WANDOJIA;
case 22: return ACCOUNT_TYPE_LENOVO;
case 23: return ACCOUNT_TYPE_JINLI;
case 25: return ACCOUNT_TYPE_BAIDU;
case 26: return ACCOUNT_TYPE_DANGLE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<AccountType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
AccountType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<AccountType>() {
public AccountType findValueByNumber(int number) {
return AccountType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return emu.grasscutter.net.proto.AccountTypeOuterClass.getDescriptor().getEnumTypes().get(0);
}
private static final AccountType[] VALUES = values();
public static AccountType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private AccountType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:AccountType)
}
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\021AccountType.proto*\254\003\n\013AccountType\022\035\n\031A" +
"CCOUNT_TYPE_MIHOYO_GUEST\020\000\022\027\n\023ACCOUNT_TY" +
"PE_MIHOYO\020\001\022\027\n\023ACCOUNT_TYPE_XIAOMI\020\013\022\030\n\024" +
"ACCOUNT_TYPE_COOLPAD\020\014\022\024\n\020ACCOUNT_TYPE_Y" +
"YB\020\r\022\025\n\021ACCOUNT_TYPE_BILI\020\016\022\027\n\023ACCOUNT_T" +
"YPE_HUAWEI\020\017\022\026\n\022ACCOUNT_TYPE_MEIZU\020\020\022\024\n\020" +
"ACCOUNT_TYPE_360\020\021\022\025\n\021ACCOUNT_TYPE_OPPO\020" +
"\022\022\025\n\021ACCOUNT_TYPE_VIVO\020\023\022\023\n\017ACCOUNT_TYPE" +
"_UC\020\024\022\031\n\025ACCOUNT_TYPE_WANDOJIA\020\025\022\027\n\023ACCO" +
"UNT_TYPE_LENOVO\020\026\022\026\n\022ACCOUNT_TYPE_JINLI\020" +
"\027\022\026\n\022ACCOUNT_TYPE_BAIDU\020\031\022\027\n\023ACCOUNT_TYP" +
"E_DANGLE\020\032B\033\n\031emu.grasscutter.net.protob" +
"\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
}
// @@protoc_insertion_point(outer_class_scope)
}