Package | Description |
---|---|
com.google.protobuf |
Modifier and Type | Method and Description |
---|---|
ExtensionRegistry |
Descriptors.FileDescriptor.InternalDescriptorAssigner.assignDescriptors(Descriptors.FileDescriptor root) |
static ExtensionRegistry |
ExtensionRegistry.getEmptyRegistry()
Get the unmodifiable singleton empty instance.
|
ExtensionRegistry |
ExtensionRegistry.getUnmodifiable()
Returns an unmodifiable view of the registry.
|
static ExtensionRegistry |
ExtensionRegistry.newInstance()
Construct a new, empty instance.
|
Modifier and Type | Method and Description |
---|---|
static void |
TextFormat.merge(java.lang.CharSequence input,
ExtensionRegistry extensionRegistry,
Message.Builder builder)
Parse a text-format message from
input and merge the contents
into builder . |
static void |
TextFormat.merge(java.lang.Readable input,
ExtensionRegistry extensionRegistry,
Message.Builder builder)
Parse a text-format message from
input and merge the contents
into builder . |
static DynamicMessage |
DynamicMessage.parseFrom(Descriptors.Descriptor type,
byte[] data,
ExtensionRegistry extensionRegistry)
Parse
data as a message of the given type and return it. |
static DynamicMessage |
DynamicMessage.parseFrom(Descriptors.Descriptor type,
ByteString data,
ExtensionRegistry extensionRegistry)
Parse
data as a message of the given type and return it. |
static DynamicMessage |
DynamicMessage.parseFrom(Descriptors.Descriptor type,
CodedInputStream input,
ExtensionRegistry extensionRegistry)
Parse a message of the given type from the given input stream.
|
static DynamicMessage |
DynamicMessage.parseFrom(Descriptors.Descriptor type,
java.io.InputStream input,
ExtensionRegistry extensionRegistry)
Parse a message of the given type from
input and return it. |
static void |
DescriptorProtos.registerAllExtensions(ExtensionRegistry registry) |