@Immutable
public final class ApiOption
extends java.lang.Object
The options in a single set have different targets (such as files, message types, fields, etc.), but always represent a singe concept in terms of API visibility, status, etc.
For example, options (beta)
, (beta_type)
, and (beta_all)
target,
respectively, fields, messages, and files, but all represent a single concept -
a beta API element.
Modifier and Type | Method and Description |
---|---|
static ApiOption |
beta()
Obtains an option which marks beta API.
|
static ApiOption |
experimental()
Obtains an option which marks experimental API.
|
static ApiOption |
internal()
Obtains an option which marks internal API.
|
static ApiOption |
spi()
Obtains an option which marks beta service provider interface elements.
|
java.lang.String |
toString() |
public static ApiOption beta()
public static ApiOption spi()
public static ApiOption experimental()
public static ApiOption internal()
public java.lang.String toString()
toString
in class java.lang.Object