| Package | Description |
|---|---|
| com.google.protobuf |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Internal.EnumLiteMap<T extends Internal.EnumLite>
Interface for an object which maps integers to
Internal.EnumLites. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ProtocolMessageEnum
Interface of useful methods added to all enums generated by the protocol
compiler.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
DescriptorProtos.FieldDescriptorProto.Label
Protobuf enum
google.protobuf.FieldDescriptorProto.Label |
static class |
DescriptorProtos.FieldDescriptorProto.Type
Protobuf enum
google.protobuf.FieldDescriptorProto.Type |
static class |
DescriptorProtos.FieldOptions.CType
Protobuf enum
google.protobuf.FieldOptions.CType |
static class |
DescriptorProtos.FieldOptions.JSType
Protobuf enum
google.protobuf.FieldOptions.JSType |
static class |
DescriptorProtos.FileOptions.OptimizeMode
Generated classes can be optimized for speed or code size.
|
static class |
Descriptors.EnumValueDescriptor
Describes one value within an enum type.
|
static class |
Field.Cardinality
Whether a field is optional, required, or repeated.
|
static class |
Field.Kind
Basic field types.
|
class |
NullValue
`NullValue` is a singleton enumeration to represent the null value for the
`Value` type union.
|
class |
Syntax
The syntax in which a protocol buffer element is defined.
|
static class |
Value.KindCase |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Internal.EnumLite> |
Internal.MapAdapter.newEnumConverter(Internal.EnumLiteMap<T> enumMap,
T unrecognizedValue) |
| Modifier and Type | Method and Description |
|---|---|
static int |
Internal.hashEnum(Internal.EnumLite e)
Helper method for implementing
Message.hashCode() for enums. |
protected static int |
AbstractMessage.hashEnum(Internal.EnumLite e)
Deprecated.
from v3.0.0-beta-3+, for compatibility with v2.5.0 and v2.6.1
generated code.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
Internal.hashEnumList(List<? extends Internal.EnumLite> list)
Helper method for implementing
Message.hashCode() for
enum lists. |
protected static int |
AbstractMessage.hashEnumList(List<? extends Internal.EnumLite> list)
Deprecated.
from v3.0.0-beta-3+, for compatibility with v2.5.0 and v2.6.1
generated code.
|
Copyright © 2008–2016 Google. All rights reserved.