| Modifier and Type | Class and Description |
|---|---|
| protected static enum | Extension.ExtensionType
The API type that the extension is used for. |
| public static enum | Extension.MessageType
Type of a message extension. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract Object | |
| public abstract Descriptors. | |
| protected abstract Extension. | |
| public Extension. | getMessageType()
If the extension is a message extension (i.e., getLiteType() == MESSAGE), returns the type of the message, otherwise undefined. |
| pack-priv final boolean | isLite()
Overrides com. |
| protected abstract Object | |
| protected abstract Object | |
| protected abstract Object |
| Extension | back to summary |
|---|---|
| public Extension() | |
| fromReflectionType | back to summary |
|---|---|
| protected abstract Object fromReflectionType(Object value) | |
| getDescriptor | back to summary |
|---|---|
| public abstract Descriptors. Returns the descriptor of the extension. | |
| getExtensionType | back to summary |
|---|---|
| protected abstract Extension. | |
| getMessageType | back to summary |
|---|---|
| public Extension. If the extension is a message extension (i.e., getLiteType() == MESSAGE), returns the type of the message, otherwise undefined. | |
| isLite | back to summary |
|---|---|
| pack-priv final boolean isLite() Overrides com. Returns whether or not this extension is a Lite Extension.
| |
| singularFromReflectionType | back to summary |
|---|---|
| protected abstract Object singularFromReflectionType(Object value) | |
| singularToReflectionType | back to summary |
|---|---|
| protected abstract Object singularToReflectionType(Object value) | |
| toReflectionType | back to summary |
|---|---|
| protected abstract Object toReflectionType(Object value) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Extension. | |
| public static final Extension. | |
| public static final Extension. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Extension. | |
| public static Extension. |
| IMMUTABLE | back to summary |
|---|---|
| public static final Extension. | |
| MUTABLE | back to summary |
|---|---|
| public static final Extension. | |
| PROTO1 | back to summary |
|---|---|
| public static final Extension. | |
| ExtensionType | back to summary |
|---|---|
| private ExtensionType() | |
| valueOf | back to summary |
|---|---|
| public static Extension. | |
| values | back to summary |
|---|---|
| public static Extension. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Extension. | |
| public static final Extension. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Extension. | |
| public static Extension. |
| PROTO1 | back to summary |
|---|---|
| public static final Extension. | |
| PROTO2 | back to summary |
|---|---|
| public static final Extension. | |
| MessageType | back to summary |
|---|---|
| private MessageType() | |
| valueOf | back to summary |
|---|---|
| public static Extension. | |
| values | back to summary |
|---|---|
| public static Extension. | |