| Modifier and Type | Class and Description |
|---|---|
class |
EnumAdapter<E extends WireEnum>
An abstract
ProtoAdapter that converts values of an enum to and from integers. |
| Modifier and Type | Method and Description |
|---|---|
static <E extends WireEnum> |
ProtoAdapter.newEnumAdapter(Class<E> type)
Creates a new proto adapter for
type. |
Copyright © 2013–2017 Square, Inc.. All rights reserved.