net.dongliu.prettypb.runtime.include.ExtensionRange Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of prettypb-include Show documentation
Show all versions of prettypb-include Show documentation
necessary lib for proto beans compile
The newest version!
package net.dongliu.prettypb.runtime.include;
/**
* for extension range
*
* @author Dong Liu
*/
public class ExtensionRange {
private final int startTag;
private final int endTag;
public static final int maxTag = 536_870_911;
public ExtensionRange(int startTag, int endTag) {
this.startTag = startTag;
this.endTag = endTag;
}
public int getStartTag() {
return startTag;
}
public int getEndTag() {
return endTag;
}
}