Package | Description |
---|---|
com.google.protobuf | |
com.google.protobuf.compiler |
Modifier and Type | Interface and Description |
---|---|
static interface |
Internal.EnumLiteMap<T extends Internal.EnumLite>
Interface for an object which maps integers to
Internal.EnumLite s. |
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.Edition
The full set of known editions.
|
static class |
DescriptorProtos.ExtensionRangeOptions.VerificationState
The verification state of the extension range.
|
static class |
DescriptorProtos.FeatureSet.EnumType
Protobuf enum
google.protobuf.FeatureSet.EnumType |
static class |
DescriptorProtos.FeatureSet.FieldPresence
Protobuf enum
google.protobuf.FeatureSet.FieldPresence |
static class |
DescriptorProtos.FeatureSet.JsonFormat
Protobuf enum
google.protobuf.FeatureSet.JsonFormat |
static class |
DescriptorProtos.FeatureSet.MessageEncoding
Protobuf enum
google.protobuf.FeatureSet.MessageEncoding |
static class |
DescriptorProtos.FeatureSet.RepeatedFieldEncoding
Protobuf enum
google.protobuf.FeatureSet.RepeatedFieldEncoding |
static class |
DescriptorProtos.FeatureSet.Utf8Validation
Protobuf enum
google.protobuf.FeatureSet.Utf8Validation |
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.FieldOptions.OptionRetention
If set to RETENTION_SOURCE, the option will be omitted from the binary.
|
static class |
DescriptorProtos.FieldOptions.OptionTargetType
This indicates the types of entities that the field may apply to when used
as an option.
|
static class |
DescriptorProtos.FileOptions.OptimizeMode
Generated classes can be optimized for speed or code size.
|
static class |
DescriptorProtos.GeneratedCodeInfo.Annotation.Semantic
Represents the identified object's effect on the element in the original
.proto file.
|
static class |
DescriptorProtos.MethodOptions.IdempotencyLevel
Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
or neither? HTTP based RPC implementation may choose GET verb for safe
methods, and PUT verb for idempotent methods instead of the default POST.
|
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.
|
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 |
---|---|
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.
|
static int |
Internal.hashEnum(Internal.EnumLite e)
Helper method for implementing
Message.hashCode() for enums. |
Modifier and Type | Method and Description |
---|---|
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.
|
static int |
Internal.hashEnumList(List<? extends Internal.EnumLite> list)
Helper method for implementing
Message.hashCode() for enum lists. |
Modifier and Type | Class and Description |
---|---|
static class |
PluginProtos.CodeGeneratorResponse.Feature
Sync with code_generator.h.
|
Copyright © 2008–2024. All rights reserved.