private ExtensionRegistry(boolean empty) { super(ExtensionRegistryLite.getEmptyRegistry()); this.extensionsByName = Collections.<String, ExtensionInfo>emptyMap(); this.extensionsByNumber = Collections.<DescriptorIntPair, ExtensionInfo>emptyMap(); } private static final ExtensionRegistry EMPTY = new ExtensionRegistry(true);
private ExtensionRegistry(boolean empty) { super(ExtensionRegistryLite.getEmptyRegistry()); this.extensionsByName = Collections.<String, ExtensionInfo>emptyMap(); this.extensionsByNumber = Collections.<DescriptorIntPair, ExtensionInfo>emptyMap(); } private static final ExtensionRegistry EMPTY = new ExtensionRegistry(true);
private ExtensionRegistry(boolean empty) { super(ExtensionRegistryLite.getEmptyRegistry()); this.extensionsByName = Collections.<String, ExtensionInfo>emptyMap(); this.extensionsByNumber = Collections.<DescriptorIntPair, ExtensionInfo>emptyMap(); } private static final ExtensionRegistry EMPTY = new ExtensionRegistry(true);
public boolean mergeDelimitedFrom(final InputStream input) throws IOException { return mergeDelimitedFrom(input, ExtensionRegistryLite.getEmptyRegistry()); }
public boolean mergeDelimitedFrom(final InputStream input) throws IOException { return mergeDelimitedFrom(input, ExtensionRegistryLite.getEmptyRegistry()); }
public abstract BuilderType mergeFrom( final CodedInputStream input, final ExtensionRegistryLite extensionRegistry) throws IOException;
public boolean mergeDelimitedFrom(final InputStream input) throws IOException { return mergeDelimitedFrom(input, ExtensionRegistryLite.getEmptyRegistry()); }
public abstract BuilderType mergeFrom( final CodedInputStream input, final ExtensionRegistryLite extensionRegistry) throws IOException;
public abstract BuilderType mergeFrom( final CodedInputStream input, final ExtensionRegistryLite extensionRegistry) throws IOException;