public static TTextProtocolFactory get(boolean useNamedEnums) {
        return useNamedEnums ? INSTANCE_NAMED_ENUMS : INSTANCE;
    }
Returns the singleton {@link TTextProtocolFactory} instance,
with optional serialization of named enums.
thrift/thrift0.13/src/main/java/com/linecorp/armeria/common/thrift/text/TTextProtocolFactory.java