public T getProtocolTrait() {
        return protocolTrait;
    }
Gets the protocol trait that is being converted.

@return Returns the protocol ID.
smithy-openapi/src/main/java/software/amazon/smithy/openapi/fromsmithy/Context.java