Package com.salesforce.jprotoc
Class ProtoTypeMap
- java.lang.Object
-
- com.salesforce.jprotoc.ProtoTypeMap
-
public final class ProtoTypeMap extends Object
ProtoTypeMapmaintains a dictionary for looking up Java type names when given proto types.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProtoTypeMapof(Collection<com.google.protobuf.DescriptorProtos.FileDescriptorProto> fileDescriptorProtos)Returns an instance ofProtoTypeMapbased on the given FileDescriptorProto instances.StringtoJavaTypeName(String protoTypeName)Returns the full Java type name for the given proto type.
-
-
-
Method Detail
-
of
public static ProtoTypeMap of(@Nonnull Collection<com.google.protobuf.DescriptorProtos.FileDescriptorProto> fileDescriptorProtos)
Returns an instance ofProtoTypeMapbased on the given FileDescriptorProto instances.- Parameters:
fileDescriptorProtos- the full collection of files descriptors from the code generator request
-
-