@InterfaceAudience.Private public final class AggregationHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends Message> |
getParsedGenericInstance(Class<?> runtimeClass,
int position,
ByteString b)
Get an instance of the argument type declared in a class's signature.
|
public static <T extends Message> T getParsedGenericInstance(Class<?> runtimeClass, int position, ByteString b) throws IOException
runtimeClass - the runtime type of the classposition - the position of the argument in the class declarationb - the ByteString which should be parsed to get the instance createdIOException - Either we couldn't instantiate the method object, or "parseFrom" failed.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.