| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | |
| protected static interface | GeneratedMessageV3.BuilderParent
TODO(xiaofeng): remove this after b/29368482 is fixed. |
| public abstract static class | GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.
Generated message builders for message types that contain extension ranges subclass this. |
| public abstract static class | GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.
Generated message classes for message types that contain extension ranges subclass this. |
| public static interface | GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.
|
| pack-priv static interface | GeneratedMessageV3.ExtensionDescriptorRetriever
Gets the descriptor for an extension. |
| public static class | GeneratedMessageV3.FieldAccessorTable
Users should ignore this class. |
| Modifier and Type | Field and Description |
|---|---|
| protected static boolean | alwaysUseFieldBuilders
For testing. |
| private static final long | |
| protected UnknownFieldSet | unknownFields
For use by generated code only. |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected static boolean | |
| private static <MessageType extends GeneratedMessageV3. | checkNotLite(ExtensionLite<MessageType, T> extension)
Checks that the |
| protected static int | |
| protected static int | |
| protected static Internal. | |
| protected static Internal. | |
| protected static Internal. | |
| protected static Internal. | |
| protected static Internal. | |
| pack-priv static void | |
| public Map | getAllFields()
Implements com. |
| private Map | getAllFieldsMutable(boolean
whether to generate ByteString for string fields getBytesForString)Internal helper to return a modifiable map containing all the fields. |
| pack-priv Map | getAllFieldsRaw()
Returns a collection of all the fields in this message which are set and their corresponding values. |
| public Descriptors. | getDescriptorForType()
Implements com. |
| public Object | getField(final Descriptors.
Implements com. |
| pack-priv Object | getFieldRaw(final Descriptors.
Obtains the value of the given field, or the default value if it is not set. |
| private static Method | getMethodOrDie(final Class<T> clazz, final String name, final Class<T>... params)
Calls Class.getMethod and throws a RuntimeException if it fails. |
| public Descriptors. | getOneofFieldDescriptor(final Descriptors.
Overrides com. Implements com. |
| public Parser | getParserForType()
Implements com. |
| public Object | getRepeatedField(final Descriptors.
Implements com. |
| public int | getRepeatedFieldCount(final Descriptors.
Implements com. |
| public int | getSerializedSize()
Overrides com. Implements com. |
| public UnknownFieldSet | getUnknownFields()
Implements com. UnknownFieldSet for this message.
|
| public boolean | hasField(final Descriptors.
Implements com. |
| public boolean | hasOneof(final Descriptors.
Overrides com. Implements com. |
| protected abstract GeneratedMessageV3. | |
| protected MapField | |
| private static Object | invokeOrDie(final Method method, final Object object, final Object... params)
Calls invoke and throws a RuntimeException if it fails. |
| public boolean | isInitialized()
Overrides com. Implements com. |
| protected void | |
| private static <V> void | maybeSerializeBooleanEntryTo(CodedOutputStream out, Map<Boolean, V> m, MapEntry<Boolean, V> defaultEntry, int fieldNumber, boolean key)
|
| protected static Internal. | |
| protected static Internal. | |
| protected static Internal. | |
| protected static Internal. | |
| protected static Internal. | |
| protected static Internal. | |
| protected abstract Message. | newBuilderForType(GeneratedMessageV3.
TODO(xiaofeng): remove this together with GeneratedMessageV3.BuilderParent. |
| protected Message. | newBuilderForType(final AbstractMessage.
Overrides com. |
| protected static Internal. | |
| protected static Internal. | |
| protected static Internal. | |
| protected static Internal. | |
| protected static <M extends Message> M | |
| protected static <M extends Message> M | parseDelimitedWithIOException(Parser<M> parser, InputStream input, ExtensionRegistryLite extensions)
|
| protected boolean | Returns: true unless the tag is an end-group tag.Called by subclasses to parse an unknown field. |
| protected boolean | parseUnknownFieldProto3(CodedInputStream input, UnknownFieldSet.
Delegates to parseUnknownField. |
| protected static <M extends Message> M | |
| protected static <M extends Message> M | |
| protected static <M extends Message> M | |
| protected static <M extends Message> M | |
| protected static <V> void | serializeBooleanMapTo(CodedOutputStream out, MapField<Boolean, V> field, MapEntry<Boolean, V> defaultEntry, int fieldNumber)
|
| protected static <V> void | serializeIntegerMapTo(CodedOutputStream out, MapField<Integer, V> field, MapEntry<Integer, V> defaultEntry, int fieldNumber)
|
| protected static <V> void | serializeLongMapTo(CodedOutputStream out, MapField<Long, V> field, MapEntry<Long, V> defaultEntry, int fieldNumber)
|
| private static <K, V> void | serializeMapTo(CodedOutputStream out, Map<K, V> m, MapEntry<K, V> defaultEntry, int fieldNumber)
Serialize the map using the iteration order. |
| protected static <V> void | serializeStringMapTo(CodedOutputStream out, MapField<String, V> field, MapEntry<String, V> defaultEntry, int fieldNumber)
|
| protected Object | Returns: a SerializedForm of this messageReplaces this object in the output stream with a serialized form. |
| protected static void | |
| protected static void | |
| public void | writeTo(final CodedOutputStream output)
Overrides com. Implements com. output.
|