@Override
    public String toString() {
        return useNamedEnums ? "TProtocolFactory(TTEXT_NAMED_ENUM)" : "TProtocolFactory(TTEXT)";
    }
Returns whether the serialization of named enums is enabled.
thrift/thrift0.13/src/main/java/com/linecorp/armeria/common/thrift/text/TTextProtocolFactory.java