public class PbCodegenSimpleDeserializer extends Object implements PbCodegenDeserializer
| Constructor and Description |
|---|
PbCodegenSimpleDeserializer(com.google.protobuf.Descriptors.FieldDescriptor fd) |
public PbCodegenSimpleDeserializer(com.google.protobuf.Descriptors.FieldDescriptor fd)
public String codegen(String returnVarName, String messageGetStr)
codegen in interface PbCodegenDeserializerreturnVarName - the final var name that is calculated by codegen. This var name will be
used by outsider codegen environment.messageGetStr - may be a variable or expression. Current codegen environment can use
this literal name directly to access the input.Copyright © 2019–2021 The Apache Software Foundation. All rights reserved.