Public Member Functions | |
Type | getDefaultValue () |
Type | getDefaultValue () |
FieldDescriptor | getDescriptor () |
FieldDescriptor | getDescriptor () |
WireFormat.FieldType | getLiteType () |
WireFormat.FieldType | getLiteType () |
Message | getMessageDefaultInstance () |
Message | getMessageDefaultInstance () |
int | getNumber () |
int | getNumber () |
void | internalInit (final FieldDescriptor descriptor) |
void | internalInit (final FieldDescriptor descriptor) |
boolean | isRepeated () |
boolean | isRepeated () |
Protected Member Functions | |
Object | fromReflectionType (final Object value) |
Object | fromReflectionType (final Object value) |
ExtensionType | getExtensionType () |
ExtensionType | getExtensionType () |
Object | singularFromReflectionType (final Object value) |
Object | singularFromReflectionType (final Object value) |
Object | singularToReflectionType (final Object value) |
Object | singularToReflectionType (final Object value) |
Object | toReflectionType (final Object value) |
Object | toReflectionType (final Object value) |
Private Attributes | |
ExtensionDescriptorRetriever | descriptorRetriever |
final Method | enumGetValueDescriptor |
final Method | enumValueOf |
final ExtensionType | extensionType |
final Message | messageDefaultInstance |
final Class | singularType |
Type used to represent generated extensions. The protocol compiler generates a static singleton instance of this class for each extension.
For example, imagine you have the
file:
option java_class = "MyProto";
message Foo { extensions 1000 to max; }
extend Foo { optional int32 bar; }
Then,
has type
.
In general, users should ignore the details of this type, and simply use these static singletons as parameters to the extension accessors defined in ExtendableMessage and ExtendableBuilder.
Definition at line 1757 of file protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inlineprotected |
Convert from the type used by the reflection accessors to the type used by native accessors. E.g., for enums, the reflection accessors use EnumValueDescriptors but the native accessors use the generated enum type.
Definition at line 1852 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inlineprotected |
Convert from the type used by the reflection accessors to the type used by native accessors. E.g., for enums, the reflection accessors use EnumValueDescriptors but the native accessors use the generated enum type.
Definition at line 1852 of file protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inline |
Definition at line 1951 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inline |
Definition at line 1951 of file protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inline |
Definition at line 1822 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inline |
Definition at line 1822 of file protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inlineprotected |
Definition at line 1840 of file protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inlineprotected |
Definition at line 1840 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inline |
Definition at line 1940 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inline |
Definition at line 1940 of file protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inline |
If the extension is an embedded message or group, returns the default instance of the message.
Definition at line 1835 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inline |
If the extension is an embedded message or group, returns the default instance of the message.
Definition at line 1835 of file protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inline |
Definition at line 1935 of file protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inline |
Definition at line 1935 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inline |
For use by generated code only.
Definition at line 1801 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inline |
For use by generated code only.
Definition at line 1801 of file protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inline |
Definition at line 1945 of file protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inline |
Definition at line 1945 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inlineprotected |
Like fromReflectionType(Object), but if the type is a repeated type, this converts a single element.
Definition at line 1876 of file protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inlineprotected |
Like fromReflectionType(Object), but if the type is a repeated type, this converts a single element.
Definition at line 1876 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inlineprotected |
Like toReflectionType(Object), but if the type is a repeated type, this converts a single element.
Definition at line 1924 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inlineprotected |
Like toReflectionType(Object), but if the type is a repeated type, this converts a single element.
Definition at line 1924 of file protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inlineprotected |
Convert from the type used by the native accessors to the type used by reflection accessors. E.g., for enums, the reflection accessors use EnumValueDescriptors but the native accessors use the generated enum type.
Definition at line 1901 of file protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
inlineprotected |
Convert from the type used by the native accessors to the type used by reflection accessors. E.g., for enums, the reflection accessors use EnumValueDescriptors but the native accessors use the generated enum type.
Definition at line 1901 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
private |
Definition at line 1814 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
private |
Definition at line 1818 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
private |
Definition at line 1817 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
private |
Definition at line 1819 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
private |
Definition at line 1816 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.
|
private |
Definition at line 1815 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java.