public static @interface ProtoReserved.Range
Modifier and Type | Fields and Description |
---|---|
static int |
MAX_ENUM
Maximum allowed value for enums.
|
static int |
MAX_FIELD
Maximum allowed value for field numbers.
|
Modifier and Type | Required Element and Description |
---|---|
int |
from
The start of the range (inclusive).
|
Modifier and Type | Optional Element and Description |
---|---|
int |
to
The end of the range (inclusive).
|
public abstract int from
public abstract int to
from()
. The actual maximum is 536870911
(2^29-1) for field numbers, but it can be any 32-bit value for enums.Copyright © 2019 JBoss, a division of Red Hat. All rights reserved.