Message that can represent arbitrary types, given a Descriptors.Descriptor .
| Modifier and Type | Class and Description |
|---|---|
| public static class | DynamicMessage.Builder
Builder for |
| Modifier and Type | Field and Description |
|---|---|
| private final FieldSet | |
| private int | |
| private final Descriptors. | |
| private final Descriptors. | |
| private final UnknownFieldSet |
| Access | Constructor and Description |
|---|---|
| pack-priv | DynamicMessage(Descriptors.
Construct a |
| Modifier and Type | Method and Description |
|---|---|
| public Map | getAllFields()
Implements com. |
| public static DynamicMessage | getDefaultInstance(Descriptors.
Get a |
| public DynamicMessage | getDefaultInstanceForType()
Implements com. |
| public Descriptors. | getDescriptorForType()
Implements com. |
| public Object | getField(Descriptors.
Implements com. |
| public Descriptors. | getOneofFieldDescriptor(Descriptors.
Overrides com. Implements com. |
| public Parser | getParserForType()
Implements com. |
| public Object | getRepeatedField(Descriptors.
Implements com. |
| public int | getRepeatedFieldCount(Descriptors.
Implements com. |
| public int | getSerializedSize()
Overrides com. Implements com. |
| public UnknownFieldSet | getUnknownFields()
Implements com. UnknownFieldSet for this message.
|
| public boolean | hasField(Descriptors.
Implements com. |
| public boolean | hasOneof(Descriptors.
Overrides com. Implements com. |
| pack-priv static boolean | |
| public boolean | isInitialized()
Overrides com. Implements com. |
| public static DynamicMessage. | |
| public static DynamicMessage. | newBuilder(Message prototype)
Construct a |
| public DynamicMessage. | newBuilderForType()
Implements com. |
| public static DynamicMessage | parseFrom(Descriptors.
Parse a message of the given type from the given input stream. |
| public static DynamicMessage | parseFrom(Descriptors.
Parse a message of the given type from the given input stream. |
| public static DynamicMessage | parseFrom(Descriptors.
Parse |
| public static DynamicMessage | parseFrom(Descriptors.
Parse |
| public static DynamicMessage | parseFrom(Descriptors.
Parse |
| public static DynamicMessage | parseFrom(Descriptors.
Parse |
| public static DynamicMessage | parseFrom(Descriptors.
Parse a message of the given type from |
| public static DynamicMessage | parseFrom(Descriptors.
Parse a message of the given type from |
| public DynamicMessage. | toBuilder()
Implements com. |
| private void | verifyContainingType(Descriptors.
Verifies that the field is a field of this message. |
| private void | verifyOneofContainingType(Descriptors.
Verifies that the oneof is an oneof of this message. |
| public void | writeTo(CodedOutputStream output)
Overrides com. Implements com. output.
|