@Override
    public TProtocol getProtocol(TTransport trans) {
        return new TTextProtocol(trans, useNamedEnums);
    }
Returns whether the serialization of named enums is enabled.
thrift/thrift0.13/src/main/java/com/linecorp/armeria/common/thrift/text/TTextProtocolFactory.java