Last active
June 27, 2018 11:29
-
-
Save galderz/6ba1e043b6ab7f8c5e0971500d30ff12 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.infinispan.protostream.annotations.ProtoDoc; | |
import org.infinispan.protostream.annotations.ProtoField; | |
@ProtoDoc("@Indexed") | |
public class Pokemon { | |
@ProtoDoc("@Field") | |
@ProtoField(number = 10) | |
String name; | |
@ProtoDoc("@Field") | |
@ProtoField(number = 20) | |
String type1; | |
… | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment