-
Notifications
You must be signed in to change notification settings - Fork 1
/
pokemon.proto
50 lines (50 loc) · 1.74 KB
/
pokemon.proto
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
/**
* @Indexed
*/
message Pokemon {
repeated string abilities = 1;
optional float against_bug = 2;
optional float against_dark = 3;
optional float against_dragon = 4;
optional float against_electric = 5;
optional float against_fairy = 6;
optional float against_fight = 7;
optional float against_fire = 8;
optional float against_flying = 9;
optional float against_ghost = 10;
optional float against_grass = 11;
optional float against_ground = 12;
optional float against_ice = 13;
optional float against_normal = 14;
optional float against_poison = 15;
optional float against_psychic = 16;
optional float against_rock = 17;
optional float against_steel = 18;
optional float against_water = 19;
optional int32 attack = 20;
optional int32 base_egg_steps = 21;
optional int32 base_happiness = 22;
optional int32 base_total = 23;
optional string capture_rate = 24;
/* @Field(index=Index.YES, analyze = Analyze.YES, store = Store.NO) */
optional string classfication = 25;
optional int32 defense = 26;
optional int32 experience_growth = 27;
optional float height_m = 28;
optional int32 hp = 29;
/* @Field(index=Index.YES, analyze = Analyze.YES, store = Store.NO) */
optional string japanese_name = 30;
/* @Field(index=Index.YES, analyze = Analyze.YES, store = Store.NO) */
optional string name = 31;
optional float percentage_male = 32;
optional int32 pokedex_number = 33;
optional int32 sp_attack = 34;
optional int32 sp_defense = 35;
optional int32 speed = 36;
/* @Field(index=Index.YES, analyze = Analyze.YES, store = Store.NO) */
optional string type1 = 37;
optional string type2 = 38;
optional float weight_kg = 39;
optional int32 generation = 40;
optional int32 is_legendary = 41;
}